Commit graph

754 commits

Author SHA1 Message Date
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
Translation updater bot 510ec69996 Localisation updates from https://translatewiki.net.
Change-Id: I118a4b62321342925ca8b2a359220032b3a1589e
2015-09-04 21:48:19 +02:00
Derk-Jan Hartman 838c627728 Make sure that wikieditor context is ready
This fixes a bug where the event could be triggered before the
WikiEditor context was ready. Also make sure that the fragment monitor
takes into account the possible disabled state of the CodeEditor.

Bug: T103802
Change-Id: Id5564c4a91a0a14632024781f3e57b68c4803970
2015-08-27 21:22:09 +02:00
Fomafix c09b7f5b78 Define variable event
* Declare event as first function parameter.
* Move event.preventDefault() to the synchronous end of the function.

Change-Id: I813355088cbf215264dcccd474e97630915d63c5
2015-08-14 15:12:04 +00:00
jenkins-bot b3a8507515 Merge "Remove use of deprecated wfRunHooks" 2015-08-06 17:57:35 +00:00
addshore 14c770e154 Remove use of deprecated wfRunHooks
Change-Id: I571d47326f4033f85c71b30533f3459d5ad93c8d
2015-08-06 18:53:00 +01:00
Translation updater bot f21f1ae490 Localisation updates from https://translatewiki.net.
Change-Id: I8f5e10287df5b6f61de4ac26af2f2d5d25ea03ef
2015-07-30 21:10:12 +02:00
Translation updater bot b4026bb0c3 Localisation updates from https://translatewiki.net.
Change-Id: Ibe9dc4bc9317e8d545d23d88f87851bad484018d
2015-07-25 21:56:07 +02:00
Translation updater bot 47d2d2fc11 Localisation updates from https://translatewiki.net.
Change-Id: I051046a0f2dbcb8875919b88140b5958eb7d2b7d
2015-07-24 21:05:49 +02:00
Translation updater bot 59b1c1812a Localisation updates from https://translatewiki.net.
Change-Id: I4686189864e0cdd5b92be2630147b522f33e85d0
2015-07-18 21:58:23 +02:00
Translation updater bot d4dd5249da Localisation updates from https://translatewiki.net.
Change-Id: I450618189f9b223381e67408399ab2015cc50e0b
2015-07-16 21:10:27 +02:00
Translation updater bot ce9e894edf Localisation updates from https://translatewiki.net.
Change-Id: I4aa31aff2a14dbe8093f2fe52eb5c6838169c89b
2015-06-28 22:08:40 +02:00
Fomafix db1692c38c Remove quotes around object properties keys
Change-Id: Ie2126869364dcf56beb1190c80b6d8c36b282dce
2015-06-27 20:22:54 +00:00
Matthew Flaschen a7f5ae257c ucFirst has been deprecated, so inline it
Also, it wasn't declaring the dependency, so this fixes that as well.

Bug: T103612
Change-Id: Ic37fe3fec02ee4b328bd88ef46107431758216da
2015-06-23 23:40:51 -04:00
Translation updater bot e4fe34c5b3 Merge "Localisation updates from https://translatewiki.net." 2015-06-21 18:28:45 +00:00