Setup
- Product Version
- MediaWiki 1.39.5 (dc07ba7) 13:33, 17 October 2023
- PHP 7.4.33 (apache2handler)
- MariaDB 10.5.21-MariaDB-0+deb11u1
Issue
When running maintenance scripts, e.g., "updateSpecialPages.php" I get the following notices:
2023-10-17 15:44:36 myserver 0212020151020-mw_: [e8972b875f071ad74fb7d12d] / PHP Notice: Undefined offset: 1 #0 /../w/includes/language/LocalisationCache.php(579): MWExceptionHandler::handleError() #1 /../w/includes/language/LocalisationCache.php(453): LocalisationCache->initLanguage() #2 /../w/includes/language/LocalisationCache.php(352): LocalisationCache->loadSubitem() #3 /../w/includes/language/LocalisationCache.php(368): LocalisationCache->getSubitem() #4 /../w/includes/language/MessageCache.php(1147): LocalisationCache->getSubitemWithSource() #5 /../w/includes/language/MessageCache.php(1097): MessageCache->getMessageForLang() #6 /../w/includes/language/MessageCache.php(1039): MessageCache->getMessageFromFallbackChain() #7 /../w/includes/language/Message.php(1473): MessageCache->get() #8 /../w/includes/language/Message.php(970): Message->fetchMessage() #9 /../w/includes/language/Message.php(1053): Message->format() #10 /../w/includes/title/MalformedTitleException.php(55): Message->text() #11 /../w/includes/title/MediaWikiTitleCodec.php(92): MalformedTitleException->__construct() #12 /../w/includes/title/MediaWikiTitleCodec.php(405): MediaWikiTitleCodec::{closure}() #13 /../w/includes/Title.php(2982): MediaWikiTitleCodec->splitTitleString() #14 /../w/includes/Title.php(480): Title->secureAndSplit() #15 /../w/includes/MediaWiki.php(89): Title::newFromURL() #16 /../w/includes/MediaWiki.php(162): MediaWiki->parseTitle() #17 /../w/includes/MediaWiki.php(860): MediaWiki->getTitle() #18 /../w/includes/MediaWiki.php(562): MediaWiki->main() #19 /../w/index.php(50): MediaWiki->run() #20 /../w/index.php(46): wfIndexMain() #21 {main}
2023-10-17 15:44:37 myserver 0212020151020-mw_: [e83e313edf7d24bf1c3a528f] /Widgets_Catalog PHP Notice: Undefined offset: 1 #0 /../w/includes/language/LocalisationCache.php(579): MWExceptionHandler::handleError() #1 /../w/includes/language/LocalisationCache.php(410): LocalisationCache->initLanguage() #2 /../w/includes/language/LocalisationCache.php(330): LocalisationCache->loadItem() #3 /../w/includes/language/Language.php(626): LocalisationCache->getItem() #4 /../w/includes/title/MediaWikiTitleCodec.php(119): Language->needsGenderDistinction() #5 /../w/includes/Title.php(1178): MediaWikiTitleCodec->getNamespaceName() #6 /../w/includes/page/Article.php(472): Title->getNsText() #7 /../w/includes/actions/ViewAction.php(78): Article->view() #8 /../w/includes/MediaWiki.php(542): ViewAction->show() #9 /../w/includes/MediaWiki.php(322): MediaWiki->performAction() #10 /../w/includes/MediaWiki.php(904): MediaWiki->performRequest() #11 /../w/includes/MediaWiki.php(562): MediaWiki->main() #12 /../w/index.php(50): MediaWiki->run() #13 /../w/index.php(46): wfIndexMain() #14 {main}
This started recently and this is not the only wiki with the issue.