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
Translation updater bot
3a32592305
Localisation updates from https://translatewiki.net .
...
Change-Id: I35e55ae9e9b4a3a447b8fb5f0b2ecd539ae224c1
2015-10-07 22:03:44 +02:00
Translation updater bot
a42cc9e918
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib270d874106ba4dcb6b39c17fc58a1727c54e492
2015-10-05 22:17:04 +02:00
Translation updater bot
4ab1791fb6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic9f360074b0be59657c34674f8ca842a8ded6ede
2015-09-30 22:11:55 +02:00
Translation updater bot
b7ef1cbf76
Localisation updates from https://translatewiki.net .
...
Change-Id: I09a4ddda98547460bfb8ae7a89a9e9e6cd0c2ea8
2015-09-23 21:36:20 +02:00
jenkins-bot
8655c0c1b9
Merge "Revert "Avoid checking blacklists in isBlacklisted() for existing titles""
2015-09-19 05:40:54 +00:00
Aaron Schulz
435179beb7
Revert "Avoid checking blacklists in isBlacklisted() for existing titles"
...
The tacked-on 'noedit' feature for filters requires such checks.
This reverts commit e85196ea53
.
Change-Id: Ic816363cb78fd1691737de244a9bcb236533c2b5
2015-09-18 22:40:04 -07:00
jenkins-bot
09458b3422
Merge "Optimize the order of checks"
2015-09-15 11:55:15 +00:00
Aaron Schulz
e85196ea53
Avoid checking blacklists in isBlacklisted() for existing titles
...
Change-Id: Ie44fcb500d28d7d911cb09c0db0947116345514c
2015-09-14 21:06:44 +00:00
Translation updater bot
20f0601b5c
Localisation updates from https://translatewiki.net .
...
Change-Id: I8d169bb3ad6544d1f1f4e9f28536cfc8b6c4872d
2015-09-13 22:15:48 +02:00
Translation updater bot
6e79e6a983
Localisation updates from https://translatewiki.net .
...
Change-Id: Ide80fc2422bfb0352019bdb247780da42e22ae09
2015-09-12 01:12:52 +02:00
Ori Livneh
a05d0abed9
Avoid loading the blacklist in TitleGetEditNotices hook handler
...
* Only show the override notice if the blacklist exemption is due to the user
having the tboverride permission. (In other words, stop showing it for
autoconfirmed users.)
* Only bother checking the blacklist in the uncommon case of the user actually
having the tboverride permission.
Change-Id: I3277df8213586f31d7b7c43f72596319228b2730
2015-09-10 17:14:48 -07:00
Ori Livneh
ec739362dd
Optimize the order of checks
...
The `tboverride` permission is not widely granted, so checking for the user
right before checking whether the title is blacklisted optimizes for the
uncommon case.
Change-Id: Ie6ebdf8b9b87d70ebbf2929a5da325f964464e1d
2015-09-10 16:53:40 -07:00
Translation updater bot
db070d28b0
Localisation updates from https://translatewiki.net .
...
Change-Id: I85c3a0207db5642ccd8cd81c653600a2807e6332
2015-09-04 21:54:11 +02:00