Timo Tijhof [Sat, 1 Apr 2017 01:07:59 +0000 (18:07 -0700)]
ObjectFactory: Complete code coverage for ObjectFactoryTest
Cover missing case of expandClosures() where the array contains
both a closure and a non-closure.
Change-Id: I30ea8cf3fb909a499a95bf9bd24792f4dd6b5c64
jenkins-bot [Sat, 1 Apr 2017 00:33:56 +0000 (00:33 +0000)]
Merge "objectcache: Never use CACHE_NONE for CACHE_ANYTHING"
jenkins-bot [Sat, 1 Apr 2017 00:31:46 +0000 (00:31 +0000)]
Merge "ResourceLoaderModuleTest: Exchange expected and actual parameter"
jenkins-bot [Fri, 31 Mar 2017 22:01:28 +0000 (22:01 +0000)]
Merge "API: Allow returning parse warnings for action=parse"
Translation updater bot [Fri, 31 Mar 2017 20:34:04 +0000 (22:34 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Idfecf37225dbcb6d02fcb7988263437dbb01af16
Fomafix [Fri, 31 Mar 2017 13:24:14 +0000 (15:24 +0200)]
ResourceLoaderModuleTest: Exchange expected and actual parameter
For assertEquals of PHPUnit the first parameter is $expected and the second
parameter is $actual.
https://phpunit.de/manual/current/en/appendixes.assertions.html#appendixes.assertions.assertEquals
Change-Id: Iad4b37ee74a03aa00f2dc14d3c474796b3191b51
Baha [Fri, 31 Mar 2017 18:59:35 +0000 (11:59 -0700)]
API: Allow returning parse warnings for action=parse
Passing in the 'parsewarnings' property will return warnings related
to parsing content.
Bug: T92634
Change-Id: I7e54765ee9a24ffb78e7763f73a520151023baf6
jenkins-bot [Fri, 31 Mar 2017 18:24:57 +0000 (18:24 +0000)]
Merge "RCFilters: Remove isAllowedCallable and isAllowed"
Matthew Flaschen [Fri, 31 Mar 2017 05:07:31 +0000 (01:07 -0400)]
RCFilters: Remove isAllowedCallable and isAllowed
This is pretty fragile; it's easy to accidentally miss one of the
checks (as has already happened in e.g. parseParameters).
Although I don't yet know of any bugs as a result of this, it's
cleaner to do it at registration time.
There are no extensions using this feature.
Change-Id: I8547ea6432cae73e1bc272dbe959f2415b8a6d21
jenkins-bot [Fri, 31 Mar 2017 05:10:22 +0000 (05:10 +0000)]
Merge "SECURITY: Disable <html> tag on system messages despite $wgRawHtml = true;"
jdlrobson [Thu, 24 Dec 2015 00:10:46 +0000 (16:10 -0800)]
mediawiki.util: Add module export to support require()
This allows mediawiki.util to be used with require() and
to bring attention to an alternative code pattern
that other developers may wish to adopt.
Bug: T140384
Change-Id: I8a4323bd56476caccb559b15ca543d64c5281f7c
Volker E [Thu, 30 Mar 2017 21:40:55 +0000 (14:40 -0700)]
Update OOjs UI to v0.20.2
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.20.2
Change-Id: Ib79bda91982de97425b6a025b18299ec8693255d
jenkins-bot [Thu, 30 Mar 2017 21:22:09 +0000 (21:22 +0000)]
Merge "Use consistent spaces at start and end of comments"
jenkins-bot [Thu, 30 Mar 2017 20:36:38 +0000 (20:36 +0000)]
Merge "Add closure around moment-locale-overrides.js"
Translation updater bot [Thu, 30 Mar 2017 20:16:21 +0000 (22:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia2c8ceda86ed0cfcc66d5be2c9b7653931379245
Fomafix [Thu, 30 Mar 2017 19:53:50 +0000 (21:53 +0200)]
Use consistent spaces at start and end of comments
Change-Id: Idbb09b69aa1ef4e46433319aaea62f34f0dbc038
Fomafix [Thu, 30 Mar 2017 19:30:14 +0000 (21:30 +0200)]
Add closure around moment-locale-overrides.js
Change-Id: I262d53479ab7971323db12d345fc0cd343b1df5e
jenkins-bot [Thu, 30 Mar 2017 18:36:33 +0000 (18:36 +0000)]
Merge "Implement WikiPage::getOldestRevision() in terms of Title::getFirstRevision()"
jenkins-bot [Thu, 30 Mar 2017 18:16:18 +0000 (18:16 +0000)]
Merge "build: Bump grunt-banana-checker from 0.5.0 to 0.6.0"
Arlo Breault [Thu, 30 Mar 2017 14:23:17 +0000 (10:23 -0400)]
Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit
b1b271460c341e844e21641b5307794cf4dd7feb
Change-Id: I792787b38c464efcb8c68b66b52a4dc9a0b41c36
jenkins-bot [Thu, 30 Mar 2017 13:23:03 +0000 (13:23 +0000)]
Merge "Follow-up If0588439: Fix color of active & visited selflinks"
jenkins-bot [Thu, 30 Mar 2017 12:35:31 +0000 (12:35 +0000)]
Merge "Avoid database access in ImportTitleFactory tests dataProviders"
jenkins-bot [Thu, 30 Mar 2017 12:33:14 +0000 (12:33 +0000)]
Merge "Don't create user in AuthManagerTest dataProvider"
Ed Sanders [Thu, 30 Mar 2017 10:54:49 +0000 (11:54 +0100)]
Follow-up If0588439: Fix color of active & visited selflinks
Bug: T160480
Change-Id: I3efb0705ad2365f676df41b0166403b8f43f19a5
jenkins-bot [Thu, 30 Mar 2017 02:32:53 +0000 (02:32 +0000)]
Merge "Revert "Remove old remapping hacks from Database::indexName()""
jenkins-bot [Thu, 30 Mar 2017 02:06:16 +0000 (02:06 +0000)]
Merge "Update psy/psysh 0.8.1 -> 0.8.3"
jenkins-bot [Thu, 30 Mar 2017 01:53:05 +0000 (01:53 +0000)]
Merge "Update phpunit 4.8.31 -> 4.8.35"
Brian Wolff [Wed, 15 Mar 2017 22:51:13 +0000 (22:51 +0000)]
objectcache: Never use CACHE_NONE for CACHE_ANYTHING
If $wgMainCacheType = CACHE_ACCEL, but there is no APC, then its
possible that CACHE_ANYTHING will default to CACHE_NONE because
that's what CACHE_ACCEL would do.
Possibly also T147161
Bug: T160519
Change-Id: I9ac2d071437b35a0f9cd3678e2279628f7b1931e
Reedy [Thu, 30 Mar 2017 01:11:56 +0000 (02:11 +0100)]
Update phpunit 4.8.31 -> 4.8.35
Change-Id: I909466567b9f66dc391258ca7f7bac12ce98b23c
Reedy [Thu, 30 Mar 2017 01:09:15 +0000 (02:09 +0100)]
Update psy/psysh 0.8.1 -> 0.8.3
https://github.com/bobthecow/psysh/releases/tag/v0.8.2
https://github.com/bobthecow/psysh/releases/tag/v0.8.3
https://github.com/bobthecow/psysh/compare/v0.8.1...v0.8.3
Change-Id: Ief2e0444d6e79df4433172d00d2db2b137bc2bb2
James D. Forrester [Thu, 16 Mar 2017 22:19:36 +0000 (15:19 -0700)]
Linker: Render selflinks as href-less classed <a>s, not <strong>s
Self-links are still semantically links, and representing them as <strong>s
is inelegant and more important a real pain to work with, especially in
contexts where they may change state (like inside an editor).
Instead, render them as <a>, with no href to avoid user agent style over-
rides and with a class to style them as before, named 'mw-selflink' to go
with 'mw-redirect'. This allows much easier adjustment later. The old CSS
class 'selflink' is retained for backwards compatibility, but deprecated.
Bug: T160480
Change-Id: If058843924c3b30c116df2520aef93a004d98a5d
jenkins-bot [Wed, 29 Mar 2017 20:48:46 +0000 (20:48 +0000)]
Merge "Update OOjs UI to v0.20.1"
jenkins-bot [Wed, 29 Mar 2017 20:39:07 +0000 (20:39 +0000)]
Merge "EditPage: Refactor getCheckboxes() to allow changing the format"
jenkins-bot [Wed, 29 Mar 2017 20:06:58 +0000 (20:06 +0000)]
Merge "ResourceLoaderImage: Correctly ignore 'deprecated' key"
jenkins-bot [Wed, 29 Mar 2017 20:06:03 +0000 (20:06 +0000)]
Merge "Special:RecentChangesLinked show "no results" message"
Bartosz Dziewoński [Sat, 25 Mar 2017 20:41:03 +0000 (21:41 +0100)]
EditPage: Refactor getCheckboxes() to allow changing the format
getCheckboxes() directly generated the HTML for the
"This is a minor edit" and "Watch this page" checkboxes,
and allowed extensions to add more HTML checkboxes (and
modify existing ones) using the 'EditPageBeforeEditChecks'
hook. This prevents us from ever changing the format of
the HTML (e.g. to use OOUI checkboxes).
Introduce new method getCheckboxesDefinition(), which
generates the checkboxes in a machine-readable format,
with a new hook 'EditPageGetCheckboxesDefinition'.
Rewrite getCheckboxes() in terms of that. The old hook
'EditPageBeforeEditChecks' is now deprecated.
Change-Id: I3dbe973dcac6cba0c3a1ac5d983cafcfb49d833c
Translation updater bot [Wed, 29 Mar 2017 19:57:26 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I18df74d64336e8539b7ac85fc6a456759d283e9c
Volker E [Tue, 28 Mar 2017 23:25:58 +0000 (16:25 -0700)]
Update OOjs UI to v0.20.1
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.20.1
Depends-On: I9b50eee459085eaa00819cbabe340ac442a332bd
Change-Id: I9b50eee459085eaa00819cbabe340ac442a332db
jenkins-bot [Wed, 29 Mar 2017 19:39:18 +0000 (19:39 +0000)]
Merge "mw.widgets.Complex*: Add setDisabled"
Roan Kattouw [Wed, 29 Mar 2017 18:44:22 +0000 (14:44 -0400)]
ResourceLoaderImage: Correctly ignore 'deprecated' key
It turns out that 'resources/lib/oojs-ui/themes/mediawiki/Moved since v0.20.1, use from the 'interactions' pack instead.'
is not usually an existing file, and doesn't have the extension '.svg'.
Not sure why this didn't break earlier.
Bonus: Add module name to exceptions to make these errors easier
to track down.
Bonus #2: Use the post-expansion, not pre-expansion, definition everywhere
to avoid confusion when debugging.
Change-Id: I0325d4dab5658fd29c3c33fd3e762834b53d1b5d
jenkins-bot [Wed, 29 Mar 2017 18:29:11 +0000 (18:29 +0000)]
Merge "Move DBConnRef/MaintainableDBConnRef to Rdbms namespace"
Aaron Schulz [Wed, 29 Mar 2017 16:15:50 +0000 (09:15 -0700)]
Move DBConnRef/MaintainableDBConnRef to Rdbms namespace
Change-Id: I7ca6b40f973b2aae83747de92e280ded222c87e3
Stephane Bisson [Wed, 29 Mar 2017 16:36:49 +0000 (12:36 -0400)]
Special:RecentChangesLinked show "no results" message
Bug: T160482
Change-Id: I26743928b359ad052ff53bde281f0479cbe68a99
jenkins-bot [Wed, 29 Mar 2017 16:23:38 +0000 (16:23 +0000)]
Merge "Make Title::getFirstRevision() ignore the rev_timestamp index"
Roan Kattouw [Wed, 29 Mar 2017 15:53:08 +0000 (11:53 -0400)]
Implement WikiPage::getOldestRevision() in terms of Title::getFirstRevision()
They were both doing the same thing, except that getOldestRevision()
checks the master if the revision is missing on the replica.
Change-Id: I21a118c6cd5c98fb846a0a2765574c0dbdbf7220
Roan Kattouw [Tue, 28 Mar 2017 15:34:56 +0000 (11:34 -0400)]
Make Title::getFirstRevision() ignore the rev_timestamp index
We want the page_timestamp index to be used in this case, but sometimes
the rev_timestamp is chosen which leads to bad performance.
Also update WikiPage::getOldestRevision() which uses the exact same query.
I'll implement one in terms of the other in a follow-up commit.
Bug: T159319
Change-Id: I7c5c0a9b1af99ce2b5f4bdcc99710d8400ca8bcf
jenkins-bot [Wed, 29 Mar 2017 14:11:40 +0000 (14:11 +0000)]
Merge "Allow filtering by username on Special:NewFiles"
jenkins-bot [Wed, 29 Mar 2017 06:44:49 +0000 (06:44 +0000)]
Merge "HttpFunctions: Increase code coverage"
jenkins-bot [Wed, 29 Mar 2017 00:46:59 +0000 (00:46 +0000)]
Merge "Move IDatabase/IMaintainableDatabase to Rdbms namespace"
jenkins-bot [Wed, 29 Mar 2017 00:46:52 +0000 (00:46 +0000)]
Merge "Defer calling ChronologyProtector::initLB() until connecting"
Timo Tijhof [Wed, 29 Mar 2017 00:21:15 +0000 (17:21 -0700)]
HttpFunctions: Increase code coverage
* Complete coverage for Http::getProxy().
* Remove bogus @covers tag on data provider, and add the
relevant MWHttpRequest::getFinalUrl to the test instead.
* Convert test to use dataProvider and add missing test cases
to increase getFinalUrl() test coverage to 100%.
* Minor clean up in getFinalUrl to consistently use early-return
for all cases, not just for relative 'domain' and 'isset-host'
cases. Without this coverage actually couldn't reach 100% due
to the remainder of the empty else branch never being reached
(CRAP: "Redundant 'else' after 'return'")
Change-Id: I775d95965dc23a1e6c4c62ed84f9da64b6c72135
Aaron Schulz [Fri, 24 Mar 2017 00:30:29 +0000 (17:30 -0700)]
Defer calling ChronologyProtector::initLB() until connecting
Bug: T160678
Change-Id: Id51c2854f38d9e4697e52776168b16996e9152e4
jenkins-bot [Tue, 28 Mar 2017 23:32:06 +0000 (23:32 +0000)]
Merge "Deprecate "Avoid page_touched update for HTTP GET action=purge requests""
Aaron Schulz [Fri, 10 Feb 2017 18:09:05 +0000 (10:09 -0800)]
Move IDatabase/IMaintainableDatabase to Rdbms namespace
Change-Id: If7e8a8ff574661fd827de8bcec11d2c39a687300
Brian Wolff [Mon, 6 Feb 2017 03:00:39 +0000 (03:00 +0000)]
SECURITY: Disable <html> tag on system messages despite $wgRawHtml = true;
System messages may take parameters from untrusted sources. This
may include taking parameters from urls given by unauthenticated
users even if the wiki is a read-only wiki. Allowing <html> tags
in such a context seems like an accident waiting to happen.
Bug: T156184
Change-Id: I661f482986d319cf41da1d3e7b20a0f028a42e90
Timo Tijhof [Tue, 28 Mar 2017 21:34:18 +0000 (14:34 -0700)]
resourceloader: Avoid deprecated getModifiedHash() in SkinModule
Use getDefinitionSummary instead, which uses a single serialisation
pass instead of requiring every stage to be a string. This way
we don't need to call json_encode and md5() multiple times.
getModifiedHash() was deprecated in MediaWiki 1.26.
Change-Id: If9e9caa3d12976c99543ad53ab280355b70acb17
jenkins-bot [Tue, 28 Mar 2017 21:24:42 +0000 (21:24 +0000)]
Merge "Catch errors in more cases inside MediaWiki::triggerJobs()"
jenkins-bot [Tue, 28 Mar 2017 21:16:57 +0000 (21:16 +0000)]
Merge "ForeignStructuredUpload.BookletLayout: Use CategoryMultiselectWidget"
jenkins-bot [Tue, 28 Mar 2017 21:16:52 +0000 (21:16 +0000)]
Merge "Rename CategorySelector to CategoryMultiselectWidget"
Translation updater bot [Tue, 28 Mar 2017 19:58:48 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie34e238728bbf19d934f98e3a6d8e847f9be60a5
jenkins-bot [Tue, 28 Mar 2017 19:56:34 +0000 (19:56 +0000)]
Merge "hidemyself/hidebyothers: Use rc_user_text since there is an index"
Matthew Flaschen [Mon, 27 Mar 2017 21:06:01 +0000 (17:06 -0400)]
hidemyself/hidebyothers: Use rc_user_text since there is an index
hidebyothers was extremely slow (on large data sets) due to the
lack of an index on rc_user. To fix this, changed to use rc_user_text.
hidemyself seems to be fine (assuming normal usage patterns), but
to avoid edge cases and ensure full coverage, it's been changed as
well.
I'll inquire about adding an index for this.
Bug: T161557
Change-Id: I61efe11de12e8ab6c01e8d913cdeda471132a6ee
James D. Forrester [Tue, 28 Mar 2017 19:08:05 +0000 (15:08 -0400)]
build: Bump grunt-banana-checker from 0.5.0 to 0.6.0
Change-Id: I64d4267d20716b893237f7f13729343593c8d382
jenkins-bot [Tue, 28 Mar 2017 15:09:28 +0000 (15:09 +0000)]
Merge "Change Title::getPreviousRevisionID (and next) to ignore PRIMARY"
jenkins-bot [Tue, 28 Mar 2017 14:19:21 +0000 (14:19 +0000)]
Merge "MWHttpRequest: optionally add original request data"
Prateek Saxena [Fri, 24 Mar 2017 10:25:56 +0000 (15:55 +0530)]
ForeignStructuredUpload.BookletLayout: Use CategoryMultiselectWidget
...instead of CategorySelector
Bug: T161285
Change-Id: Icd9bb162caa63c5a43f90e31818fc1432c6d66be
Prateek Saxena [Fri, 24 Mar 2017 09:55:37 +0000 (15:25 +0530)]
Rename CategorySelector to CategoryMultiselectWidget
For consistency.
Bug: T161285
Change-Id: I7c9e0089ba6b77f4bc73e14b989630487f6f3174
jenkins-bot [Tue, 28 Mar 2017 08:04:18 +0000 (08:04 +0000)]
Merge "Add tests for CSSMin::getMimeType"
jenkins-bot [Tue, 28 Mar 2017 07:59:45 +0000 (07:59 +0000)]
Merge "resourceloader: Optimise getMimeType() for common case"
Timo Tijhof [Sat, 25 Mar 2017 19:38:09 +0000 (12:38 -0700)]
build: Make Travis CI 'Postgres' build non-voting
This will make it easier to detect regressions by not making all
builds marked as fail, but only if one of the other three fails.
Mute the known failure from Postgres by adding it to an allow_failures
section. It'll still run every commit, but is non-voting.
To be re-enabled once T75174 is fixed.
Bug: T75176
Change-Id: I2ea415edd308f2a012ef240d562c0073f15b9118
jenkins-bot [Mon, 27 Mar 2017 22:18:00 +0000 (22:18 +0000)]
Merge "RCFilters UI: Only show full coverage message if item isn't highlighted"
Aaron Schulz [Mon, 27 Mar 2017 20:26:13 +0000 (13:26 -0700)]
Catch errors in more cases inside MediaWiki::triggerJobs()
This catches things like "DB is read-only" when doing pop()/ack() from the
job table with sqlite.
Also spun off some code to new trigger*Jobs() methods for readability.
Bug: T88312
Change-Id: I2a09248e40867684d48e6739da5e4a90581fa6ce
Translation updater bot [Mon, 27 Mar 2017 20:56:37 +0000 (22:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I9a519432d6d8d818987818a6d7c07d1fdebe2f81
jenkins-bot [Mon, 27 Mar 2017 20:41:37 +0000 (20:41 +0000)]
Merge "rcfilters: Avoid $.type()"
Stephane Bisson [Mon, 27 Mar 2017 19:34:39 +0000 (15:34 -0400)]
rcfilters: Avoid $.type()
Followup to I9a0c5e40b813e075ec33eea882b625dc43a15df6
Replace $.type() with typeof or Array.isArray
Change-Id: I4f0f717c345ab1279b626b158b0ed6ada056bbc1
Gergő Tisza [Sat, 25 Mar 2017 23:05:44 +0000 (23:05 +0000)]
MWHttpRequest: optionally add original request data
Bug: T161029
Change-Id: I16a2eec46ae9e0e242fe740be20e39a2422dc867
jenkins-bot [Mon, 27 Mar 2017 19:16:48 +0000 (19:16 +0000)]
Merge "Add array typehint to 2 DatabaseUpdater methods"
jenkins-bot [Mon, 27 Mar 2017 19:11:19 +0000 (19:11 +0000)]
Merge "Add a tracking category when a template loop is detected"
jenkins-bot [Mon, 27 Mar 2017 18:37:53 +0000 (18:37 +0000)]
Merge "Add support for Atikamekw"
jenkins-bot [Mon, 27 Mar 2017 18:32:00 +0000 (18:32 +0000)]
Merge "EditPage: Minor code style improvements"
Brad Jorsch [Wed, 1 Feb 2017 15:12:14 +0000 (10:12 -0500)]
Deprecate "Avoid page_touched update for HTTP GET action=purge requests"
This reverts most of commit
c84ba4d86420d7af918e572e2cd4613d7be185b3.
The changes made there are no longer needed, and nothing in Gerrit seems
to have started using them since they were added.
The added constants in WikiPage, WikiPage::getLastPurgeTimestamp(), and
Article::getLastPurgeTimestamp() are deprecated, useless, and unused,
but not removed yet since they snuck into 1.28 so we can't revert them
without a deprecation period. Sigh.
Bug: T145649
Change-Id: I526fd4e004bee84c831a4cee71e44e92ee73480b
Sébastien Santoro [Wed, 8 Jun 2016 23:52:04 +0000 (23:52 +0000)]
Add support for Atikamekw
Language code: atj
Bug: T137376
Change-Id: Ieb9b6bcd09aedbf520b384a6572f96d7db1eca18
Translation updater bot [Sun, 26 Mar 2017 19:56:00 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I52bcb35ec9bae29b0adf6d745ad63706fd69e011
Thiemo Mättig [Sun, 26 Mar 2017 16:08:06 +0000 (18:08 +0200)]
Add tests for CSSMin::getMimeType
Direct follow up for I1768646. The tests are copied from my patch
If985f33, with one important difference: Now the file extension always
wins. Mismatches are not fixed any more by this code. This is intended.
See the discussion at I1768646.
Change-Id: I06b873a808d58ae7e53272765b156ac0fa293c2c
Bartosz Dziewoński [Sat, 25 Mar 2017 14:32:32 +0000 (15:32 +0100)]
EditPage: Minor code style improvements
Mostly whitespace fixes. Avoiding some temporary variables.
Change-Id: I65f31f2bdd01ab677caff5f628222993ad719c2f
jenkins-bot [Sat, 25 Mar 2017 13:18:16 +0000 (13:18 +0000)]
Merge "build: karma now reports with mocha formatter"
jenkins-bot [Sat, 25 Mar 2017 03:56:12 +0000 (03:56 +0000)]
Merge "Ensure we use mw.now() instead of 'new Date' for relative measurement"
Timo Tijhof [Sat, 25 Mar 2017 03:37:23 +0000 (20:37 -0700)]
Ensure we use mw.now() instead of 'new Date' for relative measurement
'new Date' is subject to clock drift etc.
mw.now() uses performance.now() when available, which will always
increase at a constant rate independent of the system clock.
Change-Id: Ib653103bf6116544f35c930fb33421f1bb362c7d
Timo Tijhof [Sat, 25 Mar 2017 03:20:44 +0000 (20:20 -0700)]
resourceloader: Optimise getMimeType() for common case
About 0.74% of load.php is spent in CSSMin::getMimeType/finfo_file.
We don't apply this to user-generated content of external urls,
only local files in version control. And in terms of correctness,
we don't support misleading file names, so it's not a problem that
a foo.png containing XML/SVG content would get the wrong mime-type
when base64 embedding it in CSS.
Change-Id: I17686467c897984117671098e94db8732446dc75
Subramanya Sastry [Sat, 25 Mar 2017 02:54:07 +0000 (21:54 -0500)]
Tweak CSS for Parsoid <figure>s
* These tweaks give us zero pixel diffs for images (when the
magnify icon is hidden) outside galleries.
Change-Id: Icd5a280a13162401f0bced93a91f9dfa45a3a481
jenkins-bot [Sat, 25 Mar 2017 01:50:56 +0000 (01:50 +0000)]
Merge "Decode '0'-valued user options to integer 0"
jenkins-bot [Sat, 25 Mar 2017 01:14:17 +0000 (01:14 +0000)]
Merge "Add @since tags to WikiRevision"
jenkins-bot [Sat, 25 Mar 2017 01:13:53 +0000 (01:13 +0000)]
Merge "Add missing @group Database tags in tests"
jenkins-bot [Sat, 25 Mar 2017 01:03:20 +0000 (01:03 +0000)]
Merge "Check for string initialization in lcfirst() for HHVM 3.18"
addshore [Thu, 16 Mar 2017 09:51:54 +0000 (09:51 +0000)]
Add @since tags to WikiRevision
Change-Id: I02005184d2cb3fa50aa0a51221b40e7c621219d2
Timo Tijhof [Sat, 25 Mar 2017 00:33:40 +0000 (17:33 -0700)]
qunit: Remove experimental CompletenessTest feature
The CompletenessTest was my attempt at measuring a basic code coverage
using run-time inspection instead of static instrumentation.
Originally added in
540419a82e5a5 (2010; MediaWiki 1.17).
It was never finished, remained fairly buggy and disabled by default.
It is also no longer used anywhere.
Bug: T155194
Change-Id: I26e7466426dddb43596f402e31005a89060c1b96
Translation updater bot [Fri, 24 Mar 2017 20:53:45 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I52ddf38b7a669842ed8157f5929cf4519ff9a57a
Moriel Schottlender [Fri, 24 Mar 2017 17:17:37 +0000 (10:17 -0700)]
RCFilters UI: Only show full coverage message if item isn't highlighted
Bug: T161273
Change-Id: If62bbab3e12fc3d9e83f9452723a9b2d6b75854a
Antoine Musso [Fri, 24 Mar 2017 14:19:36 +0000 (15:19 +0100)]
Check for string initialization in lcfirst() for HHVM 3.18
HHVM 3.18 emits a notice when attempting to access the first offset of
an empty string. We had that fixed for ucfirst() in
3605066c96. This is
the same for lcfirst().
Bug: T161095
Change-Id: I1456611222c24290f259298e883ca89dd830c74b
Reedy [Fri, 24 Mar 2017 11:52:00 +0000 (11:52 +0000)]
Revert "Remove old remapping hacks from Database::indexName()"
This reverts commit
bec6151e5fe30e780d82527c4c53e54379149a4e.
Bug: T154872
Change-Id: I1c67aa464a1f151562ef92fce03f825113847814