Commit graph

14 commits

Author SHA1 Message Date
Reedy 106a63e3b4 hCaptcha: Variablise api and verify urls
Bug: T378207
Change-Id: I62b7a418be4cb3a4a51937ae331a4aad22dc5732
2024-11-06 19:24:04 +00:00
jenkins-bot a1c4dccbf2 Merge "Remove redundant sub extension AutoloadNamespaces entries" 2024-11-06 14:13:26 +00:00
Reedy 5a0185206d Fixup paths to moved resources
Bug: T379080
Change-Id: Iff8c39b6d49e3ce476e026b022613ec08ced37ca
Follows-Up: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-11-05 15:37:03 +00:00
Reedy 32b7a3ea5b Remove redundant sub extension AutoloadNamespaces entries
Change-Id: Icf557dfeef3e443e660c888971ed9426f0f24c36
2024-10-30 01:50:31 +00:00
Reedy 9f2e976f10 Attempt to flatten out PHP files in sub extensions
In an attempt to be able to have easier code coverage...

Bug: T377750
Change-Id: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-10-30 01:48:14 +00:00
Ebrahim Byagowi 639dbc5cd7 Replace uses of mw.Uri with browser native URL
Uses of mediawiki.Uri apparently wasn't explicit but this
makes uses of URL's polyfill explicit which later will
be removed.

Bug: T374314
Change-Id: I62b92b3bc923269226512ab50b0708ce5a382abf
2024-09-17 22:53:53 +03:30
James D. Forrester 96f458cdd6 */extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: Id8501de1d372b7eca8e49c669d401322b2a51371
2024-01-12 22:33:04 +00:00
James D. Forrester df052e9027 build: Use conf.MessageDirs for banana path config
This repo is a little tricky, as it's made up of multiple sub-
extensions, each using relative paths, but at least this way it
is clear that adding additional i18n paths to a manifest will
also add it to the linting set-up.

Change-Id: I7bc4f0cd5d2b431fe47a4d3bee2ca69a06aeea6d
2023-09-19 09:59:36 +01:00
alistair3149 2de530d092
Use ResourceLoader callback to retrieve hCaptcha config
The old method is returning null, results in error that makes
user stuck on the save your chagnes dialog in VE.

Bug: T311449
Change-Id: I124093fff4f7e69f7ec76cc6b9994d7939bc80f1
2022-12-11 16:50:34 -05:00
Reedy c1b67dc3c1 Correct namespacing to match best practices
Bug: T303105
Change-Id: I6df333dde64235bc0ee56cb27d28072bdead7612
2022-03-05 15:05:22 +00:00
alistair3149 0993a43a29 Support hCaptcha for VisualEditor
Extend Captcha save error handler to verify user using
hCaptcha.

Bug: T264684
Change-Id: I88928e291a2ecd6edd74af62575e8704c0a2ee13
2021-04-21 23:22:47 +01:00
libraryupgrader 57fa35260b build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I4749baf839c19067c555258aa2ac22dd6ae3401d
2021-01-29 07:34:33 +00:00
Reedy 96f348b64b Add $wgHCaptchaProxy
Bug: T252427
Change-Id: Ia062edb5e619ef3782ad92ab0b7859770f8b5bdd
2020-05-11 17:39:37 +01:00
Reedy f005a5cb4a Add hCaptcha
Mostly working from Florian's ReCaptchaNoCaptcha

Bug: T249854
Change-Id: I5c3ac71bdfd528339b846b5811e78a88e8135e46
2020-04-17 16:43:27 +02:00