Commit Graph

273 Commits

Author SHA1 Message Date
Reedy
254e6da88f Add header to jquery.uls.data to say it's generated programatically
Also add the same comment to the ulsdata2json.php script

Change-Id: I61f795ea6e4545e7b668f171f759a231cc995437
2012-08-12 16:57:04 +01:00
Santhosh Thottingal
db0606f2fb Add langnames.ser
Change-Id: I49351f62bb786961c49aa08c18de05347ab2ef43
2012-08-10 12:07:35 +05:30
Santhosh Thottingal
76f9038aff Allow typo in search key
* Introduce Levenshtein algorithm
* New API param 'typos' to give number of typos allowed
* test cases

Change-Id: I22bf34d08a910d1509d7eab5adc292eadc9a7c7d
2012-08-03 07:33:12 +00:00
Santhosh Thottingal
878313d2ec Rearranging Files
* Seperating standalone jQuery ULS plugin and extension related code
* lib/jquery.uls can be submodule, but not now.

Change-Id: I7d9cb47daa88dd1a27ceda602a08cab0073caf33
2012-08-03 12:24:04 +05:30
Santhosh Thottingal
3d9807e7f2 Fix php warnings.
Change-Id: Icd1302f7db425157def4771ffe0d7c816164eb23
2012-07-31 16:03:52 +05:30
Santhosh Thottingal
08c14dafa4 Cross-language language name search
Implementation of Also Written As language name
search algorithm.
See http://etherpad.wikimedia.org/l10n-uls-language-search

Change-Id: Iff84408c531b650a44d031b63d5c823737cceafc
2012-07-30 14:08:26 +05:30
Niklas Laxström
2c82ff0100 Enable syntax highlighting inside heredoc
Change-Id: I6e77455fac58289dfdca8a6aa72cd305f9b8d7b3
2012-07-19 10:21:18 +00:00
Amir E. Aharoni
7f3b3b1210 Save source files as UTF-8
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
2012-07-18 15:29:17 +03:00
Siebrand Mazeland
6cc7c75458 Merge "Implement dual license GPLv2 and MIT." 2012-07-18 05:35:30 +00:00
Amir E. Aharoni
2775e6f5b3 Update tests and sync DBs after reordering regions
Followup I6fcf34dd

Change-Id: I2369f97ec978892a8db9fa15c17885de9cc841ec
2012-07-15 15:35:46 +00:00
Siebrand Mazeland
4041e7dca1 Implement dual license GPLv2 and MIT.
Should only be merged after +1 by all current contributors that are added as
reviewers.

Change-Id: Ie0480019524fa7b45ec6635d92b63e8b7880a2a0
2012-07-13 15:16:06 -04:00
Amir E. Aharoni
58bc495d6f Reorder regions in region groups
The order of the regions in each group was random and confusing.
Now it's reordered so it corresponds to the map.

Change-Id: I6fcf34dd97808f26eabbef51665e7d2743a6cd85
2012-07-10 10:58:43 -04:00
Siebrand Mazeland
78ccbc57e6 Updates for language database (~75 codes added).
* Added codes used on translatewiki.net.
* Uncommented and updated a few codes.
* Put a few comments on a separate line, because when trailing, the conversion script b0rks.
* Updated the script groups with new scripts.
* Corrected the tests.

Change-Id: Ia53195834c2afc908d57d2f396bc317fadb2c7a9
2012-07-03 17:02:25 +03:00
Amir E. Aharoni
47b1a7f16f Fixes of information for several languages.
Change-Id: Ic499a2ea1874f07958534d0220ffb232237fcf5d
2012-07-03 09:00:22 +03:00
Amir E. Aharoni
765e9be3fd Fixing region of language id
Change-Id: I3acd05b6623d26571c6a9a35b675ee097c720b84
2012-07-02 16:21:01 +03:00
Amir E. Aharoni
15a45b3764 Rename 'regions' section to 'importanceInRegions'
The name is more meaningful and not overloaded.

Change-Id: I6fe2f88de1c724a932be6df0041e54e2767e7c36
2012-07-02 14:46:16 +03:00
Amir E. Aharoni
d082d34ddc Removed Rusyn and Ukrainian from NA
Change-Id: Ia53795a44b7e7ae20988cec4bc4d6c36d057fb36
2012-07-01 12:44:31 +03:00
Santhosh Thottingal
720a3f3885 Add autonyms to language database
Change-Id: Ifad5721485634142505a37ba00ca68c744781103
2012-06-30 17:20:07 +05:30
Amir E. Aharoni
03df48a609 Created script groups, introduce $.uls.data
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
2012-06-27 15:08:07 +05:30
Amir E. Aharoni
240bd3be45 Fixing comments in YAML
With the old way the comments were written, some lines were skipped.

Change-Id: I420a9620611aae3a2233cbf1af05d67753387031
2012-06-27 08:16:23 +03:00
Amir E. Aharoni
7dfd131884 Adding spaces after commas in lists
Lists without spaces after commas are considered one string,
which is probably not the thing that we want.

Change-Id: I738ecadd6d33089e63e8e454b3e89efb137aade0
2012-06-26 22:58:17 +03:00
Niklas Laxström
1b8a56ba20 Updated langdb
Change-Id: Id76894de23aa763f84560f774b7c6bce541a5739
2012-06-26 11:39:14 +00:00
Niklas Laxström
16d2b1c33d Proof of concept language database database
Change-Id: I5d6b9ff4ce46c8e2d48bf56ab08f093287672467
2012-06-22 17:34:43 +05:30