Commit graph

717 commits

Author SHA1 Message Date
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
Translation updater bot 41e4afd8d3 Localisation updates from https://translatewiki.net.
Change-Id: Ibb552cc508d58fd0567f2b1873b8c6c6e0d816db
2015-06-21 19:56:27 +02:00
jenkins-bot 3e98b4544f Merge "Remove explicit setting of the width of the textarea" 2015-06-17 23:21:37 +00:00
Fomafix bc526cbf20 Load module 'ext.wikiEditor.toolbar.styles'
This style module hides the old toolbar while loading and
avoids horizontal resize of the textarea with disabled syntax highlight.

Bug: T102738
Bug: T102739
Change-Id: I41f16f1a5034eeebf7b80a68ebded8a4442df8fa
2015-06-17 05:33:25 +00:00
Fomafix 887bae8ac9 Remove explicit setting of the width of the textarea
The setting of the width is not necessary and sometimes it generates
a width which is to wide.

Bug: T102736
Change-Id: I7ed715fba4d65e7a571421b7a06d604e6b0958f7
2015-06-17 04:23:56 +00:00
Kunal Mehta c71fb0bdda build: Configuring banana-checker and jsonlint
Change-Id: I8b11109e8df32b61f017847a81ea34625592f475
2015-06-15 14:54:28 -07:00
Translation updater bot 9e249e9309 Localisation updates from https://translatewiki.net.
Change-Id: Ia92714d19d78582f85c259b347338fe94a2baa3c
2015-06-11 21:09:44 +02:00
Translation updater bot e78c603e2b Localisation updates from https://translatewiki.net.
Change-Id: Ic6cd473e8dfe69b90b233082aa4dc96dcd6091ed
2015-06-08 21:54:18 +02:00
Translation updater bot 4263b09b55 Localisation updates from https://translatewiki.net.
Change-Id: Ifb57e44ccf0deed88e59ec439474a83b717fea52
2015-06-06 22:14:28 +02:00
Kunal Mehta e8a193ae40 Set manifest_version in extension.json
Bug: T100745
Change-Id: I1ea45b4a7057833f141925329c640ebe1ac4ca41
2015-06-05 17:52:10 -07:00
Translation updater bot 2a76c356b5 Localisation updates from https://translatewiki.net.
Change-Id: I94696dc8877572aa74b1ab248da9796f3380fe5d
2015-06-05 20:56:26 +02:00
Translation updater bot 01088fe4d9 Localisation updates from https://translatewiki.net.
Change-Id: Ibd13351a5565395d06161e59ac11e5dd6a2e00d5
2015-06-03 22:09:01 +02:00
Translation updater bot c8dfd44a1c Localisation updates from https://translatewiki.net.
Change-Id: If5bb5925fac960f935f258d4124fdc76b76a64c7
2015-06-01 22:48:57 +02:00
Translation updater bot 8ad9d7a653 Merge "Localisation updates from https://translatewiki.net." 2015-05-31 20:24:00 +00:00
Translation updater bot 318a64597f Localisation updates from https://translatewiki.net.
Change-Id: Ie8f469ecd1afa3ae88fe6729405934c5b1ddc1d7
2015-05-31 22:10:20 +02:00
paladox 4b368e00ae Sync extension.json with CodeEditor.php and empty php entry point
Change-Id: I4e27986911bc73a1247f9e3f0127797fc560df1c
2015-05-29 23:12:10 +01:00
paladox 6880860564 Remove i18n shim
Change-Id: Ie9b6c2fce685e103ac90084eb793c341d79ee5eb
2015-05-29 21:44:16 +00:00
Translation updater bot f6f33d3f1b Localisation updates from https://translatewiki.net.
Change-Id: Iee35c78df607458177914d7beee7070e79c0da4c
2015-05-29 22:39:34 +02:00
Translation updater bot 0c9927b9a0 Localisation updates from https://translatewiki.net.
Change-Id: I9a6e8c8b7c1b8d42c12610c1616fce62387b3be4
2015-05-28 22:52:06 +02:00
Translation updater bot 9fcb6f62c3 Localisation updates from https://translatewiki.net.
Change-Id: I20fa18c7be85f1eea1e0bae522964da65e0e5a30
2015-05-27 22:21:16 +02:00
Translation updater bot 72518ad31e Localisation updates from https://translatewiki.net.
Change-Id: I89fd3b5ed51922906bb64d4b637edc92bd9f7a7b
2015-05-26 22:19:52 +02:00
Derk-Jan Hartman aba51ef4f5 Additional CodeEditor buttons
- toggle invisible characters.
- search and replace (disabled)
- indent/outdent
- line wrapping
- go to line

Icons by Connor Shea

Bug: T61923
Change-Id: I9e434d1b23f8254bc654ebbd31b5e4b70bbf5fe1
2015-05-26 01:43:47 +00:00
Translation updater bot a7de818fcd Localisation updates from https://translatewiki.net.
Change-Id: I6d42097fa7083e1eecd7c57221707aaed2250496
2015-05-25 22:24:35 +02:00
Derk-Jan Hartman a9cdbcacb4 Add tooltip to annotation indicator
In the past I had made the annotation indicators clickable, and your
cursor will in this case navigate to the next annotation in editor.
This was not really easily discoverable, so I have added a tooltip to
make it slightly more discoverable.

I also added a CSS line to prevent users from accidently selecting the
text (or rather numbers) in this area, which I had noticed happened to
me at times when trying to click it.

Change-Id: I47ecba232ff925169d0f64d85ae34ff6564cc1a5
2015-05-25 11:07:41 +02:00
Translation updater bot d4f2df8111 Localisation updates from https://translatewiki.net.
Change-Id: I80b7cd4b14e3dd4e78a8d649bb6dbd6e8b6f5bb7
2015-05-18 22:12:38 +02:00
Translation updater bot e6e7815f46 Localisation updates from https://translatewiki.net.
Change-Id: Ic6012f0924652b7f1d7bee2d83aa7608e9442003
2015-05-17 22:03:28 +02:00
Translation updater bot ae0db408cc Localisation updates from https://translatewiki.net.
Change-Id: I635e3ac1e42cdb51bc81ae4fda23f5a16adadcba
2015-05-01 22:00:51 +02:00
Translation updater bot 749b13f6ca Localisation updates from https://translatewiki.net.
Change-Id: Icb4358815f763c8d2f2a72cfd788f5d156640b36
2015-04-26 22:28:05 +02:00
jenkins-bot 1048356973 Merge "Only block for errors when saving" 2015-04-02 14:04:46 +00:00
Derk-Jan Hartman 76b4899835 Only block for errors when saving
Bug: T70765
Change-Id: I947f7f5bda4272677dd8d090e155b1010a66795d
2015-03-29 16:22:42 +02:00
Translation updater bot c4f00c0170 Localisation updates from https://translatewiki.net.
Change-Id: I109db8dcebabcfe5b0724f4e5a7fca625740aa71
2015-03-24 22:21:22 +01:00
Kunal Mehta 573afa02a1 Add extension.json, stop using $dir
Bug: T87897
Change-Id: I43eaa3f2d96cba98ac6d317b7bff7ba40f16bc7f
2015-03-02 17:55:52 -08:00
jenkins-bot 442e3a0338 Merge "Remove trigger 'LivePreviewPrepare'" 2015-02-05 12:17:30 +00:00
Fomafix d3be0b552b Fix whitespaces
Change-Id: Ia26f885ac2423d9f4a67b9e4d58a90aba22d0f07
2015-02-05 12:13:18 +00:00
Translation updater bot bef2e7ea52 Localisation updates from https://translatewiki.net.
Change-Id: I07cc5d5e641c202b3e4beb609a51101593d2cf01
2015-02-02 22:25:47 +01:00
Derk-Jan Hartman 7254cda535 Ace: Update to 2015-01-28
Updated to
6b88b939c2

Includes fixes for drag delay (bug 60432)
and chrome useragent detection: Github issue
https://github.com/ajaxorg/ace/issues/1950

Bug: T62432
Change-Id: I5ac67a812f09ac43e73475613afc9a3f1ddc9a75
2015-01-28 11:04:27 -08:00
Translation updater bot b7b54e6c7d Localisation updates from https://translatewiki.net.
Change-Id: I2d1b3db94e975efc98ea681543a93c72500bb0e5
2015-01-14 22:37:24 +01:00
Fomafix f64a164986 Remove trigger 'LivePreviewPrepare'
Depends on I30bd709d8 in mediawiki-core.
The '#wpTextbox1' gets read by textSelection( 'getContents' ).
The trigger is not necessary anymore.

Change-Id: Iae54a2422ff1814f8858723d51fcb10d04645c51
2015-01-03 15:35:06 +00:00