r75262 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75261‎ | r75262 | r75263 >
Date:16:31, 23 October 2010
Author:reedy
Status:ok
Tags:
Comment:
Add getVersion to some FlaggedRevs classes which were missing it
Modified paths:
  • /trunk/extensions/FlaggedRevs/api/ApiStabilize.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/api/ApiStabilize.php
@@ -177,6 +177,10 @@
178178 protected function getExamples() {
179179 return 'api.php?action=stabilize&title=Test&default=stable&reason=Test&token=123ABC';
180180 }
 181+
 182+ public function getVersion() {
 183+ return __CLASS__ . ': $Id$';
 184+ }
181185 }
182186
183187 // Assumes $wgFlaggedRevsProtection is on
@@ -259,4 +263,8 @@
260264 protected function getExamples() {
261265 return 'api.php?action=stabilize&title=Test&protectlevel=none&reason=Test&token=123ABC';
262266 }
 267+
 268+ public function getVersion() {
 269+ return __CLASS__ . ': $Id$';
 270+ }
263271 }

Status & tagging log