r53343 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53342‎ | r53343 | r53344 >
Date:23:15, 15 July 2009
Author:dale
Status:deferred
Tags:
Comment:
other part of the r53342 commit
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -659,7 +659,7 @@
660660 if($allowMultiple)
661661 {
662662 $s = count($unknown) > 1 ? "s" : "";
663 - $vals = implode(", ", $unknown);
 663+ $vals = implode(", ", $unknown);
664664 $this->setWarning("Unrecognized value$s for parameter '$valueName': $vals");
665665 }
666666 else
@@ -829,7 +829,7 @@
830830 'toofewexpiries' => array('code' => 'toofewexpiries', 'info' => "\$1 expiry timestamps were provided where \$2 were needed"),
831831 'cantimport' => array('code' => 'cantimport', 'info' => "You don't have permission to import pages"),
832832 'cantimport-upload' => array('code' => 'cantimport-upload', 'info' => "You don't have permission to import uploaded pages"),
833 - 'nouploadmodule' => array( 'code' => 'nomodule', 'info' => 'No upload module set' ),
 833+ 'nouploadmodule' => array( 'code' => 'nomodule', 'info' => 'No upload module set' ),
834834 'importnofile' => array('code' => 'nofile', 'info' => "You didn't upload a file"),
835835 'importuploaderrorsize' => array('code' => 'filetoobig', 'info' => 'The file you uploaded is bigger than the maximum upload size'),
836836 'importuploaderrorpartial' => array('code' => 'partialupload', 'info' => 'The file was only partially uploaded'),
@@ -855,6 +855,9 @@
856856 'emptynewsection' => array('code' => 'emptynewsection', 'info' => 'Creating empty new sections is not possible.'),
857857 'revwrongpage' => array('code' => 'revwrongpage', 'info' => "r\$1 is not a revision of ``\$2''"),
858858 'undo-failure' => array('code' => 'undofailure', 'info' => 'Undo failed due to conflicting intermediate edits'),
 859+
 860+ //uploadMsgs
 861+ 'invalid-session-key' => array( 'code' => 'invalid-session-key', 'info'=>'Not a valid session key' ),
859862 );
860863
861864 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r53345Merge r52758-r53343 from trunk.demon23:38, 15 July 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53342fixed error msgdale23:11, 15 July 2009

Status & tagging log