2023/06/23: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
m (Woozle moved page 2023/06/23/notes to 2023/06/23 without leaving a redirect: easier navigation)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{subpage/date}}
{{page/date}}
==Notes==
Trying to figure out why [[MediaWiki]] is spurning the extension-shell I've created... here's the error:
Trying to figure out why [[MediaWiki]] is spurning the extension-shell I've created... here's the error:


Line 7: Line 8:


<poem>
<poem>
from [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L302 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)]
from [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/3558d6630cefa60491e468965752651bc5bf3d3e/src/ObjectFactory.php#L302 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(302)]
  #0 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L177 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::validateSpec()
  #0 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/3558d6630cefa60491e468965752651bc5bf3d3e/src/ObjectFactory.php#L177 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(177)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::validateSpec()
  #1 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/master/src/ObjectFactory.php#L152 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::getObjectFromSpec()
  #1 [https://github.com/wikimedia/mediawiki-libs-ObjectFactory/blob/3558d6630cefa60491e468965752651bc5bf3d3e/src/ObjectFactory.php#L152 /var/www/site/mw/mediawiki-1.39.3/vendor/wikimedia/object-factory/src/ObjectFactory.php(152)]: {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}::getObjectFromSpec()
  #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}->createObject()
  #2 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1283): {{l/nspace|Wikimedia\ObjectFactory\ObjectFactory}}->createObject()
  #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): {{l/nspace|MediaWiki\SpecialPage\SpecialPageFactory}}->getPage()
  #3 /var/www/site/mw/mediawiki-1.39.3/includes/specialpage/SpecialPageFactory.php(1318): {{l/nspace|MediaWiki\SpecialPage\SpecialPageFactory}}->getPage()

Latest revision as of 12:56, 24 June 2023

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}