Niklas Laxström
c37be51fa0
LanguageNameIndexer: Rename variables to make this code more understandable
...
Change-Id: Ib328bf49b46b222b04fcfe60359baff2fbbc3a7f
2016-06-15 11:21:34 +02:00
Kunal Mehta
6b8c33e763
build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
...
Also added "composer fix" command.
Change-Id: I6f3f29f03abb607fbca9cec6f140875f2a3468a0
2016-05-09 18:30:34 -07:00
Siebrand Mazeland
f8487a54eb
Use single quotes where possible
...
Change-Id: I8c0098e4840d7eff16cf5818f2247b134946d77b
2016-03-07 07:13:10 +00:00
Niklas Laxström
f3a05e271b
Remove not useful comments
...
Change-Id: I99c30a6c6d6b59e86e5e3efe31f38439c5e95095
2015-08-28 18:24:49 +02:00
Timo Tijhof
c6d71015ff
Various clean up
...
Files:
* Consistently have one (1) new line at EOF
(.gitignore, *.css, *.sh)
JSHint:
* Separate the common (general Wikimedia code conventions) from
the local more stricter rules (nice work!).
Maintenance:
* Use simplified $IP definition where getenv is only called once.
Based on http://git.io/ve-mw-36fc3b59-makeStaticLoader
JavaScript:
* Use the same closure in all files:
- No need for "undefined".
- One linebreak between license header and start of closure
(sometimes there were 1 or 2 empty lines).
- ext.uls.ime.js: No need for "document" (redundant in general,
but especially as it wasn't used anywhere in this file).
- Use "$, mw" for all ext.* modules (one of them used "mw, $").
Change-Id: Iba5dab14bbc3fbfc9f8fe96dd2d95529587a69aa
2014-02-08 00:11:50 -08:00
Niklas Laxström
3a6e5d312a
Code conventions
...
Change-Id: I0f58d4675cf26050ea1e2f58fb748e0aed74b54d
2013-08-20 05:34:16 +00:00
Siebrand Mazeland
7ad76c6b64
Coding style updates
...
Fix issues pointed out by PHP Code Sniffer.
Change-Id: I31279cda12101bb0ad66f104c9cd0e11019d46f1
2013-06-17 16:48:41 +02:00
Siebrand Mazeland
4a1035dcbf
Remove last bits of MediaWiki 1.19 compatibility
...
Compatibility with MediaWiki 1.19 had already been dropped and this hadn't
been removed yet.
Change-Id: I63788ef1d4a6eb87e4280ea2625579a7874eaff8
2013-06-17 16:44:00 +02:00
Siebrand Mazeland
583ce45a53
Remove unused variable
...
Change-Id: If8da6e911f98c833817a46ca047a52ac83de44bd
2013-06-17 16:25:12 +02:00
Amir E. Aharoni
c9a5ec7f19
Add backward compatibility for fetchLanguageNames
...
Bug: 46737
Change-Id: Ife7c2834c2b2c4f2619b4a5d8e0b0aa1db595984
2013-04-30 16:01:47 +03:00
Siebrand Mazeland
7be6eeaa2e
Fix possible variable pollution
...
Change-Id: I93b3329d4ff2d8affac379d10baec892c46481f0
2012-11-12 07:45:12 +01:00
Reedy
0f0732f865
Fixup a few minor documentation issues
...
Added some newlines
Left a FIXME in LanguageNameIndexer.php
Losslessly compressed display.png
Change-Id: I884b423d3812ddb964a6a70f75a6331a73371165
2012-08-19 01:19:46 +01: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