From db2a1d81db8cb913ccbbdd76889f0e1eedbd817a Mon Sep 17 00:00:00 2001 From: Rob Church Date: Fri, 5 May 2006 10:33:02 +0000 Subject: [PATCH] (bug 5837) Use "members" for the value descriptor in Special:Categories, Special:Wantedcategories and Special:Mostlinkedcategories. --- RELEASE-NOTES | 2 ++ includes/SpecialCategories.php | 2 +- includes/SpecialMostlinkedcategories.php | 2 +- includes/SpecialWantedcategories.php | 2 +- languages/Messages.php | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2be3bd3c61..ae829e02e0 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -208,6 +208,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN bearing the image/svg MIME type. Disabled by default due to the vast majority of web servers being hideously misconfigured. See DefaultSettings.php for more details. * Changed default LocalSettings.php to append the previous include path when setting it +* (bug 5837) Use "members" for the value descriptor in Special:Categories, + Special:Wantedcategories and Special:Mostlinkedcategories. == Compatibility == diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 45d266a639..6ac593a56b 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -52,7 +52,7 @@ class CategoriesPage extends QueryPage { function formatResult( $skin, $result ) { $title = Title::makeTitle( NS_CATEGORY, $result->title ); $plink = $skin->makeLinkObj( $title, $title->getText() ); - $nlinks = wfMsg( 'nlinks', $result->count ); + $nlinks = wfMsg( 'members', $result->count ); return wfSpecialList($plink, $nlinks); } } diff --git a/includes/SpecialMostlinkedcategories.php b/includes/SpecialMostlinkedcategories.php index a3b1562a1c..35ee07ff6f 100644 --- a/includes/SpecialMostlinkedcategories.php +++ b/includes/SpecialMostlinkedcategories.php @@ -64,7 +64,7 @@ class MostlinkedCategoriesPage extends QueryPage { $plink = $skin->makeLinkObj( $nt, htmlspecialchars( $text ) ); - $nlinks = wfMsg( 'nlinks', $result->value ); + $nlinks = wfMsg( 'members', $result->value ); return wfSpecialList($plink, $nlinks); } } diff --git a/includes/SpecialWantedcategories.php b/includes/SpecialWantedcategories.php index df152aaa97..d890d0f081 100644 --- a/includes/SpecialWantedcategories.php +++ b/includes/SpecialWantedcategories.php @@ -68,7 +68,7 @@ class WantedCategoriesPage extends QueryPage { $skin->makeLinkObj( $nt, htmlspecialchars( $text ) ) : $skin->makeBrokenLinkObj( $nt, htmlspecialchars( $text ) ); - $nlinks = wfMsg( 'nlinks', $result->value ); + $nlinks = wfMsg( 'members', $result->value ); return wfSpecialList($plink, $nlinks); } } diff --git a/languages/Messages.php b/languages/Messages.php index b238c8688e..1e2bd66be3 100644 --- a/languages/Messages.php +++ b/languages/Messages.php @@ -946,6 +946,7 @@ The [http://meta.wikimedia.org/wiki/Help:Job_queue job queue] length is '''$7''' 'mostimages' => 'Most linked to images', 'mostrevisions' => 'Articles with the most revisions', 'nlinks' => '$1 links', +'members' => '$1 members', 'allpages' => 'All pages', 'prefixindex' => 'Prefix index', 'randompage' => 'Random page', -- 2.20.1