Currently, if you go to [[Special:Contributions/newbies]], underneath the page
authorArne Heizmann <timwi@users.mediawiki.org>
Wed, 11 Aug 2004 23:21:50 +0000 (23:21 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Wed, 11 Aug 2004 23:21:50 +0000 (23:21 +0000)
title it will say "For".  This patch makes its say "for newbies".

includes/SpecialContributions.php
languages/Language.php

index 278d7f4..a745bd7 100644 (file)
@@ -15,7 +15,7 @@ function wfSpecialContributions( $par = "" )
                $wgOut->errorpage( "notargettitle", "notargettext" );
                return;
        }
-       
+
        # FIXME: Change from numeric offsets to date offsets
        list( $limit, $offset ) = wfCheckLimits( 50, "" );
        $offlimit = $limit + $offset;
@@ -43,14 +43,12 @@ function wfSpecialContributions( $par = "" )
        $talk = $nt->getTalkPage();
        if( $talk )
                $ul .= " (" . $sk->makeLinkObj( $talk, $wgLang->getNsText(Namespace::getTalk(0)) ) . ")";
-       else
-               $ul .= "brrrp";
 
        if ( $target == 'newbies' ) {
                # View the contributions of all recently created accounts
                $max = $dbr->selectField( 'user', 'max(user_id)', false, $fname );
                $userCond = ">" . ($max - $max / 100);
-               $ul = "";
+               $ul = wfMsg ( 'newbies' );
                $id = 0;
        }
 
@@ -125,7 +123,7 @@ function wfSpecialContributions( $par = "" )
                        $me = $obj1->cur_minor_edit;
                        $isnew = $obj1->cur_is_new;
                        $usertext = $obj1->cur_user_text;
-                       
+
                        $obj1 = $dbr->fetchObject( $res1 );
                        $topmark = true;
                        --$nCur;
@@ -146,7 +144,7 @@ function wfSpecialContributions( $par = "" )
                        ucListEdit( $sk, $ns, $t, $ts, $topmark, $comment, ( $me > 0), $isnew, $usertext );
        }
        $wgOut->addHTML( "</ul>\n" );
-       
+
        # Validations
        $val = new Validation ;
        $val = $val->countUserValidations ( $id ) ;
index e5ac933..5145cd2 100644 (file)
@@ -1151,13 +1151,14 @@ See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.
 
 # Contributions
 #
-'contributions'        => 'User contributions',
-'mycontris' => 'My contributions',
-'contribsub'   => "For $1",
-'nocontribs'   => 'No changes were found matching these criteria.',
-'ucnote'               => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
-'uclinks'              => "View the last $1 changes; view the last $2 days.",
-'uctop'                => ' (top)' ,
+'contributions' => 'User contributions',
+'mycontris'     => 'My contributions',
+'contribsub'    => "For $1",
+'nocontribs'    => 'No changes were found matching these criteria.',
+'ucnote'        => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
+'uclinks'       => "View the last $1 changes; view the last $2 days.",
+'uctop'         => ' (top)' ,
+'newbies'       => 'newbies',
 
 # What links here
 #