To avoid an exception when the parser is re-entered.
Bug: T310948
Depends-On: I762b191e978c2d1bbc9f332c9cfa047888ce2e67
Change-Id: I5013ed2a2958c3ff422778f9146f663aff0f5939
Test output changed in I3fac0f34d134d8eec46c7eefa3ad2b67abb957da.
Depends-On: I3fac0f34d134d8eec46c7eefa3ad2b67abb957da
Change-Id: I8797ab1adbd44b2766ec803d9b6fe646b3a5a116
As well as:
* Remove redundant `=== null`. The `isset()` before does this already.
* Use convenient PHPUnit shortcuts.
Change-Id: Ibef571e53a48c443d7798fee8abbc2624fbad225
This reverts commit 9adf9ef66c.
Reason for revert: The feature it's testing has been reverted in Ic6c0e31c8247f7d89824d20f28fb0aa56d6ed749
Change-Id: I74b4273bf246560b31911f8953974b9653217ec9
Core now provides all-member count separately with type guarantee.
Depends-On: I8780a4f9bc6c4cb588d0da10b457130df104ced9
Change-Id: Iae795c7c46360727dd4a4d47e7b8bb4dc1c607ab
In addition, several variables which contained instances of ParserOutput
were renamed to $parserOutput to help future humans and code-searchers
to distinguish these from instances of OutputPage.
Bug: T296123
Change-Id: Ic532bca4348b17882716fcb2ca8656a04766c095
Old namespace names added as namespaceAliases[] to prevent broken links.
Author/Source of translations: <https://phabricator.wikimedia.org/p/Surprizi/>
Bug: T270808
Change-Id: Ic8d5b6ccc78e3f53ee0c8abb193cecf32add6af9
This reverts commit 602cef87e0.
Reason for revert: Production errors in 1.38.0-wmf.16
Bug: T298659
Change-Id: Ic6c0e31c8247f7d89824d20f28fb0aa56d6ed749
scn namespace translations were added in d3bbf48. Because the fallback
it names had been in use for some time, they should be added as aliases
in scn to avoid breaking links.
Bug: T297844
Change-Id: I58baa25b2bb03261d11a8f87f049962879c2382a
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().
Bug: T298059
Change-Id: Idb937a82b08679f6552699ecc4a7ea1da7006e09
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().
Bug: T297688
Change-Id: Ie333c616c46a71430f8c18db85bdd64c13379ef0
zh namespace names should be in en by default and having zh variant names as namespace aliases.
This commit will change the zh namespace name to English (which it should be) by default and keep the old name as aliases with other aliases added to language variants.
This commit is a re-patch/solution for https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Scribunto/+/606768
This commit will fix https://phabricator.wikimedia.org/T165593 in the extension instead of only fix in WMF wikis' config files
Bug: T165593
Bug: T286291
Bug: T286105
Related: I9b40319d374143668a2666b42f59a3799d041afc
Change-Id: Ib083a8ff042daa9bdd30d6a1e8c34f85b500fc12