Last modified: 2014-07-07 14:26:13 UTC
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