Commit graph

28 commits

Author SHA1 Message Date
James D. Forrester 279e0817f8 build: Update MediaWiki requirement to 1.43
All extensions in Wikimedia production are expected to track MediaWiki's release directly.
Now that we're no longer artificially holding this back for Fundraising, we can align.

Change-Id: I341ea0143a73bcc705c4db551e20d86d5c40baa1
2024-09-25 09:24:02 -04:00
James D. Forrester 211f7e0a5d Replace moved Title class uses, now MediaWiki\Title\Title
This raises compatibility to MediaWiki 1.40+.

Change-Id: I85ffdd312ee3017c2197dd0375178d49115072a4
2024-09-23 16:50:37 -04:00
James D. Forrester a70b16936d build: Update MediaWiki requirement to 1.39
Fundraising needs this to still be compatible with 1.39 as the latest
LTS, but at least we can raise it from 1.35!

Change-Id: I3f69e49fe52bd1a042dc3f7177fa311b57d0e15e
2024-01-12 18:16:28 -05:00
Sophivorus 3fc8f0a129 Fix implicit conversion to int
Bug: T351312
Change-Id: Ie4094ffa304b2a301dc32690a89adcd847f43779
2023-11-21 12:50:38 -08:00
jenkins-bot 163ad3f824 Merge "Use HookHandlers for Scribunto hook" 2023-11-06 21:49:27 +00:00
Fomafix d332bcbccd Inject service HookContainer
Change-Id: I4a6292890c4cdad0d8e192e0c9fdc1c24abcd580
2023-11-01 21:34:40 +00:00
Fomafix 0e3cb3e009 Inject services
* LanguageConverterFactory
* LanguageFactory
* LanguageNameUtils

Change-Id: Ifabb61a6cc64bc00ff27aec7048c940df0d81bad
2023-11-01 21:33:33 +00:00
Fomafix 0f4984dc86 Inject service LinkCache
Change-Id: I254a4a20bac60eb505c30ddbf0fd1f5aea9bdd04
2023-11-01 20:29:36 +00:00
Fomafix 4cf0a84ebd Inject service SpecialPageFactory
Change-Id: I8ed6478cc2db8598177d06ed7a5562581f4bc9f9
2023-11-01 20:22:25 +00:00
Fomafix aa79f43d54 Inject service RepoGroup
Change-Id: I37f91c762f4ce22bee13ee8cdd0e2859f76441ec
2023-11-01 20:21:22 +00:00
Umherirrender 72e956c82a Use HookHandlers for Scribunto hook
Cannot use the interface as the required version is not reached yet.
Cannot bump due to use in fundraising

Bug: T271022
Change-Id: I78771f948d4d1e03fc7565525f562c61af9d749a
2023-11-01 14:10:30 +01:00
Reedy f647423039 Correct namespacing to match best practices
Bug: T303105
Change-Id: Ic09ed23c4248e74f93e5807212fe73d241251281
2022-03-05 15:06:59 +00:00
Umherirrender d8a18b0878 Use HookHandlers for core hooks
Change-Id: I340caf0904b04dec04d218dc6813aa752ca5e9c4
2021-03-06 19:32:52 +01:00
Reedy 4adbde3be8 Convert to manifest_version 2
Bug: T252470
Change-Id: If0469ad70cec1db6cc054fe52937c2961090dfa2
2020-05-12 02:03:57 +01:00
Umherirrender 2c97d15088 Use MediaWikiServices::getRepoGroup
This required MediaWiki 1.34

Change-Id: I1578dffaa20d80696378827397a0593d1c634477
2020-03-14 14:45:29 +01:00
Max Semenik f53debae7d Namespace this extension
Change-Id: I0c7719f17f74180a4c85f914888262f7e3b13111
2019-04-03 19:20:14 -07:00
jenkins-bot 111c434c4e Merge "Enable string functions if running parser/PHPUnit tests" 2019-02-07 23:41:04 +00:00
Kunal Mehta 662734cc6f Enable string functions if running parser/PHPUnit tests
Instead of using a global variable specific to Wikimedia CI, always enable
string functions when running parser and PHPUnit tests.

Bug: T180192
Bug: T200650
Change-Id: I27764036e42800be437d69d96ce2b7bc1b1f7cb3
2019-02-07 01:59:13 +00:00
Aryeh Gregor cc6f6cd01c Don't call SpecialPageFactory methods statically
This is deprecated in 1.32. Bump minimum requirement of MediaWiki to
1.32 since this is a tarball-bundled extension.

Depends-On: Id8a92d57743f790b7d8c377c033cef38d1bb24de
Change-Id: Ie18c7c97405124ccaa3922b4a25fa7b40496039f
2018-08-17 11:04:59 -07:00
Jayprakash12345 e6385dfb32 Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I41d7ee671ca103097271379df83cf63d979ee709
2018-04-13 14:58:29 +00:00
Kunal Mehta 9f94cebdaa Move classes to includes/
Change-Id: Iefaa21bf911fa7dcf11aedd38648bed945b905f9
2018-02-24 14:06:58 -08:00
Jayprakash12345 94c964d627 Use SPDX 3.0 license identifier
Bug: T183858
Change-Id: I66300c8ff31b5281f47f4a11552e25b2768a65f8
2018-01-29 06:05:21 +00:00
Platonides 8bf52e3f42 Change ParserFunctions license to GPL-2.0+
Document that the ParserFunctions extension may be used under the
terms of any later version than 2.0 of the GPL.

Bug: T125322
Change-Id: I4231498a7738becc9a55490540a1395d69310359
2017-01-06 15:27:33 +00:00
Reedy adf6a2edc8 Remove 'UnitTestList' hook
No longer needed now that extension unittests are autodiscovered.

Bug: T142120
Bug: T142121
Change-Id: I075b7f6b5e11ead988b0baba5d85745dbb9ac480
2016-08-05 21:24:45 +01:00
Kunal Mehta 8b18a12cce Add MediaWiki version requirement to extension.json
Change-Id: I96b417c7aa1c6b0ed989da0521cec5233f14cc4f
2015-09-23 08:51:07 -07:00
Kunal Mehta 533efdde74 Set license-name
Change-Id: Iadd8262372d93fb592587dd92f49335b3084588a
2015-07-22 21:58:41 -07:00
Kunal Mehta 3528fb0ce8 Set manifest_version in extension.json
Bug: T100745
Change-Id: I14e58377f3149e9fa2843a29767a15aa89d41b37
2015-05-28 20:45:34 -07:00
Kunal Mehta 65de1d2f76 Add extension.json, empty PHP entry point
The $wgWikimediaJenkinsCI hack was moved into a "callback" function
in the hooks file.

Bug: T87955
Change-Id: Ibdb4397231ba9b0301a3b5872867cee5fa3906f3
2015-05-04 13:40:24 -07:00