lhc/web/wiklou.git
7 years agoMerge "Provide VRS objects with a name for more informative debugging/logging"
jenkins-bot [Mon, 14 Sep 2015 19:54:06 +0000 (19:54 +0000)]
Merge "Provide VRS objects with a name for more informative debugging/logging"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 14 Sep 2015 19:40:34 +0000 (21:40 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4dc82c7424593f75b6247775104503b7eec82fff

7 years agoProvide VRS objects with a name for more informative debugging/logging
C. Scott Ananian [Mon, 14 Sep 2015 18:36:18 +0000 (14:36 -0400)]
Provide VRS objects with a name for more informative debugging/logging

Bug: T112330
Change-Id: Iaa3af55ebc426d54e8bef94dba5415bc535e096b

7 years agoRemove WikiReference::getHostname.
daniel [Fri, 11 Sep 2015 17:34:54 +0000 (19:34 +0200)]
Remove WikiReference::getHostname.

getHostname() was broken and seems to be unused.

Change-Id: I8d44a6907ad395ea12deebf404831c06e07ed401

7 years agoMerge "Add support for fragments to WikiMap"
jenkins-bot [Mon, 14 Sep 2015 10:12:41 +0000 (10:12 +0000)]
Merge "Add support for fragments to WikiMap"

7 years agoMerge "Add tests for WikiMap and WikiReference"
jenkins-bot [Mon, 14 Sep 2015 10:12:37 +0000 (10:12 +0000)]
Merge "Add tests for WikiMap and WikiReference"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 13 Sep 2015 19:42:12 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4893e65a430118dbe35f90144afa492899f90150

7 years agoRemoving MediaWiki:Yourgender/de-formal
maurelio [Sun, 13 Sep 2015 15:18:29 +0000 (17:18 +0200)]
Removing MediaWiki:Yourgender/de-formal

Bug: T111795
Change-Id: Iced432dda98b88c0c4fecfe30a2f6d3c67219273

7 years agoSpecialPagesWithProp: convert implicit join into join_conds
Ricordisamoa [Sun, 23 Aug 2015 10:36:38 +0000 (12:36 +0200)]
SpecialPagesWithProp: convert implicit join into join_conds

Bug: T71083
Change-Id: Ic36ecd33a9b4b2ad8b3ca24fabbe496c5207b28f

7 years agoMerge "Add missing images used in installer's CSS"
jenkins-bot [Sat, 12 Sep 2015 18:10:07 +0000 (18:10 +0000)]
Merge "Add missing images used in installer's CSS"

7 years agoAdd missing images used in installer's CSS
Bartosz Dziewoński [Sat, 12 Sep 2015 17:54:00 +0000 (19:54 +0200)]
Add missing images used in installer's CSS

Copied from resources/src/mediawiki.legacy/images.
Follow-up to 1e06a9f02f9a3ca645f5abe5cd38943fcfa3aea2.

Bug: T111519
Change-Id: Idb7f02ee62eb535af3c2dbbaed53dabe04ae4e9e

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 12 Sep 2015 17:41:28 +0000 (19:41 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib11cc9121522a71ea2a8ea13192e445f44ee4cb3

7 years agoRephrase api-help-param-list for clarity
Amir E. Aharoni [Sat, 12 Sep 2015 10:04:51 +0000 (13:04 +0300)]
Rephrase api-help-param-list for clarity

What is currently shown on the ApiHelp is something like this:
One value: title, text, nearmatch

It would be clearer to say
One of the following values: title, text, nearmatch

The example is from
https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bsearch

Change-Id: I92f17f90ae77c6c151b817bae8b2f08d858a0f64

7 years agoMerge "Remove unused $wgAPIGeneratorModules from DefaultSettings.php"
jenkins-bot [Sat, 12 Sep 2015 07:16:00 +0000 (07:16 +0000)]
Merge "Remove unused $wgAPIGeneratorModules from DefaultSettings.php"

7 years agoSpecialUpload: Improve display of error messages
Bartosz Dziewoński [Fri, 11 Sep 2015 21:15:46 +0000 (23:15 +0200)]
SpecialUpload: Improve display of error messages

Before: https://phabricator.wikimedia.org/F2569195
After:  https://phabricator.wikimedia.org/F2569202

Change-Id: I212ea1fa4074868c3d2a18d51fb43da786f47d1d

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 11 Sep 2015 22:49:35 +0000 (00:49 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I71bc38489ea62625740f6dd9d73ca046bcf8e400

7 years agoMerge "mediawiki.Title: Add normalizeExtension method"
jenkins-bot [Fri, 11 Sep 2015 20:45:53 +0000 (20:45 +0000)]
Merge "mediawiki.Title: Add normalizeExtension method"

7 years agoRemove unused $wgAPIGeneratorModules from DefaultSettings.php
Kunal Mehta [Fri, 11 Sep 2015 20:39:13 +0000 (13:39 -0700)]
Remove unused $wgAPIGeneratorModules from DefaultSettings.php

This is completely ignored by the API and never made it into a stable
release - it was added and removed in 1.21.

Change-Id: I87a8df78a4bcffae9bbd51faa1137abb1faf2aa2

7 years agomediawiki.Title: Add normalizeExtension method
Bartosz Dziewoński [Fri, 11 Sep 2015 19:38:40 +0000 (21:38 +0200)]
mediawiki.Title: Add normalizeExtension method

And use it in newFromUserInput to canonicalize the extension better.

Comes with tests for the new method, and some new test cases for
newFromUserInput/newFromFileName.

Bug: T48741
Change-Id: I1cf240b991dc170c46ba76b207b4e4ba77f87956

7 years agoFixed some IDEA doc warnings
Aaron Schulz [Fri, 11 Sep 2015 19:38:37 +0000 (12:38 -0700)]
Fixed some IDEA doc warnings

Change-Id: I9ccc6599d5fbcc143ef33a5619b3c1d1c52e192f

7 years agoMerge "mw.widgets.CategorySelector: Add configuration to limit number of results"
jenkins-bot [Fri, 11 Sep 2015 14:47:15 +0000 (14:47 +0000)]
Merge "mw.widgets.CategorySelector: Add configuration to limit number of results"

7 years agoMerge "mw.widgets.CategorySelector: Return {string}[] from getNewMenuItems' promise"
jenkins-bot [Fri, 11 Sep 2015 14:38:44 +0000 (14:38 +0000)]
Merge "mw.widgets.CategorySelector: Return {string}[] from getNewMenuItems' promise"

7 years agoMerge "mw.widgets.TitleInputWidget: Set default for limit during config init"
jenkins-bot [Fri, 11 Sep 2015 14:27:24 +0000 (14:27 +0000)]
Merge "mw.widgets.TitleInputWidget: Set default for limit during config init"

7 years agoAdd support for fragments to WikiMap
daniel [Fri, 11 Sep 2015 14:17:52 +0000 (16:17 +0200)]
Add support for fragments to WikiMap

WikiMap::makeForeignUrl should support fragement IDs in the
generated URL.

Change-Id: I612d5f465822b56356a78b3e72fb441a888668f1

7 years agoAdd tests for WikiMap and WikiReference
daniel [Fri, 11 Sep 2015 14:21:16 +0000 (16:21 +0200)]
Add tests for WikiMap and WikiReference

Change-Id: Ie218296fc7c1ceba588fadef076d66be865b1905

7 years agomw.widgets.CategorySelector: Add configuration to limit number of results
Prateek Saxena [Fri, 11 Sep 2015 06:05:38 +0000 (11:35 +0530)]
mw.widgets.CategorySelector: Add configuration to limit number of results

Change-Id: I530bca7950fa75e667d7e5f08d51b304fe3ad14b

7 years agomw.widgets.CategorySelector: Return {string}[] from getNewMenuItems' promise
Prateek Saxena [Fri, 11 Sep 2015 05:47:37 +0000 (11:17 +0530)]
mw.widgets.CategorySelector: Return {string}[] from getNewMenuItems' promise

The object that was being returned only replicated the data with no added
ease of use to the method that was consuming it.

Change-Id: Ieabc6b12ea2ba28e3ef80e451dd2b9e8190ff1e8

7 years agomw.widgets.TitleInputWidget: Set default for limit during config init
Prateek Saxena [Fri, 11 Sep 2015 06:06:44 +0000 (11:36 +0530)]
mw.widgets.TitleInputWidget: Set default for limit during config init

Change-Id: I2a78175b904247a3dceeeeb68c68067367c0dbbd

7 years agoresourceloader: Document internal mw.loader#jobs property
Timo Tijhof [Fri, 11 Sep 2015 04:37:30 +0000 (05:37 +0100)]
resourceloader: Document internal mw.loader#jobs property

Also use push() instead of old-fashioned micro-optimising .length
assignment. This is inconsistent with the rest of the code and in
modern browsers push is as fast (or faster; < 0.1% difference).

Change-Id: Iaad007cb7a5f2afcab3f0859d2525d49e86775c0

7 years agoMake signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's
Ori Livneh [Fri, 11 Sep 2015 04:06:01 +0000 (21:06 -0700)]
Make signature of RaggettInternalHHVM::cleanWrapped() compatible with RaggetBase's

Change-Id: I18239e7c6ba77a00c59015b791b7ea7e55154307

7 years agoAdd Html5Depurate tidy driver
Tim Starling [Thu, 3 Sep 2015 04:46:48 +0000 (14:46 +1000)]
Add Html5Depurate tidy driver

Also document input format for MWTidy::tidy().

Change-Id: I77071d3db0524695c2baf9a4670ca2455438c83d

7 years agoMerge "Abstract and refactor Tidy support"
jenkins-bot [Fri, 11 Sep 2015 03:30:17 +0000 (03:30 +0000)]
Merge "Abstract and refactor Tidy support"

7 years agoAbstract and refactor Tidy support
Tim Starling [Mon, 31 Aug 2015 04:42:55 +0000 (14:42 +1000)]
Abstract and refactor Tidy support

* Split tidy implementations into a class hierarchy
* Bring all tidy configuration into a single associative array and
  deprecate the old configuration.
* Remove $wgAlwaysUseTidy

This is preparatory to replacement of Tidy (T89331). I used the name
"Raggett" for things relating to Dave Raggett's Tidy, since if we use
"tidy" to mean the new abstract system as well as Raggett's tidy, it
gets confusing.

Change-Id: I77af1a16cbbb47fc226d05fb9aad56c58e8910b5

7 years agoMerge "Made uploadLinksBox() use quickUserCan() to avoid title blacklist queries"
jenkins-bot [Fri, 11 Sep 2015 01:14:49 +0000 (01:14 +0000)]
Merge "Made uploadLinksBox() use quickUserCan() to avoid title blacklist queries"

7 years agoMade uploadLinksBox() use quickUserCan() to avoid title blacklist queries
Aaron Schulz [Fri, 11 Sep 2015 00:57:29 +0000 (17:57 -0700)]
Made uploadLinksBox() use quickUserCan() to avoid title blacklist queries

Change-Id: I48347acfa70020313d6860d95bc9f286ced9400b

7 years agomediawiki.less: wrap '\9' CSS hack in e() call to pacify persnickety parsers
Ori Livneh [Thu, 10 Sep 2015 21:59:39 +0000 (14:59 -0700)]
mediawiki.less: wrap '\9' CSS hack in e() call to pacify persnickety parsers

`oyejorge/less.php` is an alternate LESS library for PHP that I am hoping to
use to replace lessphp (see T112035). It chokes on literal '\9' in CSS rules,
but this limitation is easy to work around via e().

Change-Id: I015ac022c575fc09fa7dab0d4084ee9de4c563f8

7 years agoRemove dead local vars in UsercreateTemplate
jeroendedauw [Mon, 7 Sep 2015 19:46:29 +0000 (21:46 +0200)]
Remove dead local vars in UsercreateTemplate

Change-Id: I61738d0d1c1355fdd9a192ab0edf73a78ae3546c

7 years agoMerge "Remove unused private field in MagicWordArray"
jenkins-bot [Thu, 10 Sep 2015 19:25:51 +0000 (19:25 +0000)]
Merge "Remove unused private field in MagicWordArray"

7 years agoMerge "jquery.tablesorter: Add ability for cells with colspan in tbody"
jenkins-bot [Thu, 10 Sep 2015 19:19:42 +0000 (19:19 +0000)]
Merge "jquery.tablesorter: Add ability for cells with colspan in tbody"

7 years agoRemove unused private field in MagicWordArray
jeroendedauw [Mon, 7 Sep 2015 19:45:36 +0000 (21:45 +0200)]
Remove unused private field in MagicWordArray

Change-Id: Ib7a0c2834314e9c8db442956230d389e51dbb256

7 years agoMerge "Remove dead argument in LinkSearchPage"
jenkins-bot [Thu, 10 Sep 2015 19:09:39 +0000 (19:09 +0000)]
Merge "Remove dead argument in LinkSearchPage"

7 years agoMerge "mw.widget.DateInputWidget: Correct docs for mustBeAfter and mustBeBefore"
jenkins-bot [Thu, 10 Sep 2015 19:07:54 +0000 (19:07 +0000)]
Merge "mw.widget.DateInputWidget: Correct docs for mustBeAfter and mustBeBefore"

7 years agoRemove dead argument in LinkSearchPage
jeroendedauw [Mon, 7 Sep 2015 19:50:53 +0000 (21:50 +0200)]
Remove dead argument in LinkSearchPage

Change-Id: I43ecb7e3c9421a04ba186d7cc6065f80d4994433

7 years agoMerge "Remove return of void method results"
jenkins-bot [Thu, 10 Sep 2015 18:57:29 +0000 (18:57 +0000)]
Merge "Remove return of void method results"

7 years agoRemove return of void method results
jeroendedauw [Tue, 8 Sep 2015 00:36:29 +0000 (02:36 +0200)]
Remove return of void method results

Change-Id: I095ba37ceb150fcb7bee9df80201437c78426938

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 10 Sep 2015 18:42:38 +0000 (20:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iec30781dc432dea8d3a6a0773309937baaa1b916

7 years agojquery.tablesorter: Add ability for cells with colspan in tbody
MatthiasDD [Sat, 22 Aug 2015 21:46:27 +0000 (23:46 +0200)]
jquery.tablesorter: Add ability for cells with colspan in tbody

* Add manageColspans() to handle colspaned cells in table body.
  Add config.columns - number of colums with extended colspan, inclusive unsortable columns
  buildParserCache() iterate for all columns (not only the first body row, Bug: T105731)
  buildCache() also (Bug: T74534)
  Rows with not enougth cells get after first click additional empty cells.
* Clear unused header data 'sortDisabled' .
* Add $.tablesorter.getParsers() for better table diagnosis.

fix 3 litle bugs:
* Improve multi column sorting with colspan in header (add columnToHeader[..] to s[0] )
* Unsortable headers get after sorting no title tag. ($headers contain only sortable headers)
* Parser detection in tables with max. 5 rows and empty cells works now.

Bug: T105731
Bug: T74534
Change-Id: I518029616d4c10a48eeaad8e92962f4e580f9413

7 years agoMerge "Revert "Load 'mediawiki.legacy.commonPrint' styles with a media type property""
jenkins-bot [Thu, 10 Sep 2015 18:13:07 +0000 (18:13 +0000)]
Merge "Revert "Load 'mediawiki.legacy.commonPrint' styles with a media type property""

7 years agomw.widget.DateInputWidget: Correct docs for mustBeAfter and mustBeBefore
Bartosz Dziewoński [Thu, 10 Sep 2015 18:03:53 +0000 (20:03 +0200)]
mw.widget.DateInputWidget: Correct docs for mustBeAfter and mustBeBefore

I meant to comment on daeb5371dd6a1b3576f52786936e073d24ceba1d with
this, but it seems I forgot to publish my draft of inline comment.

Change-Id: I3d8cbc7d1d7c771b69e23938c701f47ba3a92a0c

7 years agoRevert "Load 'mediawiki.legacy.commonPrint' styles with a media type property"
Bartosz Dziewoński [Thu, 10 Sep 2015 17:58:58 +0000 (17:58 +0000)]
Revert "Load 'mediawiki.legacy.commonPrint' styles with a media type property"

Nested media queries are not allowed in CSS 2 and not supported
in older browsers.

This reverts commit 11e47561e4652adf1180987f28a2d673286937a0.

Bug: T108727
Change-Id: Ibef40e79a5d5e229df8f874b7dea5b590f3f7320

7 years agoMerge "Decode Memcached keys before returning getMulti result"
Matthias Mullie [Thu, 10 Sep 2015 17:30:54 +0000 (17:30 +0000)]
Merge "Decode Memcached keys before returning getMulti result"

7 years agoMerge "API: Add support for selected HTTP precondition headers"
jenkins-bot [Thu, 10 Sep 2015 16:42:48 +0000 (16:42 +0000)]
Merge "API: Add support for selected HTTP precondition headers"

7 years agoSync up with Parsoid parserTests.
Arlo Breault [Thu, 10 Sep 2015 16:17:01 +0000 (09:17 -0700)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 45ef2301bfc549c890851de811e5b34f68d5646a

Change-Id: I9394b326bc370ea6240dd6504aabc2678e346d2a

7 years agoMerge "Revert "Do not encode "'" as %27 (redirect loop in Opera 12)""
jenkins-bot [Thu, 10 Sep 2015 15:36:10 +0000 (15:36 +0000)]
Merge "Revert "Do not encode "'" as %27 (redirect loop in Opera 12)""

7 years agoRevert "Do not encode "'" as %27 (redirect loop in Opera 12)"
Bartosz Dziewoński [Thu, 10 Sep 2015 15:23:07 +0000 (15:23 +0000)]
Revert "Do not encode "'" as %27 (redirect loop in Opera 12)"

This seems to cause redirect loops in current Firefox instead.

This reverts commit a89a21990e9d696487c4da72f88f765e2b4b1c34.

Bug: T106793
Change-Id: I18fac8ab0f94e2df8476131b132c9866902a02c4

7 years agoMerge "Rewrite OutputPage::addVaryHeader"
jenkins-bot [Thu, 10 Sep 2015 15:00:30 +0000 (15:00 +0000)]
Merge "Rewrite OutputPage::addVaryHeader"

7 years agoAPI: Add support for selected HTTP precondition headers
Brad Jorsch [Mon, 17 Aug 2015 20:52:09 +0000 (16:52 -0400)]
API: Add support for selected HTTP precondition headers

Specifically, GET requests can now return ETag and Last-Modified
headers, and If-None-Match and If-Modified-Since headers on such GET
requests will be honored. This doesn't change any API modules to
actually return these values, it just provides the infrastructure.

For reasoning on why only GET requests and why only these two of the
five precondition headers defined by RFC 7232, see the doc comment on
ApiMain::checkConditionalRequestHeaders().

Change-Id: Ia18874c9360fcffdad323b341ca867ba773788fd

7 years agoMerge "Use more appropriate word in a Korean translation"
jenkins-bot [Thu, 10 Sep 2015 05:55:09 +0000 (05:55 +0000)]
Merge "Use more appropriate word in a Korean translation"

7 years agoMerge "mw.widget.DateInputWidget: Add range validation"
jenkins-bot [Thu, 10 Sep 2015 04:40:13 +0000 (04:40 +0000)]
Merge "mw.widget.DateInputWidget: Add range validation"

7 years agoLog useful error messages on SSL errors in PhpHttpRequest
Gergő Tisza [Fri, 4 Sep 2015 23:15:03 +0000 (23:15 +0000)]
Log useful error messages on SSL errors in PhpHttpRequest

Work around PHP's crappy stream error handling to extract the
OpenSSL message that gives actually useful information.

Change-Id: I9eba0f90935e25e2d07995f6181fa90b7d52ea55

7 years agoMerge "API: Improve list=random"
jenkins-bot [Thu, 10 Sep 2015 00:21:59 +0000 (00:21 +0000)]
Merge "API: Improve list=random"

7 years agoMerge "When aborting EnhancedRC block line, block should reflect that"
jenkins-bot [Thu, 10 Sep 2015 00:21:44 +0000 (00:21 +0000)]
Merge "When aborting EnhancedRC block line, block should reflect that"

7 years agoMerge "Fix so wfResetOutputBuffers doesn't break unit tests"
jenkins-bot [Thu, 10 Sep 2015 00:14:21 +0000 (00:14 +0000)]
Merge "Fix so wfResetOutputBuffers doesn't break unit tests"

7 years agoAPI: Improve list=random
Brad Jorsch [Tue, 7 Jul 2015 16:28:42 +0000 (12:28 -0400)]
API: Improve list=random

Changes are:
* Raise limits to be in line with other modules.
* Deprecate boolean rnredirect in favor of rnfilterredir that allows for
  including both redirects and non-redirects.
* Allow continuation, for applications that want to traverse the entire
  "random" sequence without repeats.

Bug: T99926
Change-Id: Id5a8b0f1591c73044524ac508d2add8ab1b3a22e

7 years agoMerge "Unbreak wfResetOutputBuffers"
jenkins-bot [Thu, 10 Sep 2015 00:03:45 +0000 (00:03 +0000)]
Merge "Unbreak wfResetOutputBuffers"

7 years agoMerge "Measure string length once in Parser::replaceVariables"
jenkins-bot [Thu, 10 Sep 2015 00:01:30 +0000 (00:01 +0000)]
Merge "Measure string length once in Parser::replaceVariables"

7 years agoMerge "ApiQueryDeletedRevisions: Optimize ascending title generation"
jenkins-bot [Wed, 9 Sep 2015 23:59:50 +0000 (23:59 +0000)]
Merge "ApiQueryDeletedRevisions: Optimize ascending title generation"

7 years agoMeasure string length once in Parser::replaceVariables
Ori Livneh [Wed, 9 Sep 2015 01:48:33 +0000 (18:48 -0700)]
Measure string length once in Parser::replaceVariables

Change-Id: I5b1e3f3fa06cb4e2982f3c0d24222ba2ee59ea47

7 years agoMerge "resourceloader: Remove irrelevant properties from FileModule hash"
jenkins-bot [Wed, 9 Sep 2015 23:51:20 +0000 (23:51 +0000)]
Merge "resourceloader: Remove irrelevant properties from FileModule hash"

7 years agoMerge "Provide fallbacks for use of mb_convert_encoding() in HtmlFormatter"
jenkins-bot [Wed, 9 Sep 2015 23:51:16 +0000 (23:51 +0000)]
Merge "Provide fallbacks for use of mb_convert_encoding() in HtmlFormatter"

7 years agoMerge "ApiResult: Fix size checking"
jenkins-bot [Wed, 9 Sep 2015 23:42:49 +0000 (23:42 +0000)]
Merge "ApiResult: Fix size checking"

7 years agoUse more appropriate word in a Korean translation
Yongmin Hong [Sun, 6 Sep 2015 04:16:27 +0000 (04:16 +0000)]
Use more appropriate word in a Korean translation

Make translations keep consistent by using the same word
with other translations with the same origin word like
'protect-cascade' to '연쇄적 보호'.

Also adds Revi as translation author.

Change-Id: Iab7b60adc758071b025f83f6901878322373ac01

7 years agoMerge "Fix TestingAccessWrapper private property access and parent classes"
jenkins-bot [Wed, 9 Sep 2015 22:13:33 +0000 (22:13 +0000)]
Merge "Fix TestingAccessWrapper private property access and parent classes"

7 years agoRewrite OutputPage::addVaryHeader
Gergő Tisza [Tue, 8 Sep 2015 21:59:45 +0000 (14:59 -0700)]
Rewrite OutputPage::addVaryHeader

Rewrite OutputPage::addVaryHeader which had a very confusing
structure.

There is one breaking change: the $option argument was declared
as array|null, but the function accepted everything and showed
inconsistent behavior; e.g.

    $op->addVaryHeader( 'Foo', 'bar' )

resulted in 'X-Vary-Options: Foo;bar' but

    $op->addVaryHeader( 'Foo' )
    $op->addVaryHeader( 'Foo', 'bar' )

resulted in 'X-Vary-Options: Foo'. With the patch, non-array
arguments (other than null) result in an error.

Change-Id: Id31d95fe27b01b00ec8a1d7a3996275fc0aacf3c

7 years agomw.widget.DateInputWidget: Add range validation
Prateek Saxena [Wed, 9 Sep 2015 17:51:07 +0000 (23:21 +0530)]
mw.widget.DateInputWidget: Add range validation

Bug: T111993
Change-Id: I80bfa1b225e8d6d5e5fcca5b22582cc983917c74

7 years agoMerge "Enable autocompletion for Special:ListUsers"
jenkins-bot [Wed, 9 Sep 2015 20:26:23 +0000 (20:26 +0000)]
Merge "Enable autocompletion for Special:ListUsers"

7 years agoMerge "mw.Upload.Dialog: Use getValidity instead of deprecated isValid"
jenkins-bot [Wed, 9 Sep 2015 20:00:56 +0000 (20:00 +0000)]
Merge "mw.Upload.Dialog: Use getValidity instead of deprecated isValid"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 9 Sep 2015 19:33:06 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If0c00caf736f8b4854eed1b080482d44164ab950

7 years agomw.Upload.Dialog: Use getValidity instead of deprecated isValid
Prateek Saxena [Wed, 9 Sep 2015 19:31:45 +0000 (01:01 +0530)]
mw.Upload.Dialog: Use getValidity instead of deprecated isValid

Change-Id: Iada6aeb804108453104b15e4a78ab05af8c2717b

7 years agoMerge "Remove unused private field"
jenkins-bot [Wed, 9 Sep 2015 17:54:48 +0000 (17:54 +0000)]
Merge "Remove unused private field"

7 years agoRemove unused private field
jeroendedauw [Mon, 7 Sep 2015 19:29:49 +0000 (21:29 +0200)]
Remove unused private field

Change-Id: I95760a71861d88c78144a8dd15d11074244ed015

7 years agoFix TestingAccessWrapper private property access and parent classes
Brad Jorsch [Wed, 9 Sep 2015 15:32:37 +0000 (11:32 -0400)]
Fix TestingAccessWrapper private property access and parent classes

PHP's reflection mechanism is weird: reflecting on a private method will
find it even if it's defined in a parent class, while reflecting on a
private property just fails.

It would likely be more useful if TestingAccessWrapper could find
private properties defined in parent classes, so let's make that happen.

Change-Id: I9cfdde2694136d0e4559cc419a528762ea14ae4b

7 years agoMerge "Update OOjs UI to v0.12.8"
jenkins-bot [Tue, 8 Sep 2015 22:03:25 +0000 (22:03 +0000)]
Merge "Update OOjs UI to v0.12.8"

7 years agoMerge "Remove JS for FancyCaptcha adjustment"
jenkins-bot [Tue, 8 Sep 2015 21:52:56 +0000 (21:52 +0000)]
Merge "Remove JS for FancyCaptcha adjustment"

7 years agoMerge "Add mw.widgets.CategorySelector"
jenkins-bot [Tue, 8 Sep 2015 21:46:08 +0000 (21:46 +0000)]
Merge "Add mw.widgets.CategorySelector"

7 years agoMerge "Document OutputPage::addVaryHeader()"
jenkins-bot [Tue, 8 Sep 2015 21:08:23 +0000 (21:08 +0000)]
Merge "Document OutputPage::addVaryHeader()"

7 years agoUpdate OOjs UI to v0.12.8
James D. Forrester [Tue, 8 Sep 2015 21:03:54 +0000 (14:03 -0700)]
Update OOjs UI to v0.12.8

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.8/History.md

Change-Id: Ifc6b9f00dbd82ac7613f89ef66e7155b262c1091

7 years agoMerge "Use system default location for cafile when using php fopen."
jenkins-bot [Tue, 8 Sep 2015 20:34:21 +0000 (20:34 +0000)]
Merge "Use system default location for cafile when using php fopen."

7 years agoDocument OutputPage::addVaryHeader()
Brad Jorsch [Fri, 4 Sep 2015 16:59:20 +0000 (12:59 -0400)]
Document OutputPage::addVaryHeader()

The $options parameter to OutputPage::addVaryHeader() is undocumented as
to what exactly is supposed to be passed to it. Fix that.

Change-Id: I5fcbb8cf6219c6ab001962a4c2170e1733732426

7 years agoMerge "wikimedia/cdb 1.2.0 → 1.3.0"
jenkins-bot [Tue, 8 Sep 2015 20:33:28 +0000 (20:33 +0000)]
Merge "wikimedia/cdb 1.2.0 → 1.3.0"

7 years agoMerge "Chinese Conversion Table Update 2015-7"
jenkins-bot [Tue, 8 Sep 2015 20:23:24 +0000 (20:23 +0000)]
Merge "Chinese Conversion Table Update 2015-7"

7 years agowikimedia/cdb 1.2.0 → 1.3.0
Ori Livneh [Tue, 8 Sep 2015 20:13:46 +0000 (13:13 -0700)]
wikimedia/cdb 1.2.0 → 1.3.0

Change-Id: If19c3a37087b7e6207115832861239dcc9a9b42e

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 8 Sep 2015 19:32:27 +0000 (21:32 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6e694565182afacf0482af8988b198b50da0a913

7 years agoMerge "Remove dead local var in ApiQueryAllDeletedRevisions"
jenkins-bot [Tue, 8 Sep 2015 19:04:27 +0000 (19:04 +0000)]
Merge "Remove dead local var in ApiQueryAllDeletedRevisions"

7 years agoMerge "Remove dead local var in ApiQueryUserInfo"
jenkins-bot [Tue, 8 Sep 2015 19:04:23 +0000 (19:04 +0000)]
Merge "Remove dead local var in ApiQueryUserInfo"

7 years agoEnable autocompletion for Special:ListUsers
Southparkfan [Tue, 8 Sep 2015 17:25:37 +0000 (19:25 +0200)]
Enable autocompletion for Special:ListUsers

The "display users starting at" inputbox will now show some suggestions.

Bug: T105569
Change-Id: I5d9fd5ea34d247ea688b32102700e6cef2c1e527

7 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 8 Sep 2015 16:16:36 +0000 (16:16 +0000)]
Merge "Sync up with Parsoid parserTests."

7 years agoApiResult: Fix size checking
Brad Jorsch [Tue, 8 Sep 2015 15:40:23 +0000 (11:40 -0400)]
ApiResult: Fix size checking

Two bugs here:
* Setting NO_SIZE_CHECK also bypassed validation
* ApiResult::valueSize() didn't handle ApiSerializable, which is fixed
  by defining that the value needs to be passed through
  ApiResult::validateValue() first.

Bug: T111796
Change-Id: I7c00d8ee53364a26f8f63f82a4d83b92baf5383e

7 years agowikimedia/cdb 1.0.1 → 1.2.0
Ori Livneh [Tue, 8 Sep 2015 15:40:11 +0000 (08:40 -0700)]
wikimedia/cdb 1.0.1 → 1.2.0

Change-Id: I1c3d07b45d3f849095f952d2b3e16ee06f882133

7 years agoAdd mw.widgets.CategorySelector
Prateek Saxena [Thu, 3 Sep 2015 10:44:02 +0000 (16:14 +0530)]
Add mw.widgets.CategorySelector

Extends OO.ui.CapsuleMultiSelectWidget for category selection.

Bug: T111791
Change-Id: I317c23d4fdbc16cd488fb211f8dd96681806324a