Commit graph

10 commits

Author SHA1 Message Date
Alex Monk fb4f71a46b Move WikiEditor's special character data and messages out to core
Core part done in If9c5cdbe

Bug: T91608
Change-Id: Ifd0ed245ca9d1209b3dad5334f3fcfca428ceeec
2015-03-27 22:46:24 +00:00
Fomafix 5c36a20623 Move hardcoded parsed thumbnail html from i18n to config
Also update the actual HTML with what the current parser outputs:
* width:104px -> width:102px (2px in addition to 100px image width)
* No more "title" attribute on the outer <a>.

And reduce duplication in the message:
* Re-use "thumbnail-more" message.
* Re-use "wikieditor-toolbar-help-content-file-caption" message.

Change-Id: I25f0763b2274ebdcf681c78af277a9be302350a1
2015-03-14 20:41:11 +01:00
Fomafix a42f39dd7f Replace 104px by 102px for width of thumbnail div
[[File:Example.png|thumb|100px]]
generates a surrounding div with a width of 102px.

Change-Id: Ie2eb46452de607b83abb5f61af5782dedbf7aa84
2015-03-14 18:19:30 +00:00
Derk-Jan Hartman 2946fcd56d Remove reference to magnify-clip.png
magnify-clip.png was recently removed from the core styles directory,
but the Help panel of the WikiEditor still references it by way of i18n
message: wikieditor-toolbar-help-content-file-result

Also remove unused local copy

Bug: T85920
Change-Id: Icc17092c0f854360b2f2999b8f153827bf194c0c
2015-01-07 10:19:35 +01:00
Derk-Jan Hartman 3e04196b79 Toolbar help: Make magic word from help string a param
Instead of having this magic word in the translation message, make it a
parameter of the translation message and retrieve it from
wgWikiEditorMagicWords.

Bug: T40831
Change-Id: Id3155221aa61bc86da2d90000dedab36cbe9dd96
2014-12-08 12:22:49 +01:00
Derk-Jan Hartman 360419f397 Remove previewDialog
This was never launched, and is no longer working either.

Change-Id: Ic49e84b8a91da701673949a8d441c788a4feaa22
2014-11-30 20:25:22 +01: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
Derk-Jan Hartman e53521b32b WikiEditor: Remove unmaintained template editor modules
Change-Id: I47119d6cfdde4b40ff5b07be0c7d327b80598142
2014-04-03 17:11:10 +02:00
Derk-Jan Hartman 9bb94e8319 WikiEditor: Remove old unmaintained ToC module
Change-Id: I0f53a68e50fc950d7f407ee81b2bf0d81ef4948d
2014-04-03 17:02:32 +02:00
Siebrand Mazeland 11f0e1ab32 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Id90e104793d3ca8243d0ef918b9bc91cf474c36d
2014-03-29 17:14:05 +01:00