Commit graph

21 commits

Author SHA1 Message Date
Reedy 7f02c769df FancyCaptcha: Fix return type for showImage()
Change-Id: I53875ffa1d795c267f6d9d04caa6bda4c5aba038
2024-07-19 16:02:41 +00:00
Wandji69 4e0570e5cf Use ObjectCacheFactory methods
Bug: T363770
Change-Id: I66ffd2d559a22c72a72b1f664a9332900704d503
2024-06-10 02:37:01 +01:00
Umherirrender 81d0c7bcd4 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I325f5bab163cddf76dbf8d5a6eca35a7ed7b6df7
2024-06-08 23:46:45 +02:00
libraryupgrader ccaeae13c5 build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: I3644fbc31d47b6b056122eb6f958de76e81e22ce
2024-02-10 16:10:33 +00:00
Amir Sarabadani e00901f634 FancyCaptcha: Switch to codex text input
It's only adding css and relying on classes in divs which is not
beautiful but it stops the field from being unstyled.

Bug: T355436
Change-Id: I103c95733ba60252db0e2b913eb6f3fc5323c122
2024-01-29 21:45:27 +01:00
Reedy db932b2ae2 FancyCaptcha: Add missing trailing /
Bug: T355962
Change-Id: Id266aa5671550410b570da41b1ccdc537752aa16
Depends-On: Iecc48db5237adc5b89c99019faac0af425e4eb5d
2024-01-26 22:50:58 +00:00
Reedy 36bd54e4ec FancyCaptcha: Allow configuration of the actual directory captchas are stored in
Change-Id: Iecc48db5237adc5b89c99019faac0af425e4eb5d
2024-01-15 15:43:46 +00:00
Umherirrender 92bc1f3d2f Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: Id44f211320e56bc83e4c8f243369dc4eb562cf37
2023-12-11 00:07:55 +01:00
Jon Robson 1a79047036 Fixes Account creation CAPTCHA text field
Bug: T341525
Change-Id: I793333b764399867c6e5babdec3d457d65d81fb1
2023-08-03 00:13:48 +00:00
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
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
Renamed from FancyCaptcha/FancyCaptcha.class.php (Browse further)