Page MenuHomePhabricator

ProofreadPage.php.diff

Authored By
bzimport
Nov 21 2014, 10:48 PM
Size
849 B
Referenced Files
None
Subscribers
None

ProofreadPage.php.diff

349c349
< global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion, $wgProofreadPageMaxWidth, $wgProofreadPageAllowIPs;
---
> global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion, $wgProofreadPageMaxWidth;
404d403
< $jsVars = array_merge($jsVars, array('proofreadPageAllowIps' => ($wgProofreadPageAllowIPs?1:0)));
914c913
< global $wgOut, $wgUser, $wgProofreadPageAllowIPs;
---
> global $wgOut, $wgUser;
959c958
< if( ($old_q != $q) && $wgUser->isAnon() && (!$wgProofreadPageAllowIPs) ) {
---
> if( ($old_q != $q) && $wgUser->isAnon() ) {
963c962
< if ( ( ($old_username != $username) || ($old_q != $q) ) && ($wgUser->getName() != $username) && (!$wgProofreadPageAllowIPs) ) {
---
> if ( ( ($old_username != $username) || ($old_q != $q) ) && ($wgUser->getName() != $username) ) {

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5589
Default Alt Text
ProofreadPage.php.diff (849 B)

Event Timeline