Commit graph

3249 commits

Author SHA1 Message Date
Derk-Jan Hartman 346a100248 Also remove NToC and TemplateEditor images
In I0f53a68e50fc950d7f407ee81b2bf0d81ef4948d and
I47119d6cfdde4b40ff5b07be0c7d327b80598142 I forgot to remove the images
of the corresponding modules.

Change-Id: I8de59f6ce54d0cc7f67f56853386d4338c693b98
2014-05-14 15:54:50 +02:00
jenkins-bot 8741481d75 Merge "Make the toolbar and dialogs enabled by default." 2014-05-11 09:25:00 +00:00
Derk-Jan Hartman 5233d0781f Make the toolbar and dialogs enabled by default.
I think that after 3 years we can assume that people who install
WikiEditor, want at least the toolbar and the dialogs enabled by
default on Wikipedia.

Bug: 34410
Change-Id: Ia13e6879c8633fc916ee9fb8e2495f89c2098fdb
2014-05-10 09:49:03 +02:00
Translation updater bot 964ff80106 Localisation updates from https://translatewiki.net.
Change-Id: I1521fff1f2dafced99786f6b831a8b9527010a7a
2014-05-09 22:24:18 +00:00
Timo Tijhof b965e0af4f jquery.wikiEditor.toolbar: Clean up target variable
Follows-up 5667dfcd54.

Change-Id: Ib2365aa6ab626717d346ab2e299c174bebfff506
2014-05-09 12:26:15 +02:00
jenkins-bot 887dcfcbc9 Merge "Repair removeFromToolbar() to handle image buttons" 2014-05-09 10:23:04 +00:00
Translation updater bot d3f74f15ab Localisation updates from https://translatewiki.net.
Change-Id: I323c7427a5ed7ea70c3c0bf7a68407f8911ca37a
2014-05-08 20:50:16 +00:00
Translation updater bot c3ad02ea39 Localisation updates from https://translatewiki.net.
Change-Id: Icffb09f1519688e05b54614a8169f21dd7a66af4
2014-05-06 19:55:33 +00:00
jenkins-bot ba9cbdaa35 Merge "Prevent style jumping in WikiEditor" 2014-05-06 16:53:46 +00:00
Derk-Jan Hartman f0505e6dee Prevent style jumping in WikiEditor
Add a new styles module. This module makes sure that the textarea is
already properly styled (jumping lineheight bug) before we start the
JS. Also hide the toolbar before it's styles have finished loading, so
you don't see it being constructed on the fly. Move inline styling for
the old toolbar into this stylesheet as well.

Bug: 47708
Change-Id: I40bec0a24dbd295db301e7faefb93d8991981acb
2014-05-06 15:03:01 +02:00
jenkins-bot f99ef52991 Merge "Add SVG versions of toolbar icons" 2014-05-06 11:53:33 +00:00
Translation updater bot f45c08e2f5 Localisation updates from https://translatewiki.net.
Change-Id: I1e45d725472909a3dcd25e4713a8ebe824866713
2014-05-05 20:21:24 +00:00
Fomafix cf74f4e0a0 Prevent conflicts with predefined names
Bug: 64896
Change-Id: I67ea669a074317f44eb09cf759c0121bad259b3c
2014-05-05 13:51:10 +00:00
jenkins-bot 996f0d07d7 Merge "Ensure that the property exists" 2014-05-05 10:18:39 +00:00
Derk-Jan Hartman 5667dfcd54 Repair removeFromToolbar() to handle image buttons
Bug: 29440
Change-Id: Ic30af1a1d5842a8f330344eb4a10ecbdc2606fc5
2014-05-05 09:06:57 +00:00
Translation updater bot 739292df8b Localisation updates from https://translatewiki.net.
Change-Id: I4cdd1f613610d8a1283f8c11c64d9f2db73db3b4
2014-05-04 20:10:05 +00:00
Timo Tijhof d0ebd8f812 jquery.wikiEditor.preview: Clean up
* Rename 'collection' to 'loadmodules'.
* Consistently close parentheses and brackets at the same
  indentation level as they were opened.
* Use $.ajax directly instead of $.post, especially the fourth
  argument to $.post makes it hard to read.
* Use promise interface of $.ajax and $.post instead of the
  (deprecated) callback parameter.

Change-Id: I48924c9a1ce29829f8994be05c46d5563b2c25d6
2014-05-04 15:52:04 +02:00
Derk-Jan Hartman 0be6642d42 WikiEditor: Make JS preview load required modules
Change-Id: I5cc3c8577ab088eeba9e6f4ac78411c31ee38fa9
2014-05-04 14:27:04 +02:00
Derk-Jan Hartman 4936de4f3c WikiEditor: Fix API warning in preview requests
Change-Id: I8e8b344da2c39dfc107525561078947708c75868
2014-05-04 13:42:07 +02:00
Translation updater bot 38ba176eb4 Localisation updates from https://translatewiki.net.
Change-Id: I2bd2f37bdac261787e9dc06e01162f430d53dbab
2014-05-02 19:53:31 +00:00
Translation updater bot 0a092b22a4 Localisation updates from https://translatewiki.net.
Change-Id: Ic3fa42209959df750667b8f2ea515b39cd0720a2
2014-05-01 20:22:34 +00:00
m4tx e027051c58 Add SVG versions of toolbar icons
Bug: 35342
Change-Id: I3661eb945f79fb59600c5d85cc259e61f115d5ab
2014-05-01 21:42:36 +02:00
Translation updater bot f2ae7b4204 Localisation updates from https://translatewiki.net.
Change-Id: If44f45817b6f0d5855ddc5fb8e668086a8945ba5
2014-04-30 20:44:46 +00:00
Fomafix cfcfa69fe4 Apply coding conventions for JavaScript
Change-Id: Ibae64ca7aa52c2283ff81bd942be80c83a4089f7
2014-04-30 10:59:01 +00:00
Fomafix a9fffc62bc Ensure that the property exists
Bug: 64648
Change-Id: Ia4fa64e86286bbd567c4c46e2d79028546ed7e3d
2014-04-30 06:36:02 +00:00
jenkins-bot c964783792 Merge "Revert "Revert "Preserve textarea state when building WikiEditor UI""" 2014-04-29 22:45:57 +00:00
Mwalker b5696dc435 Revert "Revert "Preserve textarea state when building WikiEditor UI""
Ib97f47ef1d66420682bd429c9c12e66c3392e77d Didn't cause
problems so this is now safe to reapply (to wmf2).

This reverts commit 908e7cc56c.

Change-Id: I510536959b58ff0adacd7908f6150c95bfdb3ec1
2014-04-29 22:43:32 +00:00
Translation updater bot ea1fb680a3 Localisation updates from https://translatewiki.net.
Change-Id: I69b0d0e089828d904881b2df7d8f615bfbcaefaa
2014-04-29 19:38:48 +00:00
Translation updater bot 1c2bdc840a Localisation updates from https://translatewiki.net.
Change-Id: I5fb4ad393bf4787eb37ae943058a8113230f8437
2014-04-28 20:15:54 +00:00
Translation updater bot 5c474c0125 Localisation updates from https://translatewiki.net.
Change-Id: I10e91d0948ea8697339c692b578e1fa1ecff054d
2014-04-26 19:27:04 +00:00
jenkins-bot 38b2328296 Merge "Revert "Preserve textarea state when building WikiEditor UI"" 2014-04-25 20:12:25 +00:00
Mwalker 908e7cc56c Revert "Preserve textarea state when building WikiEditor UI"
Sadly this caused bug 64289; so we're going to revert this for now;
then redeploy this and Ib97f47ef1d66420682bd429c9c12e66c3392e77d
in one of the swats next week.

This reverts commit effd98be7e.

Change-Id: Idde3e51e894f8c92f47fb06f0cf08d01e82ccb48
2014-04-25 20:12:09 +00:00
Translation updater bot 1200610e35 Localisation updates from https://translatewiki.net.
Change-Id: I260cd70b8024697fca3e4e715c11b2477021c7ff
2014-04-25 19:45:49 +00:00
Translation updater bot 2e42defc02 Localisation updates from https://translatewiki.net.
Change-Id: I85c5e498f6f168c68a224024d6b8d69797db6567
2014-04-24 19:38:18 +00:00
jenkins-bot d4a994e146 Merge "Allow adaptive height of the toolbar sections" 2014-04-23 16:41:12 +00:00
Translation updater bot e00ff2f5cf Localisation updates from https://translatewiki.net.
Change-Id: I61398eb14eed6b539e6ea37b310cebcb620ba174
2014-04-22 19:22:15 +00:00
Translation updater bot 91fc4fbd2e Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: I7ad613b0b9af39982b631cf3a3e7ea577f52124e
2014-04-22 13:53:47 +00:00
Translation updater bot dd2abebe2a Localisation updates from https://translatewiki.net.
Change-Id: Ib3bb78f0497359be1bbe65c89a5b22330aa13555
2014-04-20 20:12:22 +00:00
Translation updater bot 94ac214975 Localisation updates from https://translatewiki.net.
Change-Id: I43bcbf864396b6cfdf1a8daea53fe3d83ba35cf5
2014-04-17 19:03:12 +00:00
jenkins-bot 3bd860d220 Merge "Cleanup borders of wikiEditor" 2014-04-16 19:50:20 +00:00
jenkins-bot 695dff5871 Merge "Preserve textarea state when building WikiEditor UI" 2014-04-16 19:35:06 +00:00
Translation updater bot 078ec49dd3 Localisation updates from https://translatewiki.net.
Change-Id: Ibe5389ea9bb1b5ffbffad68007a83a2332695d3a
2014-04-16 15:56:06 +00:00
Derk-Jan Hartman effd98be7e Preserve textarea state when building WikiEditor UI
When we are wrapping the textarea in the Editor UI, the focus state,
cursor position and the scrollposition might get lost. This is
especially annoying on slower machines, where users might have started
using the textarea before the WikiEditor UI was constructed.

Bug: 41911
Change-Id: Ie472c6c88d98f7ba89873a2db73463ef01bd995a
2014-04-16 08:40:19 +02:00
Translation updater bot f4ee8a262e Merge "Localisation updates from https://translatewiki.net." 2014-04-15 20:17:35 +00:00
Translation updater bot 3899553ffe Localisation updates from https://translatewiki.net.
Change-Id: I0736af029340f404df18da80b392d836368e699d
2014-04-15 20:12:59 +00:00
Chad Horohoe 1be7716488 delayedBind isn't used anymore (nor does it exist)
Change-Id: I9397c6e210c4b21877605552720aa1708d7c5efb
2014-04-14 13:23:35 -07:00
Translation updater bot 13712bd5e7 Localisation updates from https://translatewiki.net.
Change-Id: I604ed9f105f8d18bf74d6961e0138f6959e1b5a3
2014-04-13 19:18:46 +00:00
Translation updater bot fd47be5635 Localisation updates from https://translatewiki.net.
Change-Id: Idab35aa7c7049c3ac9bf198646596e6b5bca7cde
2014-04-11 19:49:52 +00:00
Derk-Jan Hartman 12e5de632e Cleanup borders of wikiEditor
We had some crazy stuff here with negative margins, border boxes and
what not. There were some problems with IE versions, zooming in and out
in pages and with the side by side preview.

This should take care of those. Mostly it moves the borders inside the
elements that are 100%. This was also required because of the
side-by-side preview which was using a dirty trick to hide the border at
the top

Bug: 26828
Change-Id: I3c3466fac53df3e79de6f12f404005e55409fa7c
2014-04-08 15:32:00 +00:00
Derk-Jan Hartman eacd8b7fcf Allow adaptive height of the toolbar sections
This makes sure that on narrow page views, it's contents won't bleed
into the textarea.

Bug: 37392
Change-Id: Ia14b354a5a2de049d219e735795a9bd9f558f660
2014-04-08 10:31:01 +02:00