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
Translation updater bot
8f5961da3a
Localisation updates from https://translatewiki.net .
...
Change-Id: Id17f72b0063fff1e61fdb234493f26452b9901f1
2016-04-17 22:19:54 +02:00
Translation updater bot
ed5d30e361
Localisation updates from https://translatewiki.net .
...
Change-Id: I7888daeb72c8e888f7020ec21d84ececb405aaa4
2016-03-28 22:46:24 +02:00
Translation updater bot
04d6829159
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie297bdb72067a819d2dfa0c1b2a767df021dce15
2016-03-13 22:57:16 +01:00
Translation updater bot
e3a7db9ff3
Localisation updates from https://translatewiki.net .
...
Change-Id: If183e0d0c345f0ac8a08aaa987e182e750eed0ca
2016-03-06 22:17:35 +01:00
Brad Jorsch
7c75416374
Fix 'localpage' message handling
...
It looks like the original implementation of this (r28307) was
incorrectly using wfEmptyMsg() so it was checking if the specified
message page had content equal to '<titleblacklist>' rather than
checking whether the message actually being loaded was empty.
Then r64178 changed wfEmptyMessage() such that it was checking if the
'titleblacklist' message was disabled in the user's language, which
caused the behavior here to be even more wrong. Then Ie78fa258 came
along to cement this in place and make this code even more
incomprehensible.
So let's go back to what it was probably originally trying to do: return
the 'localpage' message's content if it's not disabled, or empty string if
it is disabled.
This should also take care of T56193#2068536, which is being triggered
by the attempt to load the message in the user's language.
Bug: T56193
Change-Id: I8fe7f03d68e6854106cc903baf7c14ba4badb7c7
2016-02-27 13:44:35 -05:00
Translation updater bot
59426679ab
Localisation updates from https://translatewiki.net .
...
Change-Id: I9490f684e0b841fa5a1a5e9c5ef82ba3b7b80ee1
2016-02-20 22:25:11 +01:00
Translation updater bot
d8f93f3d63
Localisation updates from https://translatewiki.net .
...
Change-Id: Icb071ee1408be5af00719764dff5d09dbf7c9c8a
2016-02-05 21:54:17 +01:00
Translation updater bot
56ef93839c
Localisation updates from https://translatewiki.net .
...
Change-Id: I1b38acdc1751533664310884ff8e3ad5b9f73351
2016-02-04 22:17:25 +01:00
Translation updater bot
e2ffb2a99d
Localisation updates from https://translatewiki.net .
...
Change-Id: I40a2d1ed7ae43e4d182edcc062b329eae89516f4
2016-01-27 21:45:45 +01:00
Translation updater bot
ab2e482838
Localisation updates from https://translatewiki.net .
...
Change-Id: Ief7047829690f194e315ac0e4c88e4fd8e6d8eed
2016-01-18 21:38:01 +01:00
Translation updater bot
64a48a0347
Localisation updates from https://translatewiki.net .
...
Change-Id: I4904ffd9bffeaf013565c169f86edd380bf0e1aa
2016-01-10 23:14:24 +01:00
Kunal Mehta
ca74ee05c6
build: Updating development dependencies
...
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2
Change-Id: I41a8f3649a39f17003b8a5f1dcfa09d936d63dc0
2016-01-05 10:41:30 -08:00
Kunal Mehta
b912ee1c98
build: Updating development dependencies
...
* grunt-jsonlint: 1.0.4 → 1.0.7
Change-Id: I58bfec124dd29b3254349f0709bc8c5114e2dedd
2015-12-29 11:59:10 -08:00
Translation updater bot
3d4fc1b7eb
Localisation updates from https://translatewiki.net .
...
Change-Id: I31c3ca42eb8dcd6d4a5cbe8d7bf7a5ab96840ba4
2015-12-18 23:38:13 +01:00
Translation updater bot
9d9d5592a2
Localisation updates from https://translatewiki.net .
...
Change-Id: I922483983b9e18910c67ab5c2a1c63c441e1ba88
2015-12-15 22:25:33 +01:00
Translation updater bot
ebd419a3f6
Localisation updates from https://translatewiki.net .
...
Change-Id: Iae4da03488987121ab9a24463f758cbcf0ed1a89
2015-12-13 22:23:36 +01:00
Translation updater bot
f646095302
Localisation updates from https://translatewiki.net .
...
Change-Id: I37032cd45a498d6c8973cce964d64af55770dde3
2015-12-11 23:55:25 +01:00
Translation updater bot
687a06f886
Localisation updates from https://translatewiki.net .
...
Change-Id: Idc791712a87cec6b045e9ef189a91086378dc325
2015-12-05 23:14:55 +01:00
Translation updater bot
a3feed1dc5
Localisation updates from https://translatewiki.net .
...
Change-Id: If9bf80d6fddf0ff214716a4773be39d59d61c21f
2015-11-27 22:48:22 +01:00
Translation updater bot
1236cb7abd
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia6bd18a129724c239c2bb6aaf10ceb0408ce04d9
2015-11-26 22:05:24 +01:00
Antoine Musso
5ee20fcbab
composer test entry point
...
Just run php lint for now.
Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 22:04:20 +01:00
Translation updater bot
ee37257718
Localisation updates from https://translatewiki.net .
...
Change-Id: Id944d2a18fdd409dc939552b5b04240ac78c4cd3
2015-11-22 20:47:36 +01:00
Translation updater bot
c439b5ca4e
Localisation updates from https://translatewiki.net .
...
Change-Id: I5f00c32017ad96f38d6f1f6fd5f948adb29ce56f
2015-11-16 22:18:17 +01:00
Translation updater bot
ea5b968025
Localisation updates from https://translatewiki.net .
...
Change-Id: I47d19647d7b2d1d6a73ba4f3578f2a85caf243a2
2015-11-11 21:56:53 +01:00
Translation updater bot
0351acff99
Localisation updates from https://translatewiki.net .
...
Change-Id: I1fed6f2a7847c4c1528b7a33bf0f97ca254e82e6
2015-11-09 21:49:22 +01:00
Bartosz Dziewoński
97b433286d
Return better error information via the API
...
* Use only a single error code 'titleblacklist-forbidden'
to allow API users to easily identify TitleBlacklist errors.
* Return the internal code ('message') and the matching entry's text
('line') in machine-readable format, same as action=titleblacklist
(depends on I1334ba21a2862973a9d8ff5be2c9bec06a82698b in MediaWiki).
This bumps the version requirement to 1.27, as older MediaWiki
versions would ignore the error in new format entirely.
Example API output change, for action=edit:
Before:
{
"error": {
"code": "custom-message",
"info": "TitleBlacklist prevents this title from being created",
"*": "See http://localhost/w/api.php for API usage"
}
}
After:
{
"error": {
"code": "titleblacklist-forbidden",
"info": "TitleBlacklist prevents this title from being created",
"message": "custom-message",
"line": ".*test.* <errmsg=custom-message> # test rule",
"*": "See http://localhost/w/api.php for API usage"
}
}
Bug: T115258
Change-Id: I42a0c5b0ea7e61088dd609b764dd7d1396c60cd5
2015-11-02 14:04:37 +00:00
Translation updater bot
cd0d94e074
Localisation updates from https://translatewiki.net .
...
Change-Id: If9a401e0d848127fac534acdf4ea52535eea5bf6
2015-10-31 21:07:55 +01:00
Translation updater bot
46608a5a98
Localisation updates from https://translatewiki.net .
...
Change-Id: I99d30c011d219a4c5e2d21a4f3737b5541b9faf9
2015-10-28 21:56:28 +01:00
Translation updater bot
86f30175b1
Localisation updates from https://translatewiki.net .
...
Change-Id: Iee5275a553edd9c8116192be2172af9bfa94e4e1
2015-10-27 21:33:31 +01:00
Translation updater bot
c4c68ba8ca
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie24033f62c4711dd0a632875f8d586b2cf6db209
2015-10-26 21:05:05 +01:00
jenkins-bot
c1d392dcff
Merge "Add ignoretitleblacklist to account creation API"
2015-10-26 17:57:48 +00:00
Translation updater bot
41c2b8bc79
Localisation updates from https://translatewiki.net .
...
Change-Id: I7a07c0da7169b0d639aeeb5b43066ba220e8acf8
2015-10-25 22:08:35 +01:00
Bartosz Dziewoński
321cfac7aa
extension.json: Correct name and URL
...
Change-Id: I49364f374efe6425cec433d3f2c8e59451ad0c65
2015-10-20 14:53:26 +02:00
Bartosz Dziewoński
811439b68e
Remove support for MediaWiki 1.24 'AbortMove' hook
...
TitleBlacklist already only supports MediaWiki 1.25+ (see TitleBlacklist.php).
Change-Id: Iea583f31913e57c76d2c755d85deb65cfc935190
2015-10-20 14:50:43 +02:00
Translation updater bot
8ade34abc4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie536072a7399b13b3ba8b2e58e4475f4322b2b87
2015-10-19 22:21:17 +02:00
Alex Monk
ce99786864
Add ignoretitleblacklist to account creation API
...
Bug: T109517
Change-Id: Ie4d879f692cddc47d730d9aee9a9a534e9d22937
2015-10-18 15:19:20 +01:00
Translation updater bot
b6e8b35480
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a4fcd1c43375f9e1b50c4b279a393ce9566a002
2015-10-15 09:52:03 +02:00
Translation updater bot
006e68ae5b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1603b3b280e3c4d544e4cabdd281d9eaeecbe289
2015-10-12 21:06:43 +02:00
Kunal Mehta
a8593d591e
build: Updating development dependencies
...
* grunt-banana-checker: 0.2.2 → 0.4.0
Change-Id: Ied58af49e366c1772b9fc95f6c20cdfa5f33df13
2015-10-11 12:03:31 -04:00