lhc/web/wiklou.git
9 years agoMerge "api.php: Use $wgRequest to retrieve User-agent string"
jenkins-bot [Wed, 23 Jul 2014 12:01:45 +0000 (12:01 +0000)]
Merge "api.php: Use $wgRequest to retrieve User-agent string"

9 years agoMerge "Provide namespace to ApiParse->getSectionContent"
jenkins-bot [Wed, 23 Jul 2014 11:35:47 +0000 (11:35 +0000)]
Merge "Provide namespace to ApiParse->getSectionContent"

9 years agoMerge "Shorten if/else to ternary expressions in WebStart.php"
jenkins-bot [Wed, 23 Jul 2014 06:59:31 +0000 (06:59 +0000)]
Merge "Shorten if/else to ternary expressions in WebStart.php"

9 years agoMerge "Remove deprecated class StubContLang"
jenkins-bot [Wed, 23 Jul 2014 05:36:24 +0000 (05:36 +0000)]
Merge "Remove deprecated class StubContLang"

9 years agoRemove deprecated class StubContLang
withoutaname [Wed, 23 Jul 2014 05:07:04 +0000 (22:07 -0700)]
Remove deprecated class StubContLang

Change-Id: I4569f5d59018f0d5082888fdc737cf30370bcbdd

9 years agoMerge "Call to a member function getText() on a non-object"
jenkins-bot [Wed, 23 Jul 2014 01:57:04 +0000 (01:57 +0000)]
Merge "Call to a member function getText() on a non-object"

9 years agoProvide namespace to ApiParse->getSectionContent
S Page [Wed, 23 Jul 2014 01:26:53 +0000 (18:26 -0700)]
Provide namespace to ApiParse->getSectionContent

Improves the "Sections are not supported by <PAGE>" error message when
it fails.  Also add phpdoc comment

Bug: 68416
Change-Id: Iaa5d3a1f33b8a9c48263c2ce27cd3b4fe98fbf01

9 years agoUpdate messages list for oojs-ui
Roan Kattouw [Tue, 22 Jul 2014 23:50:10 +0000 (16:50 -0700)]
Update messages list for oojs-ui

In the recent window rewrite, some messages were added, removed or renamed.

Bug: 68327
Change-Id: Ib7104ef4d4f2282a2c9205b4b922e1678854d0a4

9 years agoMerge "Revert "maintenance: Update comment in the OOjs UI pull through script""
jenkins-bot [Tue, 22 Jul 2014 22:09:38 +0000 (22:09 +0000)]
Merge "Revert "maintenance: Update comment in the OOjs UI pull through script""

9 years agoUpdate OOjs UI to v0.1.0-pre (9cd400e3d5)
Roan Kattouw [Tue, 22 Jul 2014 21:59:46 +0000 (14:59 -0700)]
Update OOjs UI to v0.1.0-pre (9cd400e3d5)

New changes:
6544476 Give MessageDialog actions 'action' properties
d10d0d9 Localisation updates from https://translatewiki.net.
91b11b4 Use native focus
f808d83 Add role attribute to a few widgets
8bd708b Special case for measuring clippableContainer == body

Change-Id: I56a21b2d652cc31748b369f26c0dc1cf5e0e81e2

9 years agoRevert "maintenance: Update comment in the OOjs UI pull through script"
Catrope [Tue, 22 Jul 2014 22:01:53 +0000 (22:01 +0000)]
Revert "maintenance: Update comment in the OOjs UI pull through script"

You can't put a comment in the middle of a command split
across multiple lines, it terminates the command.

This reverts commit 3cc4314faaf852417771a86380104bd68cc31b96.

Change-Id: If5889f84033366c62c4924511997b5e6a108cfab

9 years agoShorten if/else to ternary expressions in WebStart.php
withoutaname [Tue, 22 Jul 2014 21:07:03 +0000 (14:07 -0700)]
Shorten if/else to ternary expressions in WebStart.php

Change-Id: Ia12af16e1a6346fac169d5c2a2eee330050bd149

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 22 Jul 2014 20:47:59 +0000 (22:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5e0139cfeee3143aa4926118cc89eef729f89e94

9 years agoFix documentation for UserMailer::send()
Kunal Mehta [Tue, 22 Jul 2014 20:36:55 +0000 (13:36 -0700)]
Fix documentation for UserMailer::send()

Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a

9 years agoMerge "Remove two unused constants from EditPage.php"
jenkins-bot [Tue, 22 Jul 2014 20:25:02 +0000 (20:25 +0000)]
Merge "Remove two unused constants from EditPage.php"

9 years agoCall to a member function getText() on a non-object
Reedy [Tue, 22 Jul 2014 19:18:07 +0000 (20:18 +0100)]
Call to a member function getText() on a non-object

Bug: 68394
Change-Id: I78a9cd940fed9134263f086af89c15b5777b57fc

9 years agoMerge "Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687"
jenkins-bot [Tue, 22 Jul 2014 18:30:58 +0000 (18:30 +0000)]
Merge "Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687"

9 years agoMerge "Make Special:Email an alias for Special:EmailUser"
jenkins-bot [Tue, 22 Jul 2014 18:11:40 +0000 (18:11 +0000)]
Merge "Make Special:Email an alias for Special:EmailUser"

9 years agoRelease notes for I050292dbb76821f66a15f937bf3aaf4defe67687
Max Semenik [Tue, 22 Jul 2014 17:58:59 +0000 (10:58 -0700)]
Release notes for I050292dbb76821f66a15f937bf3aaf4defe67687

Change-Id: Ic1e4ffc2888c2381cfce13093af5120bea7c3354

9 years agoMerge "Change the default for wgThumbnailMinimumBucketDistance"
jenkins-bot [Tue, 22 Jul 2014 17:56:52 +0000 (17:56 +0000)]
Merge "Change the default for wgThumbnailMinimumBucketDistance"

9 years agoChange the default for wgThumbnailMinimumBucketDistance
Gilles Dubuc [Tue, 22 Jul 2014 17:20:12 +0000 (13:20 -0400)]
Change the default for wgThumbnailMinimumBucketDistance

This has no effect while $wgThumbnailBuckets is null (the default),
but once buckets are enabled, 0 is a poor setting for the minimum
distance. 50 is arbitrary but definitely better than leaving it at 0.

Change-Id: I845af18cfd00627b26f6325c1d1a512a492a8f7c

9 years agoMerge "Fix race condition in wfShellExec()"
jenkins-bot [Tue, 22 Jul 2014 16:58:07 +0000 (16:58 +0000)]
Merge "Fix race condition in wfShellExec()"

9 years agoMerge "Update jquery.ui Vector theme to 1.9.2"
jenkins-bot [Tue, 22 Jul 2014 16:51:05 +0000 (16:51 +0000)]
Merge "Update jquery.ui Vector theme to 1.9.2"

9 years agoMerge "Wrapped the brackets of the collapse buttons with spans"
jenkins-bot [Tue, 22 Jul 2014 16:40:40 +0000 (16:40 +0000)]
Merge "Wrapped the brackets of the collapse buttons with spans"

9 years agoUpdate jquery.ui Vector theme to 1.9.2
paladox [Tue, 15 Jul 2014 16:05:43 +0000 (16:05 +0000)]
Update jquery.ui Vector theme to 1.9.2

Follows-up 3cb2ccd87863abb8a99ed7d970730ae9e4138fcc.

Various structural changes were made in jQuery UI 1.9, and the Vector
theme was not updated to accommodate for those changes.

There have also been lots of small improvements to the base theme (which
is substituted inside the Vector theme) that were made over the past few
releases that weren't backported (such as Ib099282484b for bug 67243).

And there were two new modules in jQuery UI 1.9 (menu and spinner) that
were lacking Vector theme stylesheets.

Change-Id: I27accab309da063f4d7965a103951b152e77937d

9 years agoMerge "Preferences: Turn stubthreshold back into a combo box"
jenkins-bot [Tue, 22 Jul 2014 15:55:38 +0000 (15:55 +0000)]
Merge "Preferences: Turn stubthreshold back into a combo box"

9 years agoPreferences: Turn stubthreshold back into a combo box
This, that and the other [Mon, 21 Jul 2014 07:38:39 +0000 (17:38 +1000)]
Preferences: Turn stubthreshold back into a combo box

Currently it's an insanely tall list box. All the other settings on this
page use combo boxes, so we should be consistent.

After it was changed from 'selectorother' to 'select' in I88212703
and support for 'size' in HTMLSelectField was enabled in I7ac345e1,
the size defines the height of the select box instead of the width of
the text input field.

Bug: 68313
Change-Id: Id42a62e78fc2fee741bb02b88dc14cbb1b63635a

9 years agoFixed JobQueueAggregatorRedis to handle empty collections
Aaron Schulz [Tue, 15 Jul 2014 20:43:35 +0000 (13:43 -0700)]
Fixed JobQueueAggregatorRedis to handle empty collections

* Previously it would keep polling if the hash was empty since
  empty and non-existing collections are the same in Redis.
* Also turned off the pointless PHP serialization.
* Bumped the cache version key; this change should be deployed
  in all wikis at once, along with updating the runners.

Change-Id: I33dc55bc579bf678f14a5383e9e2c3c35231d599

9 years agoMerge "LessFileCompilationTest: Check $file during the test, not in constructor"
jenkins-bot [Tue, 22 Jul 2014 15:06:15 +0000 (15:06 +0000)]
Merge "LessFileCompilationTest: Check $file during the test, not in constructor"

9 years agoMerge "Add tests for IE workarounds to ActionTest"
jenkins-bot [Tue, 22 Jul 2014 14:54:53 +0000 (14:54 +0000)]
Merge "Add tests for IE workarounds to ActionTest"

9 years agoLessFileCompilationTest: Check $file during the test, not in constructor
Bartosz Dziewoński [Tue, 22 Jul 2014 14:34:12 +0000 (16:34 +0200)]
LessFileCompilationTest: Check $file during the test, not in constructor

This will result in a neat little test failure instead of an
unreadable thirty-line traceback when the test fails.

Change-Id: Ie0b564a95586d72eb730ab8a70a6175eb3ae743d

9 years agoMerge "Add tests for NULL to ActionTest"
jenkins-bot [Tue, 22 Jul 2014 14:26:47 +0000 (14:26 +0000)]
Merge "Add tests for NULL to ActionTest"

9 years agoMerge "Add tests for disabled actions in ActionTest"
Hoo man [Tue, 22 Jul 2014 14:20:34 +0000 (14:20 +0000)]
Merge "Add tests for disabled actions in ActionTest"

9 years agoNo interlanguage links after local interwiki prefixes
This, that and the other [Mon, 21 Jul 2014 02:35:50 +0000 (12:35 +1000)]
No interlanguage links after local interwiki prefixes

This was noticed on enwiki after w: was marked as a local interwiki prefix
there. Links like [[w:de:Foo]] ought to act like [[:de:Foo]], not
[[de:Foo]].

Also adding a number of additional parser tests related to interwiki links.

Bug: 68085
Change-Id: If39af06edb4af2da85c9bcf43df7088181809fcf

9 years agoAdd tests for IE workarounds to ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 08:14:29 +0000 (10:14 +0200)]
Add tests for IE workarounds to ActionTest

Change-Id: Iafaa3266e57f22f108c0253053103681bd88bd10

9 years agoAdd tests for NULL to ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 08:08:49 +0000 (10:08 +0200)]
Add tests for NULL to ActionTest

NULL should default to 'view'. But both the exists check and the
factory should fail when asked for a NULL action.

Change-Id: I5751489eed890bb44101f2a4ef73002bff68b207

9 years agoAdd tests for disabled actions in ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 07:42:19 +0000 (09:42 +0200)]
Add tests for disabled actions in ActionTest

Change-Id: I2c742fca0fa87604c1d503b938ecc495aafd8376

9 years agoAdd more test cases to ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 07:36:54 +0000 (09:36 +0200)]
Add more test cases to ActionTest

1. The 'dummy' test case already tested ucfirst(), but strtolower()
was not tested. The new 'DUMMY' tests fixes that.

2. Add a new test where the requested action is false.

3. Refactored the dummy builder a bit to make it easier to reuse.

Change-Id: Id7d9adac064b307b04bf6accb83ffd7f217a857c

9 years agoFix race condition in wfShellExec()
Max Semenik [Fri, 18 Jul 2014 20:03:06 +0000 (13:03 -0700)]
Fix race condition in wfShellExec()

Especially when executing commands that return a relatively lot of data in stdout
quickly, proc_get_status() may return that command has terminated before everything
has been read from pipes. Handle this case by continuing to perform
non-blocking select on the process's streams until all remaining data has been
read.

Bug: 67870
Change-Id: I050292dbb76821f66a15f937bf3aaf4defe67687

9 years agoRemove two unused constants from EditPage.php
withoutaname [Tue, 22 Jul 2014 00:50:47 +0000 (17:50 -0700)]
Remove two unused constants from EditPage.php

Specifically constants AS_USER_CANNOT_EDIT and AS_OK

Change-Id: I96b20962b7d4cab5c026a0f03abf9da066fbd9af

9 years agoMake if checks in RequestContext.php more concise
withoutaname [Sun, 13 Jul 2014 06:41:25 +0000 (23:41 -0700)]
Make if checks in RequestContext.php more concise

Change-Id: Ieb1eaeb595fc77ba926ba6ff96140dff44ba840f

9 years agoFixed column name typo
Aaron Schulz [Mon, 21 Jul 2014 23:44:57 +0000 (16:44 -0700)]
Fixed column name typo

Change-Id: I30bc66c0fdd8c2f787b0796f7ecb00a6fea3a924

9 years agoAdded me to credits
Leon Liesener [Mon, 21 Jul 2014 21:48:17 +0000 (23:48 +0200)]
Added me to credits

Added my name to CREDITS, as suggested by legoktm.

Change-Id: I9a197d345c74bb3fe274cf5eeb34b0716760e1c1

9 years agoAdjusted show/hide links
Leon Liesener [Sun, 20 Jul 2014 17:13:38 +0000 (19:13 +0200)]
Adjusted show/hide links

This change replaces checkboxes with show links for users
with the 'viewsuppressed' right assigned who cannot
hide/unhide suppressed revisions.

Change-Id: Id575b9830c84a17075ba6d10a5a305a38afd94e2

9 years agoMerge "maintenance/README: Remove importTextFile.php"
jenkins-bot [Mon, 21 Jul 2014 21:46:49 +0000 (21:46 +0000)]
Merge "maintenance/README: Remove importTextFile.php"

9 years agoMerge "Made ViewCountUpdate do the page table updates in auto-commit mode"
jenkins-bot [Mon, 21 Jul 2014 21:42:47 +0000 (21:42 +0000)]
Merge "Made ViewCountUpdate do the page table updates in auto-commit mode"

9 years agomaintenance/README: Remove importTextFile.php
Kevin Israel [Mon, 21 Jul 2014 21:07:50 +0000 (17:07 -0400)]
maintenance/README: Remove importTextFile.php

Follows-up 14303bfea4fd.

Also corrected the capitalization of findHooks.php.

Change-Id: I6de35e368b8b091592b150a17cbce92b49c5ecf2

9 years agoMake sure $doUserRightsLogLike is set all the times
Marius Hoch [Mon, 21 Jul 2014 20:42:09 +0000 (22:42 +0200)]
Make sure $doUserRightsLogLike is set all the times

This fixes a PHP notice

Change-Id: I09b0b0c051b250b1e0a8e937948aaf2c48d17f7c

9 years agoRemove <div id="mw-js-message"> (again)
Bartosz Dziewoński [Sun, 20 Jul 2014 13:33:01 +0000 (15:33 +0200)]
Remove <div id="mw-js-message"> (again)

It has been previously removed in d4d519c4, then accidentally readded
in a96afeb2.

Change-Id: I23d228bf05ad8c632da38c4a194981044af6cc6b

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 21 Jul 2014 19:26:22 +0000 (21:26 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I2dd8d41e3ea4e38a4afd4dd6f59ddab83cb81edd

9 years agoRedo WhatLinksHere query and add a *_from_namespace field to link tables
Aaron Schulz [Thu, 6 Mar 2014 23:01:35 +0000 (15:01 -0800)]
Redo WhatLinksHere query and add a *_from_namespace field to link tables

* Also tweaked the query so MySQL avoids doing a page_name
  index scan when it should start with the link table index
* Added population script (triggered by update.php)
* Also removed uniqueness from some indexes where it is redundant
* Renamed two confusing variables

Bug: 60618
Change-Id: Icca99b6ae0ef76cb77695faf82c615516191da36

9 years agoMerge "Remove deprecated RawPage class"
jenkins-bot [Mon, 21 Jul 2014 18:47:16 +0000 (18:47 +0000)]
Merge "Remove deprecated RawPage class"

9 years agoMerge "Allow wildcard searching in wiki IDs for interwiki user rights logs"
jenkins-bot [Mon, 21 Jul 2014 18:39:20 +0000 (18:39 +0000)]
Merge "Allow wildcard searching in wiki IDs for interwiki user rights logs"

9 years agoMerge "Stop using a suboptimal structure for Vector's variants menu"
jenkins-bot [Mon, 21 Jul 2014 18:30:09 +0000 (18:30 +0000)]
Merge "Stop using a suboptimal structure for Vector's variants menu"

9 years agoMerge "WebInstaller::setVarsFromRequest() do not trim passwords"
jenkins-bot [Mon, 21 Jul 2014 18:24:36 +0000 (18:24 +0000)]
Merge "WebInstaller::setVarsFromRequest() do not trim passwords"

9 years agoStop using a suboptimal structure for Vector's variants menu
Bartosz Dziewoński [Mon, 9 Jun 2014 16:55:24 +0000 (18:55 +0200)]
Stop using a suboptimal structure for Vector's variants menu

One label is enough.

We need to keep the styles and some inline hacks in the HTML for a
while to keep current CSS compatible with old HTML, which is cached in
WMF environment for up to 30 days.

Follow-up to clean up the mess: I2817c6e9eb52ffc785a04bb9d23b0802a553fd45.

Bug: 43406
Change-Id: Idf43d77dccff83ad81db776f3262e0ef12d25c92

9 years agoMerge "Remove Fallback::iconv()"
jenkins-bot [Mon, 21 Jul 2014 18:22:23 +0000 (18:22 +0000)]
Merge "Remove Fallback::iconv()"

9 years agoMerge "Remove old maintenance script importTextFile.php"
jenkins-bot [Mon, 21 Jul 2014 18:20:49 +0000 (18:20 +0000)]
Merge "Remove old maintenance script importTextFile.php"

9 years agoMerge "Reformat function chains in FileTest.php"
jenkins-bot [Mon, 21 Jul 2014 18:17:41 +0000 (18:17 +0000)]
Merge "Reformat function chains in FileTest.php"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (5ab041a801)"
jenkins-bot [Mon, 21 Jul 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (5ab041a801)"

9 years agoRemove old maintenance script importTextFile.php
withoutaname [Sun, 20 Jul 2014 04:09:26 +0000 (21:09 -0700)]
Remove old maintenance script importTextFile.php

Functionality is largely redundant to edit.php script.

Change-Id: Idca2d0e3c38dc000618be9176072dd13757920b2

9 years agoMerge "Support for enabling skins in the installer"
jenkins-bot [Mon, 21 Jul 2014 17:23:25 +0000 (17:23 +0000)]
Merge "Support for enabling skins in the installer"

9 years agomaintenance: Update comment in the OOjs UI pull through script
James D. Forrester [Sat, 12 Jul 2014 22:32:26 +0000 (15:32 -0700)]
maintenance: Update comment in the OOjs UI pull through script

Follows-up I05967ab7.

Change-Id: Ibbdb77f720a22cd087e3a1d18d92748bb63069e4

9 years agoMerge "oojs update scripts: Use quotes to prevent globbing and word splitting"
jenkins-bot [Mon, 21 Jul 2014 16:53:43 +0000 (16:53 +0000)]
Merge "oojs update scripts: Use quotes to prevent globbing and word splitting"

9 years agoMerge "Always return bool in BackupReader::handleUpload"
jenkins-bot [Mon, 21 Jul 2014 14:48:49 +0000 (14:48 +0000)]
Merge "Always return bool in BackupReader::handleUpload"

9 years agoMerge "Leave table names with numbers untouched in DatabaseBase::generalizeSQL"
jenkins-bot [Mon, 21 Jul 2014 14:47:35 +0000 (14:47 +0000)]
Merge "Leave table names with numbers untouched in DatabaseBase::generalizeSQL"

9 years agoMerge "Remove check for wikimedia-mode file, which no longer exists"
jenkins-bot [Mon, 21 Jul 2014 14:47:06 +0000 (14:47 +0000)]
Merge "Remove check for wikimedia-mode file, which no longer exists"

9 years agoMerge "For xcf files, compose layers before scaling"
jenkins-bot [Mon, 21 Jul 2014 12:29:59 +0000 (12:29 +0000)]
Merge "For xcf files, compose layers before scaling"

9 years agoAlways return bool in BackupReader::handleUpload
umherirrender [Mon, 21 Jul 2014 09:32:34 +0000 (11:32 +0200)]
Always return bool in BackupReader::handleUpload

Change-Id: I476a1668b3a1ff9148ff335c9d7c9aa0c8ca3d11

9 years agoRemove deprecated Title::userCanRead()
withoutaname [Wed, 16 Jul 2014 08:49:05 +0000 (01:49 -0700)]
Remove deprecated Title::userCanRead()

Change-Id: I574babf4534c849d1e1491724ea537d53ea1d1d5

9 years agoRemove deprecated RawPage class
withoutaname [Thu, 17 Jul 2014 08:01:51 +0000 (01:01 -0700)]
Remove deprecated RawPage class

Change-Id: I7a75a09de934250604317983a4446ecaa9fa6550

9 years agoMerge "Collation: Workaround for incorrect collation of Estonian"
jenkins-bot [Mon, 21 Jul 2014 05:05:50 +0000 (05:05 +0000)]
Merge "Collation: Workaround for incorrect collation of Estonian"

9 years agoRemove deprecated HistoryPage class
withoutaname [Thu, 17 Jul 2014 08:10:50 +0000 (01:10 -0700)]
Remove deprecated HistoryPage class

Change-Id: I3db4d5a1a2c574a73e2fcfe1fd1da49f3570e4b6

9 years agoWrapped the brackets of the collapse buttons with spans
Luis Felipe Schenone [Mon, 21 Jul 2014 04:51:33 +0000 (12:51 +0800)]
Wrapped the brackets of the collapse buttons with spans

To make them accessible via CSS, similarly to what has been done with
the brackets of the edit buttons.

Change-Id: I6b961b5f11f81e6e8ef768ba43fe7f20b886051a

9 years agoRemove Fallback::iconv()
Kevin Israel [Mon, 2 Jun 2014 05:30:21 +0000 (01:30 -0400)]
Remove Fallback::iconv()

The iconv fallback is, for the most part, a remnant of PHP 4 support.
Though iconv was not enabled by default in PHP 4, it is in PHP 5. This
is the case even for Windows builds, which use GNU libiconv.

As for the major Linux distributions:

* Debian, CentOS, Ubuntu -> always enabled
* Fedora, Slackware -> .so in the same package, enabled by default
* Arch -> .so in the same package, disabled by default
* openSUSE -> separate package

Change-Id: Ie1112a5742646a0e1f951e188480c23851859320

9 years agoMark relevant tests with @group GlobalFunctions
Max Semenik [Fri, 18 Jul 2014 19:35:43 +0000 (12:35 -0700)]
Mark relevant tests with @group GlobalFunctions

Change-Id: I4133ad7e5e042a8c24d4836ae2bf9f1880a56e70

9 years agoMerge "jquery.accessKeyLabel: Add missing word in inline comment"
jenkins-bot [Sun, 20 Jul 2014 23:02:22 +0000 (23:02 +0000)]
Merge "jquery.accessKeyLabel: Add missing word in inline comment"

9 years agojquery.accessKeyLabel: Add missing word in inline comment
Timo Tijhof [Sun, 20 Jul 2014 22:18:32 +0000 (00:18 +0200)]
jquery.accessKeyLabel: Add missing word in inline comment

Follows-up 6a81b0e5.

Change-Id: I4558a224746b416feca2de7afa159aa90b5dfc33

9 years agoMerge "Revert "Adding a bit more documentation to mw.loader.using""
jenkins-bot [Sun, 20 Jul 2014 22:08:49 +0000 (22:08 +0000)]
Merge "Revert "Adding a bit more documentation to mw.loader.using""

9 years agoRevert "Adding a bit more documentation to mw.loader.using"
Krinkle [Sun, 20 Jul 2014 22:03:28 +0000 (22:03 +0000)]
Revert "Adding a bit more documentation to mw.loader.using"

This isn't relevant or specific to mw.loader.using. All of ResourceLoader
revolves around this idea. If two separate modules have a common
dependency, that's not loaded twice either. Whether they were passed to
loader.using(), loader.load(), or as dependencies, it doesn't matter.

The callback executes when the requires modules are ready. The
documentation never said it would load them on demand, so this bit of
supposed clarification only leads functions as noise in my opinion.

Perhaps we need to clarify elsewhere in the documentation for mw.loader
as a whole this concept, but not in this method in this way.

This reverts commit 657fab8d8388a475d850d84d8244da5e0ccfa8e7.

Change-Id: I30b3d6769f72aaab47c0b987bbb58898612206bd

9 years agoReformat function chains in FileTest.php
umherirrender [Fri, 18 Jul 2014 22:56:35 +0000 (00:56 +0200)]
Reformat function chains in FileTest.php

This makes the mock code more readable.
Also break a long line phpcs mentioned.

Change-Id: I6de5f05e5ab3fb18bd15518409334d39beba71cb

9 years agoMerge "Fixed spacing"
jenkins-bot [Sun, 20 Jul 2014 20:03:01 +0000 (20:03 +0000)]
Merge "Fixed spacing"

9 years agoMerge "Merge two FileTest.php files"
jenkins-bot [Sun, 20 Jul 2014 20:02:22 +0000 (20:02 +0000)]
Merge "Merge two FileTest.php files"

9 years agooojs update scripts: Use quotes to prevent globbing and word splitting
Timo Tijhof [Sun, 20 Jul 2014 19:54:00 +0000 (21:54 +0200)]
oojs update scripts: Use quotes to prevent globbing and word splitting

Change-Id: I69a0782fafbf2e8ce943ab819ccba83ac3e92f71

9 years agoTests: setMWGlobals -> setMwGlobals
umherirrender [Sun, 20 Jul 2014 19:50:34 +0000 (21:50 +0200)]
Tests: setMWGlobals -> setMwGlobals

Change-Id: I6441668fdbc62596efba21d736a73071a46bfe45

9 years agoMerge two FileTest.php files
umherirrender [Thu, 17 Jul 2014 10:57:07 +0000 (12:57 +0200)]
Merge two FileTest.php files

The correct folder is /file not /files

Follow-Up: Id03e1a0e1c151d3c575a695a42c54b709187d10a
Change-Id: If3d896aa792e77ba8198b8eb8ad2d874e52584fb

9 years agoFixed spacing
umherirrender [Sun, 20 Jul 2014 19:41:41 +0000 (21:41 +0200)]
Fixed spacing

- use tab as indent instead of spaces
- Added space after closures "function"
- Added spaces around string_concat
- Added newline inside empty blocks
- Removed four spaces after comma

Change-Id: I4425b0c6a69b36f40acfea6511b8950cf09ce2b2

9 years agoCollation: Workaround for incorrect collation of Estonian
Bartosz Dziewoński [Sun, 20 Jul 2014 18:34:34 +0000 (20:34 +0200)]
Collation: Workaround for incorrect collation of Estonian

'W' and 'V' should not be considered the same letter for the purposes
of collation in modern Estonian. We work around this by replacing 'W'
and 'w' with 'ᴡ' U+1D21 'LATIN LETTER SMALL CAPITAL W' for sortkey
generation, which is collated like 'W' and is not tailored to have the
same primary weight as 'V' in Estonian.

Bug: 54168
Change-Id: I3e8031b9d1dc18fdb7595fb9fd23e5f930106fa4

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 20 Jul 2014 18:54:03 +0000 (20:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If486a0d92a03060d51bd38129b42f00194339ac9

9 years agoMerge "Shortened too long lines"
jenkins-bot [Sun, 20 Jul 2014 18:18:40 +0000 (18:18 +0000)]
Merge "Shortened too long lines"

9 years agoMerge "mw.loader: Create 'skipped' property in registry for debugging"
jenkins-bot [Sun, 20 Jul 2014 18:11:17 +0000 (18:11 +0000)]
Merge "mw.loader: Create 'skipped' property in registry for debugging"

9 years agoShortened too long lines
Leon Liesener [Sun, 20 Jul 2014 17:43:39 +0000 (19:43 +0200)]
Shortened too long lines

Change-Id: Ia82162dd52b3fea7e76c1f47cb66bce3b7927cef

9 years agoSupport for enabling skins in the installer
Bartosz Dziewoński [Tue, 10 Jun 2014 11:41:29 +0000 (13:41 +0200)]
Support for enabling skins in the installer

Let the user choose the skins to install (like extensions)
and decide which one will be the default for the new wiki.

Right now core skins are always enabled regardless of user
choices there, but I'm working on that.

Bug: 66440
Change-Id: I2e10720a6ac327e66c415bb91dc897885f952738

9 years agoFor xcf files, compose layers before scaling
Brian Wolff [Sun, 20 Jul 2014 14:44:50 +0000 (11:44 -0300)]
For xcf files, compose layers before scaling

Otherwise if some layers are a different size than the overall
image, the output will be distorted as all the layers will be
resized.

An example of such a file is the 2007 version of
[[File:Blason_Saint-Malo.xcf]] (Need a version of image magick
newer than production to see the issue).

Bug: 35622
Change-Id: Ibbe8645afc151b0e9b658f762497071d67be3836

9 years agoapi.php: Use $wgRequest to retrieve User-agent string
Sergio Santoro [Sun, 20 Jul 2014 13:47:21 +0000 (15:47 +0200)]
api.php: Use $wgRequest to retrieve User-agent string

api.php was directly accessing $_SERVER superglobal.
It should use WebRequest wrapper object instead.

Change-Id: I244fb7a35476e9a35a5dc97f898d39c82c54b7fa

9 years agoRemove check for wikimedia-mode file, which no longer exists
withoutaname [Sun, 20 Jul 2014 04:31:08 +0000 (21:31 -0700)]
Remove check for wikimedia-mode file, which no longer exists

Change-Id: Ib463e7687b7b35147bddef68b9548e7b86c5ef52

9 years agoAdd OutputPageScriptsForBottomQueue hook
Kunal Mehta [Sun, 22 Jun 2014 08:48:16 +0000 (01:48 -0700)]
Add OutputPageScriptsForBottomQueue hook

This allows for extensions to add specific modules into the bottom
queue.

Bug: 62602
Change-Id: Ifccac7889e80b2f674cd54bb4ad3e53c6aa1dfa1

9 years agoOutputPage: Support foreign module sources in makeResourceLoaderLink
Kunal Mehta [Sat, 28 Jun 2014 02:57:40 +0000 (19:57 -0700)]
OutputPage: Support foreign module sources in makeResourceLoaderLink

To do so, created ResourceLoader::createLoaderURL(), which takes a
ResourceLoaderContext object. ResourceLoader::makeLoaderURL() was
deprecated.

While reviewing usage of the old function, many of the callers only
differed by one or two parameters from their respective
ResourceLoaderContext object. To simplify that use case, I created
DerivativeResourceLoaderContext, based of off DerivativeContext for
IContextSource.

Change-Id: I961c641ab953153057be3e3b8cf6c07435e9a0b0

9 years agoMerge "Added a hasMasterConnection() method to LoadBalancer"
jenkins-bot [Sat, 19 Jul 2014 23:29:36 +0000 (23:29 +0000)]
Merge "Added a hasMasterConnection() method to LoadBalancer"

9 years agomw.loader: Create 'skipped' property in registry for debugging
Timo Tijhof [Wed, 16 Jul 2014 02:14:17 +0000 (04:14 +0200)]
mw.loader: Create 'skipped' property in registry for debugging

Follows-up 75c08916b02ac8706.

Makes it easier to debug when a module is skipped as right now
they are indistinguishable from regularly loaded modules (other
then checking the network for load.php requests, though those
may not show up either if mw.loader.store is used).

Change-Id: Ic7d2efbf74e0fbf1334f02ecad797e63d0ae2857