Commit graph

10 commits

Author SHA1 Message Date
DannyS712 2a66c6b06f Add sboverride right to override the spam blacklist
Bug: T36928
Change-Id: I516dc68ec7a2dfaa82647feb67ec9bd264b8c380
2022-07-08 04:01:27 +00:00
Reedy b93339b4f3 Update some i18n messages to use 'forbidden'
Bug: T254646
Change-Id: I13b05b5f301528aecbadc30289749a78f7c135cf
2020-06-06 15:03:54 +01:00
Bartosz Dziewoński 19c69f4158 Improve edit/upload error message integration
Compared to other extensions like AbuseFilter, SpamBlacklist's
integration with MediaWiki's error reporting was weird.

* When dealing with page editing, we returned two (or more)
  separate messages, which would then be rendered in a list.
  This looks weird, especially if the messages have fancy wrapper
  boxes etc.
* When dealing with file upload, we returned incomplete
  error message, not reporting the blacklisted link.

Now, in both cases, we return a single error message
containing all the details.

Change-Id: I4ca8e67e03726696a428093cc9fb547a6daa1492
2019-08-29 09:23:58 +00:00
MarcoAurelio 8d5c1cbe34 Split 'apihelp-*' messages into a 'i18n/api/.*' folder
Bug: T189982
Bug: T214367
Change-Id: Ibd078dca05959fbeeb91330c1d400c525e65c2f3
2019-01-22 21:27:50 +00:00
Brad Jorsch 68a2c875c0 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: Ic2e770b7830aaf85b6d2959eefd91edfffc40f5e
2017-06-09 11:59:25 -04:00
Translation updater bot 63f08dcf89 Localisation updates from https://translatewiki.net.
Change-Id: Iff589d02b2e3956f746c4d794018950f121dddd6
2015-03-24 22:33:14 +01:00
Brad Jorsch 1255882ab5 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Translation updater bot 9aabc7fddc Localisation updates from https://translatewiki.net.
Change-Id: I2350193569345ca4f0a06627601d4c4e5a737d7c
2014-04-16 15:52:32 +00:00
Faidon Liambotis f9e2fed9bf Revert "Categorize pages containing blacklisted links"
This resulted in doubling the appserver-memcached traffic across the
Wikimedia cluster.

This reverts commit 32b546a223.

Change-Id: I03e96a1bb223360e62d47f98a505cc5b26e5aadf
2014-03-31 09:06:56 +03:00
Siebrand Mazeland cda5d2a32c Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I5b4012b0fb01b1baa7bbbd2457360cdb4a1a895a
2014-03-28 22:32:35 +01:00