r52648 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52647‎ | r52648 | r52649 >
Date:20:16, 1 July 2009
Author:thomasv
Status:deferred
Tags:
Comment:
minor fix
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -832,7 +832,7 @@
833833 $wgOut->showErrorPage( 'proofreadpage_nologin', 'proofreadpage_nologintext' );
834834 return false;
835835 }
836 - if ( $wgUser->getName() != $username ) {
 836+ if ( ($old_q != $q) && ($wgUser->getName() != $username) ) {
837837 $wgOut->showErrorPage( 'proofreadpage_notallowed', 'proofreadpage_notallowedtext' );
838838 return false;
839839 }

Status & tagging log