r36343 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36342‎ | r36343 | r36344 >
Date:19:23, 16 June 2008
Author:aaron
Status:old
Tags:
Comment:
Case typo broke multi-edit undo autosight (bug 14560)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -1118,7 +1118,7 @@
11191119 }
11201120 # If undoing a few consecutive top edits, we know the base ID
11211121 if( $undo = $wgRequest->getIntOrNull('undo') ) {
1122 - $undoAfter = $wgRequest->getIntOrNull('undoAfter');
 1122+ $undoAfter = $wgRequest->getIntOrNull('undoafter');
11231123 $latest = isset($latest) ? $latest : $this->parent->getTitle()->getLatestRevID(GAID_FOR_UPDATE);
11241124 if( $undoAfter && $undo == $this->parent->getLatest() ) {
11251125 $revId = $undoAfter;

Status & tagging log