mirror of
				https://github.com/diocloid/LinkTitles.git
				synced 2025-10-22 05:42:32 +02:00 
			
		
		
		
	Localize comment that is added by processPage.
- Improved: The comment that is added when pages are edited by the maintenance script can now be translated using a message.
This commit is contained in:
		@@ -7,6 +7,7 @@
 | 
			
		||||
	"linktitles-special-page-count": "Seite $1 von $2.\n",
 | 
			
		||||
	"linktitles-special-cancel-notice": "=== Um abzubrechen, schließen Sie diese Seite, oder klicken Sie den 'Stopp'-Knopf in Ihrem Browser ===\n[[Special:LinkTitles|Zu Special:LinkTitles zurückkehren.]]",
 | 
			
		||||
	"linktitles-special-completed-info": "== Stapelverarbeitung abgeschlossen! ==\n{| class=\"wikitable\"\n|-\n| Anzahl der verarbeiteten Seiten: || $1\n|-\n| Verarbeitungsintervall [s]: || $2\n|-\n| Reloads: || $3\n|-\n| Seiten pro Reload: || $4\n|}",
 | 
			
		||||
	"linktitles-bot-comment": "Die LinkTitles-Erweiterung hat automatisch Links zu anderen Seiten hinzugefügt ($1).",
 | 
			
		||||
	"right-linktitles-batch": "LinkTitles-Stapelverarbeitung ausführen",
 | 
			
		||||
	"action-linktitles-batch": "LinkTitles-Stapelverarbeitung auszuführen"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@
 | 
			
		||||
	"linktitles-special-page-count": "Page $1 of $2.\n",
 | 
			
		||||
	"linktitles-special-cancel-notice": "=== To abort, close this page, or hit the 'Stop' button in your browser ===\n[[Special:LinkTitles|Return to Special:LinkTitles.]]",
 | 
			
		||||
	"linktitles-special-completed-info": "== Batch processing completed! ==\n{| class=\"wikitable\"\n|-\n| total number of pages: || $1\n|-\n| timeout setting [s]: || $2\n|-\n| webpage reloads: || $3\n|-\n| pages scanned per reload interval: || $4\n|}",
 | 
			
		||||
	"linktitles-bot-comment": "The LinkTitles extension automatically added links to existing pages ($1).",
 | 
			
		||||
	"right-linktitles-batch": "Perform a LinkTitles batch operation",
 | 
			
		||||
	"action-linktitles-batch": "perform a LinkTitles batch operation"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@
 | 
			
		||||
	"linktitles-special-page-count": "Number of pages.",
 | 
			
		||||
	"linktitles-special-cancel-notice": "Informs the user how to cancel the LinkTitles batch processing.",
 | 
			
		||||
	"linktitles-special-completed-info": "Text and statistics table that appear when batch processing has completed.",
 | 
			
		||||
	"linktitles-bot-comment": "Comment to add when pages are processed by LinkTitles\\Extension::processPage. The parameter may take the URL the the extension's homepage.",
 | 
			
		||||
	"right-linktitles-batch": "Describes the right to perform a LinkTitles batch operation.",
 | 
			
		||||
	"action-linktitles-batch": "Describes the action of performing a LinkTitles batch operation."
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -84,7 +84,7 @@ class Extension {
 | 
			
		||||
				$content = $source->getContent()->getContentHandler()->unserializeContent( $result );
 | 
			
		||||
				$source->getPage()->doEditContent(
 | 
			
		||||
					$content,
 | 
			
		||||
					"Links to existing pages added by LinkTitles bot.", // TODO: i18n
 | 
			
		||||
					\wfMessage( 'linktitles-bot-comment', self::URL ),
 | 
			
		||||
					EDIT_MINOR | EDIT_FORCE_BOT,
 | 
			
		||||
					false, // baseRevId
 | 
			
		||||
					$context->getUser()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user