jenkins-bot [Tue, 28 Feb 2017 01:00:10 +0000 (01:00 +0000)]
Merge "Follow-up
1e9c3619: Correct @T1234 accidental cruft"
jenkins-bot [Tue, 28 Feb 2017 00:52:07 +0000 (00:52 +0000)]
Merge "/*.php: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:51:57 +0000 (00:51 +0000)]
Merge "includes: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:50:30 +0000 (00:50 +0000)]
Merge "includes/libs: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:44:36 +0000 (00:44 +0000)]
Merge "languages: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:43:34 +0000 (00:43 +0000)]
Merge "includes/api: Replace implicitly-Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:37:38 +0000 (00:37 +0000)]
Merge "maintenance: Replace implicit Bugzilla bug numbers with Phab ones"
jenkins-bot [Tue, 28 Feb 2017 00:34:08 +0000 (00:34 +0000)]
Merge "includes/specials: Replace implicit Bugzilla bug numbers with Phab ones"
James D. Forrester [Mon, 20 Feb 2017 22:46:45 +0000 (14:46 -0800)]
languages: 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: Id2f9d229d17b8eee66b2ca4e3927f3f66ac62988
James D. Forrester [Mon, 20 Feb 2017 22:31:04 +0000 (14:31 -0800)]
includes/specials: 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: Ic878feaea72893a1c47ea79ac284e581209e1731
Moriel Schottlender [Sat, 25 Feb 2017 00:02:25 +0000 (16:02 -0800)]
RCFilters UI: Scroll to filter when selected
Also, visually select the filter item that was clicked,
and reset selections when any interaction is happening
in the model.
Change-Id: I416c324eec4bc35ae9b1e0aeabd2897da0158d95
Moriel Schottlender [Mon, 27 Feb 2017 23:45:17 +0000 (15:45 -0800)]
RCFilters UI: Delay the capsule popup
Show and hide the popup over the capsule item with a short delay.
Bug: T158993
Change-Id: I8a4d26fcfda9a5abfa2ba258b8fc4ddcc2ecb652
Timo Tijhof [Mon, 27 Feb 2017 22:21:14 +0000 (14:21 -0800)]
mediawiki.action.edit: Move collapsibleFooter cookies to localStorage
The old cookies will become unused and expire automatically.
The new localStorage values won't have any expiry as localStorage
doesn't support it. We could provide ad-hoc expiry, but it wouldn't
be useful. It doesn't save space as it would only evict when visiting
the edit page (at which point the value is relevant again). Which means
it also doesn't help any privacy perspective (the value will be readable
for an undefined time until then, though never shared over the network).
If we want it to auto-expire, sessionStorage could be considered. Though
that means the value is reset everytime the user restarts their browser.
Bug: T110353
Change-Id: Ie9a4612de55e6aaf155a2179643e9b17f331e897
Timo Tijhof [Mon, 27 Feb 2017 22:07:48 +0000 (14:07 -0800)]
mediawiki.special.preferences: Use mw.storage.session for sessionStorage
Consistent access pattern.
Change-Id: Icc2591159a88eb5f80c601b22219c06df15f2347
Moriel Schottlender [Mon, 27 Feb 2017 22:53:54 +0000 (14:53 -0800)]
RCFilters UI: Dash the border 'none' highlight
Bug: T149467
Change-Id: I9cba28b61bd423cb8b367dc454f6818befb25c5c
Moriel Schottlender [Mon, 27 Feb 2017 22:49:16 +0000 (14:49 -0800)]
RCFilters UI: Only mute 'fullyCovered' items in the capsule
Remove the mute state for full-coverage items in the filter list,
leave it only for the capsule items.
Bug: T156429
Change-Id: Ida2628112f9e7dad9208737fec958e382fb1158c
Translation updater bot [Mon, 27 Feb 2017 20:54:41 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I5bf398e4a74a8e06d96236004e7ab0169c838952
jenkins-bot [Mon, 27 Feb 2017 18:45:05 +0000 (18:45 +0000)]
Merge "Tweak mw-ui padding to match oo-ui for buttons and text inputs"
jenkins-bot [Mon, 27 Feb 2017 18:44:59 +0000 (18:44 +0000)]
Merge "RCFilters UI: Limit filter popup height"
Bartosz Dziewoński [Sat, 25 Feb 2017 21:53:36 +0000 (22:53 +0100)]
Miscellaneous indentation tweaks
I was bored. What? Don't look at me that way.
I mostly targetted mixed tabs and spaces, but others were not spared.
Note that some of the whitespace changes are inside HTML output,
extended regexps or SQL snippets.
Change-Id: Ie206cc946459f6befcfc2d520e35ad3ea3c0f1e0
Željko Filipin [Fri, 17 Feb 2017 12:34:06 +0000 (13:34 +0100)]
Update tests to Selenium 3
Selenium is dependency of mediawiki_selenium.
Method #when_present is deprecated in Watir 6.
http://watir.github.io/watir-6-faq/
LoginPage is already in mediawiki_selenium, so just the additions are
left here.
Bug: T158074
Change-Id: Icf596f7d4a8275df27e3ccaf7da72033bcfd8ead
Depends-On: I6d5067390953c9c9a147215b154217c5ab24d1a9
jenkins-bot [Mon, 27 Feb 2017 10:13:41 +0000 (10:13 +0000)]
Merge "Add more Czech special page aliases"
addshore [Mon, 27 Feb 2017 09:18:03 +0000 (09:18 +0000)]
Fix StatusValue::setResult phpdoc typo
Change-Id: If727e357d4deb138ec4e391f231b074677ec2437
Tim Starling [Mon, 27 Feb 2017 04:44:31 +0000 (15:44 +1100)]
Fix @covers for (non-integration) parser tests
You have to allow tests to cover private Parser methods that they
execute. Private methods will never have separate tests.
Change-Id: Ic842e2be4675f505dc26d1d3e1dd9000401df46c
Tim Starling [Mon, 27 Feb 2017 04:15:23 +0000 (15:15 +1100)]
Fix @covers for BalancerTest
This test is intended to cover the whole file, not just one method.
Change-Id: Ice800ce467e030e8264db96e19feadf9b68afb9a
Nicolaie Constantinescu [Sun, 26 Feb 2017 15:55:44 +0000 (17:55 +0200)]
Don't use <dd> for indenting descriptions on Special:ApiSandbox
Bug: T146351
Change-Id: I29b4b2a82f190ff0ac6041b1ea712f5f9872ff12
Translation updater bot [Sun, 26 Feb 2017 20:53:33 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3575803833e078c706053138ad10473b56d1a016
addshore [Sun, 26 Feb 2017 16:50:21 +0000 (16:50 +0000)]
Make EditPage::incrementConflictStats protected
This will be overridden by the TwoColConflict
extension & beta feature...
Bug: T158754
Change-Id: Ia0099540032da2d490b2a8eee82a7ae70eff0f9e
Florian [Mon, 18 Apr 2016 18:03:53 +0000 (20:03 +0200)]
Add maintenance script to add sites to sites table
Also: Add language code validation to Site::setLanguageCode().
Bug: T132937
Change-Id: I763ec65cb06d5250a3886a66eefdde8701b2299c
Ed Sanders [Sun, 26 Feb 2017 15:04:01 +0000 (15:04 +0000)]
Tweak mw-ui padding to match oo-ui for buttons and text inputs
Change-Id: I594f42d1e13d1c5e9bf44363a137fc2fe9f937e7
jenkins-bot [Sun, 26 Feb 2017 00:05:16 +0000 (00:05 +0000)]
Merge "Database: Remove weird commented-out block"
jenkins-bot [Sun, 26 Feb 2017 00:03:01 +0000 (00:03 +0000)]
Merge "FeedUtils: Remove weird commented-out block"
Bartosz Dziewoński [Sat, 25 Feb 2017 21:38:46 +0000 (22:38 +0100)]
Database: Remove weird commented-out block
Commented out in
033b6b9646da6b71c5bb9dd6803a662bcf510a99 (r20329).
After ten years, I think it's safe to bet this won't ever be getting
un-commented.
Change-Id: Ibb1f3e2969b2d81f6f2a17fff57e9b05cc17d58b
Bartosz Dziewoński [Sat, 25 Feb 2017 21:33:31 +0000 (22:33 +0100)]
FeedUtils: Remove weird commented-out block
This has been added in
58f7bb30a04d6c1f137cc1659b8998c5349bf13e (r36376),
already commented-out, and was moved and amended several times until
it became completely out of place.
Change-Id: I11b6e3e2fbb2d0a325a6723bf5874133a7f53851
Translation updater bot [Sat, 25 Feb 2017 20:54:06 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I93fcfdcd97dae44a3f7f3bd702175d646e10ea4d
jenkins-bot [Sat, 25 Feb 2017 10:56:31 +0000 (10:56 +0000)]
Merge "Move wpSummary from shared.css to mediawiki.action.edit.styles.css"
Moriel Schottlender [Fri, 24 Feb 2017 21:31:19 +0000 (13:31 -0800)]
RCFilters UI: Limit filter popup height
Make sure the popup clips itself after it changes height
after filtering results on search.
Bug: T158118
Change-Id: I2f9e8b775b154635aa8b12f44876279173548b99
Moriel Schottlender [Fri, 24 Feb 2017 23:02:49 +0000 (15:02 -0800)]
RCFilters UI: Scroll the capsule to the top of the screen
When the popup shows up, scroll the capsule widget to the top of
the screen.
Change-Id: I5366a8a0918bda0aabe1c97db252278c36a89347
jenkins-bot [Fri, 24 Feb 2017 22:41:45 +0000 (22:41 +0000)]
Merge "Log a backtrace from the culprit location if headers were already sent"
jenkins-bot [Fri, 24 Feb 2017 20:56:22 +0000 (20:56 +0000)]
Merge "Use Database::addQuotes instead of hard coded apostrophs"
Translation updater bot [Fri, 24 Feb 2017 20:55:20 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia8e467b3f295184a8abb3737d3949994078bbba3
James D. Forrester [Mon, 20 Feb 2017 22:28:10 +0000 (14:28 -0800)]
includes/api: Replace implicitly-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: I49e2a10350a328a8572fcedd44012751a29e1068
James D. Forrester [Fri, 24 Feb 2017 16:32:52 +0000 (08:32 -0800)]
Follow-up
1e9c3619: Correct @T1234 accidental cruft
Change-Id: I94e50ef3356e4e53f9a9082484dff97e49a0e2e2
jenkins-bot [Fri, 24 Feb 2017 14:49:31 +0000 (14:49 +0000)]
Merge "Better punctuation in apiwarn-toomanyvalues"
jenkins-bot [Fri, 24 Feb 2017 12:04:19 +0000 (12:04 +0000)]
Merge "Improve logging of exceptions which are not thrown but attached to context"
jenkins-bot [Fri, 24 Feb 2017 05:25:29 +0000 (05:25 +0000)]
Merge "Move remaining LoadBalancer classes to Rdbms"
Aaron Schulz [Sat, 18 Feb 2017 00:26:47 +0000 (16:26 -0800)]
Move remaining LoadBalancer classes to Rdbms
The old names are left as aliases.
Change-Id: I52a327f2463a2ba7437324047b5b00d28cd1d758
Timo Tijhof [Fri, 24 Feb 2017 03:39:03 +0000 (19:39 -0800)]
installer: Fix "relation 'user' does not exist" error for Postgres
On Travis CI, the Postgres build has been failing very early on
in the installer (before phpunit) due to a database error:
> Creating administrator user account.. DBQueryError at Database.php:1059
> Query: SELECT user_id FROM "user" WHERE user_name = 'Admin' LIMIT 1
> Function: User::idForName
> Error: 42P01 ERROR: relation "user" does not exist
> LINE 1: SELECT /* User::idForName */ user_id FROM "user" ...
This is because the installer makes its own Database object without
involving ServiceWiring or MWLBFactory, which means wgDBport and
(more importantly) 'keywordTableMap' don't get applied.
While keywordTableMap doesn't matter during the database installation,
after the installer is done updating GlobalVarConfig and resetting
MediaWikiServices, DatabaseInstaller::enableLB takes that homemade
connection and injects it into MediaWikiServices by redefining
the 'DBLoadBalancerFactory' service. Which then affects all use
of wfGetDB(), such as from User::idForName().
Bug: T30162
Bug: T75174
Bug: T75176
Change-Id: I7af58c4beffc4908a93c0c1d8ab1aec9d4ec57c6
Timo Tijhof [Fri, 24 Feb 2017 03:33:32 +0000 (19:33 -0800)]
build: Simplify Travis configuration
* Remove redundant 'group: edge'. Use the default (stable) instead.
* Use simplified syntax for apt packages. On sudo-enabled VMs, like we
use now, this translates to the same command. But has the benefit
of being compatible with the fast non-sudo containers, which we
want to use in the future. But, for that, djvulibre-bin needs to
be approved first.
<https://github.com/travis-ci/apt-package-whitelist/issues/4036>
Bug: T75176
Change-Id: I3b42763ef3f8f08eec08a9008e5cf1e161bb1dff
Timo Tijhof [Fri, 24 Feb 2017 03:31:12 +0000 (19:31 -0800)]
build: Change Travis postgres user "root" back to "travis"
Follows-up
5168cb60f8f, in which we moved from Precise vms to Trusty vms.
As a side-effect, the undocumented behaviour of the mysql user "travis"
having create-db rights was no longer. As such, we changed it to "root",
per <https://docs.travis-ci.com/user/database-setup/>.
However, this broke Postgres builds since those should still use
"travis". There is no user named "root" for postgres.
* Add 'dbuser' to the matrix environment.
* Improve inline documentation.
Bug: T75176
Change-Id: I09fc0a1da8737e71b3d2b4b88d72b58c150519c4
jenkins-bot [Fri, 24 Feb 2017 01:28:14 +0000 (01:28 +0000)]
Merge "RCFilters UI: Add 'direction' property to the wrapper"
jenkins-bot [Fri, 24 Feb 2017 01:20:16 +0000 (01:20 +0000)]
Merge "Drop in replacement of eval.php based on psysh"
Moriel Schottlender [Sat, 11 Feb 2017 02:37:55 +0000 (18:37 -0800)]
RCFilters UI: Add 'direction' property to the wrapper
Adds 'direction: ltr' to the entire interface, rather than just
the input, since the entire FilterWrapperWidget is interface-direction
and not content direction.
Bug: T157189
Change-Id: I94ccfea878d83a24e071696b9c4e58115c9295c9
jenkins-bot [Fri, 24 Feb 2017 01:09:39 +0000 (01:09 +0000)]
Merge "RCFilters UI: Style the 'old' RC option fieldset"
jenkins-bot [Fri, 24 Feb 2017 01:01:58 +0000 (01:01 +0000)]
Merge "RCFilters: Align trash icon with filter list"
jenkins-bot [Fri, 24 Feb 2017 00:57:38 +0000 (00:57 +0000)]
Merge "RCFilters UI: Reassess interaction after resetting filters"
Moriel Schottlender [Thu, 23 Feb 2017 19:21:19 +0000 (11:21 -0800)]
RCFilters UI: Style the 'old' RC option fieldset
Bug: T158006
Change-Id: I230dc9095e41abf32e95adc68c40265b53a5f698
jenkins-bot [Fri, 24 Feb 2017 00:54:55 +0000 (00:54 +0000)]
Merge "RCFilters UI: Stop mousedown propagation when capsule item 'x' button is clicked"
jenkins-bot [Fri, 24 Feb 2017 00:54:47 +0000 (00:54 +0000)]
Merge "RCFilters UI: Fix mute state styling"
jenkins-bot [Fri, 24 Feb 2017 00:48:26 +0000 (00:48 +0000)]
Merge "RCFilters UI: Fix CapsuleItemWidget popup styling"
Moriel Schottlender [Thu, 23 Feb 2017 23:39:27 +0000 (15:39 -0800)]
RCFilters: Align trash icon with filter list
Bug: T149391
Change-Id: Icf867bf572253d288602f00890551909d869a459
Moriel Schottlender [Thu, 23 Feb 2017 23:59:51 +0000 (15:59 -0800)]
RCFilters UI: Fix mute state styling
For some reason it stopped styling muted state in filterItemWidgets
Also adjusted the styling to be more similar to the prototype.
Bug: T156429
Change-Id: Ib043729ab7cfd32253d9424b145794e484ec11b6
Moriel Schottlender [Thu, 23 Feb 2017 21:52:49 +0000 (13:52 -0800)]
RCFilters UI: Stop mousedown propagation when capsule item 'x' button is clicked
We don't want the parent (the CapsuleMultiselectWidget) to receieve
the mousedown event, because it then uses it to focus and open the
popup.
Bug: T158006
Change-Id: I1ae9b58b723a70cc150392224196bdb67ebf30b4
Moriel Schottlender [Thu, 23 Feb 2017 18:06:58 +0000 (10:06 -0800)]
RCFilters UI: Reassess interaction after resetting filters
Both resetting to defaults or resetting to no-filters state should
retrigger the interaction assessment so all filters should get their
included, fullyCovered and conflicted states resetted.
Bug: T158135
Change-Id: Iae23129b7fb378adb712b34e8e64208bbb70ccd7
jenkins-bot [Thu, 23 Feb 2017 22:23:24 +0000 (22:23 +0000)]
Merge "mw.loader: Adding comment explaining MODULE_SIZE_MAX"
Moriel Schottlender [Thu, 23 Feb 2017 22:19:43 +0000 (14:19 -0800)]
RCFilters UI: Fix CapsuleItemWidget popup styling
Bug: T158006
Change-Id: I83f72273bc5bf7bd9548d60efd094e427ff0e13a
jenkins-bot [Thu, 23 Feb 2017 22:11:34 +0000 (22:11 +0000)]
Merge "Folowup I341c3f7c: Fire wikipage.content with the correct content"
Kaldari [Thu, 23 Feb 2017 21:44:03 +0000 (13:44 -0800)]
mw.loader: Adding comment explaining MODULE_SIZE_MAX
This informaiton was lost in Iedde8a3.
Change-Id: Ib884f3504c2a98537b919f78a043ae0b64a146cf
Moriel Schottlender [Thu, 23 Feb 2017 21:54:41 +0000 (13:54 -0800)]
Folowup I341c3f7c: Fire wikipage.content with the correct content
The content we are getting from the Ajax request can be either a
jQuery or string, which makes the handler of the event break.
Instead, pass in this.$element which already wrapped the response.
Change-Id: I1c1231b1476fb2cbef10231fdd853401ebf02ed3
jenkins-bot [Thu, 23 Feb 2017 21:46:17 +0000 (21:46 +0000)]
Merge "Add CSS classes for userlinks on SpecialPages"
jenkins-bot [Thu, 23 Feb 2017 21:31:31 +0000 (21:31 +0000)]
Merge "Add class in diff and history links in ChangesList"
Translation updater bot [Thu, 23 Feb 2017 21:10:50 +0000 (22:10 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I9ec22e1e404d411a90c52c316519c29322c6c412
jenkins-bot [Thu, 23 Feb 2017 19:41:11 +0000 (19:41 +0000)]
Merge "RCFilters UI: Highlight behavior"
jenkins-bot [Thu, 23 Feb 2017 19:25:16 +0000 (19:25 +0000)]
Merge "phpunit: Fix AvroFormatterTest failure on PHP 7"
Stephane Bisson [Fri, 10 Feb 2017 14:18:02 +0000 (09:18 -0500)]
RCFilters UI: Highlight behavior
Let there be highlight! and there were highlights
And RCFilters separated the highlight from the darkness
And it defined highlights as five colors
The lights are called yellow and green, and the darks red and blue
And there were colors and there were circles; one highlight.
This is the commit that adds highlight support for filters both in the backend
and the UI. The backend tags results based on which filter they fit and the
front end paints those results according to the color chosen by the user.
Highlights can be toggled off and on.
Also added circle indicators to the capsule items and each line of results
to indicate whether the line has more than one color affecting it.
Bug: T149467
Bug: T156164
Change-Id: I341c3f7c224271a18d455b9e5f5457ec43de802d
jenkins-bot [Thu, 23 Feb 2017 18:51:32 +0000 (18:51 +0000)]
Merge "De-italicise placeholder text"
jenkins-bot [Thu, 23 Feb 2017 18:51:26 +0000 (18:51 +0000)]
Merge "SearchFormWidget: Move hidden fields below the ActionFieldLayout"
jenkins-bot [Thu, 23 Feb 2017 17:06:52 +0000 (17:06 +0000)]
Merge "build: Enable selector-list-comma-newline-after stylelint rule"
Bartosz Dziewoński [Thu, 23 Feb 2017 17:02:29 +0000 (18:02 +0100)]
SearchFormWidget: Move hidden fields below the ActionFieldLayout
I think ideally, these would be at the end of the form, but there
are some hooks below which can produce arbitrary HTML and potentially
want to override these with their own fields, so I'm avoiding any
revolutionary changes to the field order here.
Bug: T158856
Change-Id: I377c0061a365930e11454a86c1e0926853789b55
jenkins-bot [Thu, 23 Feb 2017 16:20:38 +0000 (16:20 +0000)]
Merge "Make generic placeholder pseudo-class browser-prefix mixin"
Ed Sanders [Mon, 20 Feb 2017 15:04:37 +0000 (15:04 +0000)]
De-italicise placeholder text
For consistency with OOUI & the search bar, and to avoid
issues with CJK languages.
Bug: T147808
Change-Id: I81555ceb52535f68f057ec35fc1257206a5aa8eb
Ed Sanders [Mon, 20 Feb 2017 14:31:26 +0000 (14:31 +0000)]
Make generic placeholder pseudo-class browser-prefix mixin
Change-Id: I96686bb53cee1a833db8f4d0b691d5e4a1b82885
jenkins-bot [Thu, 23 Feb 2017 15:28:42 +0000 (15:28 +0000)]
Merge "Revert "Temporary hax to hide cawiki's hacked in search sidebar""
jenkins-bot [Thu, 23 Feb 2017 14:27:38 +0000 (14:27 +0000)]
Merge "Follow-up I96d2225: Adding white background color to framed images in Parsoid"
Volker E [Tue, 21 Feb 2017 07:08:12 +0000 (23:08 -0800)]
build: Enable selector-list-comma-newline-after stylelint rule
Enabling selector-list-comma-newline-after stylelint rule and
making it pass.
Change-Id: I8fa3fbe03fcce57d555c47f39361c2a8d9828c3c
Ed Sanders [Thu, 23 Feb 2017 13:08:30 +0000 (13:08 +0000)]
Follow-up I96d2225: Adding white background color to framed images in Parsoid
Bug: T154077
Change-Id: Ie6fd4f5b995f79d6c48ff95f091c88b9c67f13e8
Timo Tijhof [Thu, 23 Feb 2017 04:47:46 +0000 (20:47 -0800)]
phpunit: Fix AvroFormatterTest failure on PHP 7
Fix the following error on PHP 7.
> MediaWiki\Logger\Monolog\AvroFormatterTest::testDoesSomethingWhenSchemaAvailable
> Only variables should be passed by reference
> includes/debug/logger/monolog/AvroFormatter.php:143
Per https://github.com/researchgate/avro-php/blob/1.8.0/lib/avro/schema.php#L311-L314
the default for &$schemata is null, which is filled with a plain AvroNamedSchemata
instance. So this parameter is obsolete.
Either it needs to be assigned here and then passed. But since we don't use
it anywhere and don't pass it any constructor arguments, the default
should suffice.
Bug: T75176
Bug: T141588
Change-Id: I144bed8a78eb267a97e41f379b89c5faaae30625
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
Tim Starling [Mon, 20 Feb 2017 05:29:54 +0000 (16:29 +1100)]
Log a backtrace from the culprit location if headers were already sent
Install the backtrace collector very early, so that we can get the
backtrace even if headers were sent from LocalSettings.php.
Bug: T157392
Change-Id: I9bc732b34481c95afb5362e135a87bd4302498e2
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"
Eddie Greiner-Petter [Fri, 17 Feb 2017 12:59:16 +0000 (13:59 +0100)]
Add CSS classes for userlinks on SpecialPages
On Special:Watchlist, Special:Contributions, Special:Recentchanges etc.
there are links to (talk | contribs | block) for the user who did the
contribution. Add CSS class for them. Introduce the following css
classes:
- mw-usertoollinks-contribs
- mw-usertoollinks-talk
- mw-usertoollinks-block
- mw-usertoollinks-mail
Bug: T156879
Change-Id: I85a3b0987a016ff25026f1c047214a31170b0452
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"