r92551 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92550‎ | r92551 | r92552 >
Date:19:00, 19 July 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up to r91561: Use the canonical class names.
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2356,7 +2356,7 @@
23572357 $conditions = array( 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() );
23582358
23592359 if( !$includeSuppressed ) {
2360 - $suppressedTextBits = REVISION::DELETED_TEXT | REVISION::DELETED_RESTRICTED;
 2360+ $suppressedTextBits = Revision::DELETED_TEXT | Revision::DELETED_RESTRICTED;
23612361 $conditions[] = $dbr->bitAnd('ar_deleted', $suppressedTextBits ) .
23622362 ' != ' . $suppressedTextBits;
23632363 }
@@ -2368,7 +2368,7 @@
23692369 if ( $this->getNamespace() == NS_FILE ) {
23702370 $fconditions = array( 'fa_name' => $this->getDBkey() );
23712371 if( !$includeSuppressed ) {
2372 - $suppressedTextBits = FILE::DELETED_FILE | FILE::DELETED_RESTRICTED;
 2372+ $suppressedTextBits = File::DELETED_FILE | File::DELETED_RESTRICTED;
23732373 $fconditions[] = $dbr->bitAnd('fa_deleted', $suppressedTextBits ) .
23742374 ' != ' . $suppressedTextBits;
23752375 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r92586Merge code cleanup revisions so that code analysis can also be performed in t...platonides21:29, 19 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91561(Bug 19725) Do not include suppressed edits in the "View X deleted edits" mes...bawolff16:47, 6 July 2011

Status & tagging log