Commit graph

718 commits

Author SHA1 Message Date
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
Translation updater bot 6cee6c0f56 Localisation updates from https://translatewiki.net.
Change-Id: I76404686733264530f296a13465a4f9af8922f59
2015-11-12 22:57:50 +01:00
Translation updater bot c814bae01c Localisation updates from https://translatewiki.net.
Change-Id: I619371fe3c5c61dad0c7f1b83edd8ac18ec32566
2015-11-10 22:33:38 +01:00
Translation updater bot 111a46fc51 Localisation updates from https://translatewiki.net.
Change-Id: I83d600cd8c3bdc81d1beb70832553466867327c7
2015-10-22 21:58:43 +02:00
Translation updater bot 2327c677f4 Localisation updates from https://translatewiki.net.
Change-Id: I57643e7ca0771b561f9a7683f59a59e6dd0ae360
2015-10-20 22:46:05 +02:00
jenkins-bot dcb373bbf8 Merge "Update identation to use tabs" 2015-10-12 07:25:49 +00:00
Siebrand Mazeland 354de92e2a Update identation to use tabs
Change-Id: Ib41e43fa0fbc0619ccee51985dc5a50a32d2aaef
2015-10-12 09:12:04 +02:00
Kunal Mehta 816fce3495 build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: I56a8b5dc95b174edd8fa3603b8d5759680a4e942
2015-10-11 11:40:54 -04:00
Translation updater bot 4028717652 Localisation updates from https://translatewiki.net.
Change-Id: Ib30f82711a5b8afc1ed5a25fd8f74917d8d39de0
2015-10-03 22:12:00 +02:00
Kunal Mehta 97cc56046b Add MediaWiki version requirement to extension.json
Change-Id: I15f3af699831c7253752ea1815fc88839ee0466c
2015-09-23 08:54:29 -07:00
Translation updater bot d23766e07d Localisation updates from https://translatewiki.net.
Change-Id: I01767c68df3440f16e2428ce01ce7b37990ba111
2015-09-13 22:10:41 +02:00
Translation updater bot 5b3b276729 Localisation updates from https://translatewiki.net.
Change-Id: I682446f0a1ec192d64b96960a8be98b227488c04
2015-09-12 20:02:19 +02:00