Last modified: 2013-04-02 09:38:08 UTC
I am getting the following error messages after installing this extensions v1.4.2 (8ce1eeb) of 2013-03-12 on 1.20.3 MediaWiki internal error. Original exception: exception 'MWException' with message 'ResourceLoader duplicate registration error. Another module has already been registered as mediawiki.api.titleblacklist' in /.../includes/resourceloader/ResourceLoader.php:238 Stack trace: #0 /.../includes/resourceloader/ResourceLoader.php(206): ResourceLoader->register(Array) #1 /.../includes/OutputPage.php(2504): ResourceLoader->__construct() #2 /.../includes/OutputPage.php(432): OutputPage->getResourceLoader() #3 /.../includes/OutputPage.php(457): OutputPage->filterModules(Array, 'bottom') #4 /.../includes/OutputPage.php(527): OutputPage->getModules(true, 'bottom', 'mModuleMessages') #5 /.../includes/OutputPage.php(2757): OutputPage->getModuleMessages(true, 'bottom') #6 /.../includes/OutputPage.php(2870): OutputPage->getScriptsForBottomQueue(false) #7 /.../includes/Skin.php(583): OutputPage->getBottomScripts() #8 /.../includes/SkinTemplate.php(390): Skin->bottomScripts() #9 /.../includes/OutputPage.php(1989): SkinTemplate->outputPage() #10 /.../includes/Wiki.php(543): OutputPage->output() #11 /.../includes/Wiki.php(446): MediaWiki->main() #12 /.../index.php(59): MediaWiki->run() #13 {main} Exception caught inside exception handler: exception 'MWException' with message 'ResourceLoader duplicate registration error. Another module has already been registered as mediawiki.api.titleblacklist' in /.../includes/resourceloader/ResourceLoader.php:238 Stack trace: #0 /.../includes/resourceloader/ResourceLoader.php(206): ResourceLoader->register(Array) #1 /.../includes/OutputPage.php(2504): ResourceLoader->__construct() #2 /.../includes/OutputPage.php(432): OutputPage->getResourceLoader() #3 /.../includes/OutputPage.php(457): OutputPage->filterModules(Array, 'bottom') #4 /.../includes/OutputPage.php(527): OutputPage->getModules(true, 'bottom', 'mModuleMessages') #5 /.../includes/OutputPage.php(2757): OutputPage->getModuleMessages(true, 'bottom') #6 /.../includes/OutputPage.php(2870): OutputPage->getScriptsForBottomQueue(false) #7 /.../includes/Skin.php(583): OutputPage->getBottomScripts() #8 /.../includes/SkinTemplate.php(390): Skin->bottomScripts() #9 /.../includes/OutputPage.php(1989): SkinTemplate->outputPage() #10 /.../includes/Exception.php(227): OutputPage->output() #11 /.../includes/Exception.php(272): MWException->reportHTML() #12 /.../includes/Exception.php(620): MWException->report() #13 /.../includes/Exception.php(690): MWExceptionHandler::report(Object(MWException)) #14 /.../includes/Wiki.php(449): MWExceptionHandler::handle(Object(MWException)) #15 /.../index.php(59): MediaWiki->run() #16 {main}
You're using incompatible versions of the extension and MediaWiki itself. The newest (master) version of TitleBlacklist is only compatible with MediaWiki 1.21 (not yet released); you have to use a 1.20-compatible one.
You're running an old version of MediaWiki. A module was moved over from core (deleted from core, added to TitleBlacklist). The only way this can happen is if you have the pre-move core and post-move extension.
Ouch, that is indeed my mistake and a bit embarrassing for me. :| Things are now up and running. :) This [1] is the last version working with MW 1.20.x Still I have a little suggestion: In case of "breaking" changes like this one it would be nice to increment the version number of the extension in case it is a versioned one. I think it should still be done as a follow up to the change. [1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/TitleBlacklist.git;a=snapshot;h=358b42174ad30f652a12898a3c5f314a9dcd6558;sf=tgz