Settings text on the main ULS view can grow longer for some languages running out of space.
This change does the following to avoid that:
* Removes setting section explanations and shows them as a tooltip on hover.
* Adjusts style for adjusting space between setting sections.
* Keyboard image has been adjusted to match the display settings image.
Change-Id: I42ec5cb35b3d4df977a6eff28ad55891f4135356
* It can be a user preference using the ULS Input method settings
* It can be a mediaWiki configuration $wgULSIMEEnabled
Change-Id: Ic5fb4932d62ab18db5d3b10ca81c0f6bfe9fd29e
* Update jquery.i18n - if messageLocationResolver returns false for
a locale, no server hit will be attempted
* Refactor i18n preparation code to a new method
* Use the ULS RL hooks to find out to which locales it is localized,
pass that list to js to avoid hitting server.
* Also avoid directory scanning in each request by putting
the locale list in cache
Fixes Bug 41454
Change-Id: I0c923b35db01b884e2dd55873dd5fb7384434645
This was added in the assumption that there will be common code between
input settings and font settings. After development of both, it turns out
that there is not much common code
Change-Id: Id424122e515e9fa1f74030b0077c35835e6f15fa
That list is small and we can load all the languages initially.
Fixes the scroll not appearing issue. Also fixes English being
appended to America region on scroll
Change-Id: Ic70d3ea30dc0ccf33a172361e0b50c07ed8ff82b
* Just use key,value system and drop the concept of groups
* Abstract the preferences for each type of systems(display, input)
to have meaningful APIs
Change-Id: I25423667adf6ca181a4027cdfc4ed378f36a94ba
"Miriam" was used for initial experimentation. It shouldn't be
the default, becase people complain repeatedly, and rightly, that
it's too small and hard to read.
Change-Id: Ie791ed66acdf71a20275884c39208602bddb06cc
The Display settings template is wrapped in a new <div>
to allow easy $template.find() queries.
This change requires a change in jquery.webfonts, that makes
the lib function return an empty list when there are no fonts:
https://github.com/wikimedia/jquery.webfonts/pull/1
Change-Id: Ief5a920439df340360a44ca95de2a7f070b96d5d
It seems redundant to me: There are one or two dropdown menus for
selecting fonts, with pretty clear labels.
Change-Id: If6134997b7c34eeb32efed1dcee13c61d8af7750
Assure that the language buttons in the display settings always
show the content and the UI language and that all the buttons are
filled with some language (by assuming major world languages if
nothing more likely was found).
Also other fixes:
* Add lang and dir attributes for the languages.
* General refactoring and better variable names.
Change-Id: Ie6a93439237b389179ebc6c4a5df34c1566a5e12
Added whitespace for readability
and comments to understand the different parts of the HTML template.
Also removed an unneeded closing </span>.
The output is not supposed to change.
Change-Id: I43891170eb6fac03370cf1d71cd399d2de3c4da8
Added it as non-default font for following languages
en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
Change-Id: Ia4b18cf0429dc9e07c89b84cdae16a8325806618
Refactored the showing and hiding functionality of tipsy tooltip.
Also made the class name clearer.
Change-Id: I54972e3c8039e97cceced9fce3abb10d34fbf098