https://bugzilla.wikimedia.org/show_bug.cgi?id=55955
Web browser: ---
Bug ID: 55955
Summary: Installing CentralNotice using the web installer
breaks
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: CentralNotice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Installing CentralNotice using the web installer aka mw-config will fail with
something like "couldn't find CNDatabasePatcher in Hooks.php"
CentralNotice autoloads the CNDatabasePatcher class in $wgExtensionFunctions
which is actually needed by the hook
$wgHooks[ 'LoadExtensionSchemaUpdates' ][ ] =
'CNDatabasePatcher::applyUpdates';
It seems that the installer runs the hook before calling $wgExtensionFunctions
and hence CNDatabasePatcher isn't loaded.
I think its plain wrong to load the classes using $wgExtensionFunctions as per
http://www.mediawiki.org/wiki/Manual:$wgExtensionFunctions
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l