Follow-up I7d4bb90: Message tweak + add code comment
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 31 Mar 2014 01:04:08 +0000 (22:04 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 31 Mar 2014 01:04:08 +0000 (22:04 -0300)
When I was saying it in my head, "No description available."
sounded better to me than "Description not available", although
perhaps that's just me.

Add a code comment to Parser::addTrackingCategory telling people
to register their tracking categories.

Change-Id: I17bb0cf4b3118dda8647e0607588685c2b5cdb86

includes/parser/Parser.php
languages/messages/MessagesEn.php

index f2c4fbf..1548a9b 100644 (file)
@@ -4150,6 +4150,10 @@ class Parser {
         * Add a tracking category, getting the title from a system message,
         * or print a debug message if the title is invalid.
         *
+        * Please add any message that you use with this function to
+        * $wgTrackingCategories. That way they will be listed on
+        * Special:TrackingCategories.
+        *
         * @param string $msg message key
         * @return Boolean: whether the addition was successful
         */
index 2c58966..57beb93 100644 (file)
@@ -2961,8 +2961,8 @@ There may be [[{{MediaWiki:Listgrouprights-helppage}}|additional information]] a
 'expensive-parserfunction-category-desc'       => 'Too many expensive parser functions (like #ifexists) included on a page. See [https://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit Manual:$wgExpensiveParserFunctionLimit].',
 'broken-file-category-desc'                    => 'Category added if the page contains a broken file link (a link to embed a file when the file does not exist).',
 'hidden-category-category-desc'                => 'This is a category with <nowiki>__HIDDENCAT__</nowiki> on it, which prevents it from showing up in the category links box on pages, by default.',
-'trackingcategories-nodesc'                    => 'Description not available',
-'trackingcategories-disabled'                     => 'Category is disabled',
+'trackingcategories-nodesc'                    => 'No description available.',
+'trackingcategories-disabled'                  => 'Category is disabled',
 
 # Email user
 'mailnologin'              => 'No send address',