Daimona Eaytoy
6158d96c41
Don't escape externalLink text
...
As escaping is handled by makeExternalLink itself. This currently makes
seccheck fail for any patch and is a merge blocker.
Change-Id: I2d21632bbc59abd4ea48aebdb6572d53f8fc89cd
2019-03-11 13:23:49 +01:00
Translation updater bot
8f3fb5b7e1
Localisation updates from https://translatewiki.net .
...
Change-Id: I5db09a0e9580ec883f02beb4cb89b8a2fdb93587
2019-03-10 22:27:15 +01:00
Translation updater bot
04b5e91c27
Localisation updates from https://translatewiki.net .
...
Change-Id: I3f973d70f5c0b252b4efba1745fe8c73845c3a5f
2019-03-08 22:28:51 +01:00
Translation updater bot
9cb4c7f4e8
Localisation updates from https://translatewiki.net .
...
Change-Id: I4d8d19e842cc0602688eb95e3541fb6ad6f2c9c7
2019-03-05 22:42:32 +01:00
Translation updater bot
1858638897
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia4e0e347b2abec9e72cd5e7d3c7a431f015e4426
2019-03-04 22:15:54 +01:00
Translation updater bot
a0d5a63167
Localisation updates from https://translatewiki.net .
...
Change-Id: Id301b3c91c412b45f03eaa2ddb92e521f905acbe
2019-03-03 22:17:08 +01:00
Umherirrender
da682f78ac
Use ::class for class name resolution
...
Available since php5.5
Change-Id: Ie60465484858867d507081dfe5a305c6ab0599de
2019-03-03 01:41:40 +01:00
Translation updater bot
c8236499e8
Localisation updates from https://translatewiki.net .
...
Change-Id: I9991a6b1b1e1a4e1dd5eb32ac5201c7a3197c18f
2019-03-02 22:42:12 +01:00
Matěj Suchánek
99c2749511
Fix issues with SQLite
...
Bug: T199507
Change-Id: I273de5ebafeee76458a5b873e893044b683c34ca
2019-03-01 10:44:58 +01:00
Translation updater bot
d305a9635e
Localisation updates from https://translatewiki.net .
...
Change-Id: Icdbca8fb2b07007087115c508cbee2ccf1e7f57f
2019-02-28 22:24:16 +01:00
Translation updater bot
3e114498f2
Localisation updates from https://translatewiki.net .
...
Change-Id: I2b145a22e310291370a5e4906cf532cfd5d81b09
2019-02-25 22:57:13 +01:00
Kunal Mehta
85cb0531f0
Add missing use statement
...
Spotted by phan 1.2.4.
Change-Id: I1d2c417881a88c41dc382f583e4a0b6cddc0048f
2019-02-23 21:29:43 -08:00
Kunal Mehta
cb1458f91e
Fix parameter order in doc comment
...
Spotted by phan 1.2.4.
Change-Id: I63aff03d48f1749e03d3398016ead01bc37fe73d
2019-02-23 21:29:39 -08:00
Kunal Mehta
5d1ab854f9
Fix caching in AFComputedVariable
...
Spotted by phan 1.2.4.
Change-Id: I6ff924e08cc7d8d837b44228dfb26c8d15c810c4
2019-02-23 21:28:47 -08:00
Thalia
540a557a59
Replace calls to deprecated Block::prevents
...
Where prevents is used as a setter, use the new setter methods;
where it is used to determine whether a block blocks the target
from editing their talk page, use appliesToUsertalk.
Block::prevents was deprecated and replaced by several other
methods in I0e131696419211.
Bug: T211578
Change-Id: I166cc6f64c0f895ff8c631d2655c1c3208131371
2019-02-22 19:29:02 +00:00
Translation updater bot
de6560fb20
Localisation updates from https://translatewiki.net .
...
Change-Id: I3ccdfdc829e7c0c979795ce1a6005c1a5359e3ef
2019-02-21 22:20:16 +01:00
Translation updater bot
ed4ecd5267
Localisation updates from https://translatewiki.net .
...
Change-Id: I3ea7e36650c5603813a7401bd44b1596c2e43580
2019-02-19 22:19:38 +01:00
Thiemo Kreuz
3993a7ea15
Replace @expectedException with $this->expectException()
...
The @expectedException annotation got deprecated in PHPUnit 7.5, and
removed in PHPUnit 8.0. This was done because the annotation does have
two disadvantages:
* The class name is encoded in string, where it is not easy to find for
all IDEs and tools.
* it did not allow to say exactly *when* the exception is expected.
Change-Id: I85f0b5f44b2f400a121115d402b64827ea534c32
2019-02-19 10:58:16 +01:00
Translation updater bot
7a8b1ae811
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic637db688e5ce40d3425ccb05e22a308a64fa74f
2019-02-18 22:22:38 +01:00
jenkins-bot
6745b9a994
Merge "Fix a typo in EmergencyDisable globals description"
2019-02-18 20:32:39 +00:00
Daimona Eaytoy
6e2b66f96d
build: Update eslint-config-wikimedia to 0.10.1
...
And exclude no-global-selectors for now...
Change-Id: I0cea497ff8d8c749ea4f365c968428af01e85d18
2019-02-18 19:26:42 +01:00
MarcoAurelio
8f56c681c7
build: Update banana to v. 0.7.0
...
Change-Id: I3c1d52f3cf0e4a2d7ed5e288ab126b12ba56b938
2019-02-18 11:39:38 +00:00
Translation updater bot
a2a8985255
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib1afc13fa0b86967a4d0d0363140c47b7b1fcdaf
2019-02-17 22:13:34 +01:00
Daimona Eaytoy
0df04cd829
Fix a typo in EmergencyDisable globals description
...
And specify what we mean with "dangerous actions".
Change-Id: Ida5827978b257cfdf61786c7e19c11a1dc74c664
2019-02-16 14:43:29 +01:00
Translation updater bot
c720a17a82
Localisation updates from https://translatewiki.net .
...
Change-Id: I4b1544794e86555f5817c50c254f38226d2e7a8a
2019-02-13 22:37:49 +01:00
Translation updater bot
85c7c8b46d
Localisation updates from https://translatewiki.net .
...
Change-Id: Iacb03aa90a502e6e09aa5a0144add8513e3b1fba
2019-02-12 22:25:18 +01:00
Translation updater bot
e9ef6df65c
Localisation updates from https://translatewiki.net .
...
Change-Id: I124de656d8d0af7ffb37e2a2dd2257994aaeb84c
2019-02-11 22:27:45 +01:00
Translation updater bot
a82d234077
Localisation updates from https://translatewiki.net .
...
Change-Id: I29a29dd980ca4090daaeeef67c5c92c034805415
2019-02-10 22:18:16 +01:00
jenkins-bot
3229ce5236
Merge "In tests that create users, add 'user' to $this->tablesUsed"
2019-02-08 09:24:50 +00:00
Tim Starling
c889c2990c
In tests that create users, add 'user' to $this->tablesUsed
...
Change-Id: I7d2c6b304974d487e1b7727f594d0843ff080a7d
2019-02-08 16:40:17 +11:00
jenkins-bot
3a69c7b42e
Merge "Update the throttle script"
2019-02-08 02:28:32 +00:00
jenkins-bot
ed79a48f12
Merge "Localisation updates from https://translatewiki.net ."
2019-02-07 21:29:53 +00:00
Translation updater bot
2759b57354
Localisation updates from https://translatewiki.net .
...
Change-Id: I81bd4ba2fc9f286bbe7fd32be974856f8271e8a3
2019-02-07 22:28:16 +01:00
jenkins-bot
981a447aaf
Merge "Remove ancient permission checks"
2019-02-07 21:13:16 +00:00
Daimona Eaytoy
85ba973747
Move the "global-" prefix to a const
...
And add an utility function to use it to build full names.
Change-Id: Ib5fdeb75c1324f672b4ded39681f006fde34b4d1
2019-02-06 14:42:05 +01:00
libraryupgrader
b744d18526
build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang
Change-Id: Ic167fc5e836c5437edc6b330e5d73f9913bc2859
2019-02-06 09:28:26 +00:00
Translation updater bot
b713b94e4b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1f6d9338a0a5bd1008a6b21bb51fa0d4d7806f5a
2019-02-05 22:37:22 +01:00
Translation updater bot
45bed8b1d6
Localisation updates from https://translatewiki.net .
...
Change-Id: I99e5be5d537670305abc55d8e357a9eaf68af04f
2019-02-03 22:37:48 +01:00
jenkins-bot
775368a6fb
Merge "Ensure the specified filter is valid in ViewHistory"
2019-01-31 21:52:00 +00:00
jenkins-bot
2ea783a385
Merge "Strike suppressed AbuseLog entries"
2019-01-31 21:51:58 +00:00
jenkins-bot
8d7361b590
Merge "Avoid PHP 7.3 Undeclared variable notice"
2019-01-31 21:51:56 +00:00
jenkins-bot
15a8340ee1
Merge "Reject empty warning and disallow messages when validating a filter"
2019-01-31 21:28:17 +00:00
Translation updater bot
a21d673931
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c8febe128861eb8f4891f766681f882e19e187a
2019-01-31 22:25:41 +01:00
Daimona Eaytoy
2a0246ddb5
Remove ancient permission checks
...
In both SpecialAbuseLog and ApiQueryAbuseLog, we use
Title::getUserPermissionsErrors to check if the user is allowed to
perform 'abusefilter-log' on the API page... However, this is a
completely redundant check (which is also pretty expensive and queries
the master): for the SpecialPage, we can specify the required right in
the constructor and use checkPermissions, and for the API we can simply use checkUserRightsAny.
If I'm not mistaken, there's no benefit in using
getUserPermissionsErrors.
Change-Id: I4c4dbace67b24cc1f45e50ab1c0d251522935513
2019-01-31 21:16:18 +00:00
Translation updater bot
6f1c907f9b
Localisation updates from https://translatewiki.net .
...
Change-Id: I8e38531d5237e549f14fd205e0dd3f38c208cb39
2019-01-30 22:13:26 +01:00
Daimona Eaytoy
196a3ba7d5
Ensure the specified filter is valid in ViewHistory
...
We do not validate the param, and instead only check if it was
specified. In the specific case of ViewHistory, specifying as "filter"
something invalid for a title (e.g. with a + inside) will throw an
exception, seen in production.
Change-Id: I636b4e56f39282593c737ace1d6ff2d90900d997
2019-01-29 19:58:59 +01:00
Translation updater bot
f4f43d1ab6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic8076c70de9dc333631d00bf637a9ba596d8e95e
2019-01-28 22:26:27 +01:00
Translation updater bot
4cf5ee3664
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic2bfd77a2919724a4ab6fa7c51164594face4ced
2019-01-26 22:17:07 +01:00
Translation updater bot
37284ebc5d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia96a91212cfa68375c26276b8d935a11567d251d
2019-01-25 22:28:11 +01:00
Daimona Eaytoy
8f9b27d856
Fix MWException from AbuseFilterView
...
The case default was recently added, but didn't take into account that
"false" is valid too. Noticed by chance just before the train rolled
out.
Change-Id: I67ca475fa16ea449820f8c735531c2cc1b0ec975
2019-01-24 21:48:50 +01:00