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
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
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
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
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
In I0f53a68e50fc950d7f407ee81b2bf0d81ef4948d and
I47119d6cfdde4b40ff5b07be0c7d327b80598142 I forgot to remove the images
of the corresponding modules.
Change-Id: I8de59f6ce54d0cc7f67f56853386d4338c693b98
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
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