Commit graph

402 commits

Author SHA1 Message Date
Alex Monk 142b8089a5 Follow-up I83714188: Don't turn every MW page into an exception
A hook function was removed, now we remove the reference to it from wgHooks.

Change-Id: I2d6c6b8f7948ec69f6ee04f904c48812b34ddaa2
2016-11-15 01:31:04 +00:00
jenkins-bot 2cb1deb2d1 Merge "Remove inline CodeEditor for <syntaxhighlight>" 2016-11-14 23:05:02 +00:00
Derk-Jan Hartman 07b24bb9f0 Remove inline CodeEditor for <syntaxhighlight>
This was an unfinished module to enable the CodeEditor to do inline
editing of <syntaxhighlight> blocks. It was never finished and I think
that with the VE and WE 2017 work, it likely will never be finished
either. For that reason, it is better to remove it altogether.

Change-Id: I83714188a53d2ca6bb7bf0dc6d0c89b7fb45a47a
2016-11-14 23:47:28 +01:00
Translation updater bot 9b778d5518 Localisation updates from https://translatewiki.net.
Change-Id: I7dc6e6d6d5906679779d8977b434da39c77ae8c1
2016-11-13 22:41:55 +01:00
Umherirrender 0f59806db8 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Ifac0b3271923f70382899eb8d3c89daf2b5ab382
2016-11-13 12:54:01 +01:00
Translation updater bot 6bb6fe57b8 Localisation updates from https://translatewiki.net.
Change-Id: I94c017e42b48b2579829129b7c17375db6d189ab
2016-11-10 23:27:22 +01:00
jenkins-bot 99e6e25826 Merge "Simplify modeloading" 2016-10-25 14:06:04 +00:00
Chad Horohoe db2e20c7c7 Whoops, track not trace
Change-Id: I4309c8877267ba187d827a85841caedaaeffa38b
2016-10-24 17:02:17 -07:00
Chad Horohoe c5f8ea9756 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I2fdbf1e0a7376a2fa43ce4c3b8b17a55eb159499
2016-10-24 16:37:15 -07:00
Translation updater bot e41a6a22ec Localisation updates from https://translatewiki.net.
Change-Id: I6d90aa5125122b4fdbef3362ae4f8ccb5257fb2d
2016-10-21 22:30:43 +02:00
Derk-Jan Hartman c9d4d7663e Simplify modeloading
Analogous to I82d278920695be12aa80a79548abf8b8ce5445fd, make sure that
we can lazy load any language that Ace supports. Not because we need
it, but because it's the nicer way to do it.

Change-Id: I19b8a31041814ac1273d62a24b5ed622fd91a7a8
2016-10-21 14:13:26 +02:00
Translation updater bot 8bfdcf4119 Localisation updates from https://translatewiki.net.
Change-Id: Ib389ef9abd9e43a4a455a719c1fd81ae81389005
2016-10-18 22:33:32 +02:00
Translation updater bot a32d08d2ac Localisation updates from https://translatewiki.net.
Change-Id: Ic631c23a53b2d78d616841c290b8ce4f627d7674
2016-10-15 22:59:15 +02:00
Translation updater bot e511184b86 Localisation updates from https://translatewiki.net.
Change-Id: I3226cb22c6e0b7e4695e462a285ac4d64cd4405d
2016-10-13 22:45:38 +02:00
Translation updater bot 2f1ceb40f9 Localisation updates from https://translatewiki.net.
Change-Id: Ie0f1e258c870ca3277705c50e93d5291c3e777fc
2016-10-09 22:45:19 +02:00
Derk-Jan Hartman 46d76471e1 Use slice instead of substring per code conventions
Change-Id: Id9b08270c377f2b31486dbdb9492b77860f436e7
2016-09-26 21:36:53 +02:00
jenkins-bot 9018acb6fe Merge "Update some packages" 2016-08-22 08:26:28 +00:00
jenkins-bot bc30c28bb3 Merge "Supply model/format directly to hook" 2016-08-11 01:06:31 +00:00
Paladox ab7ca69e26 Update some packages
Update grunt to 1.0.1

Update grunt-contrib-jshint to 1.0.0

Update grunt-banana to 0.5.0

Update grunt-jsonlint to 1.1.0

Change-Id: I30d1cad9ced9490ac51b0263b2c81da6cf52bd96
2016-08-10 18:47:26 +01:00
Thalia 954f8a2a75 Add jquery.textSelection dependency
Change-Id: I66de8620adced0c810ebd7b1037f790eec688534
2016-08-04 12:59:16 -07:00
Translation updater bot 5da5488daf Localisation updates from https://translatewiki.net.
Change-Id: Ie138c4b329c4a3985b66dd2fd5a30ec279384119
2016-07-24 22:23:03 +02:00
Brian Wolff 7a95deea76 Supply model/format directly to hook
Most of the time people want to trigger on content model, or content
format. This allows triggering correctly even if you are viewing an
old revision with a different content model, or are using a content
format that is different than the default for the current model.

Also remove back compat code for pre 1.23
Change-Id: I9706eaae0983e2b7b99f83c9564ea04c5ec252ac
2016-07-23 01:41:21 +00:00
Translation updater bot 3bcdd63b25 Localisation updates from https://translatewiki.net.
Change-Id: Ib0f8ff3666576fadd90785f2c2ed702c39cb96cf
2016-07-22 22:36:09 +02:00
Translation updater bot 9789c1e745 Localisation updates from https://translatewiki.net.
Change-Id: I689d346f6ada6205fdfab46a8b07df7295fe2d53
2016-06-02 22:21:00 +02:00
Kunal Mehta c00a099c96 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I205ea61d8ace7bb4bae37dc5602d51f5fb59bae0
2016-05-27 18:18:26 -07:00
Kunal Mehta 1b35669437 build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: I1e080882b4dd1f990177ce2b8147cb4aa4e5c868
2016-05-09 16:37:08 -07:00
Translation updater bot c37d010089 Localisation updates from https://translatewiki.net.
Change-Id: I3ed12f5633a38c8d950a13150d26bc1d94029c61
2016-03-27 21:10:18 +02:00
Translation updater bot 4ef8b848dd Localisation updates from https://translatewiki.net.
Change-Id: I6f0eaac637d1d3c5acf180b4504dba22f2ac6ab2
2016-03-22 22:29:05 +01:00
Translation updater bot b2b6149027 Localisation updates from https://translatewiki.net.
Change-Id: If90909a7a16e484505e3aa1beacdbcf68485b7cb
2016-03-17 23:15:38 +01:00
jenkins-bot 8d847339be Merge "License information" 2016-03-15 18:23:43 +00:00
Derk-Jan Hartman c158ae5602 Update Ace and use scoped require / define
This brings Ace to upstream commit
4a55188fdb0eee9e2d3854f175e67408a1e47655

Bug: T127643
Change-Id: I7699e842d7b561b8a35cf7a4ea048f4126eaf856
2016-03-14 00:26:27 +01:00
Derk-Jan Hartman 200cc9d020 Namespace define, require calls when building Ace
Bug: T127643
Change-Id: If425d96fa9e650ded2d3431d4c418f0fd1359af1
2016-03-14 00:11:03 +01:00
Kghbln ab06a36cd0 License information
* Adds license label to "Special:Version"
* Makes more visible that only the extension and not the bundled
  software is licensed GPL-2.0+

Change-Id: I778212bb96edcc4e10714447b8ef57f8ce87b5ef
2016-03-09 17:27:45 +01:00
jenkins-bot e10ed30111 Merge "Replace toolbar with OOUI/OOUI-style SVGs" 2016-02-29 23:33:18 +00:00
Ed Sanders b5312f1d4c Replace toolbar with OOUI/OOUI-style SVGs
* Use resource loader embedding for better performance
  (uses a slightly hacky method to achieve this, the only
  alternative would be to fix the WikiEditor API, but that
  would introduce a version dependency)
* Use SVGs from OOUI where available or create new ones where not.
  These are used and available under the OOjs UI MIT licence.
* Provide PNG fallbacks using LESS mixin
* Remove unused icons

Change-Id: If38d51d24958716e2617c4cb515e7c0575cdfeba
2016-02-29 13:00:15 -08:00
Ed Sanders 41e9cee298 GotoLine: Don't throw an exception if the user cancels the prompt
Change-Id: I540ba492cf3acda01ad61800561cda0276f36c76
2016-02-27 22:39:39 +00:00
jenkins-bot b5df74fb06 Merge "Revert "Compress PNGs with zopflipng"" 2016-02-24 09:07:20 +00:00
jenkins-bot 0a7dc634fc Merge "Adapt toolbar icon change to change 19789d76 in WikiEditor" 2016-02-23 22:01:27 +00:00
Derk-Jan Hartman 75c3370783 Revert "Compress PNGs with zopflipng"
This reverts commit a939687c6e.
This reverts commit d5b7236197.

Bug: T127644
Change-Id: I461a9b199757313f397a6656fbcd6aefb24c2b19
2016-02-23 21:49:43 +01:00
Translation updater bot 550cc20750 Localisation updates from https://translatewiki.net.
Change-Id: Id9a27c9de80cbbb838fcb85a208cf4a143b5f2e5
2016-02-22 21:38:19 +01:00
Ori Livneh a939687c6e Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I40a7d9a274bbcabaa011b7911b906abcf2328efe
2016-02-21 00:59:46 +00:00
Ori Livneh d5b7236197 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y --iterations=500 --filters=01234mepb {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I04ff1e5c03e77ec637863c46e2fcff080747c746
2016-02-20 22:57:04 +00:00
Translation updater bot ef8e44cce1 Localisation updates from https://translatewiki.net.
Change-Id: I67ab46e1ebaf0afdbc7a9ff12ad6409dcfff6838
2016-02-18 22:14:50 +01:00
Translation updater bot 9264ee0f7b Localisation updates from https://translatewiki.net.
Change-Id: Id385efac92c05a84001052a6652a9e90f1fa9aa0
2016-02-09 21:39:25 +01:00
Translation updater bot bcf7ede1b8 Localisation updates from https://translatewiki.net.
Change-Id: Ic7f06b2dddecce2223a426f039ac2919bbd338d8
2016-02-07 22:14:21 +01:00
Translation updater bot 52b63646d1 Localisation updates from https://translatewiki.net.
Change-Id: I4e2eed713228e1c64843d1ca1362ec2a4ee07e5f
2016-02-01 21:53:01 +01:00
Translation updater bot 60c8d634a2 Localisation updates from https://translatewiki.net.
Change-Id: I726766203391544bf84e3327c9809c5eaba99035
2016-01-29 22:40:37 +01:00
Fomafix ecfc6514d3 Remove check for existence of mw.hook
mw.hook was introduced with 2e970257 in MediaWiki core for REL 1.22.

Change-Id: Ib81ba150c4056be19ede2145308489d0b286aea0
2016-01-29 12:32:14 +00:00
Fomafix d4a5b7eddf Adapt toolbar icon change to change 19789d76 in WikiEditor
Bug: T125201
Change-Id: I58c1d246d3fbb8031e3be482f349a0538c44152c
2016-01-29 11:07:47 +00:00
Translation updater bot 127cec0d8d Localisation updates from https://translatewiki.net.
Change-Id: I14d9308687a161ead50d020374bc100484cd13f5
2016-01-28 21:07:27 +01:00