HomePhabricator

Avoid untidy calls to OutputPage::addWikiText()

Description

Avoid untidy calls to OutputPage::addWikiText()

The OutputPage::addWikiText() method in core is untidy and has been
deprecated in 1.32. Fallback to OutputPage::addWikiTextTitle(),
present since 1.21 or earlier, via a helper to match the tidy output
of the modern OutputPage::addWikiTextAsInterface().

Collect change lines into an array and emit them as once so they
are certain to end up in the same HTML list container element.

Bug: T198214
Change-Id: I737043634d98c65db2ee312c196431681f55dff3

Details

Provenance
cscottAuthored on Oct 22 2018, 3:41 AM
Parents
rETRA541a589b60a0: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I737043634d98c65db2ee312c196431681f55dff3