Commit graph

2 commits

Author SHA1 Message Date
Amir E. Aharoni 3fa0f7fb22 Prevent jumbling up of footnote numbers after LTR words in RTL wikis
This happens while editing in VisualEditor and ContentTranslation.

This is done by adding unicode-bidi: embed to .mw-ref.

Bug: T105605
Change-Id: I1d03063cad1fa0f2ae8cc792aaaefc715066f17e
2015-07-11 22:55:26 +03:00
Marc Ordinas i Llopis aa8fed3a3d Use CSS to style Parsoid's Cite HTML
* Add a new module ext.cite.style to load the new CSS.
* Add a ResourceLoaderFileModule that adds the correct CSS file
  depending on the content language, so that the visual style of
  citations can be changed per-language.

The main ext.cite.style.css file renders similarly to MediaWiki's
default Cite style. Also, an example CSS for Farsi numbering is
included.

Bug: T86782
Change-Id: I487095df8a7c4241a14f7b4480360f6774130bec
2015-06-08 21:58:15 +01:00