2023/06/23

From Woozle Writes Code
Jump to navigation Jump to search
Friday, June 23, 2023 (#174)
Thursday Friday Saturday

Notes

Trying to figure out why MediaWiki is spurning the extension-shell I've created... here's the error:

/mw/Special:SpecialPages InvalidArgumentException: Provided specification is a string, not an array.

Backtrace:

from /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)
 #0 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177): Wikimedia\ObjectFactory\ObjectFactory::validateSpec()
 #1 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec()
 #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): Wikimedia\ObjectFactory\ObjectFactory->createObject()
 #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): MediaWiki\SpecialPage\SpecialPageFactory->getPage()
 #4 /var/www/site/mw/mediawiki-1.39.3/includes/specials/SpecialSpecialpages.php(53): MediaWiki\SpecialPage\SpecialPageFactory->getUsablePages()
 #5 /var/www/site/mw/mediawiki-1.39.3/includes/specials/SpecialSpecialpages.php(42): SpecialSpecialpages->getPageGroups()
 #6 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPage.php(701): SpecialSpecialpages->execute()
 #7 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1432): SpecialPage->run()
 #8 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
 #9 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(904): MediaWiki->performRequest()
 #10 /var/www/site/mw/mediawiki-1.39.3/includes/MediaWiki.php(562): MediaWiki->main()
 #11 /var/www/site/mw/mediawiki-1.39.3/index.php(50): MediaWiki->run()
 #12 /var/www/site/mw/mediawiki-1.39.3/index.php(46): wfIndexMain()
 #13 {main}