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:
7003a7c
)
Pass context to Action::factory
author
aude
<aude.wiki@gmail.com>
Thu, 19 Sep 2013 19:06:10 +0000
(19:06 +0000)
committer
Krinkle
<krinklemail@gmail.com>
Thu, 19 Sep 2013 22:45:56 +0000
(22:45 +0000)
Fixes a PHP Notice that was introduced on every page (follows-up
01d81d88
)
Bug: 54344
Change-Id: I24f01c7244089e73b0cf2e0af37c365f9dd051b2
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
c4c67ab
..
0683d7c
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-428,7
+428,8
@@
class MediaWiki {
$act = $this->getAction();
- $action = Action::factory( $act, $page );
+ $action = Action::factory( $act, $page, $this->context );
+
if ( $action instanceof Action ) {
# Let Squid cache things if we can purge them.
if ( $wgUseSquid &&