lhc/web/wiklou.git
8 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"

8 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"

8 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

8 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

8 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""

8 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

8 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

8 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"

8 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"

8 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

8 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)""

8 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

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

8 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

8 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"

8 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"

8 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

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

8 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"

8 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"

8 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

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

8 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"

8 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"

8 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

8 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"

8 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"

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

8 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

8 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"

8 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

8 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

8 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"

8 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"

8 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

8 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

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

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

Change-Id: I95760a71861d88c78144a8dd15d11074244ed015

8 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

8 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"

8 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"

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

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

8 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

8 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."

8 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

8 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"

8 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"

8 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

8 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

8 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"

8 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"

8 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

8 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."

8 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

8 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

8 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

8 years agoMerge "resourceloader: Don't create empty objects for every module"
jenkins-bot [Tue, 8 Sep 2015 14:55:56 +0000 (14:55 +0000)]
Merge "resourceloader: Don't create empty objects for every module"

8 years agoresourceloader: Don't create empty objects for every module
Timo Tijhof [Fri, 28 Aug 2015 23:16:54 +0000 (01:16 +0200)]
resourceloader: Don't create empty objects for every module

For modules without one or more of 'scripts', 'styles', 'messages'
and 'templates'; don't needlessly create empty placeholder objects.

Except for 'scripts', these were already handled conditionally.

Bug: T105162
Change-Id: Ic1b3b09474e0b50b438b111a4f62368ceab4e732

8 years agoMerge "Default the "watchlisttoken" value to a derived HMAC value"
jenkins-bot [Tue, 8 Sep 2015 13:41:17 +0000 (13:41 +0000)]
Merge "Default the "watchlisttoken" value to a derived HMAC value"

8 years agoMerge "resourceloader: Implement mwLoadEnd marker"
jenkins-bot [Tue, 8 Sep 2015 13:26:38 +0000 (13:26 +0000)]
Merge "resourceloader: Implement mwLoadEnd marker"

8 years agoDrop message whatlinkshere-title/zh-tw
Liangent [Thu, 3 Sep 2015 15:10:07 +0000 (15:10 +0000)]
Drop message whatlinkshere-title/zh-tw

This message contains incorrect wording as reported by user. Remove it
to let it fall back to zh-hant message.

Change-Id: Ieefb3a0649d5907eb29c91bf021550f573b5bf4f

8 years agoMerge "Rephrase apihelp-query+logevents-param-action"
jenkins-bot [Tue, 8 Sep 2015 12:53:08 +0000 (12:53 +0000)]
Merge "Rephrase apihelp-query+logevents-param-action"

8 years agoMerge "Remove the SourceForge interwiki"
jenkins-bot [Tue, 8 Sep 2015 09:38:05 +0000 (09:38 +0000)]
Merge "Remove the SourceForge interwiki"

8 years agoMerge "Enhance debug log output for stacktraces"
jenkins-bot [Tue, 8 Sep 2015 08:55:11 +0000 (08:55 +0000)]
Merge "Enhance debug log output for stacktraces"

8 years agoMerge "Enhance stacktrace logging for fatals"
jenkins-bot [Tue, 8 Sep 2015 08:55:06 +0000 (08:55 +0000)]
Merge "Enhance stacktrace logging for fatals"

8 years agoMerge "Add PHP7 build to TravisCI"
jenkins-bot [Tue, 8 Sep 2015 07:45:03 +0000 (07:45 +0000)]
Merge "Add PHP7 build to TravisCI"

8 years agoMerge "Write TravisCI build matrix in more readable and extandable manner"
jenkins-bot [Tue, 8 Sep 2015 07:44:58 +0000 (07:44 +0000)]
Merge "Write TravisCI build matrix in more readable and extandable manner"

8 years agoEnhance debug log output for stacktraces
Bryan Davis [Mon, 24 Aug 2015 19:29:10 +0000 (13:29 -0600)]
Enhance debug log output for stacktraces

Make MediaWiki\Logger\LegacyLogger and
MediaWiki\Logger\Monolog\LineFormatter better at outputting stacktrace
information and provide support for 'exception' data in the logging
context that is a structured array in addition to the default Exception
object support. This works with MWExceptionHandler::handleFatalError
generated data that is provided by an HHVM interpreter and cannot be
delivered as an Exception class.

With this patch, a good value for LineFormatter's format would be:
"%datetime% %extra.host% %extra.wiki% %channel% %level_name%: %message%
%context% %exception%\n"

Bug: T89169
Bug: T107440
Change-Id: Ida01ed51c573e1654346e716723e543a1be63090

8 years agoEnhance stacktrace logging for fatals
Bryan Davis [Tue, 25 Aug 2015 04:36:30 +0000 (22:36 -0600)]
Enhance stacktrace logging for fatals

Split fatal error handling out of MWExceptionHandler::handleError() and
move to MWExceptionHandler::handleFatalError() which has been updated to
work as a dual purpose error handler and shutdown function. Under HHVM
it will be called as an error handler and receive a stacktrace via an
undocumented extension of the error handler callback data. Under PHP5 it
will be called as a shutdown handler and attempt to gather data via
error_get_last().

Also update the error handler installed by Hooks::run() to delegate to
MWExceptionHandler::handleError() for most errors. This will allow us to
properly handle errors raised from within hooks.

Bug: T89169
Change-Id: I0f1c66f203b91fff9069520169ecc4a3b55c43d0

8 years agoMerge "Remove unused private field in OutputPage"
jenkins-bot [Tue, 8 Sep 2015 06:24:09 +0000 (06:24 +0000)]
Merge "Remove unused private field in OutputPage"

8 years agoSync up with Parsoid parserTests.
Subramanya Sastry [Tue, 8 Sep 2015 01:28:13 +0000 (20:28 -0500)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit c8c7b5efa5a1754ec17294ee9e0269b3dfc9b0b1

Change-Id: I006cc95fb354c1b4ad40f0999938c5c4afaf099d

8 years agoRemove unused parameter in DjVuImage
jeroendedauw [Tue, 8 Sep 2015 00:33:21 +0000 (02:33 +0200)]
Remove unused parameter in DjVuImage

Change-Id: Ib20ff990cdec59314f4e043487792baea345b3b3

8 years agoMerge "LivePreview: Prevent unnecessary DOM change for spinner"
jenkins-bot [Tue, 8 Sep 2015 00:22:32 +0000 (00:22 +0000)]
Merge "LivePreview: Prevent unnecessary DOM change for spinner"

8 years agoMerge "Move HTMLForm-specific styles out of mediawiki.legacy.shared"
jenkins-bot [Tue, 8 Sep 2015 00:12:23 +0000 (00:12 +0000)]
Merge "Move HTMLForm-specific styles out of mediawiki.legacy.shared"

8 years agoresourceloader: Expose fetch promise in addScript()
Timo Tijhof [Fri, 4 Sep 2015 03:04:01 +0000 (04:04 +0100)]
resourceloader: Expose fetch promise in addScript()

Prerequisite for T68598 so that callers can handle errors.

Change-Id: I214159001e04c4b51453e47299b8e5d5033c258a

8 years agoMerge "Provide $.bracketedDevicePixelRatio convenience function"
jenkins-bot [Mon, 7 Sep 2015 23:39:40 +0000 (23:39 +0000)]
Merge "Provide $.bracketedDevicePixelRatio convenience function"

8 years agoMerge "Remove not needed global imports in BitmapHandler"
jenkins-bot [Mon, 7 Sep 2015 23:02:42 +0000 (23:02 +0000)]
Merge "Remove not needed global imports in BitmapHandler"

8 years agoMerge "Remove dead private methods"
jenkins-bot [Mon, 7 Sep 2015 22:59:32 +0000 (22:59 +0000)]
Merge "Remove dead private methods"

8 years agoMerge "resourceloader: Introduce new module state "executing""
jenkins-bot [Mon, 7 Sep 2015 20:45:17 +0000 (20:45 +0000)]
Merge "resourceloader: Introduce new module state "executing""

8 years agoMerge "resourceloader: Move creation addLink() function to shared mw.loader scope"
jenkins-bot [Mon, 7 Sep 2015 20:22:18 +0000 (20:22 +0000)]
Merge "resourceloader: Move creation addLink() function to shared mw.loader scope"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 7 Sep 2015 20:20:20 +0000 (22:20 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I8afcef58e0baf09582da036bedf12fcf6cc451d2

8 years agoresourceloader: Introduce new module state "executing"
Timo Tijhof [Mon, 7 Sep 2015 19:56:06 +0000 (20:56 +0100)]
resourceloader: Introduce new module state "executing"

No longer re-use "loading" to avoid confusion.

Code paths to 'execute' (such as in 'handlePending') already prevent
double execution by only allowing execution to be started when a module
is in state "loaded". So when execute takes ownership by progressing
the state to "executing" (or "loading"), no other code paths will enter
execute until execute itself sets the next state (ready or failed).

Change-Id: I35c8d2bc2da7135456c39d4b513661d2d11fb0f4

8 years agoresourceloader: Move creation addLink() function to shared mw.loader scope
Timo Tijhof [Fri, 4 Sep 2015 04:14:02 +0000 (05:14 +0100)]
resourceloader: Move creation addLink() function to shared mw.loader scope

No need for this function to be re-created on each call of execute().
Also set state to "loading" earlier in runScript for clarity.

Change-Id: I46c7f850df90f8c160613dc6ffd251c7e9aee147

8 years agoRemove dead local var in ApiQueryUserInfo
jeroendedauw [Mon, 7 Sep 2015 19:48:54 +0000 (21:48 +0200)]
Remove dead local var in ApiQueryUserInfo

Change-Id: I8620848f22bddd133b618a7c4918adbf7adcb8c0

8 years agoRemove not needed global imports in BitmapHandler
jeroendedauw [Mon, 7 Sep 2015 19:48:19 +0000 (21:48 +0200)]
Remove not needed global imports in BitmapHandler

Change-Id: I5b3a666157a47492c28129c1b2fa52a4422c10d5

8 years agoRemove dead local var in ApiQueryAllDeletedRevisions
jeroendedauw [Mon, 7 Sep 2015 19:47:27 +0000 (21:47 +0200)]
Remove dead local var in ApiQueryAllDeletedRevisions

Need tools to find these is the methods are that huge >_>

Change-Id: I8571aee1459f318e147fa5b4e740432cdeadbfe1

8 years agoRemove unused private field in OutputPage
jeroendedauw [Mon, 7 Sep 2015 19:44:57 +0000 (21:44 +0200)]
Remove unused private field in OutputPage

Change-Id: I5d70886d67d4c1b2a3a176eace2fd545ca842aa3

8 years agoMerge "build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass"
jenkins-bot [Mon, 7 Sep 2015 19:35:13 +0000 (19:35 +0000)]
Merge "build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass"

8 years agoMerge "build: Enable jscs jsDoc rule 'requireParamTypes' and make pass"
jenkins-bot [Mon, 7 Sep 2015 19:29:01 +0000 (19:29 +0000)]
Merge "build: Enable jscs jsDoc rule 'requireParamTypes' and make pass"

8 years agoRemove dead private methods
jeroendedauw [Mon, 7 Sep 2015 19:20:15 +0000 (21:20 +0200)]
Remove dead private methods

Change-Id: Id49df6d16ce06c7bb00f1aaba75b64093c91c7ae

8 years agoAdd PHP7 build to TravisCI
jeroendedauw [Mon, 7 Sep 2015 18:48:44 +0000 (20:48 +0200)]
Add PHP7 build to TravisCI

Change-Id: I83231801f8618e2cf85bac6a262bba0250adcfab

8 years agoWrite TravisCI build matrix in more readable and extandable manner
jeroendedauw [Mon, 7 Sep 2015 18:47:51 +0000 (20:47 +0200)]
Write TravisCI build matrix in more readable and extandable manner

Change-Id: I320c9089a0471f56721479714288a5db58cca5fd

8 years agoUpdate TravisCI config to use hhvm rather than hhvm-nightly
jeroendedauw [Mon, 7 Sep 2015 18:32:29 +0000 (20:32 +0200)]
Update TravisCI config to use hhvm rather than hhvm-nightly

Travis stopped supporting hhvm-nightly some months ago,
so this build has been broken since.

Change-Id: Icb92ae6cd5f1d00f04f092a8cef557a9411cf77b

8 years agobuild: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass
James D. Forrester [Sat, 5 Sep 2015 19:11:47 +0000 (12:11 -0700)]
build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass

Change-Id: I14d699f66cef87f0d93d773902c0a5326025a58c

8 years agobuild: Enable jscs jsDoc rule 'requireParamTypes' and make pass
James D. Forrester [Sat, 5 Sep 2015 18:55:03 +0000 (11:55 -0700)]
build: Enable jscs jsDoc rule 'requireParamTypes' and make pass

Change-Id: Id0e10dba3548a981ba6d301bd3cd04adbe143e64

8 years agoMerge "build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass"
jenkins-bot [Mon, 7 Sep 2015 17:24:06 +0000 (17:24 +0000)]
Merge "build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass"

8 years agoMerge "build: Enable altered jscs rule 'disallowQuotedKeysInObjects' and make pass"
jenkins-bot [Mon, 7 Sep 2015 17:20:58 +0000 (17:20 +0000)]
Merge "build: Enable altered jscs rule 'disallowQuotedKeysInObjects' and make pass"

8 years agobuild: Enable jscs jsDoc rule 'requireReturnTypes' and make pass
James D. Forrester [Sat, 5 Sep 2015 18:38:47 +0000 (11:38 -0700)]
build: Enable jscs jsDoc rule 'requireReturnTypes' and make pass

Change-Id: I6a73e64b2cb87fef273a196c52a1e3bbeb4f7dda

8 years agobuild: Enable altered jscs rule 'disallowQuotedKeysInObjects' and make pass
James D. Forrester [Thu, 3 Sep 2015 20:59:44 +0000 (13:59 -0700)]
build: Enable altered jscs rule 'disallowQuotedKeysInObjects' and make pass

Change-Id: I172327cdf27adb77615cb6a2ea4c76020062a45a