Permalink
Browse files

Edit Summary Change

Changed edit summary to a version that allows for IPv6 addresses
without cutting off RevID
  • Loading branch information...
methecooldude committed Aug 15, 2015
1 parent 9e5425f commit 4b82d2866c42a0781aafd02474a2f6cb428addec
Showing with 3 additions and 3 deletions.
  1. +3 −3 bot/action_functions.php
View
@@ -91,11 +91,11 @@ public static function doRevert( $change ) {
$rbret = API::$a->rollback( $rbret = API::$a->rollback(
$change[ 'title' ], $change[ 'title' ],
$change[ 'user' ], $change[ 'user' ],
'Reverting possible vandalism by [[Special:Contributions/' . $change[ 'user' ] . '|' . $change[ 'user' ] . ']] ' . 'Reverting possible vandalism by [[Special:Contribs/' . $change[ 'user' ] . '|' . $change[ 'user' ] . ']] ' .
'to ' . ( ( $revid == 0 ) ? 'older version' : 'version by ' . $revdata[ 'user' ] ) . '. ' . 'to ' . ( ( $revid == 0 ) ? 'older version' : 'version by ' . $revdata[ 'user' ] ) . '. ' .
//'False positive? [[User:' . Config::$user . '/FalsePositives|Report it]]. ' . //'False positive? [[User:' . Config::$user . '/FalsePositives|Report it]]. ' .
'False positive? [[User:' . Config::$user . '/FalsePositives|Report it]]. ' . 'False positive? [[Wikipedia:CBFP|Report it]]. ' .
'Thanks, [[User:' . Config::$user . '|' . Config::$user . ']]. (' . $change[ 'mysqlid' ] . ') (Bot)', 'Thanks, [[WP:CBNG|' . Config::$user . ']]. (' . $change[ 'mysqlid' ] . ') (Bot)',
$rbtok $rbtok
); );
return $rbret; return $rbret;

0 comments on commit 4b82d28

Please sign in to comment.