The method infoBox is only used in one place - the installer
https://codesearch.wmcloud.org/search/?q=Html%3A%3AinfoBox&i=nope&files=&repos=
Acceptance Criteria
- Let's move the code into the installer and deprecate this method.
The method infoBox is only used in one place - the installer
https://codesearch.wmcloud.org/search/?q=Html%3A%3AinfoBox&i=nope&files=&repos=
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Deprecate Html::infobox | mediawiki/core | master | +5 -0 | |
| Move Html::infoBox logic to WebInstaller | mediawiki/core | master | +35 -1 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Jdlrobson | T232903 The installer should use `.warningbox` for styling warnings, not `.mw-infobox` | |||
| Resolved | Ammarpad | T268078 Hard deprecate Html::infoBox |
Change 641880 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Move Html::infoBox logic to WebInstaller
We definitely need to deprecate and change applications, as extensions like Translate uses mw-infobox right now.
Translate doesn't use Html::infoBox so won't be impacted by this particular deprecation. It is however relying on styles in mediawiki.skinning.legacy which are not always present (this will be broken on Minerva for example)
This is why we'll need to handle the styles deprecation separately.
Change 641880 merged by jenkins-bot:
[mediawiki/core@master] Move Html::infoBox logic to WebInstaller
Change 642583 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Deprecate Html::infobox
Side-note: I had a hard moment to decipher “A/C” in the task description. “Air/Conditioning” :P