Commit graph

13 commits

Author SHA1 Message Date
Umherirrender c9511bb825 Replace $wgOut with RequestContext::getMain()
Bug: T252978
Change-Id: I5e677fde89accfa6363824ef4cbd8808097e00f3
2023-05-15 22:32:44 +02:00
gerritbot 1166c1e2e9 Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: I28b86e3c2b5b4852400c001c1a0594d77629c965
2023-04-25 09:53:06 +00:00
Reedy a0feac27b0 Namespace captchas
Change-Id: I2933639f9cb50db2101c4765ce9d8f9069d253b8
2022-12-13 21:40:30 +00:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Alexander Vorwerk 4bf58404d7 Replace usages of deprecated wfWikiID()
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().

Bug: T298059
Change-Id: Ia8cc46bcc7a1b3b961c196493d1146de090d06da
2021-12-21 01:11:46 +00:00
Reedy d648372f7f Fix MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
Change-Id: Idc03460327095e19438fd9a3a542bf4229db4be2
2020-04-15 00:45:00 +01:00
Umherirrender 615c7d4fdb Use MediaWikiServices::getFileBackendGroup
This required MediaWiki 1.35 (already set in extension.json)

Change-Id: Id403091d4831735410e09727ebba2ab87c406894
2020-03-31 19:38:07 +02:00
Kunal Mehta 387bbb1f20 Avoid deprecated curly brace syntax
See <https://wiki.php.net/rfc/deprecate_curly_braces_array_access>, which
deprecated this syntax in PHP 7.4.

Change-Id: Ia7e5515d7fd3557b79df13149befcc75e090dec1
2020-03-22 19:59:03 -07:00
Aaron Schulz 55404c02d1 Convert $wgMemc use to WANObjectCache
Bug: T160813
Change-Id: I2d78d912e400e814ddefd27d0d7b36c945a3d8af
2020-02-06 15:49:02 -08:00
Reedy d63d739e93 Remove FancyCaptcha::estimateCaptchaCount()
Deprecated since Feb 2017, no callers

Change-Id: If8596450e1d4642451acd8cf0f416afa3b428f56
2019-10-16 00:12:48 +01:00
Bartosz Dziewoński c9030bceb4 FancyCaptcha: Actually load styles for the CAPTCHA input
We already set class=mw-ui-input on it, but we did not load the styles
for this class. It was only styled as expected when something else
loaded them, so it worked on the signup form, but not on the edit form.

Bug: T203718
Change-Id: I514f52faa99052de32d40cd69c6b58acf2f99f83
2018-09-06 23:51:42 +02:00
libraryupgrader 223ff14572 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I9830f95de17383a7f4fba6f323550bc9061acc06
2018-08-19 12:06:19 -07:00
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00