Commit graph

19 commits

Author SHA1 Message Date
Amir E. Aharoni 1a9865db5c Rename black and white to allowed and disallowed
According to the discussions at Bug T254649 and Bug T254646
rename the lists to generic "allowed titles" and "disallowed titles"
lists.

The previous change was abandoned, probably because it tried
to say "blocklist", which can be confused for user blocking.
I see there is intention to merge this extension's functionality
into AbuseFilter, but until it happens, it would be nice
to rephrase the user-visible messages at least.

Also make the spelling of "username" and "case-insensitive" consistent
with core MediaWiki, and a few other copy editing fixes,
and fix some tests with these words.

Bug: T254650
Change-Id: I05ccc585325eb1610dd6b257a0b96ab43b0c8c8f
2021-11-06 21:09:27 +00:00
Reedy 161b39d20b Remove - from override
Change-Id: Iaa39a1d3d7da48eafb6860d1cd11e6765c1337ee
2021-04-13 02:59:24 +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
James D. Forrester 156c398975 i18n: Make clear what TitleBlacklistAuthenticationRequest over-rides
Change-Id: I9de7b2bc8ef8f615e7885ce3791dcfe5a4de3a72
2019-04-30 15:49:34 -07:00
Reedy b448012d82 Add missing action- messages
Change-Id: I78f46c5bf9594a5b4f182698ea08d90898fc556e
2019-04-12 21:29:15 +01:00
Ed Sanders d62cb11ea8 Bring in VE support
Bug: T211242
Depends-On: I9d7efbecfd954acff86f279f75aa80a9fcc10c89
Change-Id: Ibaf8a37f1aaef510923bde5ed9114f1f00fff461
2018-12-07 18:49:43 +00:00
zoranzoki21 bbec41c935 Move all apihelp translatable messages to separate files
Bug: T189982
Change-Id: I215dca32ed6bad6c4dafd0814b8cbb0887b3dd75
2018-11-25 05:28:45 +01:00
Amire80 2ddb48cc78 Change "article" to "page" in messages
This is the custom for making the messages generic.

Change-Id: I4c12c9d69184ef3a60944558aab1d9849ede08f9
2017-06-15 21:12:48 +03:00
Brad Jorsch c17b1a4e92 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I83b26037cb833d85a941bcc58f6609f6a13c9eea
2017-06-09 11:59:25 -04:00
Gergő Tisza 17d3a9e313 Update for AuthManager
Bug: T110469
Change-Id: I9690d2fe6b172fcc85e1a8f7f91af21c6422d870
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-12 00:23:11 +00:00
jenkins-bot c1d392dcff Merge "Add ignoretitleblacklist to account creation API" 2015-10-26 17:57:48 +00:00
Alex Monk ce99786864 Add ignoretitleblacklist to account creation API
Bug: T109517
Change-Id: Ie4d879f692cddc47d730d9aee9a9a534e9d22937
2015-10-18 15:19:20 +01:00
Ori Livneh a05d0abed9 Avoid loading the blacklist in TitleGetEditNotices hook handler
* Only show the override notice if the blacklist exemption is due to the user
  having the tboverride permission. (In other words, stop showing it for
  autoconfirmed users.)
* Only bother checking the blacklist in the uncommon case of the user actually
  having the tboverride permission.

Change-Id: I3277df8213586f31d7b7c43f72596319228b2730
2015-09-10 17:14:48 -07:00
Siebrand Mazeland 3e563fa7b9 file name -> filename
Change-Id: Ib0a4e503ad9eb414fce898f3dbf510e61d9dd617
2015-01-14 20:13:40 +01:00
Siebrand Mazeland 1185128686 Fix typo
Spotted by Liuxinyu970226 and reported at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-titleblacklist-example-2/en

Change-Id: I4789c97507588a71792dd9f0d0338cf90dfcb601
2014-11-14 13:38:09 +01:00
Brad Jorsch 8c8c8bbe92 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:48:10 -04:00
Jackmcbarn f0e2d73e87 Display a warning when editing a blacklisted page
Show a warning when users are about to create or edit a page that the
titleblacklist prevents most users from creating or editing.

Bug: 13780
Change-Id: I0e3c08d026e415c31c792dffbb6bb300c7f1fd9c
2014-07-10 16:29:35 -04:00
PiRSquared17 750a76ca7f Add log for TitleBlacklist hits
This adds a log, Special:Log/titleblacklist.
Since titleblacklist hits when editing or moving
can be triggered with GET, they are not logged.
(i.e. only local account creations are logged)

Bug: 21206
Change-Id: I1b7396cebaa528edca043d5d3dfbf9d950d0e116
2014-05-23 19:02:49 +00:00
Siebrand Mazeland 013979589d Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I55d19cd7008c5638f7c599727c429968be86fc06
2014-03-29 13:47:09 +01:00