r107840 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107839‎ | r107840 | r107841 >
Date:17:22, 2 January 2012
Author:ialex
Status:reverted
Tags:
Comment:
Fix for r107825: forgot to change one instance of $oldFashionedRestrictions to $this->mOldRestrictions
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2545,7 +2545,7 @@
25462546 }
25472547
25482548 if ( $this->mOldRestrictions !== false && $this->mOldRestrictions !== '' ) {
2549 - foreach ( explode( ':', trim( $oldFashionedRestrictions ) ) as $restrict ) {
 2549+ foreach ( explode( ':', trim( $this->mOldRestrictions ) ) as $restrict ) {
25502550 $temp = explode( '=', trim( $restrict ) );
25512551 if ( count( $temp ) == 1 ) {
25522552 // old old format should be treated as edit/move restriction

Follow-up revisions

RevisionCommit summaryAuthorDate
r107945Revert r107769, r107771, r107825, r107840, r107927, r107934...brion21:44, 3 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107825* Store the value of the page.page_restrictions field in Title::loadFromRow()...ialex12:49, 2 January 2012

Status & tagging log