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:
26486f9
)
Configure extension: With DB handler, defer wfConfigureSetup() to a new hook, SetupAf...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 10 Dec 2008 23:15:50 +0000
(23:15 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 10 Dec 2008 23:15:50 +0000
(23:15 +0000)
This avoids some weird issues with Configure and maintenance scripts.
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
db66162
..
859ad00
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-209,6
+209,10
@@
wfDebug( 'Main cache: ' . get_class( $wgMemc ) .
"\nParser cache: " . get_class( $parserMemc ) . "\n" );
wfProfileOut( $fname.'-memcached' );
+
+## Most of the config is out, some might want to run hooks here.
+wfRunHooks( 'SetupAfterCache' );
+
wfProfileIn( $fname.'-SetupSession' );
# Set default shared prefix