r914 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r913‎ | r914 | r915 >
Date:13:23, 16 November 2002
Author:magnus_manske
Status:old
Tags:
Comment:
UC top edits
Modified paths:
  • /trunk/phpwiki/newcodebase/Language.php (modified) (history)
  • /trunk/phpwiki/newcodebase/LanguageDe.php (modified) (history)
  • /trunk/phpwiki/newcodebase/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/newcodebase/LanguageDe.php
@@ -654,6 +654,7 @@
655655 "nocontribs" => "Es wurden keine �nderungen f�r diese Kriterien gefunden.",
656656 "ucnote" => "Dies sind die letzten <b>$1</b> Beitr�ge des Benutzers in den letzten <b>$2</b> Tagen.",
657657 "uclinks" => "Zeige die letzten $1 Beitr�ge; zeige die letzten $2 Tage.",
 658+"uctop" => " (top)" ,
658659
659660 # What links here
660661 #
Index: trunk/phpwiki/newcodebase/SpecialContributions.php
@@ -102,6 +102,7 @@
103103 $ts = $obj1->cur_timestamp;
104104
105105 $obj1 = wfFetchObject( $res1 );
 106+ $topmark = wfMsg ( "uctop" ) ;
106107 --$nCur;
107108 } else {
108109 $ns = $obj2->old_namespace;
@@ -109,13 +110,14 @@
110111 $ts = $obj2->old_timestamp;
111112
112113 $obj2 = wfFetchObject( $res2 );
 114+ $topmark = "" ;
113115 --$nOld;
114116 }
115117 $page = Title::makeName( $ns, $t );
116118 $link = $sk->makeKnownLink( $page, "" );
117119 $d = $wgLang->timeanddate( $ts, true );
118120
119 - $wgOut->addHTML( "<li>{$d} {$link}</li>\n" );
 121+ $wgOut->addHTML( "<li>{$d} {$link}{$topmark}</li>\n" );
120122
121123 --$limit;
122124 }
Index: trunk/phpwiki/newcodebase/Language.php
@@ -860,6 +860,7 @@
861861 "nocontribs" => "No changes were found matching these criteria.",
862862 "ucnote" => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
863863 "uclinks" => "View the last $1 changes; view the last $2 days.",
 864+"uctop" => " (top)" ,
864865
865866 # What links here
866867 #

Status & tagging log