Commit graph

1033 commits

Author SHA1 Message Date
Derk-Jan Hartman dbbb722210 Only add WikiEditor for content model WikiText
Together with solving bug 29908, this makes the presence of the
toolbar consistent. It is added to pages handling wikitext.

Note that we provide the CodeEditor on all JS/CSS/Lua pages.

Bug: 24713
Bug: 24041
Change-Id: Iaa6b9a6c511380ed1669d8b95cba4a3ddc6f9ab6
2014-07-28 23:12:39 +00:00
Translation updater bot e50916e67b Localisation updates from https://translatewiki.net.
Change-Id: I0554a8b2eaec32354a7f4c840cb3a051fc812c82
2014-07-28 21:26:51 +02:00
Translation updater bot 8aaf143718 Localisation updates from https://translatewiki.net.
Change-Id: I7707f8073e526b43bcff215cf225d7b47bb82f7a
2014-07-25 23:08:13 +02:00
Translation updater bot cb8485c26a Localisation updates from https://translatewiki.net.
Change-Id: I1e4eb0436b72472a335ab3a219e4783a3abc3329
2014-07-23 22:54:09 +02:00
Translation updater bot 8975262b2d Localisation updates from https://translatewiki.net.
Change-Id: I64d958f27efa2eb1dae9ba3361d1806e63cb7805
2014-07-20 21:11:33 +02:00
Translation updater bot f5fcd50ce4 Localisation updates from https://translatewiki.net.
Change-Id: I2adce37a41603019ab2ddb3d0e3a9466cbc9fc56
2014-07-11 21:58:38 +02:00
Translation updater bot 32bb0b9815 Localisation updates from https://translatewiki.net.
Change-Id: Iab5991561c5804c42f0441dc3aa03f68fc733cd8
2014-07-04 21:34:53 +00:00
Translation updater bot 2aefe6a034 Localisation updates from https://translatewiki.net.
Change-Id: I1de6ca34b4a99fa329a0c6314d78f8f510f1d106
2014-06-29 18:47:32 +00:00
Translation updater bot 18863e3551 Localisation updates from https://translatewiki.net.
Change-Id: Ice22f6912d65e9296ffaf4eb992754cd5d3b01f2
2014-06-26 19:35:33 +00:00
Translation updater bot 4449e77bbc Localisation updates from https://translatewiki.net.
Change-Id: I6a8f1d95f3c09e1b03d0c0846f1d6cce29a3926e
2014-06-18 20:01:43 +00:00
jenkins-bot d039e3e4ab Merge "Toolbar: Fix dependencies of WikiEditor toolbar" 2014-06-16 21:36:17 +00:00
Translation updater bot 7af19e6820 Localisation updates from https://translatewiki.net.
Change-Id: I2fb6de17eac03a5cea985e8cd4faddeb11ad57a0
2014-06-16 19:57:20 +00:00
Derk-Jan Hartman 444146bfdc Toolbar: Fix dependencies of WikiEditor toolbar
These modules are actually used from the toolbar module and not the
toolbar.config module. An alternative toolbar configuration would run
into a problem because of this.

Change-Id: I91e9daa230f7c831eff1694e6685a7a650858f8a
2014-06-16 01:11:56 +02:00
Translation updater bot f28b63d2b6 Localisation updates from https://translatewiki.net.
Change-Id: I80186d1d0b9c0ecd9680898fe0492db10fe29786
2014-06-15 19:54:37 +00:00
Translation updater bot 6a532c7d53 Localisation updates from https://translatewiki.net.
Change-Id: I3d4728ff5eae497968855d546e1c5c2db4222be4
2014-06-11 20:42:10 +00:00
Translation updater bot 7913200261 Localisation updates from https://translatewiki.net.
Change-Id: Ie3607e2fb2cf0afb19e614dbade6d3f3d30fbe53
2014-06-09 20:32:29 +00:00
Translation updater bot d75e06e2f8 Localisation updates from https://translatewiki.net.
Change-Id: If61c7ce558a6b8897a56249600627860e600639a
2014-06-08 19:58:55 +00:00
Translation updater bot 7faba8859f Localisation updates from https://translatewiki.net.
Change-Id: I3b7d24455c9fc18fea800a5917b41c8fa2985b7b
2014-06-06 21:48:42 +00:00
Translation updater bot bcd01c99ab Localisation updates from https://translatewiki.net.
Change-Id: Ief05cfc8aaf40f1705716293f7a06a9be99e6969
2014-06-05 20:47:52 +00:00
jenkins-bot 6aba25048f Merge "Remove optional namespace prefixes from <gallery> example" 2014-06-05 19:49:36 +00:00
Translation updater bot bd05c14d38 Localisation updates from https://translatewiki.net.
Change-Id: I3f7ae481ebd39188c04def8de05aba6fdc63f500
2014-06-03 19:53:12 +00:00
jenkins-bot 388482c0b8 Merge "Enable WikiEditor toolbar on iOS" 2014-06-03 18:59:58 +00:00
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