r113036 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113035‎ | r113036 | r113037 >
Date:14:43, 5 March 2012
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.19wmf1 (modified) (history)
  • /branches/wmf/1.19wmf1/includes (modified) (history)
  • /branches/wmf/1.19wmf1/includes/AjaxResponse.php (modified) (history)
  • /branches/wmf/1.19wmf1/includes/Title.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/includes/Title.php
@@ -3639,6 +3639,10 @@
36403640
36413641 $newpage->doEditUpdates( $nullRevision, $wgUser, array( 'changed' => false ) );
36423642
 3643+ if ( !$moveOverRedirect ) {
 3644+ WikiPage::onArticleCreate( $nt );
 3645+ }
 3646+
36433647 # Recreate the redirect, this time in the other direction.
36443648 if ( $redirectSuppressed ) {
36453649 WikiPage::onArticleDelete( $this );
Property changes on: branches/wmf/1.19wmf1/includes/Title.php
___________________________________________________________________
Modified: svn:mergeinfo
36463650 Merged /trunk/phase3/includes/Title.php:r112951
Index: branches/wmf/1.19wmf1/includes/AjaxResponse.php
@@ -180,11 +180,11 @@
181181 $this->disable();
182182 $this->mLastModified = $lastmod;
183183
184 - wfDebug( "$fname: CACHED client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp ; site $wgCacheEpoch\n", false );
 184+ wfDebug( "$fname: CACHED client: $ismodsince ; user: {$wgUser->getTouched()} ; page: $timestamp ; site $wgCacheEpoch\n", false );
185185
186186 return true;
187187 } else {
188 - wfDebug( "$fname: READY client: $ismodsince ; user: $wgUser->mTouched ; page: $timestamp ; site $wgCacheEpoch\n", false );
 188+ wfDebug( "$fname: READY client: $ismodsince ; user: {$wgUser->getTouched()} ; page: $timestamp ; site $wgCacheEpoch\n", false );
189189 $this->mLastModified = $lastmod;
190190 }
191191 } else {
Property changes on: branches/wmf/1.19wmf1/includes
___________________________________________________________________
Modified: svn:mergeinfo
192192 Merged /trunk/phase3/includes:r112855,112951
Property changes on: branches/wmf/1.19wmf1
___________________________________________________________________
Modified: svn:mergeinfo
193193 Merged /trunk/phase3:r112855,112951

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112855Add some {}...reedy00:15, 2 March 2012
r112951* (bug 34937) Fix for r107636: call WikiPage::onArticleCreate() when moving a...ialex16:36, 3 March 2012

Status & tagging log