Commit graph

579 commits

Author SHA1 Message Date
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
jenkins-bot 74e4cc383f Merge "Abort previous unfinished API request before sending new request" 2016-01-27 20:57:22 +00:00
Fomafix 135716727d Abort previous unfinished API request before sending new request
This change requires 81171ab3 from core included in MediaWiki 1.27.

Change-Id: I8dec32bf49e412510cf5d98f2f946bfd337f47a1
2016-01-27 11:07:38 +00:00
Fomafix d10cfbb1bf Update URLs from http://ace.ajax.org/ to https://ace.c9.io/
http://ace.ajax.org/ redirects to https://ace.c9.io/

Change-Id: Ib915fec2855bfcec1a7d9b3c91dd3dd13db703ab
2016-01-27 11:01:54 +00:00
Kunal Mehta 708a72b5e7 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I00830bb7fa6dd98bb49b9813d5178e85298a4dc7
2016-01-05 10:32:33 -08:00
Kunal Mehta 7ca530526c build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: Idae49bb8c9ca8838fc58136136bede1245f5f140
2016-01-03 18:46:11 -08:00
Kunal Mehta 5f56bbc159 build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I98afe231fdbab52423a0fe09a5681f0cde8ce87b
2015-12-29 11:17:43 -08:00
Translation updater bot 6ea3dedee4 Localisation updates from https://translatewiki.net.
Change-Id: Iad7143158988c062b2b63340bd9bb1022f4e1f1e
2015-12-23 22:03:59 +01:00
Translation updater bot 72a1252763 Localisation updates from https://translatewiki.net.
Change-Id: I99352772fd3f7d0e951eef886385117bb286b893
2015-12-21 22:03:27 +01:00
Translation updater bot eddfa71481 Localisation updates from https://translatewiki.net.
Change-Id: Ia95a8c2d82b68562cd8eda6941d710fa9c83539c
2015-12-18 23:34:58 +01:00
Translation updater bot 2797aba6e0 Localisation updates from https://translatewiki.net.
Change-Id: I199e630c7317948856489de74d4f1dae71683413
2015-12-17 22:42:13 +01:00
Translation updater bot 690450ede9 Localisation updates from https://translatewiki.net.
Change-Id: I1be9c992b38fe810956ed86370376bf56d575e3b
2015-12-13 22:16:02 +01:00
jenkins-bot 49f5843e65 Merge "Use module "mediawiki.api.options" to save options" 2015-11-30 19:01:06 +00:00
Fomafix aeb072ce8a Avoid accessing undefined context
The delayed update of the status bar fails when the CodeEditor is disabled
in the meantime.

Bug: T119869
Change-Id: I6b23148f7a3d79021b87ad5f0f537eda9b68970f
2015-11-30 12:49:30 +00:00
Fomafix 370b597b79 Enable the "Go to line nummer" button on read-only pages
Bug: T114618
Change-Id: I17b5c05673489935a80db2e115d211695c17bde5
2015-11-30 09:09:53 +00:00
Fomafix c59add0448 Use $.map from jQuery
This requires jQuery >= 1.6. This is included in MediaWiki >= 1.18.
This change drops support for MediaWiki 1.17.

Change-Id: I12f3f3e22d9bc47a0a2d9a9d201af4e44012e0a2
2015-11-29 20:16:03 +00:00
Fomafix eacbcd828a Use module "mediawiki.api.options" to save options
This change requires MediaWiki 1.25.

Change-Id: Id476b7422bd47751813f671982ceecd6d9844718
2015-11-29 16:00:13 +00:00
Paladox b6e9f6cca4 Add jshint and jscs to npm, Also add composer.json
Instead of running the jshint test through jenkins, Run it through npm
instead.

Also add composer.json for running php code sniffer and phplint instead of
running phplint through jenkins.

Also update grunt-jsonlint to 1.0.6

Change-Id: Icd9aa1b1c7213d056aa5294a804341053141b0bd
2015-11-29 12:03:16 +01:00
jenkins-bot 52ef9085a9 Merge "Do not try to save options for anonymous user" 2015-11-29 10:38:09 +00:00
Fomafix 2278f87b89 Do not try to save options for anonymous user
This change requires 65062d3c from core included in MediaWiki 1.20+.

Change-Id: I130ab8e93107e066d2cb757c511c844e161b703f
2015-11-28 23:10:40 +00:00
Fomafix 22f1a0c3d2 Fix error message in set user options fail
* Write error.info instead of "[object Object]" into console.
* Avoid accessing result.error when not defined.

Bug: T119809
Change-Id: I23a124cbaf8ef9376c4c6071dec4d7e846f1eabe
2015-11-28 22:51:20 +00:00
Translation updater bot d0ef64af5d Localisation updates from https://translatewiki.net.
Change-Id: I2a1a973ee3b5e4fe307eb8acb7614d8900831034
2015-11-28 21:43:07 +01:00
paladox 6d052a8011 Update Ace to 29-10-2015
Updates ACE to commit:
3fb55e8e37

This includes basic scrolling support in mobiles
https://github.com/ajaxorg/ace/pull/2555

iOS 6 or later supported.

Android 4.x or later is supported.

Re enabled indent and outdent seems to work now, Ive tested it.

Bug: T119086
Bug: T69328
Change-Id: If8ecc499c281c92c53982cee281a88119a773514
2015-11-19 19:32:21 +00:00
Thalia 9ec460642c Add latex to Ace modes module
Change-Id: Ibcd941d938c80ffa7206df1b58acf6d1fc7c388b
2015-11-18 13:45:56 -08:00