Commit graph

1391 commits

Author SHA1 Message Date
Translation updater bot 3174a2f030 Localisation updates from http://translatewiki.net.
Change-Id: Iee16ca12ffeb52f652730c923614c7f62136815a
2012-11-27 21:11:53 +00:00
Translation updater bot 8937c61a5b Localisation updates from http://translatewiki.net.
Change-Id: Iaea07517b514389236ddaebb38cf1917d98fd892
2012-11-25 20:54:38 +00:00
Siebrand 1354dc0514 Merge "(bug 41242) Parse the unacceptable new account name/move messages" 2012-10-28 23:47:40 +00:00
Victor Vasiliev b287964744 Merge "Fixing several issues with the titleblacklist API" 2012-10-28 05:09:39 +00:00
Marius Hoch fc27474834 Fixing several issues with the titleblacklist API
I've fixed four issue with the API of this extension:
1. The extension always assumed the user wants to override the
   blacklist, if he's allowed to do so, but that's not the case.
   Introduced 'tbnooverride' to prevent that.
2. The API used actions not internally supported by
   TitleBlacklistEntry::matches() which made it impossible to check
   whether an account name is ok, if the regexp which would prevent
   this was set to new account only. Therefore I've introduced the
   new action 'new-account'.
3. Same as 2 for the 'upload'
4. The API always returned the 'titleblacklist-forbidden-edit'
   message, even if there was a more suitable one. Fixed that.

Example:
 https://meta.wikimedia.org/w/api.php?action=titleblacklist&tbtitle=User:Steward&tbaction=create
 (this should match the expression .*steward.* <newaccountonly> on
 https://meta.wikimedia.org/wiki/Title_blacklist but it doesn't)

Furthermore I've adjusted the unit tests slightly to test whether
tboverride works and whether <newaccountonly> works.

Change-Id: I2d948c84de39c6ee1c1eea7e6cd7b31506d6cb92
2012-10-27 14:41:15 +02:00
Translation updater bot e82206f31d Localisation updates from http://translatewiki.net.
Change-Id: I217682172e035d8bd204fe6c932fe101f5ee82fa
2012-10-22 01:50:35 +00:00
Krenair 12184972ae (bug 41242) Parse the unacceptable new account name/move messages
Caused by Ie78fa258

Also fix blacklist validation message and add a missing whitespace

Change-Id: I8be6bded76a048cba1d8770f795ef240b7b02951
2012-10-20 17:19:21 +01:00
Translation updater bot a72fa12bb1 Localisation updates from http://translatewiki.net.
Change-Id: I4bc0f3eb14e38104ed1f5ebe6e3f8f674795f1eb
2012-10-12 21:21:29 +00:00
Translation updater bot 5ebd34f330 Localisation updates from http://translatewiki.net.
Change-Id: I3ab1392522cff602629184b3c318ebdc5957bedd
2012-10-05 21:29:42 +00:00
Translation updater bot 0ad227e9f0 Localisation updates from http://translatewiki.net.
Change-Id: I00294ede58f811c5e0e8757a2c28d2f911d534a2
2012-10-02 14:01:25 +00:00
Translation updater bot cb25682e0a Localisation updates from http://translatewiki.net.
Change-Id: I3c7a6634a47a2c2ae0c190e4b9e85c11cd7d9230
2012-10-01 20:03:22 +00:00
Translation updater bot 1efee53fd8 Localisation updates from http://translatewiki.net.
Change-Id: I274d1d6dc3954da4e93eddc19d6c8e4c2e1d7288
2012-09-30 19:22:10 +00:00
Translation updater bot 826f353c4b Localisation updates from http://translatewiki.net.
Change-Id: I9c1c003cfacfc95b04cd7437c2ac8041d67faa37
2012-09-26 19:55:02 +00:00
Siebrand Mazeland 1f8ccafc94 Remove comment and update docs.
Change-Id: I3e80acedeb008ec8f55c8c4f6d6886ce9ae4dfb3
2012-09-24 02:24:32 -07:00
Siebrand Mazeland 16f32456ad Maintenance for TitleBlacklist extension.
* Use Message class.
* Remove trailing whitespace from 'titlewhitelist'.
* stylize.php.
* Update .gitignore.

Change-Id: Ie78fa25816808b0a695cc20630097326fb4cf705
2012-09-18 15:57:57 +02:00
Translation updater bot 795be73165 Localisation updates from http://translatewiki.net.
Change-Id: I086eb252b5e5887b9bb148ca287653baf6cbdecf
2012-09-16 19:55:47 +00:00
Translation updater bot 39b52e155d Localisation updates from http://translatewiki.net.
Change-Id: I70de7a23601f04b41145d5b15f9f93c4da78d7ad
2012-09-13 20:46:59 +00:00
Translation updater bot aedf7f53e9 Localisation updates from http://translatewiki.net.
Change-Id: Iaade4049a13b3976478fc7dd3c8dec5d2e432dbd
2012-09-08 19:01:45 +00:00
Translation updater bot dffcf33cd3 Localisation updates from http://translatewiki.net.
Change-Id: Ib23f2f38dc170c883a54a07b74d34dbc8b0aea7f
2012-09-07 22:26:12 +00:00
Translation updater bot d8c056d2a6 Localisation updates from http://translatewiki.net.
Change-Id: I484f4fad0f5ea6c6fd6cfcb0b50b999ce05d21d1
2012-09-06 19:44:47 +00:00
Translation updater bot fdae41cdd8 Localisation updates from http://translatewiki.net.
Change-Id: I3528f4b0db6e956b3fc7c8ec1f9c0746cbec2ec3
2012-09-05 19:25:23 +00:00
Siebrand a07b3ba5e0 Merge "Localisation updates from http://translatewiki.net." 2012-09-03 10:21:20 +00:00
Translation updater bot a7dee670fd Localisation updates from http://translatewiki.net.
Change-Id: I1f2d700e18297d9d38669988d413aaf3efde1020
2012-09-02 20:34:54 +00:00
Translation updater bot bd7f73bf9a Localisation updates from http://translatewiki.net.
Change-Id: I2d2633c77f5218cd0f6c6c26bc2d1cb7445ccf7f
2012-09-01 20:47:37 +00:00
Siebrand fdd721e30a Merge "Localisation updates from http://translatewiki.net." 2012-08-31 20:50:49 +00:00
Translation updater bot e6b1e378c9 Localisation updates from http://translatewiki.net.
Change-Id: I23d85e3700b706e19f106e2f452efacf91d66e12
2012-08-31 19:53:10 +00:00
Translation updater bot 87f4cff1f7 Localisation updates from http://translatewiki.net.
Change-Id: Ib58dac6c579fbd46c128bbd43d79f04441fcbc10
2012-08-30 19:42:31 +00:00
Antoine Musso 506470fd79 tests: switch parameters in assertEquals()
assertEquals has the expect as first parameter.

Change-Id: Ic742aae7c84444817de7855b004695a32195d18a
2012-08-29 15:51:27 +02:00
Antoine Musso 31c466e0f7 tests: split listed/unlisted tests
Factored out common code in setup(), that also fixes the tests on my
local machine.

Change-Id: I4083c27842ccb475e2ce3cfbffb6cd35cbd15cc0
2012-08-29 13:47:38 +00:00
Antoine Musso ec5111d491 createContext -> getContext
createContext was deprecated in 1.19.

Change-Id: Idf427b2f1f004515f12f1089472f2d6d39a40939
2012-08-29 14:56:04 +02:00
Translation updater bot 04a4fa94fc Localisation updates from http://translatewiki.net.
Change-Id: I773590b42e02dfa755dac2381a537d5fecb04f77
2012-08-28 19:42:53 +00:00
Translation updater bot 60190f3e62 Localisation updates from http://translatewiki.net.
Change-Id: I2f0bdeea96e96f7d9bed27220042baf1605b56b2
2012-08-25 19:03:25 +00:00
Translation updater bot be49a5d1d9 Localisation updates from http://translatewiki.net.
Change-Id: I5dd595b3a47cd25096e292850f5a66a42ebc60b4
2012-08-24 19:39:44 +00:00
Translation updater bot c2d357e125 Localisation updates from http://translatewiki.net.
Change-Id: I0f58d694281191291837ea08f1c6b52e779b27d9
2012-08-23 20:10:05 +00:00
Translation updater bot 7955e611bd Localisation updates from http://translatewiki.net.
Change-Id: I7093c33e12fe34daa6559b739e3be290242062c6
2012-08-22 19:55:23 +00:00
Translation updater bot a7e54d66f4 Localisation updates from http://translatewiki.net.
Change-Id: I43e3d3d491072e36c0fb057e70f8a5ec1bd3c0d9
2012-08-21 20:10:53 +00:00
Translation updater bot 1216f09546 Localisation updates from http://translatewiki.net.
Change-Id: I6537d2126c41e6c5bedd9ba5fb428507c5bd71d7
2012-08-20 19:22:29 +00:00
Translation updater bot cff25f540c Localisation updates from http://translatewiki.net.
Change-Id: Ia54d7726eb11eb30b6e2f97af2c70519c7b09aaa
2012-08-19 14:52:29 +00:00
Siebrand 09fdd6581f Merge "update desc for right 'tboverride'" 2012-08-19 13:49:20 +00:00
Translation updater bot 5edf0c3cfa Localisation updates from http://translatewiki.net.
Change-Id: I5e6d7c97143fde5bb1dccc4989eb780fb3081347
2012-08-17 13:11:05 +00:00
Translation updater bot 35b83e2951 Localisation updates from http://translatewiki.net.
Change-Id: I4cb2ed86aa606fc8bf3fa0a24fc101c37dade071
2012-08-16 20:31:16 +00:00
Translation updater bot 6dc156c5cf Localisation updates from http://translatewiki.net.
Change-Id: I5d6a25fe0f27bd2c69042467845a5e8876bb3973
2012-08-15 19:58:45 +00:00
Translation updater bot 54cc5bd6eb Localisation updates from http://translatewiki.net.
Change-Id: I30c50f4dc32750cfd0bf8d85dc719cda5cdeac4a
2012-08-14 19:44:35 +00:00
Translation updater bot c1b7e4800f Localisation updates from http://translatewiki.net.
Change-Id: Ibdc98af31cb53d5a05e61b1eacd3d6ccab17b6a5
2012-08-13 19:55:26 +00:00
umherirrender 6731d75061 update desc for right 'tboverride'
'tboverride' implies 'tboverride-account', update the right description
to reflect this

Change-Id: Ic5f15a80521d3000e5229b770aeba8a9876d951f
2012-08-13 21:29:30 +02:00
Translation updater bot 986a65e047 Localisation updates from http://translatewiki.net.
Change-Id: Iaf95b87b3faa9132abe962400c66036b62698d6f
2012-08-12 20:31:29 +00:00
Translation updater bot 3e173184d7 Localisation updates from http://translatewiki.net.
Change-Id: Icb08e79eb744ff6de4806f8bfe476f3f9cf4130e
2012-08-10 19:26:22 +00:00
Translation updater bot 24b0c9a551 Localisation updates from http://translatewiki.net.
Change-Id: Ieeebb5e4191e1d1b3f57f9e56f6d359aaa48cea8
2012-08-09 19:34:32 +00:00
Translation updater bot 3f6d6b5f04 Localisation updates from http://translatewiki.net.
Change-Id: If865b46dd2b5ff68a319d6c9168a34974f554f73
2012-08-01 20:10:25 +00:00
Catrope 2b43eddf7f (bug 38894) Escape the blacklist entry in the new account error
Everything else was already feeding this through htmlspecialchars() as
it should. I can't see how this is directly related to bug 38894 but it
seems to have made it gone away.

Change-Id: I46796a3f09e3e8b281c3029b5e6985f5245231bb
2012-07-31 14:56:22 -07:00