r50221 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50220‎ | r50221 | r50222 >
Date:14:12, 5 May 2009
Author:catrope
Status:ok
Tags:
Comment:
ConfirmEdit: Backport r50133 and r50219
Modified paths:
  • /branches/REL1_15/extensions/ConfirmEdit (modified) (history)
  • /branches/REL1_15/extensions/ConfirmEdit/ConfirmEdit_body.php (modified) (history)

Diff [purge]

Index: branches/REL1_15/extensions/ConfirmEdit/ConfirmEdit_body.php
@@ -480,8 +480,7 @@
481481 * @return bool true to continue saving, false to abort and show a captcha form
482482 */
483483 function confirmEdit( &$editPage, $newtext, $section, $merged = false ) {
484 - global $wgTitle;
485 - if( is_null( $wgTitle ) ) {
 484+ if( defined('MW_API') ) {
486485 # API mode
487486 # The CAPTCHA was already checked and approved
488487 return true;
Property changes on: branches/REL1_15/extensions/ConfirmEdit
___________________________________________________________________
Name: svn:mergeinfo
489488 + /trunk/extensions/ConfirmEdit:50133,50219

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50133Update ConfirmEdit for r50132catrope14:47, 2 May 2009
r50219ConfirmEdit changes for r50218catrope13:23, 5 May 2009

Status & tagging log