Fomafix
a316c0f08f
Avoid using core module 'mediawiki.special.search'
...
The core module 'mediawiki.special.search' contains more functions
which are not needed here and which causes an error message in the
JavaScript console. (T211384)
This change copies the used part of module 'mediawiki.special.search'
to the local module 'ext.ReplaceText'.
The CSS file for the style module 'ext.ReplaceTextStyles' is renamed
from ext.ReplaceText.css to ext.ReplaceTextStyles.css to make
ext.ReplaceText.css free for the CSS part of module 'ext.ReplaceText'.
Bug: T211384
Change-Id: I41225ccdf8a95a7c501fb6eea99abbd08353f4ea
2018-12-22 20:32:33 +01:00
Kunal Mehta
833ce2d6a2
build: Set "root": true, in .eslintrc.json
...
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.
Bug: T206485
Change-Id: I3e96122ab056c43e9e064cb0f14a190921c47f74
2018-12-17 18:57:57 -08:00
Fomafix
7ec8d23740
Remove obsolete aliases from closures
...
Bug: T208951
Change-Id: Ie7580aef0af9f6cffed4826b0ae46d4b99446ae1
2018-12-06 18:42:31 +01:00
Fomafix
75ddb5fea0
Use private function instead of attaching the function to window
...
Change-Id: Ie6f8d0cdf0cf8842ff756839951b4b4bdbade942
2018-12-06 18:31:50 +01:00
Translation updater bot
a60333e279
Localisation updates from https://translatewiki.net .
...
Change-Id: I74528dd11ad60698501bc7b0305c31bba0659e74
2018-11-29 22:27:35 +01:00
Translation updater bot
b49e904b05
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic4f5c78c2aedd29d7dc5f6741da517bc76b2f19e
2018-11-21 22:29:24 +01:00
libraryupgrader
3f662a5f81
build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
...
Change-Id: If65a71ec9fa7daf98818d0d26d60aa726d78d9f5
2018-11-16 08:31:06 +00:00
Translation updater bot
0ae082de9a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic0bd3026b63a68fe170b826515c9bf3a25dea2c7
2018-11-03 11:03:23 +01:00
Translation updater bot
6df3761798
Localisation updates from https://translatewiki.net .
...
Change-Id: I6670128ef094d8ce18371947c81a8d09882e3050
2018-11-01 22:23:25 +01:00
libraryupgrader
a5dc24dc47
build: Updating npm dependencies for security issues
...
* Updated grunt to 1.0.3, addressing:
* https://npmjs.com/advisories/577
* CVE-2018-3721
Change-Id: I1662a2f337afc6062840e833b2c86eeac35555f0
2018-10-11 10:39:03 +00:00
jenkins-bot
22f54208c1
Merge "Support renaming pages from CLI"
2018-09-12 12:30:41 +00:00
Translation updater bot
6a08c59393
Localisation updates from https://translatewiki.net .
...
Change-Id: Idcd0b473dcd49c6b37f7c3610095f09506c184f7
2018-09-09 10:36:39 +02:00
libraryupgrader
0c69da23c1
build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
...
Change-Id: I7c86b02dde7543af0c6f04644de5c5442209fce1
2018-09-08 05:22:29 +00:00
Niklas Laxström
19da42d081
Support renaming pages from CLI
...
Change-Id: I3e14d127cdf63ad4bbff9fcc0a165cc1a0552831
2018-09-07 14:29:58 +02:00
libraryupgrader
6adf0a0712
build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
...
The following sniffs are failing and were disabled:
* Squiz.PHP.NonExecutableCode.Unreachable
Change-Id: Ifa593af5d3fb2aa38dea9f73e903a2fb27d1d6e6
2018-09-03 14:30:30 +00:00
libraryupgrader
0741f2a1f5
build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
...
Change-Id: Idd5962254aef58bd4e13836e0fae29ee22a9a7fb
2018-09-01 13:56:30 +00:00
Translation updater bot
d0e0922cd4
Localisation updates from https://translatewiki.net .
...
Change-Id: I4fee238efb2f34a078c35b3bb08c7a1d4ac84298
2018-08-29 22:28:24 +02:00
Kunal Mehta
db5e21e1b9
Configure phan-taint-check-plugin
...
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.
See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin > for more
details.
Change-Id: Ibb8736ac41c05b4eed5655ee89627a8894df4dba
2018-08-20 21:46:31 -07:00
Translation updater bot
2f349d8bbf
Localisation updates from https://translatewiki.net .
...
Change-Id: I5dbc34d6f49988d7cfe717909517b13fee159484
2018-08-08 22:14:13 +02:00
Translation updater bot
602a97692c
Localisation updates from https://translatewiki.net .
...
Change-Id: I851a5d1de482b6dce7c701ab40cd1240f589a177
2018-08-07 22:32:03 +02:00
libraryupgrader
aa0b1941ed
build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
...
Change-Id: Ib851d00e1c1a418f27f162d661c0a94a7790c86d
2018-07-27 16:30:33 +00:00
jenkins-bot
d95a4d5ee0
Merge "Replace uses of deprecated Language::truncate()"
2018-07-02 23:03:35 +00:00
C. Scott Ananian
bc50ac5b33
Replace uses of deprecated Language::truncate()
...
See I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb for the anticipated
hard-deprecation of this method in core.
Bug: T197492
Change-Id: I071882f8a97cc439d49611d8613ea4105b95afb6
2018-07-02 15:18:44 -04:00
Translation updater bot
41f44019e2
Localisation updates from https://translatewiki.net .
...
Change-Id: I9118917bcd327e309335d7bd31115bb6b28cf845
2018-06-27 22:20:09 +02:00
libraryupgrader
65abeaba88
build: Updating mediawiki/mediawiki-phan-config to 0.3.0
...
Change-Id: I9b35b2e447f3dfd5b9cf7f53e6524c4033d781f9
2018-06-08 07:41:53 +00:00
Translation updater bot
90261141d4
Localisation updates from https://translatewiki.net .
...
Change-Id: I1df2310834feb13cff0c6dd17904c83a0e6b8776
2018-06-06 23:06:20 +02:00
Translation updater bot
f7ceca4ccc
Localisation updates from https://translatewiki.net .
...
Change-Id: I959cb1502d0aed092cd30418f6868cf41245167a
2018-05-30 22:24:47 +02:00
Translation updater bot
228eb62b2d
Localisation updates from https://translatewiki.net .
...
Change-Id: I2791cc20551f92632250de0a4716172a601b76f7
2018-05-28 22:42:38 +02:00
libraryupgrader
0b4b0c7cea
build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
...
Change-Id: I2202a99f3ff7c614e3cc9d17035119107a5fa73e
2018-05-26 06:08:39 +00:00
Cindy Cicalese
f7b59db9b3
Fix path to maintenance directory.
...
Change-Id: Ife7a7076ee87938cadb84aa56982cc667bd90e2f
2018-05-16 12:43:54 +00:00
Yaron Koren
f164113698
Follow-up to d7db166e4f
- disable regex option for MSSQL as well
...
Change-Id: Ib859e5b9104b9b9d6909024585b0573695f72f6d
2018-05-10 16:27:14 +00:00
Translation updater bot
9ea086b4c0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieeef3f89dbfd528dd01c36c98476f38d7b3e20f7
2018-05-09 22:41:35 +02:00
Yaron Koren
43b753b86d
Standardized DB type checking
...
Change-Id: I374c0f9ce0e79181842f53fe9e5778e3fcdc1dcb
2018-05-03 21:32:48 +00:00
Kunal Mehta
2beae377e7
Move replaceAll.php into maintenance/
...
And fix an issue that phan found.
Change-Id: I91cb562ac674b02bb84c6c1da4236810f6a3aa3c
2018-05-03 13:08:15 -07:00
Kunal Mehta
d5342d874d
Add GPL file headers to PHP classes that are missing it
...
Change-Id: Id8a0f08d9133e07bb5e03a618e6b9c0fe06d8b50
2018-05-03 13:03:40 -07:00
Yaron Koren
c854531150
Added limit for search query
...
Change-Id: I62cd622cfd2f9d44f09648ec51932acdb54a3991
2018-05-03 17:43:31 +00:00
Yaron Koren
d7db166e4f
Disable regex option for SQLite
...
Change-Id: I83c8b38a47fc571077fef1fccabb31f5db0ac2e5
2018-05-03 15:36:33 +00:00
Yaron Koren
fca559a72e
Fix for ee7ac78ca7
- removed extra checkbox for moved pages
...
Change-Id: I34b3e6186a3136dd9a53ce81b44bf985fd82e7f0
2018-05-03 02:01:21 +00:00
Cindy Cicalese
1f292fb405
Added HtmlArmor.
...
Bug:T191546
Change-Id: I16de28f829953eb8d1e028e600ca53f583e64e67
2018-05-02 12:43:59 +00:00
Cindy Cicalese
288bd4f5e2
Remove inline JavaScript
...
Bug:T191546
Change-Id: I14306c05b50a4a9319ed31f8e714a8cab629ca73
2018-04-30 17:41:30 +00:00
jenkins-bot
9a4964e848
Merge "build: Simplify linter configs"
2018-04-27 02:00:36 +00:00
Kunal Mehta
efd15f5058
Add phan configuration
...
Change-Id: I405d1d86e43c99fbaecf027461781bf57110421e
2018-04-27 01:17:04 +00:00
Timo Tijhof
20f34321f4
build: Simplify linter configs
...
* eslint: Already excludes node_modules by default.
https://eslint.org/docs/user-guide/configuring#ignoring
* eslint: Expands directories by default, much faster to
let ESLint crawl the directories while knowing what to exclude,
then to let Grunt expand **/** recursively run each file
individually.
This makes Grunt run ESLint the same way as one normally
would from the command line: `eslint .`, except without
the eslint CLI sub-process.
* eslint: Preserve the exclude for vendor via eslint config
so that it also works when running ESLint outside Grunt,
e.g. in IDEs or from the command line with extra options.
* stylelint: Ignores node_modules by default.
https://stylelint.io/user-guide/node-api/#files
Change-Id: I1a78e9d93e7666c1539bcf4a3bc50306cecf89ba
2018-04-26 16:51:35 +01:00
Yaron Koren
7efd765c85
Fix for abc67edb70
- fixed error message
...
Change-Id: Ib98dea476efc2d690b15095fb2abccc0be0ed82d
2018-04-23 02:43:17 +00:00
Cindy Cicalese
80d688ae18
Correctly localize special page name.
...
Change-Id: I05b337358b0f205dd11cf05491303f4b9068b242
2018-04-18 01:36:04 +00:00
Cindy Cicalese
65f20dcea1
Fix missing message parameter.
...
Change-Id: Id0a1b3215064ef02c9eadf24877a4e887588c3ce
2018-04-17 21:52:15 +00:00
Yaron Koren
fe7c4cf38e
Version 1.4.1
...
Change-Id: I1010f6ebfc524d41bf2a16d17b9fb2220ae58bf8
2018-04-16 20:31:08 +00:00
Yaron Koren
3d25dabe69
Fixed bolding of search term within "search context"
...
Change-Id: Id990ed6747138a6070889127b2967840654b59aa
2018-04-16 20:07:03 +00:00
Yaron Koren
abc67edb70
Added checks for $wgCompressRevisions, $wgExternalStores
...
Change-Id: Id6724553a5c7624fe26fb89f4746affc744a0b87
2018-04-16 19:54:22 +00:00
Cindy Cicalese
6258d3300a
Replaced Linker::link() with LinkRenderer
...
Bug:T149346
Change-Id: Ibf50c2dc3a80a4395f20d78bfd324ead353b93db
2018-04-16 02:44:47 +00:00