dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450e9c3
)
Deleting a page and then immediately create-protecting it caused a PHP Fatal error
author
Owen Davis
<owen@wikia-inc.com>
Mon, 11 Feb 2013 10:36:44 +0000
(11:36 +0100)
committer
Tim Starling
<tstarling@wikimedia.org>
Tue, 13 Aug 2013 04:35:13 +0000
(14:35 +1000)
Change-Id: Ife75371bceda0f5342ee9eb5388d26e0363bebbe
includes/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/WikiPage.php
b/includes/WikiPage.php
index
9d61abc
..
1f24b86
100644
(file)
--- a/
includes/WikiPage.php
+++ b/
includes/WikiPage.php
@@
-2228,8
+2228,8
@@
class WikiPage implements Page, IDBAccessObject {
return Status::newFatal( 'readonlytext', wfReadOnlyReason() );
}
+ $this->loadPageData( 'fromdbmaster' );
$restrictionTypes = $this->mTitle->getRestrictionTypes();
-
$id = $this->getId();
if ( !$cascade ) {