r98980 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98979‎ | r98980 | r98981 >
Date:03:59, 5 October 2011
Author:tstarling
Status:ok
Tags:
Comment:
Revert r98932, causes exception "FauxRequest::getRequestURL() not implemented" for API requests
Modified paths:
  • /branches/wmf/1.18wmf1/includes/WikiPage.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/WikiPage.php
@@ -821,15 +821,6 @@
822822 if ( !is_null( $lastRevision ) ) {
823823 # An extra check against threads stepping on each other
824824 $conditions['page_latest'] = $lastRevision;
825 - if ( $lastRevision === 0 ) { // hack to log bug 31179
826 - global $wgRequest;
827 - $time = wfTimestamp( TS_DB );
828 - $wiki = wfWikiID();
829 - $msg = "$time $wiki Got page_latest = 0 for `" .
830 - $this->mTitle->getPrefixedDbKey() .
831 - "` Request: " . $wgRequest->getFullRequestURL();
832 - wfErrorLog( $msg, 'udp://10.0.5.8:8420/bug31179' );
833 - }
834825 }
835826
836827 $now = wfTimestampNow();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98932live hack to log for bug 31179 instancesaaron21:53, 4 October 2011

Status & tagging log