Timo Tijhof [Thu, 23 Feb 2017 04:31:56 +0000 (20:31 -0800)]
build: Change Travis image from precise to trusty (Fix HHVM build)
Follows-up
67737a267f.
Per <https://docs.travis-ci.com/user/languages/php#HHVM-versions-on-Trusty>
using hhvm-3.12 requires a trusty image. The upstream source at
<http://dl.hhvm.com/ubuntu/dists/> doesn't provide it for precise.
In addition to changing to trusty, we also need to:
* Set 'sudo: required' and 'group: edge'.
Because lightweight "sudo: false" containers are still
precise-only. There is a beta test and I tried it, but it
doesn't support out apt-get install commands yet.
* Change mysql user from 'travis' to 'root'.
The fact that 'travis' supports creating databases on precise
is undocumented. One is supposed to use 'root' for this,
which is required on Trusty.
<https://docs.travis-ci.com/user/database-setup/#MySQL>
Without this, install.php fails.
More details at <https://github.com/travis-ci/travis-ci/issues/7368>.
This config was tested and passed at
<https://travis-ci.org/Krinkle/mediawiki/jobs/
204463664>.
Bug: T75175
Change-Id: Ic59936734211b68d9701119a551d3bd1b83c845e
jenkins-bot [Thu, 23 Feb 2017 02:51:53 +0000 (02:51 +0000)]
Merge "GallerySlideshow: Always set image height, adjust according to caption size"
jenkins-bot [Thu, 23 Feb 2017 02:38:15 +0000 (02:38 +0000)]
Merge "release-notes: Add Moment.js update"
jenkins-bot [Thu, 23 Feb 2017 02:34:51 +0000 (02:34 +0000)]
Merge "qunit: Make eslint config pass on qunit test files"
jenkins-bot [Thu, 23 Feb 2017 02:31:13 +0000 (02:31 +0000)]
Merge "qunit: Minor clean up in various tests"
Prateek Saxena [Tue, 24 Jan 2017 09:43:56 +0000 (15:13 +0530)]
GallerySlideshow: Always set image height, adjust according to caption size
When the size of the caption changes (for example one word vs four lines) the
content below jumps because of the space the caption is taking.
We now adjust the height of the image based on the height of the caption to
avoid jumping.
Bug: T140596
Change-Id: I567652ff8b1483cef474493dd5bd790e95288b30
jenkins-bot [Thu, 23 Feb 2017 02:30:06 +0000 (02:30 +0000)]
Merge "build: Update HHVM for Travis to 3.12"
jenkins-bot [Thu, 23 Feb 2017 02:10:12 +0000 (02:10 +0000)]
Merge "Remove duplicate test"
jenkins-bot [Thu, 23 Feb 2017 01:49:47 +0000 (01:49 +0000)]
Merge "qunit: Remove obsolete jshint/jscs options"
Timo Tijhof [Thu, 23 Feb 2017 01:40:33 +0000 (17:40 -0800)]
release-notes: Add Moment.js update
Follows-up
f13a0d952.
Change-Id: Ib4692310c8abee8f6b1f69c664b373f4ea83e2dc
jenkins-bot [Thu, 23 Feb 2017 01:29:01 +0000 (01:29 +0000)]
Merge "mediawiki.api: Tweak deprecation logging again"
Bartosz Dziewoński [Wed, 22 Feb 2017 23:46:40 +0000 (00:46 +0100)]
mediawiki.api: Tweak deprecation logging again
Follow-up to
15b5dc5d8eecb5a1784b0b7165a90a81e071d750,
9a8e2b7124ed10db3db7f7767d532cde00935876.
Change-Id: Idf9083e81312b97e69ec786d99ea3cc46ba80123
jenkins-bot [Wed, 22 Feb 2017 22:46:09 +0000 (22:46 +0000)]
Merge "resourceloader: Avoid endless module_deps write for the same value"
jenkins-bot [Wed, 22 Feb 2017 22:38:26 +0000 (22:38 +0000)]
Merge "EditPage: Throw exceptions on false contentModel"
Timo Tijhof [Wed, 22 Feb 2017 21:54:40 +0000 (13:54 -0800)]
resourceloader: Avoid endless module_deps write for the same value
Follows-up
047b60b96d (ref T111481).
The if-condition compared the expanded paths, not the relative paths.
This meant there were two conditions under which the code will perform
a useless write that inserts *literally* the exact same JSON value.
1. The base directory ($IP) changes after a branch upgrade.
2. Paths contain '../', '//' or other unnormalized paths.
The latter caused various Echo and ULS methods to keep writing the
same value because one of their images is referenced in CSS using
'../'. When inserted in the database as relative path and then
expanded again at run-time and compared to the input value, they
don't match ("$IP/foo/../bar.png" != "$IP/bar.png") and cause a write.
Bug: T158813
Change-Id: I223c232d3a8c4337d09ecf7ec6e5cd7cf7effbff
jenkins-bot [Wed, 22 Feb 2017 22:19:08 +0000 (22:19 +0000)]
Merge "AutoloadGenerator: Add support for class_alias()"
jenkins-bot [Wed, 22 Feb 2017 22:01:17 +0000 (22:01 +0000)]
Merge "Add GENDER to rollback-success message"
jenkins-bot [Wed, 22 Feb 2017 21:55:34 +0000 (21:55 +0000)]
Merge "resourceloader: Optimize WikiModule preload for reqs without wiki modules"
jenkins-bot [Wed, 22 Feb 2017 21:51:57 +0000 (21:51 +0000)]
Merge "build: Enable indentation stylelint rule"
Timo Tijhof [Wed, 22 Feb 2017 21:09:06 +0000 (13:09 -0800)]
resourceloader: Optimize WikiModule preload for reqs without wiki modules
Currently it was still going through fetchTitleInfo() with an empty array on
the majority of requests without wiki modules, e.g. load.php?modules=jquery.
Bug: T158813
Change-Id: Ie33a2b4da572bb30b2e7a69db07790724ec2f03f
Timo Tijhof [Sat, 18 Feb 2017 03:11:33 +0000 (19:11 -0800)]
AutoloadGenerator: Add support for class_alias()
Blob, Field, DatabaseBase are now auto-detected.
Change-Id: Ib8fae2ec3fbb3f5e4aca7965f81631c5f0485ea1
jenkins-bot [Wed, 22 Feb 2017 21:18:48 +0000 (21:18 +0000)]
Merge "Collation: Allow uppercase letters in UCA collations' names"
Purodha [Wed, 27 Jul 2016 08:41:04 +0000 (08:41 +0000)]
Add GENDER to rollback-success message
Bug: T141250
Change-Id: I99c2b5ad5594b25928ad5bfd3f3a36b19a2c041c
Translation updater bot [Wed, 22 Feb 2017 20:54:40 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I24babbe571a65242fdef9105b82242729f21f1eb
Bartosz Dziewoński [Wed, 22 Feb 2017 20:17:54 +0000 (21:17 +0100)]
Collation: Allow uppercase letters in UCA collations' names
We have several such collations defined in IcuCollation:
* bs-Cyrl
* de-AT@collation=phonebook
* fr-CA
* sr-Latn
They couldn't actually be used.
Change-Id: I3a62073583c49d3e90910aa8240fe9fcc0682386
Arlo Breault [Wed, 22 Feb 2017 19:58:06 +0000 (11:58 -0800)]
Remove duplicate test
Change-Id: If99b0672c631e0428550a73a2a6116394ef32bb9
Timo Tijhof [Wed, 22 Feb 2017 18:46:19 +0000 (10:46 -0800)]
qunit: Make eslint config pass on qunit test files
Follows-up
c0fb8a8836, I890e6e49b.
* Disable 'qunit' env in general source code. And re-declare
locally in the few src files that use it properly.
* Create separate eslint config for tests/qunit with various
rules disabled (e.g. valid-jsdoc and es3-keywords).
Change-Id: I37ccec2019de55edfee92697eb80478df7cb6220
Timo Tijhof [Wed, 22 Feb 2017 18:10:54 +0000 (10:10 -0800)]
qunit: Minor clean up in various tests
Follows-up
5e602c613.
* jquery.byteLimit: Remove redundant setTimeout().
* jquery.byteLimit: Remove unused $elA, $elB variables.
* jquery.hidpi: Actually call bracketedDevicePixelRatio().
Change-Id: I288af22e081385fca6268a87e7b6fe1b27116706
Timo Tijhof [Wed, 22 Feb 2017 18:06:58 +0000 (10:06 -0800)]
qunit: Remove obsolete jshint/jscs options
Follows-up
c0fb8a8836.
Change-Id: I890e6e49b4801667b6eb463efec46a380a27d028
Arlo Breault [Wed, 22 Feb 2017 17:10:42 +0000 (09:10 -0800)]
Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit
e23a818554548cd922ee262ea1d8da47ea457248
Change-Id: Ib26b170c51aa4425a54871fa32543b2eef5db41e
jenkins-bot [Wed, 22 Feb 2017 16:23:32 +0000 (16:23 +0000)]
Merge "qunit: Remove redundant testCount expectation"
addshore [Mon, 30 Jan 2017 17:29:00 +0000 (17:29 +0000)]
EditPage: Throw exceptions on false contentModel
contentModel should always have a value here.
Change-Id: Iba2538f383de7da94bd0e0e3eb7d7eca4e6cee7c
jenkins-bot [Wed, 22 Feb 2017 07:39:32 +0000 (07:39 +0000)]
Merge "Add "redirecció" as translation for the "redirect" keyword"
Toni Hermoso Pulido [Tue, 21 Feb 2017 22:32:46 +0000 (23:32 +0100)]
Add "redirecció" as translation for the "redirect" keyword
So that editors etc. prefer it over the Occitan translation.
While at it, remove old non-working bookstore URL.
Change-Id: Iee2c6844b9e324ee7811f337c02ab06b348b651b
jenkins-bot [Wed, 22 Feb 2017 03:10:29 +0000 (03:10 +0000)]
Merge "resourceloader: Fix testMakeModuleResponseError() failure on Travis"
jenkins-bot [Wed, 22 Feb 2017 03:10:23 +0000 (03:10 +0000)]
Merge "mediawiki.language: Add unit tests for digit transform table"
Timo Tijhof [Wed, 22 Feb 2017 02:51:45 +0000 (18:51 -0800)]
resourceloader: Fix testMakeModuleResponseError() failure on Travis
> 1) ResourceLoaderTest::testMakeModuleResponseError
> Failed asserting that '[
e08c982d974548127cb5d7ce] Fatal exception of type Exception'
> matches PCRE pattern "/Ferry not found/".
> .../ResourceLoaderTest.php:519
This happened on Travis CI, because ResourceLoader::formatException() behaves
differently based on $wgShowExceptionDetails. Which is enabled in Vagrant
and Jenkins, but disabled by default (and thus in Travis CI builds).
Bug: T75176
Change-Id: If15dd03213703b7b6ff899cad5e5569e2515b378
jenkins-bot [Wed, 22 Feb 2017 01:48:28 +0000 (01:48 +0000)]
Merge "API: Fix ApiMainTest::testExceptionErrors and use $wgShowDBErrorBacktrace"
Brad Jorsch [Wed, 22 Feb 2017 01:27:17 +0000 (20:27 -0500)]
API: Fix ApiMainTest::testExceptionErrors and use $wgShowDBErrorBacktrace
Apparently Jenkins sets $wgShowExceptionDetails to true but travis
doesn't. The test should make sure it's set since it depends on it.
And apparently no one ever added $wgShowDBErrorBacktrace to the API.
Let's do that too.
Change-Id: I0793eda349426b265a47900cdeb87bb920b5c291
Timo Tijhof [Tue, 21 Feb 2017 02:36:36 +0000 (18:36 -0800)]
qunit: Remove redundant testCount expectation
QUnit used to have bad state management (a few years ago) at which point it
became useful to verify the number of assertions in case an asynchronous
failure happened, as it would likely go unnoticed.
* Errors outside testStart/testEnd weren't caught.
QUnit now monitors window.onerror.
* Assertions could be attributed to the wrong test.
QUnit no longer does this since the assert object is associated with
the current test through lexical scope.
* assert.async()/done() replaced global semaphore (QUnit.start).
* A test could forget to be marked as async and make no assertions.
QUnit now marks a test as failed if it makes 0 assertions.
QUnit also has built-in async tracking for promises.
If a test is not reaching all assertions for some reason, this
will cause an error of some sort that is tracked. If in some
specific scenario this isn't the case, assert.expect() can still
be called (e.g. when expecting 0 assertions), but it'd be worthwhile
to file an upstream bug report in that case.
Follows-up
7c363752, which removed 'QUnit.config.requireExpects' from
our test configuration.
Follows-up
c4c7007de6 and various other commits that already removed
the test counts from a subset tests. This commit removes the remainder.
Change-Id: Ie58396ba9c83d27220508481cb97c0fa74487756
Timo Tijhof [Wed, 22 Feb 2017 01:06:07 +0000 (17:06 -0800)]
build: Update HHVM for Travis to 3.12
Travis defaults 'hhvm' to 3.6.6 for back-compat, however newer
versions are available. The latest supported version on Travis is 3.12,
per <https://docs.travis-ci.com/user/languages/php#HHVM-versions>.
This also matches the version currently used in wmf production.
Bug: T75175
Change-Id: I1c562f61acf83aa7f558b2e11a6af81d13523dea
jenkins-bot [Wed, 22 Feb 2017 00:03:18 +0000 (00:03 +0000)]
Merge "Mention $wgRateLimitsExcludedIPs semantics change in release notes"
Gergő Tisza [Tue, 21 Feb 2017 23:40:39 +0000 (15:40 -0800)]
Mention $wgRateLimitsExcludedIPs semantics change in release notes
Follow-up for I727c19214.
Bug: T156983
Change-Id: I845d2acc2284a107d4bacd526e7598bade118d0a
Translation updater bot [Tue, 21 Feb 2017 20:58:37 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ice30c7acd43a92ea0c5f21895ffd7d3e35d98083
jenkins-bot [Tue, 21 Feb 2017 19:46:04 +0000 (19:46 +0000)]
Merge "API: Add "messagecode" to AuthManager responses"
jenkins-bot [Tue, 21 Feb 2017 18:34:15 +0000 (18:34 +0000)]
Merge "User::isPingLimitable(): handle CIDR notation in $wgRateLimitsExcludedIPs"
Brad Jorsch [Tue, 21 Feb 2017 17:06:41 +0000 (12:06 -0500)]
API: Add "messagecode" to AuthManager responses
Following the same logic that the API uses for assigning codes to
warnings and errors.
Bug: T158609
Change-Id: I4e1a4f252e12e990727e8e9ada4ea00c526e3f8f
Reedy [Fri, 17 Feb 2017 14:35:42 +0000 (14:35 +0000)]
ApiCreateAccount was removed in REL1_27
Change-Id: I504cbe3f399be2e354d53c7d8c4ac8225d1ffc17
jenkins-bot [Tue, 21 Feb 2017 15:33:38 +0000 (15:33 +0000)]
Merge "build: Enable no-duplicate-selectors stylelint rule"
jenkins-bot [Tue, 21 Feb 2017 13:33:09 +0000 (13:33 +0000)]
Merge "Fix documentation comments for some WebRequest methods"
Amire80 [Tue, 21 Feb 2017 12:45:08 +0000 (14:45 +0200)]
Fix an incorrect HTML tag in apiwarn-unclearnowtimestamp
Change-Id: I74de3c0ef6feb33091126df3cc0ec452d7ede43b
Volker E [Tue, 21 Feb 2017 07:33:57 +0000 (23:33 -0800)]
build: Enable indentation stylelint rule
Enabling indentation stylelint rule and making it pass.
Also making use of mediawiki.mixins' `box-sizing()` mixin in
StashedFileWidget and change interwikiwidget rules order slightly
(example `:hover` modification after normal selector rule).
Change-Id: Ifa9ccae5518d5426b390e0f8321eb3decb211c18
Volker E [Tue, 21 Feb 2017 06:42:38 +0000 (22:42 -0800)]
build: Enable no-duplicate-selectors stylelint rule
Enabling no-duplicate-selectors stylelint rule and
making it pass.
Change-Id: Ib62b463898098eea1301f0ddfcd4837498272dd4
Timo Tijhof [Tue, 21 Feb 2017 05:05:04 +0000 (21:05 -0800)]
mediawiki.language: Add unit tests for digit transform table
Follows-up
e8dd1f43fb169,
e2834bacbde6.
Bug: T152800
Change-Id: I9ab824118f179b3b6d672d71b5ac8cf87c3b2fc8
jenkins-bot [Tue, 21 Feb 2017 03:24:38 +0000 (03:24 +0000)]
Merge "tests: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 21 Feb 2017 02:34:46 +0000 (02:34 +0000)]
Merge "parserTests.txt: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 21 Feb 2017 02:34:41 +0000 (02:34 +0000)]
Merge "Copy in various point releases to HISTORY"
James D. Forrester [Mon, 20 Feb 2017 23:45:58 +0000 (15:45 -0800)]
tests: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.
Change-Id: I46261416f7603558dceb76ebe695a5cac274e417
James D. Forrester [Mon, 20 Feb 2017 23:39:03 +0000 (15:39 -0800)]
parserTests.txt: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers.
Change-Id: I3eeffe40e0a752e1e3c79e65fa2fb556950d9a24
jenkins-bot [Tue, 21 Feb 2017 00:24:58 +0000 (00:24 +0000)]
Merge "resources: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Mon, 20 Feb 2017 23:09:06 +0000 (23:09 +0000)]
Merge "MWExceptionHandler::handleError: Set log severity based on error level"
James D. Forrester [Mon, 20 Feb 2017 21:18:18 +0000 (13:18 -0800)]
resources: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345"
except where it doesn't, so let's just standardise on the real numbers. (This is
just for resources/src for now; includes/ will be another day. :-))
Change-Id: I5c55bab4f7c8a26dda43de7d169cc7bddc74adc3
Translation updater bot [Mon, 20 Feb 2017 22:00:52 +0000 (23:00 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I80bd2a411965a3e08ee073ae6a8e62a3468ca768
jenkins-bot [Mon, 20 Feb 2017 21:26:33 +0000 (21:26 +0000)]
Merge "build: Enable stylelint rule 'number-leading-zero' and make pass"
Ricordisamoa [Mon, 20 Feb 2017 21:19:47 +0000 (22:19 +0100)]
Fix documentation comments for some WebRequest methods
WebRequest methods getRawVal(), getVal() and getArray()
can return null.
Change-Id: I555dfd93c7cdebc83aab89f3efe4de3018bc9de0
jenkins-bot [Mon, 20 Feb 2017 21:19:44 +0000 (21:19 +0000)]
Merge "build: Enable selector-pseudo-class-parentheses-space-inside stylelint rule"
jenkins-bot [Mon, 20 Feb 2017 21:16:29 +0000 (21:16 +0000)]
Merge "build: Enable declaration-block-no-duplicate-properties stylelint rule"
Volker E [Sat, 18 Feb 2017 13:20:21 +0000 (05:20 -0800)]
build: Enable selector-pseudo-class-parentheses-space-inside stylelint rule
Enabling selector-pseudo-class-parentheses-space-inside stylelint rule and
making it pass.
Change-Id: I6676d743b4375c250377a5b7582251e83f761d10
Depends-on: I3859e04797203a64d82206a379dbb320e5e113d5
jenkins-bot [Mon, 20 Feb 2017 21:02:31 +0000 (21:02 +0000)]
Merge "build: Enable use of stylelint-config-wikimedia and make pass"
James D. Forrester [Mon, 20 Feb 2017 21:01:59 +0000 (13:01 -0800)]
build: Enable stylelint rule 'number-leading-zero' and make pass
Change-Id: I7f6d7784b5a415d4fd4fc098800bfdf9ed61790f
Volker E [Sat, 18 Feb 2017 13:08:56 +0000 (05:08 -0800)]
build: Enable declaration-block-no-duplicate-properties stylelint rule
Enabling declaration-block-no-duplicate-properties stylelint rule and
making it pass. Amongst others, removing IE 7 specific debug CSS rules.
Depends-on: I3859e04797203a64d82206a379dbb320e5e113d5
Change-Id: I0fa611fff61c13646a81193b7fa079f3427a0080
Volker E [Sat, 18 Feb 2017 12:38:36 +0000 (04:38 -0800)]
build: Enable use of stylelint-config-wikimedia and make pass
Enabling stylelint-config-wikimedia for Grunt stylelint,
which was already introduced in
3bf6f429295e, but has not yet
been actively used to enforce Wikimedia CSS Coding Standards.
For this first patch nullifying several options, which will be enabled
in follow-up patches in order to be easier reviewable.
Change-Id: I3859e04797203a64d82206a379dbb320e5e113d5
Bryan Davis [Mon, 20 Feb 2017 19:13:30 +0000 (12:13 -0700)]
MWExceptionHandler::handleError: Set log severity based on error level
Bug: T45086
Change-Id: I240b75f5a4e0075c7a357609aa26834708f93b0b
jenkins-bot [Mon, 20 Feb 2017 17:19:29 +0000 (17:19 +0000)]
Merge "Fixed documentation on Parser::getVariableValue"
Ed Sanders [Mon, 20 Feb 2017 14:31:02 +0000 (14:31 +0000)]
build: Fix stylelint glob pattern
Change-Id: I2f37668d32d70d72ed493e81af6b521a3bfaedba
Translation updater bot [Sun, 19 Feb 2017 20:55:46 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I300a922345f6e7e4fb7109b0bc758bec1667ccbf
Pmlineditor [Sat, 12 Mar 2016 07:47:31 +0000 (13:17 +0530)]
Replace reference to deprecated module deletedrevs in API documentation
Replaced reference to 'deletedrevs' in documentation of undelete
module by 'prop=deletedrevisions'
Bug: T109823
Change-Id: I82a2e5ff2f180dae2e11ef61790a20999b1a5802
Eddie Greiner-Petter [Sat, 18 Feb 2017 13:13:39 +0000 (14:13 +0100)]
Fixed documentation on Parser::getVariableValue
$index is definitely not a int here, see the big switch( $index )-case
statement below. It switches for strings, not numbers. Also, note that
this is lowercase, one might expect it to be uppercase as this is how
magic words are written in wikitext.
Bug: T96633
Change-Id: Iea93c3796fdee4ed7abbb7608e89b627ca95aead
Translation updater bot [Sat, 18 Feb 2017 20:55:31 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I76204d933123d39082efbdebe625b80e45eb4b2a
jenkins-bot [Sat, 18 Feb 2017 17:57:05 +0000 (17:57 +0000)]
Merge "Add "Unknown user" to $wgReservedUsernames"
Bartosz Dziewoński [Sat, 18 Feb 2017 17:34:56 +0000 (18:34 +0100)]
Add "Unknown user" to $wgReservedUsernames
Used in WikiImporter when importing revisions with no author
(e.g. when the author of the exported edit was revision-deleted).
Follow-up to changes related to T121338.
Bug: T158474
Change-Id: I49f3d5b9a23a0535c51a733d8837a681f6e51959
Reedy [Fri, 17 Feb 2017 16:35:36 +0000 (16:35 +0000)]
Copy in various point releases to HISTORY
Change-Id: If0e32d89b26b5f8a38639871d9c907d9b69cd487
jenkins-bot [Sat, 18 Feb 2017 11:43:16 +0000 (11:43 +0000)]
Merge "Split RCFilter's RL modules"
jenkins-bot [Sat, 18 Feb 2017 03:25:40 +0000 (03:25 +0000)]
Merge "Move ORAResult to /db"
jenkins-bot [Sat, 18 Feb 2017 03:25:35 +0000 (03:25 +0000)]
Merge "Move Field classes to Rdbms namespace"
Moriel Schottlender [Sat, 11 Feb 2017 01:27:48 +0000 (17:27 -0800)]
Split RCFilter's RL modules
Create 'dm' / 'ui' and 'controller' modules for ResourceLoader,
make sure that Special:RecentChanges loads 'ui' module (that
depends on the other two) and yet the qunit tests only load
the dm module.
Bug: T156532
Change-Id: If53a735458703f0bd2c094349edf86f38f05ccd7
jenkins-bot [Sat, 18 Feb 2017 01:03:34 +0000 (01:03 +0000)]
Merge "resourceloader: Consistent stylesheet order for debug and non-debug"
jenkins-bot [Sat, 18 Feb 2017 00:41:15 +0000 (00:41 +0000)]
Merge "Fix timestamp format in maintenance/manageJobs.php"
James D. Forrester [Fri, 17 Feb 2017 23:26:05 +0000 (15:26 -0800)]
build: Bump stylelint and make pass
grunt-stylelint 0.6.0 → 0.7.0
stylelint-config-wikimedia 0.3.0 → 0.4.1
Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
Timo Tijhof [Fri, 17 Feb 2017 23:21:59 +0000 (15:21 -0800)]
resourceloader: Consistent stylesheet order for debug and non-debug
Previously, style modules were only in a predictable order for production mode.
In debug mode, the order was determined by order in which modules were added
to queue at run time. This made it sometimes hard to debug, especially when
dealing with gadgets that apply in a different order among each other.
Change-Id: I4bff0c91d127e4ad8015cd8c1775220fe460cbc3
jenkins-bot [Fri, 17 Feb 2017 21:53:20 +0000 (21:53 +0000)]
Merge "Don't bail on single-line definition list due to excess close tags."
jenkins-bot [Fri, 17 Feb 2017 21:40:34 +0000 (21:40 +0000)]
Merge "Protect -{...}- variant constructs in definition lists."
C. Scott Ananian [Thu, 22 Dec 2016 17:30:36 +0000 (12:30 -0500)]
Don't bail on single-line definition list due to excess close tags.
When parsing a single line definition list, we track nested tags so that:
; <b>foo:bar</b>: baz
breaks before `baz`, not between `foo` and `bar`. But we currently bail
out of this algorithm entirely if we see a mismatched close tag. We should
just ignore the unmatched tag, like Parsoid does.
Change-Id: I6306dcad6347abeb6ab001d35562f1ab9f374bd1
jenkins-bot [Fri, 17 Feb 2017 21:32:29 +0000 (21:32 +0000)]
Merge "resourceloader: Limit module_deps write lock to unique index"
jenkins-bot [Fri, 17 Feb 2017 21:26:57 +0000 (21:26 +0000)]
Merge "resourceloader: Use upsert() instead of replace() for module_deps write"
Translation updater bot [Fri, 17 Feb 2017 20:58:39 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie3c31443ad7baae08af90f15eba74443257dcb7e
C. Scott Ananian [Tue, 13 Dec 2016 20:37:04 +0000 (15:37 -0500)]
Protect -{...}- variant constructs in definition lists.
Given the wikitext:
;-{zh-cn:AAA;zh-tw:BBB}-
Prevent `doBlockLevels` from trying to split the definition list at the
embedded colon and using `AAA;zh-tw:BBB}-` as the `<dd>` portion.
Bug: T153135
Change-Id: I3a4d02f1fbd0d0fe8278d6b7c66005f0dd3dd36b
jenkins-bot [Fri, 17 Feb 2017 17:12:41 +0000 (17:12 +0000)]
Merge "Demote "throttler data not found" logs to info level"
jenkins-bot [Fri, 17 Feb 2017 16:33:39 +0000 (16:33 +0000)]
Merge "Demote "Unverified user provided and no metadata to auth it" log message to info"
jenkins-bot [Fri, 17 Feb 2017 09:24:49 +0000 (09:24 +0000)]
Merge "Add fr (French) language fallback for br, nrm, oc"