mediawiki-skins-Citizen/includes
David Lynch 6f5b761fe7
fix(core): let makeSections xpath query cope with multiple classes (#733)
* Let makeSections xpath query cope with multiple classes

As-of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/939783 in mediawiki-core, this class attribute is going to contain multiple classes. This would break the section-creation. This change to the query is backwards-compatible, so this should just inoculate the skin against future updates.

* Shorten line for mediawiki-lint compatibility

* fix: update html selector for parser output

Related: T350627

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-11-15 15:15:25 -05:00
..
Api ci: 👷 lint code to MediaWiki standards 2023-08-25 00:57:30 +00:00
Hooks refactor(core): ♻️ update title class to use the newer standard 2023-08-25 16:52:58 -07:00
Partials fix(core): let makeSections xpath query cope with multiple classes (#733) 2023-11-15 15:15:25 -05:00
GetConfigTrait.php refactor(core): normalize PHP namespaces used in Citizen 2022-05-26 16:58:14 -04:00
SkinCitizen.php ci: add PHPUnit tests (#712) 2023-08-25 14:39:37 -07:00