Commit graph

1354 commits

Author SHA1 Message Date
Ori Livneh baaf91c8ea author: Fran McRory ⇶ Fran Rogers
Change-Id: I91de7d52903020f5c02b669630d08a06b6ef5589
2013-02-18 19:52:44 -08:00
Translation updater bot 0aeb31541e Localisation updates from http://translatewiki.net.
Change-Id: I04edea1fdbae1898934a2358d6e8818aa5426622
2013-02-17 20:52:21 +00:00
Translation updater bot e7d5581d79 Localisation updates from http://translatewiki.net.
Change-Id: If2c7eded2ca4319ef39246a5e1baf40932b15039
2013-02-07 20:43:40 +00:00
Translation updater bot d2134ba363 Localisation updates from http://translatewiki.net.
Change-Id: Iaabd535f12db7bf017942d7ee406196f603e239c
2013-01-30 20:51:02 +00:00
Translation updater bot 967a5f63e7 Localisation updates from http://translatewiki.net.
Change-Id: I30574b254bd747bcb4bffc93ca2ae792d30a0627
2013-01-20 19:47:49 +00:00
Translation updater bot bee9673c6b Localisation updates from http://translatewiki.net.
Change-Id: I18421f4f994ae7698c5b34d0e9e072dcd782d91b
2013-01-19 16:13:51 +00:00
Translation updater bot d0de148873 Localisation updates from http://translatewiki.net.
Change-Id: I08f38d3381a0333794e5e3e0c0a65270921c4e2d
2013-01-15 21:34:49 +00:00
Translation updater bot 25c99985ee Localisation updates from http://translatewiki.net.
Change-Id: I4ae144d0d1da400b68cbde1f092ca86268413dae
2012-12-25 20:18:06 +00:00
Translation updater bot 668c146313 Localisation updates from http://translatewiki.net.
Change-Id: I4793a23a02f5ec963301553d0e68cad4fca00be6
2012-12-23 22:01:28 +00:00
Translation updater bot 0d71595e7c Localisation updates from http://translatewiki.net.
Change-Id: I9c46017c5ff1beeed1715428ec631feef4dc7dd9
2012-12-22 22:23:32 +00:00
Translation updater bot 07ad4e1cd2 Localisation updates from http://translatewiki.net.
Change-Id: I71a4a0dd7c4f75718c51b44c63fc56de0f888d62
2012-12-13 20:30:55 +00:00
Translation updater bot 0deb060266 Localisation updates from http://translatewiki.net.
Change-Id: I67a90df82da1ffe219b5941f5315fea7a0e7cb88
2012-12-12 21:17:16 +00:00
Translation updater bot 7c6963f94b Localisation updates from http://translatewiki.net.
Change-Id: I50ab36b948e1588f07fc9c62d7528b50087f792a
2012-11-28 20:21:58 +00:00
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