jenkins-bot has submitted this change and it was merged.

Change subject: Follow-up I7d4bb90: Message tweak + add code comment
......................................................................


Follow-up I7d4bb90: Message tweak + add code comment

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
---
M includes/parser/Parser.php
M languages/messages/MessagesEn.php
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php
index f2c4fbf..1548a9b 100644
--- a/includes/parser/Parser.php
+++ b/includes/parser/Parser.php
@@ -4150,6 +4150,10 @@
         * 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
         */
diff --git a/languages/messages/MessagesEn.php 
b/languages/messages/MessagesEn.php
index 2c58966..57beb93 100644
--- a/languages/messages/MessagesEn.php
+++ b/languages/messages/MessagesEn.php
@@ -2961,8 +2961,8 @@
 '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',

-- 
To view, visit https://gerrit.wikimedia.org/r/122271
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I17bb0cf4b3118dda8647e0607588685c2b5cdb86
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>
Gerrit-Reviewer: Cscott <canan...@wikimedia.org>
Gerrit-Reviewer: Daniel Friesen <dan...@nadir-seen-fire.com>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to