Santhosh Thottingal
a6beeff043
Correct a language name to make all phpunit tests pass
...
CLDR had updated the language name for ms
Change-Id: I661128c1d237bb169e17ee605e6fa19054a476fe
2014-12-09 11:48:11 +05:30
Niklas Laxström
bd52ae0538
ResourceLoaderULSModule::getModifiedTime updates continuously
...
Fix is simple: cache the hash of content per language
Added PHPUnit test for the same
Bug: 56856
Change-Id: I590b27af220d6e790c70728062d1a04c098b3d11
2013-11-11 16:12:07 +05:30
Santhosh Thottingal
243972403b
Use MW_INSTALL_PATH for test path if defined
...
Change-Id: Ib4eedb61f37e3b8a5c834dc417342543771a2d33
2013-10-09 17:54:17 +05:30
Siebrand Mazeland
102f257427
Fix CodeSniffer errors and warnings
...
More fixes will be submitted upstream.
Change-Id: Ib22997f8756537b063fd6eed3f1f74f3eda315d7
2013-08-05 05:55:03 +02:00
Siebrand Mazeland
98d7a8d9f9
Reformat code.
...
Change-Id: Ic0a5b37fa01b4a13023e66af0518ea94919ee880
2012-11-11 10:34:10 +01:00
Siebrand Mazeland
e1a4f7f0cb
After training the PHPStorm code formatter.
...
See https://github.com/siebrand/MediaWiki-PHPStorm
Issue remains with anonymous functions in JavaScript.
Change-Id: I2b520f8df127452acf02deb659277a6465e6ca59
2012-09-17 17:10:59 -07:00
Santhosh Thottingal
baa3aae6cc
Fix the LanguageNameSearch::search call used in phpunit test
...
Change-Id: Ib95e0738f6a6866dd7e7d84be0c0c6a03a671ce7
2012-08-30 21:54:10 +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
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
Santhosh Thottingal
8527e33475
Skeleton extension for Universal Language Selector
...
* 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
2012-06-15 10:49:18 +03:00