* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 31 Oct 2010 09:36:48 +0000 (09:36 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 31 Oct 2010 09:36:48 +0000 (09:36 +0000)
RELEASE-NOTES
includes/specials/SpecialMostlinkedtemplates.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index e83d74c..ce586ea 100644 (file)
@@ -376,6 +376,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 25697) Make sure empty lines render in diff view.
 * Use an actual minus sign in diff views, instead of a hyphen.
 * (bug 23732) Clarified "n links" message on Special:MostLinkedFiles
+* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates
 
 === API changes in 1.17 ===
 * (bug 22738) Allow filtering by action type on query=logevent.
index 71df904..822d6bc 100644 (file)
@@ -127,8 +127,8 @@ class SpecialMostlinkedtemplates extends QueryPage {
        private function makeWlhLink( $title, $skin, $result ) {
                global $wgLang;
                $wlh = SpecialPage::getTitleFor( 'Whatlinkshere' );
-               $label = wfMsgExt( 'nlinks', array( 'parsemag', 'escape' ),
-               $wgLang->formatNum( $result->value ) );
+               $label = wfMsgExt( 'ntransclusions', array( 'parsemag', 'escape' ),
+                       $wgLang->formatNum( $result->value ) );
                return $skin->link( $wlh, $label, array(), array( 'target' => $title->getPrefixedText() ) );
        }
 }
index 54e736c..131c6de 100644 (file)
@@ -2430,6 +2430,7 @@ It now redirects to [[$2]].',
 'nrevisions'                      => '$1 {{PLURAL:$1|revision|revisions}}',
 'nviews'                          => '$1 {{PLURAL:$1|view|views}}',
 'nimagelinks'                     => 'Used on $1 {{PLURAL:$1|page|pages}}',
+'ntransclusions'                  => 'used on $1 {{PLURAL:$1|page|pages}}',
 'specialpage-empty'               => 'There are no results for this report.',
 'lonelypages'                     => 'Orphaned pages',
 'lonelypages-summary'             => '', # do not translate or duplicate this message to other languages
index d040eed..9175179 100644 (file)
@@ -1519,6 +1519,7 @@ $wgMessageStructure = array(
                'nviews',
                'nchanges',
                'nimagelinks',
+               'ntransclusions',
                'specialpage-empty',
                'lonelypages',
                'lonelypages-summary',