r23096 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23095‎ | r23096 | r23097 >
Date:14:27, 19 June 2007
Author:brion
Status:old
Tags:
Comment:
Revert r23094 for the moment; gives misleading number when paging long lists
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialWhatlinkshere.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesDe.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialWhatlinkshere.php
@@ -73,7 +73,7 @@
7474 * @private
7575 */
7676 function showIndirectLinks( $level, $target, $limit, $from = 0, $back = 0 ) {
77 - global $wgOut, $wgLang;
 77+ global $wgOut;
7878 $fname = 'WhatLinksHerePage::showIndirectLinks';
7979 $dbr = wfGetDB( DB_READ );
8080 $options = array();
@@ -194,7 +194,7 @@
195195
196196 if ( $level == 0 ) {
197197 $wgOut->addHTML( $this->whatlinkshereForm( $options ) );
198 - $wgOut->addWikiText( wfMsgExt( 'linkshere', array( 'parsemag' ), $this->target->getPrefixedText(), $wgLang->formatNum( count( $rows ) ) ) );
 198+ $wgOut->addWikiText( wfMsg( 'linkshere', $this->target->getPrefixedText() ) );
199199 }
200200 $isredir = wfMsg( 'isredirect' );
201201 $istemplate = wfMsg( 'istemplate' );
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1931,7 +1931,7 @@
19321932 'notargettext' => 'You have not specified a target page or user
19331933 to perform this function on.',
19341934 'linklistsub' => '(List of links)',
1935 -'linkshere' => "The following {{PLURAL:$2|page links|$2 pages link}} to '''[[:$1]]''':",
 1935+'linkshere' => "The following pages link to '''[[:$1]]''':",
19361936 'nolinkshere' => "No pages link to '''[[:$1]]'''.",
19371937 'nolinkshere-ns' => "No pages link to '''[[:$1]]''' in the chosen namespace.",
19381938 'isredirect' => 'redirect page',
Index: trunk/phase3/languages/messages/MessagesDe.php
@@ -1530,7 +1530,7 @@
15311531 'notargettitle' => 'Keine Seite angegeben',
15321532 'notargettext' => 'Sie haben nicht angegeben, auf welche Seite diese Funktion angewendet werden soll.',
15331533 'linklistsub' => '(Linkliste)',
1534 -'linkshere' => "Die {{PLURAL:$2|folgende Seite verlinkt|folgenden $2 Seiten verlinken}} auf '''„[[:$1]]“''':",
 1534+'linkshere' => "Die folgenden Seiten verlinken auf '''„[[:$1]]“''':",
15351535 'nolinkshere' => "Keine Seite verlinkt auf '''„[[:$1]]“'''.",
15361536 'nolinkshere-ns' => "Keine Seite verlinkt auf '''„[[:$1]]“''' im gewählten Namensraum.",
15371537 'isredirect' => 'Weiterleitungsseite',
Index: trunk/phase3/RELEASE-NOTES
@@ -87,7 +87,6 @@
8888 * On reupload, add a null revision to the image description page
8989 * Group log output by date
9090 * Kurdish interface latin/arabic writing system with transliteration
91 -* Add number of links to Special:Whatlinkshere
9291 * Allow wikilinks in header of Special:Withoutinterwiki
9392
9493 == Bugfixes since 1.10 ==

Follow-up revisions

RevisionCommit summaryAuthorDate
r23104Merged revisions 23087-23102 via svnmerge from...david21:40, 19 June 2007

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r23094* Add number of links to Special:Whatlinkshere...raymond13:02, 19 June 2007

Status & tagging log