Commit Graph

1641 Commits

Author SHA1 Message Date
Santhosh Thottingal
8a570ec603 Updated README
Change-Id: Iddf21725a939884e7d45ae6520d6876b889ab6c5
2012-09-23 21:59:18 -07:00
Santhosh Thottingal
a13f9b739d Internationalize ULS
* Integrate jquery.i18n
* Update jquery.uls from upstream and use the build version

Change-Id: I523444b1f6b177f14a4799a455a16a14649b0e1b
2012-09-23 13:12:45 -07: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
569b09712c Wrong exclude selector for webfonts
* It is not textbox. It is textarea. :(

Change-Id: Ib6b170fe09101448ccf231c5c3244b7ad3f7b291
2012-09-17 09:25:48 -07:00
Siebrand
d4a46dccd2 Merge "Fix Bug 39560 - Monospace font setting overridden" 2012-09-16 16:53:50 +00:00
Translation updater bot
e1e51bacaa Localisation updates from http://translatewiki.net.
Change-Id: I7ff1d84288b76155612b73fa16739f8d1e371edb
2012-09-15 19:54:36 +00:00
Santhosh Thottingal
6e1f652abc Update test cases and remove references to AU region
AU region does not exist, It was merged with PA

Change-Id: Icb0e8ec92b85db3b771d32c8728c02fd09c29a41
2012-09-14 22:17:15 -07:00
Santhosh Thottingal
ac79f8a205 Fix the broken default module rendering
defaultModule option for language settings is module name string
and not the module itself

Change-Id: Ief84cc723157df43c7ec57d6576a707df09b9e2d
2012-09-12 15:30:33 -07:00
Santhosh Thottingal
5c07275300 Fix Bug 39686 - Cancel button in settings should go to the previous context
* Add an onClose option for language settings
* Add a close method to language settings and display settings
* some documentation and cleanup

Change-Id: I3040e0740bd8a9f9f7d3ad508a3003415a24e7a9
2012-09-12 10:52:58 +05:30
Translation updater bot
997e0ac512 Localisation updates from http://translatewiki.net.
Change-Id: I479bebd142d4443ebe5eacd677032bbe943dfb61
2012-09-11 19:35:42 +00:00
Niklas Laxström
ceb1a80eea ext.uls.geoclient should not break if it runs before ext.uls.init
Change-Id: If4c8203bccd4287a94de6b22210f067852241614
2012-09-09 07:55:23 +00:00
Santhosh Thottingal
5b728ec413 User region names instead of region codes
* Till i18n is in place, use a workaround to show region names in
  English

Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal
0b2b993b19 Correct selectors, and formatting
Fix the issues from Ib2c8cfed
And for ID based selectors removed the element name.

Change-Id: I0016246c3a32b2b3696a1da1c04f507275c2267c
2012-09-07 18:55:02 +05:30
Santhosh Thottingal
805482d9cd Fix Bug 39529 - Display settings section should be selected by default
* add a parameter acitve to renderModule so that it is highlighted
  and active
* move the default module render call to renderModule method

Change-Id: I5dca8586dddf1065b4e85642a40c3558f0b6586b
2012-09-07 17:25:02 +05:30
Santhosh Thottingal
5b3f7cc269 Whitespace cleanup, remove deprecated methods
* Fixed many white space issues- mainly whitespace missing before
  function start paranthesis eg: function()
* Removed the deprecated live methods and replaced with on
* Added file documentation for ext.uls.geoclient

Change-Id: Ib2c8cfed1a6ff3859495e707680d5c19882a33e8
2012-09-07 16:47:03 +05:30
Nikerabbit
d29364989f Merge changes I83d4808a,If8ea8c1f
* changes:
  JsHint fixes - Move the invocation into the parens that contain the function.
  Fix Bug 39096 - Narayam compatibility with ULS
2012-09-07 11:07:10 +00:00
Santhosh Thottingal
5ce0dac72d JsHint fixes - Move the invocation into the parens that contain the function.
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
2012-09-07 13:46:12 +05:30
Santhosh Thottingal
df34d47723 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal
6d9bb6f6a5 (bug 39833) Make language code search case insensitive
Change-Id: I67b98f058f969cd2fe9fa22085f8f781b29dce3f
2012-09-06 09:59:35 +00:00
Santhosh Thottingal
b7d61c3607 Fix Bug 39930 - Common languages not always shown in the Worldwide region
Change-Id: I764af7ad88cf79e9e07b96f899f352ad3082df45
2012-09-06 14:15:05 +05:30
Santhosh Thottingal
cc1cca33d7 Fix Bug 39560 - Monospace font setting overridden
* use the exclude option from jquery.webfonts

Change-Id: I5c35c848197ceae0def6cbc31249f887b962365b
2012-09-06 11:18:11 +05:30
Santhosh Thottingal
bad1394c6a Fix the broken region links in 'noresults' screen.
It was commented out in some previous commits.
Also correct the region code of America from NA to AM

Change-Id: I6cec2560393134de1190291e1f49bc0ac4280af0
2012-09-05 18:15:45 +05:30
Santhosh Thottingal
8134f523dc Add grunt to jquery.uls
This library is supposed to be hosted outside WMF gerrit. So adding a
build, test system.
* Add js lint and css lint
* minifier for css and js
* css lint does not pass now.

Change-Id: Iaadfad786f5de4b2ab95e24d3ea4f1d21952af75
2012-09-05 15:03:54 +03:00
Santhosh Thottingal
62a8d4f8fd Update version from upstream
* Adds exclude option

Change-Id: Iaa220abf0bc11c26b13a481e1fbf3b307a0e9d0b
2012-09-05 13:46:58 +05:30
Santhosh Thottingal
dd3d214cb5 Misc jshint fixes
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
  immediately invoked.

Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
2012-09-04 16:02:28 +05:30
Amir E. Aharoni
126af493b7 (bug 39946) Add Portuguese to WW
Change-Id: I1b54971ae4e4d1ec9e1eac98a46291504d53bb61
2012-09-03 20:04:46 +03:00
Siebrand
b4b3a4894d Merge "Fix Bug 39921 - World wide languages need not be repeated in all regions." 2012-09-03 16:58:27 +00:00
Siebrand
65f63a143b Merge "Fix Bug 39926 - Australia region inconsistent visibility" 2012-09-03 16:39:54 +00:00
Siebrand
9b185f9f35 Merge "Fix Bug 39829 - Language Selection does not work while using Language Code" 2012-09-03 16:35:12 +00:00
Santhosh Thottingal
97cbd51b49 Fix Bug 39922 - The "No results found" view lacks suggested languages
noresultsview is part of uls.lcd now, moved the html template too.

Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
Santhosh Thottingal
9354d197d3 Fix Bug 39926 - Australia region inconsistent visibility
Removed AU region, using PA instead.

Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Santhosh Thottingal
3609e1f42e Fix Bug 39829 - Language Selection does not work while using Language Code
This happens when you type language code and hit enter very fast, without
a pause. A matched language is not available when enter is hit, so it goes
noop.

Handled this special case by checking whether the input is a valid language
code and calling onselect on it.

Change-Id: Icaf809f8db8162264d990247a164449b02b2f418
2012-09-03 18:18:53 +05:30
Santhosh Thottingal
7a64e48321 Fix Bug 39921 - World wide languages need not be repeated in all regions.
Change-Id: I4470a2a7976df17f6f0f8f97d15ce12163cc3c27
2012-09-03 18:10:31 +05:30
Niklas Laxström
01b41b9783 Message consistency
* Removed title case
* "language used for menus"

Change-Id: If5c0323f5e49f2e71a3b6257b62ce5a08c74704c
2012-09-03 09:10:08 +00:00
Santhosh Thottingal
ad4b091796 (bug 39687) Better title for display language picker
Change the language picker title to
"Select display language" when accessed from display settings

Change-Id: I7396dcfd7f33faa8bfa69f028bbf9e734e6b0b75
2012-09-03 08:57:37 +00:00
Santhosh Thottingal
472cb8ba55 Fix Bug 39535 Recent languages in languages settings
* Refactor the code for frequent languages and introduce
  mw.uls.getFrequentLanguageList
* Use it for showing previous languages in language settings
* Show the frequent/common language list in the language selector
  opened from display settings.

Change-Id: Ic0f8ea6b9e9ba137b22649e8425fce8014ad456c
2012-09-03 08:46:47 +00:00
Santhosh Thottingal
c3201d95a7 Fix Bug 39733 - Setlang should clear uselang
When setlang and uselang given, setlang take precedence

Change-Id: I749647985932fe52c3c0d417678d98cd017f1f4d
2012-09-03 11:49:29 +05:30
Niklas Laxström
dc163127e3 Language detection was overriding language for logged in users
Change-Id: I491e429b6ea352c67bdc3b63acf191e187059fde
2012-09-01 19:09:40 +00:00
Amir E. Aharoni
de3abc3315 (bug 38679) Replacing regions NA, LA, SA with AM
Change-Id: Ib484dd9cb0453ec1bd214e0196119b14d96ac128
2012-09-01 10:09:16 +03:00
Translation updater bot
acaddfcac4 Localisation updates from http://translatewiki.net.
Change-Id: Ie356a0e961f479f5384317aad5fddeb8c260035e
2012-08-31 19:53:39 +00:00
Santhosh
953e0fb60b Merge "Fix to allow using the ULS when it is bigger than the viewport" 2012-08-31 11:03:10 +00:00
Nikerabbit
be20d2f6e1 Merge "Filtering out languages that the ULS doesn't recognize" 2012-08-31 10:49:56 +00:00
Niklas Laxström
b1fad2c1bb I18n#1473: Use preferred language for anonymous users
Change-Id: I25833bb4c35453bbb055b4782d996604c93ef7db
2012-08-31 10:31:11 +00:00
pginer
70b0dc79fb Fix to allow using the ULS when it is bigger than the viewport
Small fix that make global scrolling to affect the ULS (using absolute positioning instead of fixed).
It solves the problem behind bug 39414 without the need for making the window draggable.

Change-Id: Icc3ca81c4b48040b38a5efb42422bdb53e0e2422
2012-08-31 12:16:11 +02:00
Amir E. Aharoni
b0f4742eb1 Filtering out languages that the ULS doesn't recognize
Change-Id: Ifda0caa640434254cf99c25a70887126f83427d2
2012-08-31 08:29:34 +03:00
Santhosh Thottingal
47e852f2e5 Fix Bug 39800 Tooltip of ULS search results should be in current UI language
Change-Id: If930c2035b2bd01764d109fcb9ad8e3838fd9cb5
2012-08-31 10:22:29 +05:30
Santhosh Thottingal
b586f4795e ext.uls.preferences need mediawiki.api
Change-Id: I8c8e9026b0d161b66609c7491451bac44ed0b5c9
2012-08-30 23:53:18 +05:30
Amir E. Aharoni
8974e61984 Fix tests after regions renumbering
Change-Id: I7bcb561508d6410334d1d4e1c4508911820fc537
2012-08-30 21:04:18 +03:00
Siebrand
46a978b9f7 Merge "Added/fixed some sami languages" 2012-08-30 16:28:05 +00:00
Santhosh Thottingal
baa3aae6cc Fix the LanguageNameSearch::search call used in phpunit test
Change-Id: Ib95e0738f6a6866dd7e7d84be0c0c6a03a671ce7
2012-08-30 21:54:10 +05:30