Commit graph

4 commits

Author SHA1 Message Date
Reedy ef73b2224a extension.json: Bump required MW version to >= 1.35.0
1.34 doesn't have PHP 8 polyfills, nor does it require PHP >= 8.0

Follows-Up: Ibc0cbe5f7f14bd56d4e126fa7ed183a807d9a99c
Change-Id: I3aed519a755c5b4812c5c2d21dafb04e7f376884
2022-08-28 18:23:28 +01:00
Kunal Mehta 0509d34225 Switch to new hook handler format
* Turn HSTSPreloadLookup into a real service, per @todo
* Convert Hooks into a non-static class, take lookup as an argument
* Update tests for new calling style

== Test plan ==
* CI/tests pass
* Use Special:ExpandTemplates with a preloaded domain and localhost,
  observe preloaded link changes, localhost stays http

Bug: T271027
Change-Id: I0196350e85c09eedfba4dbf1dab81f9a757b2a12
2022-06-05 12:12:39 -04:00
Alexander Vorwerk d2f79d1664 MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I3a4b25e284497b72ef3fa6bb4082e07fb57a4fb9
2021-11-08 23:04:46 +00:00
Kunal Mehta e436b78837 Initial commit
Change-Id: I2c8efb613632ce785580e8fba4da5b0a3a36a0f6
2018-07-29 19:01:06 -07:00