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
Multiple scripts and autonyms are not currently supported by ULS utils.
I commented out the problematic lines and left the current de-facto
situation in Wikipedia.
This is a TODO item, but it needs proper specification.
Also updated the tests somewhat.
Change-Id: I8cdc6ae430f5bb5af4b1890abf6e71a91b6beb3d
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
* if the search string is language code, select it
* else if the autocompletion available select it
* else select the first language matching the query
Change-Id: If66f5c547a471026b7b2aebcde3c3b056e1c2917
There are languges starting with those letters, but without autonyms
Add a null check for undefined autonyms to prevent js error
Change-Id: I88a1d79b3bb23beac7238c1e8817cd6eac614613
Added a utility callback function to sort languages by autonym.
Added CSS fix for group separatos.
Change-Id: I73c7c6518a85e4ea7999be3ef92a121e877610e8
* Do not hit search API if there are results to show from front end
* Avoid the lcd exists check
* slightly reduce the timeout of search term typing
* show autofill for search api results too.
* correct the tooltip text of results.
Change-Id: Id102fbf3bc09eb926d9e36f125ed6291943007f9
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.
Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33