Commit graph

2661 commits

Author SHA1 Message Date
Thiemo Mättig ed348c489f Remove optional namespace prefixes from <gallery> example
The namespace is optional since at least 2011, see
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/79639

More and more wikis switch to the syntax without repeating the
namespace over and over again. Main advantage: This avoids all
discussions which alias (localized or what) should be used.
Example discussion:
https://de.wikipedia.org/wiki/WP:VV#Erweiterte_Bearbeiten-Werkzeugleiste_-_Bildgalerie_einf.C3.BCgen

This change keeps the parameter in the JavaScript so it still can
be used in local translations and existing local translations don't
trick users into inserting $1's into the edit window.

Change-Id: I31826d1a3db51f22f46ae469864a23d7c8298e09
2014-06-03 20:06:04 +02:00
Translation updater bot b7bb38ff39 Localisation updates from https://translatewiki.net.
Change-Id: I0740e114515b7cf8df4255e538c8e282b671796f
2014-06-02 21:01:06 +00:00
paladox 8f4ee751f9 Updated documentation in WikiEditor.php
Change-Id: I195fda77a971dbe036fb2664789e6a5912ea80e1
2014-06-01 12:43:14 +01:00
Translation updater bot 9d60134996 Localisation updates from https://translatewiki.net.
Change-Id: I6e801f88f2eca90753dbcb93b56da335071e371b
2014-05-26 20:14:01 +00:00
Derk-Jan Hartman f64a3c26c6 Enable WikiEditor toolbar on iOS
Since we now have a full fledged mobile solution, I think we should
strive to have the site 'proper' work as much on any platform as
possible.

WikiEditor traditionally was not loaded on iOS.
No one really knows why this was not loaded. It can have been bugs or
just to 'slim down'. It works on iOS 6 and iOS 7, so for that reason
I'm now changing the blacklist in this respect. It might work with
earlier versions, but I can't really test that right now.

Bug: 63277
Change-Id: I605eb0e093b84203f1157d9e20788eaa0040ddbf
2014-05-26 14:34:17 +00:00
Derk-Jan Hartman 44c56d482c Convert from show()/hide() to using classes
jQuery's show/hide/fadeIn/fadeOut methods makes changes to the
style attributes of elements. That makes them rather hard to override
their visibility, without adding an entire API to the module to do so.

This replaces the default animations with one using classes to control
visibility and only animates the animatable properties using
the style attributes.

Follow-up to: Iadaae3fb9ae1899e12605d653b2688616b8f7c40

Change-Id: I4652ade66c6de864ee3e74b3817ed9b93967ce3d
2014-05-23 16:06:16 +02:00
Translation updater bot 45ad667876 Localisation updates from https://translatewiki.net.
Change-Id: I198e25baf4006998a611d2895b974d2a7c98f4bd
2014-05-20 19:06:14 +00:00
jenkins-bot 03801509ac Merge "Also remove NToC and TemplateEditor images" 2014-05-19 19:23:17 +00:00
Translation updater bot 3ee8ed4930 Localisation updates from https://translatewiki.net.
Change-Id: Idee0f2d00c21f105277ac0ec7092446549e61199
2014-05-16 20:01:53 +00:00
Translation updater bot 50decd2ddc Localisation updates from https://translatewiki.net.
Change-Id: I7927aba23175b961a66bb41823de0eb0b7922b6b
2014-05-15 20:33:44 +00:00
Derk-Jan Hartman 632509d278 Revert "Make the toolbar and dialogs enabled by default."
This has unexpected side effects
This reverts commit 5233d0781f.

Bug: 65331
Change-Id: Ic90475c95b402b3998ba328ea0b51e4cf87c89d5
2014-05-15 12:02:17 +02:00
Translation updater bot 7d3956a734 Localisation updates from https://translatewiki.net.
Change-Id: I34f781ecdd3c2003120b3c3da5a7c97e94a0d1d3
2014-05-14 19:36:44 +00:00
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