Default value of this option will be $.uls.data.autonyms().
It can be set to limit language selection to a set of languages.
Updated examples, used a config variable wgULSLanguages to set this.
Change-Id: Ia322cbdcdb14f08619d2e4df5b23e2702841d147
This does not add much functionality. That will come in
future commits.
This commit has many cleanup, refactoring on the display settings,
language settings code.
Change-Id: I7fbc3ebb9b67c1afd80f159c2d82cd2a1c6bea74
Added license and upstream information and a
script to compile repoconfig automatically
from metadata.
also contains integration code
Change-Id: Ib39668249dd568a1f6017f0c08a3b9d1e2067ae4
Adjustments in the language layout to make it easy to scan through
the language list and distinguish the different script groups:
* Removed the empty spacing row between groups.
* Changed the maximum number of languages in a column.
* Changed the order of script groups for better discoverability.
Change-Id: If223ae65bfec256c56d6092628b3999dfd02a119
* Can add languages not in MW
* Can get rid of foo / bar names which include different scripts
* Can get rid of directionality marks
* PHP scripts to generate the jquery.uls.data.js is now independent of
mediawiki and moved the scripts to lib/jquery.uls/data
* No pretty printing for the jquery.uls.data.js and added a 'do not edit' comment.
* Related changes in RL module definition and example html
Change-Id: I9a360dbdec4e9312aa5c76f801424ff95a8550d6
Extend $.fn.uls render method to add additional rendering of display
settings link.
Add css for the new element.
Add display.png icon from the Agora icon set.
Change-Id: I7a29b4892be02526969b0dd786c74bdb7551c074
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.
Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
* use setlang parameter to change language preference
* language preference will be persistant for all users
* for anonymous users, cookie 'language' will be used
* for logged in users, preference 'language' will be used
* uselang parameter can be used for temporary switching
* language codes will be sanitized.
Change-Id: I2472aee9a7dcd824b622edd38e83f20212f09945
* Correct the dependencies for ext.uls.core, it need not depend on
mediawiki.Uri.
* Move the setlang function out of ULS core js.
* Add a callback function to the example.
Change-Id: Ie3598236b2a884580092194c57558ec109d20803
Non-ASCII characters broke the functionality.
Saving as UTF-8 fixes this.
Also removed an unneded <?php statement from a JS file and replaced
non-ASCII pretty apostrophes with straight ASCCI.
Change-Id: Ic6719fe0863bc5d8ae19abbf01cfbb7b2b714f12
* Remove jquery.viewport which was not able to give correct viewport
relative to container.
* The scroll syncing part is written by Niklas
Change-Id: I1cbeaa2a5c297deab7338f331d8db69c17aa2214
Introduce $.fn.lcd - displaying languages by categories.
Added the jquery.viewport.js module by Mika Tuupola (MIT license).
More tests for language utils.
Change-Id: I804b6da8ab0a2d518e17ae8bbd35e1c1da4bab3f
Gave script groups clear names and sorted them.
Documentation in comments.
Add tests to check that no script has been left behind.
Corrected Lath to Latn (thanks to testing).
Rename langdb.js to ext.uls.data.js
Add ResourceLoader module ext.uls.data
Change-Id: I91fafa94ffd1eaf2d12c954fe3a71064276533f9
* uses setlang attribute in URL to switch language
* introduced a language filter widget by extending
jquery.ui.autocomplete
* UI rendering is done by using SkinAfterContent hook
Change-Id: Ifa63a04ba1d060b6db8fba14bb868045cf6b97c3
* Basic extension code with i18n
* Adds a link to personal links to trigger ULS
* Core uls javascript code, to plug to the given trigger.
* Qunit, PHPUnit framework in place.
* and lot of TODOs and FIXMEs
Patch set 2:
* A tiny whitespace fix.
Change-Id: I300647a21e0b7f65b7d9dc6101014ea9389c9f2a