Commit graph

952 commits

Author SHA1 Message Date
Translation updater bot f271bdcdd5 Localisation updates from https://translatewiki.net.
Change-Id: Iaf21402113720b3f1908f7142a3b231fcb926fa0
2016-12-02 22:20:41 +01:00
Translation updater bot 2da0a4b66a Localisation updates from https://translatewiki.net.
Change-Id: Icf2e3cc67a98e8855d4698b0c891bd16970e378c
2016-11-24 22:22:48 +01:00
Translation updater bot 6cbd4eea98 Localisation updates from https://translatewiki.net.
Change-Id: I4ddd0e81ea885c6c3aaee2a3fa987d13b63ee074
2016-11-16 22:53:08 +01:00
Brad Jorsch a2ed65ffdd API: Fix tbnooverride parameter type
This is treated as a boolean parameter, let's make it actually be one so
it shows up correctly in ApiSandbox.

Change-Id: Ie2d2bf28165eca8883e8453a88a9c4e2d9603a78
2016-11-15 08:55:02 -05:00
Brad Jorsch 5652e3af69 Update for API error i18n
See Iae0e2ce3.

Change-Id: I2e1bb975bb0045476c03ebe6cdec00259bae22ec
2016-11-14 12:48:26 -05:00
Umherirrender 4ca30cdd6c Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Ia8411b3ab318ad95282c874dfdff397c7984d0e6
2016-11-13 13:22:58 +01:00
Translation updater bot ab361a89ec Localisation updates from https://translatewiki.net.
Change-Id: I6b4539a1933df3536669b39dc9d7fb42ead8b0de
2016-10-29 22:53:15 +02:00
Brad Jorsch 8ce9c9bc8a Add titleblacklistlog to viewrestrictedlogs grant
Bug: T149235
Depends-On: I8e2304e7b6f2af0c3d21d7d7390e4979b8eaee39
Change-Id: I0cff164c91128a9cc4b8700527ed1f4090a368a5
2016-10-26 15:28:34 -04:00
Chad Horohoe 07eca420bc Whoops, track not trace
Change-Id: Ib94c4a5097885c7f7d092891f2ed20caaaa508ea
2016-10-24 17:03:56 -07:00
Chad Horohoe bbc9c414e1 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I34ad59fc73d4eafc485b9db77737a9bbd17cfa1c
2016-10-24 16:38:37 -07:00
Translation updater bot cb123aa744 Localisation updates from https://translatewiki.net.
Change-Id: Id5db222aa0f3089c9fe79852704b3d508a31b6e1
2016-10-24 22:50:14 +02:00
Reedy 4b980d96e2 Article -> PageContent in hook function documentation
Change-Id: I943233446c0f621c671295696c6186ffb6cfd017
2016-10-09 18:50:12 +01:00
Reedy a647e21654 Replace Article::getContent()
Bug: T145733
Change-Id: I61173d02a6b5633bcf87d21063f600428f478ce1
2016-10-09 00:53:57 +00:00
Reedy 496afa6548 Replace ArticleSaveComplete hook usage
Bug: T147558
Change-Id: I30f8e4d3c98a421036374245522bc0784ceafec3
2016-10-06 17:24:42 +01:00
Translation updater bot 2429c84002 Localisation updates from https://translatewiki.net.
Change-Id: If240a9aa3c46eb21f66dd55f1cc2250afc9b5cb3
2016-09-26 22:43:22 +02:00
Brad Jorsch 75a8813c86 Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: I4acbeec983367f0bd3e7b1996d377bb6e5835d63
2016-09-20 15:32:21 -04:00
Translation updater bot edaca9c580 Localisation updates from https://translatewiki.net.
Change-Id: Ib67720c33def2f2db17c606350101da44ba70dae
2016-09-19 23:01:40 +02:00
Translation updater bot d7feb6335a Localisation updates from https://translatewiki.net.
Change-Id: I1d612699a12da8f6348658373eebb55d8d44a181
2016-09-17 23:22:40 +02:00
Translation updater bot 7b84072844 Localisation updates from https://translatewiki.net.
Change-Id: I99b3933c95acb348ae6f990166e82de9b291ebd7
2016-09-15 23:04:19 +02:00
Translation updater bot d4e4f6bc05 Localisation updates from https://translatewiki.net.
Change-Id: Iadb428525cc3702856c09a53c9f786d71428e8ac
2016-09-13 22:57:16 +02:00
Translation updater bot 5a7e5e0f0b Localisation updates from https://translatewiki.net.
Change-Id: I484fb22c24655375c9d2974c86d2d3045f8e604d
2016-09-12 23:09:14 +02:00
Translation updater bot e50cb1cd36 Localisation updates from https://translatewiki.net.
Change-Id: Ie360fef2be4acb3bab977c2f5ec9a63b4013d096
2016-09-09 22:59:48 +02:00
Translation updater bot a066c07e8d Localisation updates from https://translatewiki.net.
Change-Id: Icfc4ce92727112ca5b25a3caba5dffa5e20fe34b
2016-08-29 22:40:17 +02:00
Translation updater bot fbf6ab8f27 Localisation updates from https://translatewiki.net.
Change-Id: I9d8827173fbbe2652cd2c10e52945538bcf4e426
2016-08-16 22:45:51 +02:00
Translation updater bot dd06d47ea8 Localisation updates from https://translatewiki.net.
Change-Id: I1e5d7e190e901834ea96fad55aa746be6f5ca0ec
2016-08-08 22:36:43 +02:00
Reedy 1ebec92f0a Remove 'UnitTestList' hook
No longer needed now that extension unittests are autodiscovered.

Bug: T142120
Bug: T142121
Change-Id: Id86f4909e9c74c884ce33434717ad6993cbcc2bd
2016-08-05 17:38:12 +01:00
Bartosz Dziewoński 8437d98027 Add "targets": [ "desktop", "mobile" ] to 'mediawiki.api.titleblacklist' module
Bug: T97202
Change-Id: I6bffc6088f04527c0c5ca8ea8ec33de800582ee6
2016-08-03 18:56:33 +02:00
Translation updater bot 4c64871c1c Localisation updates from https://translatewiki.net.
Change-Id: I57d7a54fe4923a5c655c2af8cbed328a8041a996
2016-07-31 22:27:10 +02:00
Translation updater bot 01b296ae3a Localisation updates from https://translatewiki.net.
Change-Id: I0a8e6aa13e1899dad616f28dfe58a64e6fe5d0fa
2016-07-26 22:56:50 +02:00
jenkins-bot d24c58c79d Merge "Add message parameters to API response" 2016-07-11 15:42:47 +00:00
Translation updater bot 2d9f72cab6 Localisation updates from https://translatewiki.net.
Change-Id: I098f3c1f874fdc22d961fa9731b02d34d1d02339
2016-07-09 22:55:53 +02:00
Translation updater bot e9b262dfaf Localisation updates from https://translatewiki.net.
Change-Id: I3238631324c885938a90750d78498c6a5c943369
2016-07-08 23:11:49 +02:00
Translation updater bot 741a9fd215 Localisation updates from https://translatewiki.net.
Change-Id: Ibb9b5188cc6555b1c383af70f39090b78b9ba767
2016-07-07 22:40:11 +02:00
Bartosz Dziewoński a4857e0793 Add message parameters to API response
We previously added the message key as .message property
(97b433286d), leaving it for the API
client to know what the parameters are and how to get them.
(Here, the parameters are the .line property and the page title.)

Let's just do this work for the client, so that it doesn't have to
know what TitleBlacklist is - it'll be able to just display the given
message with the given parameters. My specific use case is the upload
dialog in core (core shouldn't have to know about any extensions).

See also AbuseFilter change I5780eae96930211191ecd874aacf53fdacb58f89.

Change-Id: I97c1f5c6bbbdfc0b8ea9914bb075d5299c14df8f
2016-06-29 19:46:28 +02:00
Translation updater bot c3fe226d80 Localisation updates from https://translatewiki.net.
Change-Id: I90b96bd613d79f2fbb0dd79aec6a4cee30ca531f
2016-06-20 22:23:14 +02:00
Brad Jorsch 8ab382e535 Add $options parameter for testUserForCreation()
Also use it to only log the title blacklist hit when running for real,
not when testing a username.

Change-Id: Ie9639a15d04b387be0e72754301eb6d91cd8adc2
2016-06-16 17:57:06 -04:00
Kunal Mehta 86889ec684 chmod -x TitleBlacklist.list.php
Change-Id: Ifa7fb3c887328fff4175f923fba67eac1ab7aa95
2016-06-15 18:05:34 -07:00
Translation updater bot e9e19a0616 Localisation updates from https://translatewiki.net.
Change-Id: Id0f0566a729f8bc7a4a0daa39a02fc9dd2b990c0
2016-06-15 22:40:20 +02:00
Jackmcbarn 9cae0fb2fe Don't show blacklist warning for autoconfirmed protection
Bug: T137369
Change-Id: Ia03c770143f14505df0d2bcf8febca6f32777e58
2016-06-14 22:42:22 -04:00
Gergő Tisza a3ecb237b5 Improve provider's canCreateAccount logic
Test non-autocreations; assume the user would override.

Change-Id: I18d40d95ffcb1aadd724efb3181a7cb32b803ff4
2016-05-31 16:51:15 +00:00
Brad Jorsch 49e8bf1d44 ApiQueryTitleBlacklistTest needs to restore globals
I guess this only ever worked before because none of the other tests
depended on these globals. Now that AuthManager is enabled by default,
one does.

Change-Id: If335fcc9b844a518b2c56bfa39153159261ae314
2016-05-31 10:57:14 -04:00
Translation updater bot 20bfe59963 Localisation updates from https://translatewiki.net.
Change-Id: Ia7a073357257206601d6c1b58b52aa1d76757b0c
2016-05-29 22:33:05 +02:00
Aaron Schulz 61dddceb86 Use caching in TitleBlacklist::matches() for existing pages
The unicode normalization always shows up as a sizable chunk of call
stack time in flame graphs.

Change-Id: Iebbe6a90020d756e800ebf7b9b12d39b86190a48
2016-05-26 22:54:34 +00:00
Translation updater bot cd9261c97f Localisation updates from https://translatewiki.net.
Change-Id: I89b2c2b6008634632dc77eea4404abba5d89e2bb
2016-05-26 22:46:48 +02:00
Translation updater bot 7c998391db Localisation updates from https://translatewiki.net.
Change-Id: Ib75c237bb11f215362f257919e4ebc2b6e1d14f7
2016-05-25 22:27:07 +02:00
Translation updater bot 04e72d3a71 Localisation updates from https://translatewiki.net.
Change-Id: I9db4e0d75a0587ad92ba9d34904e373d5869bda5
2016-05-24 23:10:10 +02:00
Translation updater bot 65b0cca01d Localisation updates from https://translatewiki.net.
Change-Id: I3e29efc2b5d0fd2d506491b780f569e1e9ab4eb3
2016-05-19 23:11:56 +02:00
Translation updater bot bb5198825e Localisation updates from https://translatewiki.net.
Change-Id: I57998dce95d4f9be7b166bc8e4243155d3c3e4ae
2016-05-18 22:14:09 +02:00
Translation updater bot c28b9884e4 Localisation updates from https://translatewiki.net.
Change-Id: I0e20e274e86332a03ca2bcbae20167739aa8db31
2016-05-17 22:24:54 +02:00
Gergő Tisza 17d3a9e313 Update for AuthManager
Bug: T110469
Change-Id: I9690d2fe6b172fcc85e1a8f7f91af21c6422d870
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-12 00:23:11 +00:00