r77377 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77376‎ | r77377 | r77378 >
Date:23:33, 27 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r77374, also expose add/remove references
Modified paths:
  • /trunk/extensions/CodeReview/api/ApiRevisionUpdate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/api/ApiRevisionUpdate.php
@@ -51,8 +51,8 @@
5252 $params['removetags'],
5353 $params['addflags'],
5454 $params['removeflags'],
55 - null, // TODO: implement reference add/remove
56 - array(),
 55+ $params['addreferences'],
 56+ $params['removereferences'],
5757 $params['comment']
5858 );
5959
@@ -106,7 +106,15 @@
107107 ApiBase::PARAM_TYPE => 'string',
108108 ApiBase::PARAM_ISMULTI => true,
109109 ApiBase::PARAM_TYPE => $flags
110 - )
 110+ ),
 111+ 'addreferences' => array(
 112+ ApiBase::PARAM_TYPE => 'integer',
 113+ ApiBase::PARAM_ISMULTI => true,
 114+ ),
 115+ 'removereferences' => array(
 116+ ApiBase::PARAM_TYPE => 'integer',
 117+ ApiBase::PARAM_ISMULTI => true,
 118+ ),
111119 );
112120 }
113121

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77374(bug 25638) Allow manual associating and dissociating of follow-up revisions ...catrope22:51, 27 November 2010

Status & tagging log