From 3bd4424b23cdf02977c6f2b3a719e93936c0659f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 15 Oct 2009 19:10:52 +0000 Subject: [PATCH] * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and MediaWiki:Templatesusedsection now support plural * break lines a 80 chars in RELEASE-NOTES --- RELEASE-NOTES | 9 ++++++--- includes/Linker.php | 6 +++--- languages/messages/MessagesEn.php | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ce8fd46dbd..8fb55cfdee 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -543,8 +543,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 3421) Live preview no longer breaks user CSS/JS previews * (bug 11264) The file logo on a file description page for documents (PDF, ...) now links to the file rather than the file description page -* Password fields built with HTMLForm now still have the type="password" attribute - if $wgHtml5=false. +* Password fields built with HTMLForm now still have the type="password" + attribute if $wgHtml5=false. * (bug 20836) Preload now works for MediaWiki namespace * (bug 20885) Search box no longer suggests unavailable special pages * (bug 20948) "Create this page" on Special:Search is no longer displayed when @@ -552,12 +552,15 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 20524) Hideuser: Show nice error when trying to block hidden user without hideuser right * (bug 21026) Fixed file redirects on shared repos on non-English client wikis -* (bug 21030) Fixed schema choices from being overwritten by defining unique field names per driver. +* (bug 21030) Fixed schema choices from being overwritten by defining unique + field names per driver. * (bug 21115) wgCanonicalSpecialPageName javascript variable is now always false on non-special pages * (bug 21113) "Other statistics" header on Special:Statistics is no more displayed when there isn't any entry in it * (bug 21114) Special:Contributions no longer shows diff links for new revisions +* (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and + MediaWiki:Templatesusedsection now support plural == API changes in 1.16 == diff --git a/includes/Linker.php b/includes/Linker.php index f598769a21..311e0ede78 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1453,11 +1453,11 @@ class Linker { # Construct the HTML $outText = '
'; if ( $preview ) { - $outText .= wfMsgExt( 'templatesusedpreview', array( 'parse' ) ); + $outText .= wfMsgExt( 'templatesusedpreview', array( 'parse' ), count( $templates ) ); } elseif ( $section ) { - $outText .= wfMsgExt( 'templatesusedsection', array( 'parse' ) ); + $outText .= wfMsgExt( 'templatesusedsection', array( 'parse' ), count( $templates ) ); } else { - $outText .= wfMsgExt( 'templatesused', array( 'parse' ) ); + $outText .= wfMsgExt( 'templatesused', array( 'parse' ), count( $templates ) ); } $outText .= "