User-to-user communication and collaboration - this is unmaintained software: https://www.mediawiki.org/wiki/Structured_Discussions/Deprecation
(Homepage)
See also: Growth-Team
User-to-user communication and collaboration - this is unmaintained software: https://www.mediawiki.org/wiki/Structured_Discussions/Deprecation
(Homepage)
See also: Growth-Team
The script failed hard on fiwiki:
Scheduling logs:
Mentioned in SAL (#wikimedia-operations) [2024-11-28T14:39:54Z] <urbanecm> [urbanecm@deploy2002 ~]$ while read wiki; do echo "== $wiki"; mwscript-k8s extensions/Flow/maintenance/FlowMoveBoardsToSubpages.php -- --wiki=$wiki; done < wikis.txt # wikis.txt is at P71349 # T378827
Mentioned in SAL (#wikimedia-operations) [2024-11-28T14:36:25Z] <urbanecm> [urbanecm@deploy2002 ~]$ mwscript-k8s -f extensions/Flow/maintenance/FlowMoveBoardsToSubpages.php -- --wiki=bswiki # T378827
I have confirmed the log error is gone after deploying the patch to mediawiki/core. The one for Flow ( https://gerrit.wikimedia.org/r/1098108 ) hasn't been backported.
Mentioned in SAL (#wikimedia-operations) [2024-11-26T20:11:09Z] <hashar@deploy2002> Finished scap sync-world: Backport for [[gerrit:1098120|Avoid exception on mTemplateIds/mTemplate array discrepancy (T380862)]] (duration: 15m 23s)
Mentioned in SAL (#wikimedia-operations) [2024-11-26T20:02:20Z] <hashar@deploy2002> hashar: Backport for [[gerrit:1098120|Avoid exception on mTemplateIds/mTemplate array discrepancy (T380862)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)
Mentioned in SAL (#wikimedia-operations) [2024-11-26T19:55:46Z] <hashar@deploy2002> Started scap sync-world: Backport for [[gerrit:1098120|Avoid exception on mTemplateIds/mTemplate array discrepancy (T380862)]]
Change #1098120 merged by jenkins-bot:
[mediawiki/core@wmf/1.44.0-wmf.5] Avoid exception on mTemplateIds/mTemplate array discrepancy
Change #1098108 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Use addTemplate rather than &getTemplates
Change #1098120 had a related patch set uploaded (by Hashar; author: Isabelle Hurbain-Palatin):
[mediawiki/core@wmf/1.44.0-wmf.5] Avoid exception on mTemplateIds/mTemplate array discrepancy
Oddly there aren't any users of ::getTemplateIds() in core as far as I can tell (!?)
Change #1098106 merged by jenkins-bot:
[mediawiki/core@master] Avoid exception on mTemplateIds/mTemplate array discrepancy
Change #1098108 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/extensions/Flow@master] Use addTemplate rather than &getTemplates
Change #1098106 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/core@master] Avoid exception on mTemplateIds/mTemplate array discrepancy
Current hypothesis: Flow\includes\LinkTableUpdater.php::mutateParserOutput has this:
if ( !isset( $parserOutput->getTemplates()[$ns] ) ) { $parserOutput->getTemplates()[$ns] = []; } $id = $linkCache->getGoodLinkID( $title->getPrefixedDBkey() ); $parserOutput->getTemplates()[$ns][$dbk] = $id;
... and no update of $parserOutput->mTemplateIds at the same time. Which would indeed lead to the inconsistency in question.
The stack appears to tell that:
'revid' => $this->mTemplateIds[$ns][$dbkey],
is accessing a null array, so either $this->mTemplateIds is null or $this->mTemplateIds[$ns]. It seems that the state of the ParserOutput is inconsistent. The page where it's happening is https://www.mediawiki.org/w/index.php?curid=791574. Checked a few of these errors and they all appear to be flow boards.