mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-11-13 17:57:07 +00:00
Follow-up I7d4bb9062. Register tracking category used.
This allows rss-tracking-category to appear in the newly added [[Special:TrackingCategories]]. Bug: 63286 Change-Id: I9d37c37f14b29dfb4377a13d4d799f93a7c7d22e
This commit is contained in:
parent
9a224d07c9
commit
aec87de507
3
RSS.php
3
RSS.php
|
@ -42,6 +42,9 @@ $wgAutoloadClasses['RSSParser'] = $dir . 'RSSParser.php';
|
|||
$wgAutoloadClasses['RSSUtils'] = $dir . 'RSSParser.php';
|
||||
$wgAutoloadClasses['RSSData'] = $dir . 'RSSData.php';
|
||||
|
||||
// List tracking category on Special:TrackingCategories
|
||||
$wgTrackingCategories[] = 'rss-tracking-category';
|
||||
|
||||
$wgHooks['ParserFirstCallInit'][] = 'RSSHooks::parserInit';
|
||||
|
||||
// one hour
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
},
|
||||
"rss-desc": "Displays RSS feeds on MediaWiki pages in a standard or in user-definable formats using template pages",
|
||||
"rss-tracking-category": "Pages with RSS feeds",
|
||||
"rss-tracking-category-desc": "The page has an RSS feed.",
|
||||
"rss-error": "Failed to load RSS feed from $1: $2",
|
||||
"rss-empty": "Failed to load RSS feed from $1!",
|
||||
"rss-fetch-nourl": "Fetch called without a URL!",
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
},
|
||||
"rss-desc": "{{desc|name=RSS|url=http://www.mediawiki.org/wiki/Extension:RSS}}",
|
||||
"rss-tracking-category": "The name of a category for all pages which use the <code><nowiki><rss></nowiki></code> parser extension tag. The category is automatically added unless the feature is disabled.",
|
||||
"rss-tracking-category-desc": "Description on [[Special:TrackingCategories]] for the {{msg-mw|rss-tracking-category}} tracking category.",
|
||||
"rss-error": "Used as error message. Parameters:\n* $1 - URL of RSS feed\n* $2 - result which the RSS parser returned",
|
||||
"rss-empty": "Used as error message. Parameters:\n* $1 - URL of RSS feed",
|
||||
"rss-fetch-nourl": "Used as fatal error message when a URL has not been given.",
|
||||
|
|
Loading…
Reference in a new issue