Commit graph

12 commits

Author SHA1 Message Date
Umherirrender 4290e114d4 Show titleblacklist error message in html when using js api module
Parse the message in html according to the errorformat= in the url,
fallback to wikitext to avoid a breaking change.

Bug: T369244
Change-Id: I58b995b3663b7dd286267e640d8d56164bd9be0b
2024-07-16 22:57:46 +02:00
libraryupgrader 54c96154aa build: Updating eslint-config-wikimedia to 0.28.2
The following rules are failing and were disabled:
* es-x/no-object-assign

Change-Id: I329b999386e5f9a44a598757d5ee314757cd7daa
2024-06-22 03:22:31 +00:00
Novem Linguae 50eee8e1eb JSDoc: @mixins -> @mixes
Convert old JSDuck syntax to new JSDoc syntax

Bug: T366230
Change-Id: Ib001ba463d5e0b8ab76952ca3b4b6ac444b4e60f
2024-05-31 15:46:09 +00:00
Bartosz Dziewoński c5f2f1c30b VE integration: Remove "unrecoverable" errors
Bug: T307330
Depends-On: I9680cc416da5b27881aeb3502f506dcb5d4bb71f
Change-Id: Iba36a5549b2d987e00665c4fe62db5c4727bcf24
2022-07-19 21:47:01 +02:00
Siddharth VP ce64fbb8df Fix typos in comments
Bug: T201491
Change-Id: I5177bc2003f411f08638f066e0bd9e60b45e159c
2021-10-14 11:20:01 +05:30
Ed Sanders 3fa72a127e VE: Add explicit dependency on targetLoader
Change-Id: I35145aa35476c91bb924dd9414eb3dc6c2230385
2020-06-30 22:48:07 +01:00
Bartosz Dziewoński cba4d461b9 VE: Update for errorformat=html
Update matchFunction() to match the new format of responses.

Remove custom error message from process(), it's worse than the default.

Bug: T229532
Depends-On: I3b9c4fefc0869ef7999c21cef754434febd852ec
Change-Id: Ibeae79c95557a7af699716c9d921f34c310bee6d
2019-08-22 00:38:02 +00:00
Bartosz Dziewoński 717820286e ve.init.mw.TitleBlacklistSaveErrorHandler: Disallow retrying
Retrying can never resolve this problem.

Change-Id: I8c0403f994d36cde2003d6b69071459d035fd245
2018-12-07 22:16:37 -05:00
Bartosz Dziewoński 6ac35e2586 ve.init.mw.TitleBlacklistSaveErrorHandler: Update to receive entire response
Change-Id: I1feaf08354cbe08709d7a4e14fbbcc2766817591
Depends-On: I818d916275b8451af6910ddaa7cd4d7c653085ee
2018-12-07 14:18:30 -05:00
Ed Sanders d62cb11ea8 Bring in VE support
Bug: T211242
Depends-On: I9d7efbecfd954acff86f279f75aa80a9fcc10c89
Change-Id: Ibaf8a37f1aaef510923bde5ed9114f1f00fff461
2018-12-07 18:49:43 +00:00
Ed Sanders ccf77bdddb Replace jshint with eslint
Change-Id: I34d56f7e6c8efe4b9bb1efebd2e8bfce35d6afb7
2018-12-05 17:02:53 -05:00
Krenair 98aed02288 Add the mediawiki.api.titleblacklist module
Removed from mediawiki core in Ia5950853716.

Bug: 38244
Change-Id: I5bf7064ac6a82ed15e0589f255de4ef6c7349c4e
2013-03-06 16:27:20 +00:00