Ed Sanders
81ce8b33ee
build: Update linters
...
Change-Id: I5a218a9099b3562b346bd8e96ee683d04bbaf85e
2019-09-17 14:47:54 +01:00
libraryupgrader
4436d9208b
build: Updating eslint-utils to 1.4.2
...
* https://npmjs.com/advisories/1118
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: I9cd7461d6b5bc3994af4448c47fc5fbf5fd33164
2019-08-24 06:36:03 +00:00
Isarra
90ac9d3475
Remove Timeless VE styles, too many variables to do them properly here
...
Move this stuff to Timeless itself since we can just reuse the width cutoff
and padding variables directly there and don't need to worry about them
randomly changing.
Corresponding change: Ic64b9786cb7186dba3eb2042a3238149c3bb44c6
Bug: T230756
Change-Id: Ia7168341bcadbc60e307b58b67afc1975a2424f9
2019-08-20 20:26:45 +00:00
Translation updater bot
4b41fc6628
Localisation updates from https://translatewiki.net .
...
Change-Id: I7021d955b94c05edda365e9244298de4d96dcbe8
2019-08-05 09:40:25 +02:00
libraryupgrader
a09dc1068c
build: Updating lodash to 4.17.15
...
* https://npmjs.com/advisories/1065
* CVE-2019-10744
Change-Id: I0840ac125dfb8294c544de7c525ad0e3e2213f8c
2019-08-01 18:57:41 +00:00
Translation updater bot
2fe8083ad8
Localisation updates from https://translatewiki.net .
...
Change-Id: I17c06366f11358badda5b81dc2f62c121d2e4181
2019-07-26 08:55:03 +02:00
libraryupgrader
dd036600a2
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0
npm:
* set-value: 2.0.0 → 2.0.1
* https://npmjs.com/advisories/1012
* CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
* https://npmjs.com/advisories/1012
* CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
* https://npmjs.com/advisories/1013
* CVE-2019-10746
Change-Id: Id1e7abc2694d127ea9654bbed738f4acf9766a92
2019-07-14 10:01:48 +00:00
James D. Forrester
3f695ac9e4
build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
...
Change-Id: I03112a260fe167bceb13ad84bcd4dc410e2d4a6c
2019-07-09 14:01:11 -07:00
libraryupgrader
622e7e2540
build: Updating mediawiki/mediawiki-phan-config to 0.6.1
...
Change-Id: Id70cabf27fb06d9e14d1abb03b215a2e7347a340
2019-06-10 06:20:51 +00:00
libraryupgrader
617ef165ae
build: Updating npm dependencies for security issues
...
* Updated grunt to 1.0.4, addressing:
* https://npmjs.com/advisories/788
* https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
* https://npmjs.com/advisories/786
Committed package-lock.json (T179229) too.
Change-Id: Ic8833f50c07bcc148b9925e62ae29a555517de3c
2019-06-08 02:20:21 +00:00
James D. Forrester
f3b60f5742
build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
...
Change-Id: I3d82f025e21c552eb0cdf083db01c1bbdc949981
2019-05-19 13:11:02 +02:00
jenkins-bot
879f301e03
Merge "Highlight match end tag with different capitalization"
2019-05-15 21:25:47 +00:00
Translation updater bot
f6f3c0d65a
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8812f15de531713a3ec7d71fd2ca4e119f53623
2019-05-10 09:18:46 +02:00
Derick Alangi
4b17eb952c
Type hint &$defaultPreferences
& clean onResourceLoaderTestModules
...
* Per https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences , it is
strict on $preferences being an array, so type hinted it to conform.
* Remove legacy hook behavior for onResourceLoaderTestModules() hook in
CodeMirrorHooks. See: https://w.wiki/3Az for more information. Also,
added `@see` with link to the documentation of the hook used.
Change-Id: I0a2fac4b4d491abf8d2f661be32bf2e0d791c90b
2019-05-07 15:44:14 +01:00
James D. Forrester
fdbf91ddeb
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Change-Id: I72ecf30d45b6488971051140290e552094bc369f
2019-05-06 15:29:44 -07:00
Derk-Jan Hartman
d1a3e49265
Highlight match end tag with different capitalization
...
This recoginizes <ref></Ref>
Bug: T179321
Change-Id: Ib1e501f97654a019281eddd6cc69ea3b979daec7
2019-04-14 01:25:40 +02:00
Umherirrender
c9e1cc14a3
Add phan
...
Change-Id: I77ffd9a2f20c736a12528bd86ec6e2fa4425d167
2019-04-09 20:35:56 +02:00
Derick Alangi
5579001506
CodeMirrorHooks: Objects are passed by default as references
...
Documentation here: [[mw:Manual:Hooks/BeforePageDisplay]] also
says so about objects passed by defaults as references, no need
for the &.
Also, fixed onResourceLoaderTestModules() function header for the
$rl parameter, removed the & symbol and updated this hook's docs
here: [[mw:Manual:Hooks/ResourceLoaderTestModules]].
Change-Id: Ifdabc47a1a4f02aec4906edb800d360ca4febd76
2019-04-04 00:38:24 +01:00
Derick Alangi
3359cbde31
CodeMirrorHooks: Remove wgCodeMirrorEnabled set in mw.config JS
...
This was used for backward compatibility after beta support was removed
by MaxSem in I1ad451acfd163c783e7b (T185030). As a todo, this backcompat
was planned to be removed in 2019 :).
Bug: T219342
Change-Id: I35c77add8b4815a26b1bea2df90eaeae05a9a9f7
2019-04-02 23:44:02 +01:00
jenkins-bot
fc4d4b0c36
Merge "Do not load module 'ext.CodeMirror' when CodeEditor is active"
2019-03-20 21:31:03 +00:00
Fomafix
f0757cb0dc
Do not load module 'ext.CodeMirror' when CodeEditor is active
...
Change-Id: I8fd0de727f2ebb1bf9f23981438d6cafa962ad17
2019-03-20 21:01:35 +00:00
jenkins-bot
d48a8caa0d
Merge "Conditionally load CodeMirror lib"
2019-03-15 08:50:49 +00:00
Derk-Jan Hartman
758523b65f
Conditionally load CodeMirror lib
...
Also remove two unneeded dependencies
Bug: T209824
Change-Id: I5b528bde346780ca5ae5d615c4ca0d617a6cd615
2019-03-14 23:31:18 +00:00
jenkins-bot
71a96af684
Merge "Make Special:JavaScriptTest pass on Webkit and on Firefox"
2019-03-12 10:32:28 +00:00
jenkins-bot
f6c86b9867
Merge "build: Update eslint-config-wikimedia to 0.11.0"
2019-03-06 14:39:37 +00:00
jenkins-bot
f048f45b50
Merge "Use 'wikiEditor-toolbar-doneInitialSections' as trigger"
2019-03-06 14:39:27 +00:00
Ed Sanders
37b49bfdc4
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I7ca5276791d9add0709387422016d7193e8d9945
2019-03-06 12:10:29 +00:00
Fomafix
9c04302f23
Use 'wikiEditor-toolbar-doneInitialSections' as trigger
...
Also refactor out single use functions and call enableCodeMirror
from within addCodeMirrorToWikiEditor.
Change-Id: I77d37ae401483e187fe0bc355d7173b57fbe454b
2019-03-06 12:09:28 +00:00
jenkins-bot
8a1e8552f3
Merge "Wait for DOM ready before querying DOM"
2019-03-06 11:59:14 +00:00
Fomafix
4181729151
Wait for DOM ready before querying DOM
...
This avoids a race condition on loading.
Change-Id: I31c01f9c2b2025b4a46d5afc6ada5044f750eff7
2019-02-25 21:55:31 +01:00
Fomafix
ebd382f004
Make Special:JavaScriptTest pass on Webkit and on Firefox
...
CodeMirror inserts
style="padding-right: 0.1px;"
only on Webkit.
The test case now strips this pattern from the rendered HTML before
comparing with the expected test case output.
Change-Id: I34b201f790d3d85a5f51d8200bf8219f11d14506
2019-02-25 08:14:58 +01:00
Fomafix
5161c6abe9
Make Special:JavaScriptTest pass with and without extension Cite
...
Change-Id: Ib3bae7968c7d1eb0d5f862f0410f016f47abcd15
2019-02-25 08:10:32 +01:00
libraryupgrader
7e059f7247
build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
...
Change-Id: I7a7d9b19547b1a41e33d8201b96949e7f4be7e14
2019-02-06 11:38:13 +00:00
Translation updater bot
817c566c17
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib0ea53d3b688a1c7eac16a987c1a3f00532b9300
2019-01-08 22:29:30 +01:00
Translation updater bot
4905b36b1e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia87313bd579005861b0313003f8aba7d7d1a80b2
2019-01-05 22:33:37 +01:00
Kunal Mehta
b5a2b5deec
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: I7f96f21d586e198abbeb965471dec620abecd845
2018-12-17 18:54:12 -08:00
Translation updater bot
29cc48e113
Localisation updates from https://translatewiki.net .
...
Change-Id: I3534f3a4362ce40ee43ef55adaa726e6a6fc6d37
2018-12-14 22:21:37 +01:00
Ed Sanders
71dcfc6adb
build: Update devDependencies
...
Change-Id: Id99fb30b37e3951705fc52c76b1de6d9f73abf17
2018-12-04 17:59:57 -05:00
James D. Forrester
854b63e18a
eslint: Drop 'dot-notation' rule
...
Bug: T210552
Change-Id: I76b2f32645ba43927b424a1fea5bc3bf2d08447b
2018-11-28 10:31:21 -08:00
libraryupgrader
c90c27c444
build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
...
Change-Id: I72b3448a69ee1e78b7385f882b1084f5299b73a1
2018-11-14 09:25:52 +00:00
Ed Sanders
7604581cc1
Remove obsolete aliases from closures
...
Bug: T208951
Change-Id: I64c2966b7c41d6b2b1911e2fb52e4c7364bf7964
2018-11-12 13:19:41 +00:00
Translation updater bot
f9614332a1
Localisation updates from https://translatewiki.net .
...
Change-Id: I00b941e4a546d784c63352575d455fcb0cf4a0b2
2018-11-10 22:28:06 +01:00
jenkins-bot
3bd196fb93
Merge "Drop support for MediaWiki core's removed "2006 wikitext editor""
2018-11-07 12:26:44 +00:00
Translation updater bot
d0763f88a9
Localisation updates from https://translatewiki.net .
...
Change-Id: I9e0313475a53e5788f48b62201d18459457c7ec5
2018-11-04 22:42:04 +01:00
James D. Forrester
8ac2d11b1b
Drop support for MediaWiki core's removed "2006 wikitext editor"
...
Change-Id: Ib8d104ddf104cfeeee1fc7a055293a03fe8e2d3d
2018-10-25 14:06:59 -07:00
Bartosz Dziewoński
079d240a2c
ve.ui.CodeMirror: Fix padding to match VisualEditor's padding
...
VisualEditor's default padding for the source editing surface was
changed in Icdc6f1e2a7544ebbd828f85ff370113a0e06983a (June 2018).
Since then the alignment of editing surface and CodeMirror syntax
highlighting surface was broken in skins that don't override the
default padding (basically every skin except Vector and MonoBook).
Unfortunately Vector and MonoBook happen to be the only skins we
officially support and actually test, so the issue went unnoticed.
Bug: T205154
Bug: T205658
Change-Id: Ic85a6c20b266f6b93ab8ec9c2d35acff679f31bc
2018-09-27 22:06:00 +02:00
Ed Sanders
ef8c62c74b
Use renamed ve.visibleWhitespaceCharacters
...
Change-Id: I246079505d4c37406b3f99ca17b7e8e926adaec5
2018-09-24 16:34:54 +01:00
jenkins-bot
7dd9688663
Merge "build: Update linters"
2018-09-13 12:27:47 +00:00
Ed Sanders
1be09a9a1d
build: Update linters
...
Change-Id: I8d3aaf0b7d453033b72e5d6622b8f54df2c86bca
2018-09-12 00:03:19 +01:00
Umherirrender
7cd71f47a7
Remove @staticvar doc annotation
...
It is unknown to doxygen
Change-Id: I60e98eb3a7e74796e877fd70e8b9b67b5e3b60df
2018-09-09 20:04:35 +02:00