Commit graph

900 commits

Author SHA1 Message Date
Translation updater bot b00d826f7c Localisation updates from https://translatewiki.net.
Change-Id: Icef558c475640ede78627edebcec4102ebd00940
2019-01-25 22:29:25 +01:00
Volker E a3acdc0ef6 build: Update 'stylelint-config-wikimedia' to v0.5.0
Change-Id: I458f974f6062d35511b6cf59f66df75a1f8be7be
2019-01-10 10:17:17 -08:00
Kunal Mehta b4a80cd365 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: Ic147b240405f698c7ec86a21f0187d140f187e30
2018-12-17 18:58:34 -08:00
Translation updater bot 6473fb31e3 Localisation updates from https://translatewiki.net.
Change-Id: I9d3d14c8fcf2c83d53eb55065dcc1b21880a08f0
2018-12-14 22:22:22 +01:00
Translation updater bot 868a24677e Localisation updates from https://translatewiki.net.
Change-Id: I84421be1b64e27dd451da264efb61359ba5c9d4d
2018-11-29 22:27:43 +01:00
James D. Forrester 0b9bae43d6 eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: Ibf31143c8f9a446e9f25691c8a9f1fccd6ecea53
2018-11-28 11:12:25 -08:00
Timo Tijhof 10d0a248bf Override supportsURLLoading() instead of getScriptURLsForDebug()
This is more semantically correct and avoid duplicating the
url logic in an extension.

This was the only FileModule subclasses I found that overrode
getScriptURLsForDebug for this purpose.

Change-Id: Id940067437be190760559ec452583347c6b94901
2018-11-28 00:57:37 +00:00
Ed Sanders 8d1c397b63 Update eslint-config-wikimedia to 0.9.0
Change-Id: Ifded26af687dd409b01554df68e83c32a6844317
2018-11-27 21:59:16 +00:00
Ed Sanders 50eb18fb74 Remove unused jQuery global alias
Change-Id: Ibcc8a54f0df1d08d3d8b6dee87e8fc8ebe642162
2018-11-16 16:40:15 +00:00
libraryupgrader 7edbf54aff build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I0cdf6aef32f5c82d22406987efa4faed2436d92a
2018-11-16 13:38:25 +00:00
Translation updater bot c1fb316e00 Localisation updates from https://translatewiki.net.
Change-Id: Id0d797a7df06dccf87928eddc15c107a8e15db2c
2018-11-12 22:12:56 +01:00
Ed Sanders 394762af49 build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.8.1
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: I5f784054b6d6d1abb157bca97ddad73266c3c5bc
2018-10-31 12:55:23 +00:00
Ed Sanders c546bf5348 Replace jQuery.map with Array.map
Change-Id: I4bc7e347fe12038bdcadd62a023b6e0041d105c0
2018-10-31 12:51:24 +00:00
Ed Sanders b485d4c6fa Remove unused window.static.icon
Change-Id: I0d79af60052554a5a6c3f79139688d14e5351ab4
2018-10-31 12:51:02 +00:00
Ed Sanders e25603a1b6 Follow-up I3daca6fb: Fix exception thrown when inserting new code block
Change-Id: Ie5f93ace8a81c5053dbadb99dd447b37d2d07316
2018-10-31 12:45:50 +00:00
Umherirrender 24c880f2e2 Start showing warning for deprecated PHP entry point
Change-Id: I62e4d564fb5ae8b439d292a2b93f7e5c039c56cb
2018-10-26 22:23:56 +02:00
Bjornskjald ad372167bc Make VE language checking case-insensitive
Bug: T125231
Change-Id: I3daca6fbfce1c2fe4bd901b8912089aa820fb022
2018-10-24 18:01:46 +00:00
Translation updater bot 51cf5641f8 Localisation updates from https://translatewiki.net.
Change-Id: Ic5c81ce5517e47df5c75a0f34631530adbba0fd2
2018-10-23 22:09:06 +02:00
libraryupgrader 715c3e07be build: Updating npm dependencies for security issues
* Updated grunt-contrib-watch to 1.1.0, addressing:
  * https://npmjs.com/advisories/534
  * CVE-2017-16137
  * https://npmjs.com/advisories/577
  * CVE-2018-3721
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I9110ae1f05f7900ca260b06e96faf2c580155f75
2018-10-11 11:13:38 +00:00
Thalia dbd6afcfab Update syntax highlight dialog actions consistently
Require that the node is modified and the language input is
valid before enabling the "done" action. Otherwise disable it.

Bug: T206481
Change-Id: Ie9d2907358ea585ba72628887c46af69f942772f
2018-10-09 12:19:38 +01:00
Translation updater bot e73c22146a Localisation updates from https://translatewiki.net.
Change-Id: I82bd028c1eee0197e853ca3474e6370afcefa707
2018-09-26 13:46:19 +02:00
Thalia 118dcdb405 Separate node classes into individual files
Bug: T205231
Change-Id: Id175f839f0ac8714c44407c52145d4140cd8e343
2018-09-24 18:48:22 +01:00
Translation updater bot 4fab72bfea Localisation updates from https://translatewiki.net.
Change-Id: I022ac6674faf95380eb81d0de68f4e46c33b1ab4
2018-09-23 10:27:20 +02:00
jenkins-bot 5f34e0b64a Merge "Remove tidy workaround for armoring tabs" 2018-09-20 21:39:25 +00:00
Kunal Mehta ab5ce23881 Remove tidy workaround for armoring tabs
RemexHtml does not mangle tabs, so we don't need to armor them! We'll
now output literal tab characters, so this does change the HTML output,
but does not have any visual change.

Depends-On: Idf246d05d116f63a73105b50a1929a7721fbe7b9
Change-Id: I2ba871acf9ff5fdc81c13e03eee3a8fe670e1f0f
2018-09-18 21:30:20 +00:00
jenkins-bot 0aed68ee2d Merge "Add parser tests for tabs and tidy" 2018-09-10 14:47:03 +00:00
libraryupgrader 82b8efb581 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I157d98958b24a7546a227b7ba5d89c364b6fc773
2018-09-08 06:06:54 +00:00
Kunal Mehta 61a6b2c8c2 Add parser tests for tabs and tidy
These tests cover the fixes for T32930 and T59826.

Change-Id: I944b55c7668ac3dd11ba872ba8077ba188ed55e2
2018-09-07 18:19:13 -07:00
C. Scott Ananian 14e3167406 Use MWTidy::isEnabled() instead of deprecated $wgUseTidy
The $wgUseTidy global has been soft-deprecated since MW 1.26, which is
when MWTidy::isEnabled() was added.  This extension currently requires
MediaWiki >= 1.32 according to extension.json.

Change-Id: Ie30c9174e6e3b60bce5a692296a9de1e30192e2c
2018-09-07 17:12:45 -04:00
Translation updater bot 7ca4562813 Localisation updates from https://translatewiki.net.
Change-Id: I42fb59a90ccd5647486ec9f47812e3b5b8024409
2018-09-07 09:03:03 +02:00
Translation updater bot 458f121f51 Localisation updates from https://translatewiki.net.
Change-Id: I7ac03a5ca21ff4836a378944512070b439f37a0b
2018-09-06 09:02:13 +02:00
jenkins-bot 9e43d1fd2a Merge "build: Updating mediawiki/mediawiki-codesniffer to 22.0.0" 2018-09-04 04:49:46 +00:00
Translation updater bot 62a57b1ece Localisation updates from https://translatewiki.net.
Change-Id: I26e6fd91a4c6fccebcd29c78c415eb8416bd5289
2018-09-03 22:15:37 +02:00
libraryupgrader 74dbf4bba9 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I1c75e007be52cd22d0a72d228e56a3a9683fbb58
2018-09-03 19:50:49 +00:00
libraryupgrader f83a48bcf2 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: Ied8ec59045f75be8a30d2dedf10a07e814927c0c
2018-09-01 14:40:28 +00:00
Translation updater bot 6c7a344a4c Localisation updates from https://translatewiki.net.
Change-Id: Icbf2d3fc69c3aaca7ed13f399bdf2d6112f4399c
2018-08-28 22:23:07 +02:00
Translation updater bot a57fef70f6 Localisation updates from https://translatewiki.net.
Change-Id: I493ba1be6e7aabdcb8a33ae010ec770f5e856f0e
2018-08-26 22:32:55 +02:00
libraryupgrader d282060a1b build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ie8a12ca690d46e826c5f56f6a1f2e06b36f607c3
2018-08-19 16:54:29 +00:00
jenkins-bot 864ac9f747 Merge "Use StaticArrayWriter class" 2018-08-18 06:25:14 +00:00
Kunal Mehta 1b69c56433 Use StaticArrayWriter class
Bug: T200626
Depends-On: I022c074e8a708fb5219bc4ff4b53e7e31f60dc4b
Change-Id: I601073639ea8bc0ef85de55889aaf0b433c23088
2018-08-17 22:39:18 -07:00
Translation updater bot 93ed7e732c Localisation updates from https://translatewiki.net.
Change-Id: Ibc9995ebf0e7fc8e12509ff2605992dbaa91f5bd
2018-08-17 23:36:48 +02:00
Translation updater bot 54d8725c1e Localisation updates from https://translatewiki.net.
Change-Id: If824034321b35257cf176b05d64c6f87bc8b7e1c
2018-08-12 22:17:58 +02:00
Translation updater bot cce338feda Localisation updates from https://translatewiki.net.
Change-Id: If3261721bd6dc4b0cde2010f77764b35fb2c2ac1
2018-08-10 22:19:04 +02:00
Translation updater bot 181f16e423 Localisation updates from https://translatewiki.net.
Change-Id: Idfa312b309fc15bead6e240da7ed066053cb3ff6
2018-08-06 22:22:40 +02:00
Umherirrender 384331ae49 Removed unused function lang_filter
Have not found usage as callback

Change-Id: I67cdfb68b29e5d7879be3902cf2f63e984c3e43f
2018-08-06 17:26:34 +02:00
Kunal Mehta 27b6687848 Use wfMakeStaticArrayFile()
wfMakeStaticArrayFile() expects an associative array, so let's take this
opportunity to turn the lexer list into one with true as the value. This
allows us to use isset() instead of the slower in_array() when checking
to see if a lexer is known.

Bug: T200626
Change-Id: I7a852ddbcfa7c8ed19ac933205cabd176b20d0cb
2018-07-28 21:29:57 -07:00
libraryupgrader 99ebac4719 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.NestedFunctions.NestedFunction

Change-Id: I973d59e297446754203ffe0217b1a7902c868aa0
2018-07-27 19:59:47 +00:00
Translation updater bot 4a8affffee Localisation updates from https://translatewiki.net.
Change-Id: Id2206c65dfd548b8a0e4db510b66a13a7344446b
2018-07-24 22:10:07 +02:00
Translation updater bot f017c5d4be Localisation updates from https://translatewiki.net.
Change-Id: If4508774bf8037ac4e45ad6dd9db095571c1ece9
2018-07-22 22:09:16 +02:00
Brad Jorsch 41466e274b Update parser test for core change
I42e747f1 stopped changing a regular space before percent-escapes (like
"%25") to a non-breaking space in certain cases, causing tests to fail
where they were expecting that non-breaking space. Update the test to
match this new behavior.

Bug: T199647
Change-Id: If5d90e5701f240b1bc71a3c3458e952e0e2c7df4
2018-07-16 09:23:25 -04:00