Commit graph

964 commits

Author SHA1 Message Date
Translation updater bot c18e9e37db Localisation updates from https://translatewiki.net.
Change-Id: Ib476f278e221146b6739d7b792f061be515ec479
2017-02-24 22:47:17 +01:00
Translation updater bot 438916c8f9 Localisation updates from https://translatewiki.net.
Change-Id: I1c9f713eb66957fc60bd5b45001173d6ed14750e
2017-02-23 23:08:56 +01:00
Translation updater bot 75d6555739 Localisation updates from https://translatewiki.net.
Change-Id: I627940003d33bc792de4ab61dca75fe00a2b871d
2017-02-17 22:52:40 +01:00
Translation updater bot 00c8d88f3f Localisation updates from https://translatewiki.net.
Change-Id: I9065b5b42455023f09c5d5a41298000d52945e9b
2017-02-10 22:51:41 +01:00
Translation updater bot 0a4b3fb02a Localisation updates from https://translatewiki.net.
Change-Id: I0deef2483109e932e03e36a1396c9bf9bac125c2
2017-02-07 23:04:15 +01:00
Translation updater bot f555ce6c89 Localisation updates from https://translatewiki.net.
Change-Id: Iadd887cb0dd982f7d7036a194f60129fe8534983
2017-01-25 14:47:04 +01:00
Antoine Musso 8e09acc804 TitleBlacklistTest singleton can now be destroyed
The test suite set $wgTitleBlacklistSources with a fixture source of
directories.  Unfortunately when running tests from MediaWiki core the
TitleBlacklist has already been set with empty value and thus setting
the global is a noop.

That later causes a test to fail because the blacklist is emtpy.

Add TitleBlacklistTest::destroySingleton() so a test can reset the
singleton when changing $wgTitleBlacklistSources.

Since that is solely for testing, throw an exception unless we had
MW_PHPUNIT_TEST defined.

Bug: T155980
Change-Id: I99c3185811ed7b2225953fa6960096985e97c4d2
2017-01-23 17:41:03 +01:00
Translation updater bot c384bfd8f9 Localisation updates from https://translatewiki.net.
Change-Id: Iee944bb4de1abcf0a24e05b1cf40f23558438b83
2017-01-01 10:14:33 +01:00
Translation updater bot 1387dfd0ac Localisation updates from https://translatewiki.net.
Change-Id: Ie72e1672483da05bd5bffd6c092ce875a0a590f2
2016-12-28 10:56:24 +01:00
Translation updater bot e72c466f6e Localisation updates from https://translatewiki.net.
Change-Id: Iba5a571a3cbf4ca806c3d7ae534016dfd67007d1
2016-12-19 22:49:39 +01:00
Translation updater bot b544f49bf9 Localisation updates from https://translatewiki.net.
Change-Id: I5e966c1a83233295f3b679114c9254cbf013358f
2016-12-13 22:46:25 +01:00
jenkins-bot 087a0e7733 Merge "Update for API error i18n" 2016-12-06 09:31:13 +00:00
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