r76942 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76941‎ | r76942 | r76943 >
Date:10:55, 18 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r76922, fix capitalisation, change api module reference to updaterev
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)
  • /trunk/extensions/CodeReview/api/ApiRevisionUpdate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -84,7 +84,7 @@
8585
8686 $wgAPIModules['codeupdate'] = 'ApiCodeUpdate';
8787 $wgAPIModules['codediff'] = 'ApiCodeDiff';
88 -$wgAPIModules['updaterev'] ='ApiRevisionUpdate';
 88+$wgAPIModules['coderevisionupdate'] ='ApiRevisionUpdate';
8989 $wgAPIListModules['codecomments'] = 'ApiQueryCodeComments';
9090 $wgAPIListModules['coderevisions'] = 'ApiQueryCodeRevisions';
9191
Index: trunk/extensions/CodeReview/api/ApiRevisionUpdate.php
@@ -48,7 +48,7 @@
4949 $revisionCommitter->doRevisionUpdate(
5050 $params['status'],
5151 $params['addtags'],
52 - $params['removeTags'],
 52+ $params['removetags'],
5353 $params['flags'],
5454 $params['comment']
5555 );
@@ -126,7 +126,7 @@
127127
128128 public function getExamples() {
129129 return array(
130 - 'api.php?action=updaterev&repo=MediaWiki&rev=1&status=fixme',
 130+ 'api.php?action=coderevisionupdate&repo=MediaWiki&rev=1&status=fixme',
131131 );
132132 }
133133

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76922bug 25940 Add API module(s) to add comments/set revision status...reedy00:00, 18 November 2010

Status & tagging log