Commit Graph

35 Commits

Author SHA1 Message Date
Amir E. Aharoni
0e0098fc3b Redirect fil language (Filipino) to tl (Tagalog) 2013-06-19 11:30:29 -07:00
Amir E. Aharoni
452994efa5 Added the Syriac language 2013-05-21 10:00:52 +03:00
Liangent
81d8994115 wuu (吴语) should AS (Asia) instead of EU (Europe). 2013-04-26 14:35:57 +08:00
Amir E. Aharoni
986831b124 Add Zyyy for an undetermined script and use it accordingly 2013-04-25 18:10:45 +03:00
Amir E. Aharoni
49f623c61f Fix Pali language name 2013-02-19 00:15:20 +05:30
Amir E. Aharoni
8b4c5444b8 Merge branch 'no-norsk' into 2013-01-09-fixes 2013-01-09 13:13:19 +02:00
Amir E. Aharoni
989c079ad6 Change region of frc to America
This is Cajun French, which is only spoken in America and not Europe.
2013-01-08 22:45:09 +02:00
Amir E. Aharoni
5828dc2374 Add autonym to code 'no' 2013-01-08 22:37:50 +02:00
Santhosh Thottingal
0e61876af5 Merge branch 'extra_languages' of git://github.com/amire80/jquery.uls into amire80-extra_languages
Conflicts:
	src/jquery.uls.data.js
	src/jquery.uls.data.utils.js

Change-Id: I9c321891707b0d68328f4e4c8be1bd451794072d
2013-01-07 15:45:48 +05:30
Amir E. Aharoni
90a095a6cf Merge branch 'add_brx' into add_brx_rebase 2013-01-07 00:15:07 +02:00
Amir E. Aharoni
e97827bb83 Add the Bodo language (brx) 2013-01-07 00:01:48 +02:00
Amir E. Aharoni
b35d2ebc3b Add redirect bat-smg -> sgs 2013-01-06 20:29:30 +02:00
Amir E. Aharoni
98874233c1 Some more fixes in redirects and code
* Redirect fiu-vro to vro.
* Redirect roa-rup to rup.
* Redirect zh-yue to yue.
* Remove pru. Only prg is the right code for Prussian.
  pru is a code of a language in Indonesia, about which
  there's very little information, so it's better to remove it.
2013-01-04 21:33:43 +02:00
Amir E. Aharoni
f822331b8b Redirect zh-min-nan to nan
Fixes bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=43569
2013-01-04 18:54:50 +02:00
Amir E. Aharoni
d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni
829c827483 Adding a special region
This is supposed to allow adding special languages.

This region's section is hidden by default and can be enabled by
passing different options to the lcd object.
2013-01-02 12:58:29 +02:00
Amir E. Aharoni
2eb696d28c Comments 2012-12-30 21:04:47 +02:00
Amir E. Aharoni
2b4eb1ca19 Spelling 2012-12-30 20:48:46 +02:00
Amir E. Aharoni
683ad727e1 Add aliases to the languages that need them 2012-12-30 19:14:51 +02:00
Amir E. Aharoni
8f75d69997 Add aliases and tests for isRedirect 2012-12-17 10:45:30 +02:00
Amir E. Aharoni
33819e6d16 Aliases cleanup. 2012-12-17 10:45:30 +02:00
amire80
36671284fd Add jv-java for support in web fonts
There is no content or localization in that language, but it will be
useful for web fonts.
2012-12-17 10:45:30 +02:00
amire80
593f8452f1 Update some codes with multiple scripts
This is a temporary measure on the way to implementing
language code aliasing.

Removed double scripts and indications of script names in parentheses.
2012-12-17 10:45:30 +02:00
Siebrand Mazeland
48471d02a2 Update autonyms for es-419 and es-formal
Fixes issue 17.
2012-10-24 10:46:28 +02:00
Niklas Laxström
e63aaf90bb Fix ha names per https://gerrit.wikimedia.org/r/24761 2012-09-24 02:00:30 +03:00
Amir E. Aharoni
da89d0088b (bug 39946) Add Portuguese to WW
Change-Id: I1b54971ae4e4d1ec9e1eac98a46291504d53bb61
2012-09-03 20:04:46 +03:00
Santhosh Thottingal
085f9f9e87 Fix Bug 39926 - Australia region inconsistent visibility
Removed AU region, using PA instead.

Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Amir E. Aharoni
e63a1e7eaf (bug 38679) Replacing regions NA, LA, SA with AM
Change-Id: Ib484dd9cb0453ec1bd214e0196119b14d96ac128
2012-09-01 10:09:16 +03:00
Niklas Laxström
a4f103e78f Added/fixed some sami languages
Names taken from (en|fi).wiktionary.org

Change-Id: I6b08417e9a9d65753028d6c5f151b89485542484
2012-08-30 14:35:48 +00:00
Santhosh Thottingal
035cfb08c4 Lazy loading of regions
Also adds landing page feature. But candidate list is hardcoded
for now. Example html file updated.

show method of lcd renamed to render.

Introduced a trigger searchclear
Introduced mw.uls.changeLanguage, setPreviousLanguages
getPreviousLanguages and getBrowserLanguage methods

Region groups re-numbered - from [4, 1, 2, 3] to [1, 2, 3, 4].

Change-Id: Iac1edf628708e6f40e41578df70d40c42f15289a
2012-08-30 14:26:57 +03:00
Amir E. Aharoni
ee3cd5c8d1 Add basic information and utils for RTL scripts
Change-Id: Ie01b58cd3627e8f0bf726f0bb296bffb25efcbb5
2012-08-22 18:16:01 +03:00
Amir E. Aharoni
9ba1a77c7b Added French to NA (Quebec), SA (Guiana) and WW
Also updated tests accordingly.
Patch originally proposed by Aude.

Change-Id: Id83f6fb80d394e6fac4d7486ba2feae9e9c5bd99
2012-08-15 09:37:16 +03:00
Amir E. Aharoni
8f1860d8bd Partly reverting the langdb
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
2012-08-14 16:46:11 +03:00
pginer
a9dfdd28b4 Fixes to avoid fragmentation in the language list
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
2012-08-14 13:53:03 +03:00
Niklas Laxström
a2e3671a26 Added autonyms directly to langdb.yaml
* 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
2012-08-14 10:19:38 +00:00