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:
2cb813f
)
Restore TitleMoveComplete by-reference flags to avoid errors
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 27 Oct 2015 18:08:17 +0000
(11:08 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 27 Oct 2015 18:15:39 +0000
(18:15 +0000)
They should be removed from extensions, but they don't
really hurt much for now.
Change-Id: I64b570e376062155afdf879c3ce85560127c6792
includes/MovePage.php
patch
|
blob
|
history
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
0f9374a
..
736cd8d
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-371,7
+371,7
@@
class MovePage {
$dbw->endAtomic( __METHOD__ );
- $params = array(
$this->oldTitle, $this->newTitle,
$user, $pageid, $redirid, $reason );
+ $params = array(
&$this->oldTitle, &$this->newTitle, &
$user, $pageid, $redirid, $reason );
$dbw->onTransactionIdle( function () use ( $params ) {
Hooks::run( 'TitleMoveComplete', $params );
} );