lhc/web/wiklou.git
7 years agoMerge "Gallery: Use intrinsic width for gallery to center caption"
jenkins-bot [Tue, 18 Oct 2016 20:11:13 +0000 (20:11 +0000)]
Merge "Gallery: Use intrinsic width for gallery to center caption"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 18 Oct 2016 20:01:16 +0000 (22:01 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib8545d516989d75a398f098146c1a93df81360a0

7 years agoMerge "MWServices load new ServiceWiringFiles after ExtRegistry load"
jenkins-bot [Tue, 18 Oct 2016 18:31:41 +0000 (18:31 +0000)]
Merge "MWServices load new ServiceWiringFiles after ExtRegistry load"

7 years agoMWServices load new ServiceWiringFiles after ExtRegistry load
addshore [Tue, 18 Oct 2016 10:41:59 +0000 (11:41 +0100)]
MWServices load new ServiceWiringFiles after ExtRegistry load

Extensions that include ServiceWiringFiles in their
extension.json file do not currently get loaded.
This is due to the resetGlobalInstance call after
the extension.json files are loaded not reloading
service wiring.

Adding the 'load' param resolves this.

The current sequence of events is as follows:
 - Setup.php
 - ExtensionRegistry::loadFromQueue
 - ExtensionRegistry::exportExtractedData
 - MediawikiServices::resetGlobalInstance

This can be tested using the Cognate extension
(linked in the ticket) which may be the first extension
to use both extension registration while including
service wiring files.

Bug: T148419
Change-Id: Ic42ac8e28c66b79193bcafe332b1ef2ebc29742d

7 years agoMerge "Fix ExtensionRegistry cache doc that is out of date"
jenkins-bot [Tue, 18 Oct 2016 17:55:57 +0000 (17:55 +0000)]
Merge "Fix ExtensionRegistry cache doc that is out of date"

7 years agoFix ExtensionRegistry cache doc that is out of date
addshore [Mon, 17 Oct 2016 21:06:45 +0000 (22:06 +0100)]
Fix ExtensionRegistry cache doc that is out of date

Change-Id: If019599baec4e8c566362744c2f565ca169b66b6

7 years agoMerge "registration: Fix ignoring 'merge_strategy' key in manifest_version 2"
jenkins-bot [Tue, 18 Oct 2016 06:56:30 +0000 (06:56 +0000)]
Merge "registration: Fix ignoring 'merge_strategy' key in manifest_version 2"

7 years agoregistration: Fix ignoring 'merge_strategy' key in manifest_version 2
Yuri Astrakhan [Tue, 18 Oct 2016 04:46:11 +0000 (00:46 -0400)]
registration: Fix ignoring 'merge_strategy' key in manifest_version 2

Bug: T148493
Change-Id: Ibd88c4dc98f36d7d8336691884bbaa9a4864da83

7 years agoMerge "Use namespaced ScopedCallback"
jenkins-bot [Mon, 17 Oct 2016 23:32:37 +0000 (23:32 +0000)]
Merge "Use namespaced ScopedCallback"

7 years agoUse namespaced ScopedCallback
Kunal Mehta [Wed, 12 Oct 2016 05:36:03 +0000 (22:36 -0700)]
Use namespaced ScopedCallback

The un-namespaced \ScopedCallback is deprecated.

Change-Id: Ie014d5a775ead66335a24acac9d339915884d1a4

7 years agoMerge "Move most of MWCryptHKDF into libs"
jenkins-bot [Mon, 17 Oct 2016 22:37:40 +0000 (22:37 +0000)]
Merge "Move most of MWCryptHKDF into libs"

7 years agoMove most of MWCryptHKDF into libs
Kunal Mehta [Tue, 4 Oct 2016 17:48:02 +0000 (10:48 -0700)]
Move most of MWCryptHKDF into libs

Dependency-inject the MediaWiki-specific parts into a CryptHKDF
instance, which MWCryptHKDF wraps around.

Change-Id: Idff18635cfd8a3d93ea2ca8d56cdbd11eb4d3b2b

7 years agoMerge "Update wikimedia/utfnormal to 1.1.0"
jenkins-bot [Mon, 17 Oct 2016 22:01:21 +0000 (22:01 +0000)]
Merge "Update wikimedia/utfnormal to 1.1.0"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 17 Oct 2016 20:02:57 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iddeeb3476ebcf4252fc1befb85d7efede6abb8c4

7 years agoTravis-CI: stop notifying build status to #mediawiki-core
Bryan Davis [Sun, 16 Oct 2016 21:46:03 +0000 (15:46 -0600)]
Travis-CI: stop notifying build status to #mediawiki-core

Change-Id: I4897f3b54fca2a6d5c45b9fac937f59db78e864f

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 16 Oct 2016 20:09:07 +0000 (22:09 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ifbcf851cd580fcfec7d18833467a23a0a05060bb

7 years agocheckComposerLockUpToDate: Always check dependencies
Kunal Mehta [Sun, 16 Oct 2016 19:49:41 +0000 (12:49 -0700)]
checkComposerLockUpToDate: Always check dependencies

Upstream composer has replaced the 'hash' with a smarter 'content-hash',
but instead of re-implementing (or copy-pasting) all of that in MediaWiki
we can just compare the dependencies themselves, since that's all we
care about.

Bug: T147189
Change-Id: Ic2f22a82699e2b707b6ccb355605999a183a56a0

7 years agoMerge "Move utils/iterators/ into libs/"
jenkins-bot [Sun, 16 Oct 2016 18:28:41 +0000 (18:28 +0000)]
Merge "Move utils/iterators/ into libs/"

7 years agoRemove some MediaWiki dependencies on utils/BatchRow*
Kunal Mehta [Tue, 4 Oct 2016 17:59:08 +0000 (10:59 -0700)]
Remove some MediaWiki dependencies on utils/BatchRow*

Change-Id: I35279875891630157c651e6575770ca4607bc168

7 years agoMove utils/iterators/ into libs/
Kunal Mehta [Tue, 4 Oct 2016 17:56:35 +0000 (10:56 -0700)]
Move utils/iterators/ into libs/

They have no dependency upon MediaWiki.

Change-Id: I58d59941cc7e1ba4fd5e265c8e30f59db66ed514

7 years agoMerge "SpecialBooksources: Fix submitting the form from a subpage link"
jenkins-bot [Sun, 16 Oct 2016 14:22:26 +0000 (14:22 +0000)]
Merge "SpecialBooksources: Fix submitting the form from a subpage link"

7 years agoMerge "Improve Special:BookSources validation and error messages"
jenkins-bot [Sun, 16 Oct 2016 14:19:17 +0000 (14:19 +0000)]
Merge "Improve Special:BookSources validation and error messages"

7 years agoMerge "Re-add human readable parser limit report"
jenkins-bot [Sun, 16 Oct 2016 03:58:21 +0000 (03:58 +0000)]
Merge "Re-add human readable parser limit report"

7 years agoRe-add human readable parser limit report
Kunal Mehta [Sun, 16 Oct 2016 02:17:08 +0000 (19:17 -0700)]
Re-add human readable parser limit report

This mostly reverts commit 1255654ed5a89ed57491bda38f544ed87e3bc601.

This re-adds the human readable parser limit report, and makes a few
adjustments necessary for it to work properly.

* In EditPage::getPreviewLimitReport(), only generate the HTML report,
  the JS variable will be added by OutputPage
* If there are multiple calls to OutputPage::addParserOutputMetadata(),
  only use the limit report data from the first one.
* Only add the wgPageParseReport variable if limit report data is
  available.

Bug: T142210
Change-Id: Iad2646acde79b8a59710bb9fd5fbbfea5a39c341

7 years agoMerge "Display both subject and talk subpages for Special:MovePage"
jenkins-bot [Sun, 16 Oct 2016 02:40:49 +0000 (02:40 +0000)]
Merge "Display both subject and talk subpages for Special:MovePage"

7 years agoMerge "addRFCandPMIDInterwiki: Fix strict mode errors"
jenkins-bot [Sun, 16 Oct 2016 01:42:42 +0000 (01:42 +0000)]
Merge "addRFCandPMIDInterwiki: Fix strict mode errors"

7 years agoSpecialBooksources: Fix submitting the form from a subpage link
Kunal Mehta [Sun, 16 Oct 2016 00:01:15 +0000 (17:01 -0700)]
SpecialBooksources: Fix submitting the form from a subpage link

Visiting Special:Booksources/.... and then trying to enter a new
ISBN in the form field didn't work because the $par would take
precedence over the query parameter.

Removing the subpage from the HTMLForm context apparently fixes this.

Change-Id: Ia007648e23beadcc017e117e59ce3df1b329dcdc

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 15 Oct 2016 20:02:55 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ief1bb0b506ff6e5e3a9bd40c9eb9725f5e067886

7 years agoaddRFCandPMIDInterwiki: Fix strict mode errors
Kunal Mehta [Sat, 15 Oct 2016 19:26:45 +0000 (12:26 -0700)]
addRFCandPMIDInterwiki: Fix strict mode errors

Those columns have no defaults and cause errors if MySQL strict mode is
enabled.

Also make this maintenance script runnable standalone.

Bug: T147536
Change-Id: I0f0ba6fc4375c44b71852c5c2dad8336db17c479

7 years agoMerge "MediaWiki.php: Make getUrlDomainDistance() actually static"
jenkins-bot [Sat, 15 Oct 2016 18:00:28 +0000 (18:00 +0000)]
Merge "MediaWiki.php: Make getUrlDomainDistance() actually static"

7 years agoFix LoadBalancerSingle::reallyOpenConnection() signature
Paladox [Sat, 15 Oct 2016 17:01:34 +0000 (17:01 +0000)]
Fix LoadBalancerSingle::reallyOpenConnection() signature

Declaration of LoadBalancerSingle::reallyOpenConnection() should be
compatible with
LoadBalancer::reallyOpenConnection(array $server, $dbNameOverride = false)

Caught in https://travis-ci.org/paladox/mediawiki/jobs/167910508

Change-Id: I9bc30249c3b43c3dd3b4eb6f3a70765ef428fd2c

7 years agoImprove Special:BookSources validation and error messages
Kunal Mehta [Sat, 15 Oct 2016 07:34:26 +0000 (00:34 -0700)]
Improve Special:BookSources validation and error messages

Visiting Special:BookSources/invalid would not show any error message
because "invalid" would get stripped away by cleanIsbn(), and then
appear as the empty string.

Instead, first validate the provided ISBN (if any), and display the
error message if invalid. Then show the form and book details.

Tests included.

Also remove an unused variable.

Change-Id: I40b703eace956ebbcdc0a2c2986b2c10474dd1fd

7 years agoMerge "Only set memcache hash when saving messages to memcache"
jenkins-bot [Sat, 15 Oct 2016 06:45:26 +0000 (06:45 +0000)]
Merge "Only set memcache hash when saving messages to memcache"

7 years agoMerge "Deprecate EditFilterMerged hook, final ContentHandler replaced hook"
jenkins-bot [Sat, 15 Oct 2016 06:41:34 +0000 (06:41 +0000)]
Merge "Deprecate EditFilterMerged hook, final ContentHandler replaced hook"

7 years agoMove MWGrants out of utils
Kunal Mehta [Tue, 4 Oct 2016 17:53:10 +0000 (10:53 -0700)]
Move MWGrants out of utils

Literally every function in this class depends upon MediaWiki, so it
does not make sense to be included in the utils/ directory.

Change-Id: If6c6b75dc11b49b75f649d56eaeb9c96ef54b787

7 years agoMerge "EditPage: Show EditFilterMergedContent hook errors in an errorbox"
jenkins-bot [Sat, 15 Oct 2016 06:08:13 +0000 (06:08 +0000)]
Merge "EditPage: Show EditFilterMergedContent hook errors in an errorbox"

7 years agoEditPage: Show EditFilterMergedContent hook errors in an errorbox
Kunal Mehta [Thu, 13 Oct 2016 18:39:07 +0000 (11:39 -0700)]
EditPage: Show EditFilterMergedContent hook errors in an errorbox

Errors that go through the Status object of the EditFilterMergedContent
hook have less control over how their errors are displayed, compared to
the legacy EditFilterMerged hook. Notably, Scribunto wrapped its errors
in an errorbox for increased visibility. That was a good idea in
general, so let's do that for all errors.

Change-Id: I1f0e463841298b8c59ed8bd898c8a4661c5e3aa4

7 years agoImprove deprecation comment for MW_DIFF_VERSION
Kunal Mehta [Wed, 12 Oct 2016 05:36:22 +0000 (22:36 -0700)]
Improve deprecation comment for MW_DIFF_VERSION

IDEs will now recognize it as deprecated.

Change-Id: Iac96449fb204a1e4b1e707138b3f0b5697bdfab4

7 years agoMerge "Move MimeMagic code to libs/mime/MimeAnalyzer.php"
jenkins-bot [Sat, 15 Oct 2016 01:29:51 +0000 (01:29 +0000)]
Merge "Move MimeMagic code to libs/mime/MimeAnalyzer.php"

7 years agoMerge "Add 'WikiPageFactory' hook"
jenkins-bot [Sat, 15 Oct 2016 00:12:48 +0000 (00:12 +0000)]
Merge "Add 'WikiPageFactory' hook"

7 years agoMove MimeMagic code to libs/mime/MimeAnalyzer.php
Aaron Schulz [Thu, 22 Sep 2016 04:57:13 +0000 (21:57 -0700)]
Move MimeMagic code to libs/mime/MimeAnalyzer.php

* The later resides in /libs with related files.
* Explose MimeAnalyzer as a service.
* Keep MimeMagic::singleton() as a b/c alias.
* MimeMagic::applyDefaultConfig() will bootstrap the service
  with all of the old config, extension hook handler, and
  detector command shell-out behavior.

Change-Id: Ie2695a52e7a3bcfda9f7fa83659a9ff31b372bc3

7 years agoAdd 'WikiPageFactory' hook
Kunal Mehta [Fri, 16 Sep 2016 00:40:03 +0000 (17:40 -0700)]
Add 'WikiPageFactory' hook

This allows extension to consistently use their WikiPage subclasses.
Currently the only way a subclass would be used is if Article::newPage()
was called.

Change-Id: I74cce5f9627c4bc4b92502aff74beb2daeb78d17

7 years agoobjectcache: use a default "since" timestamp in getWithSetCallback()
Aaron Schulz [Fri, 14 Oct 2016 09:17:25 +0000 (02:17 -0700)]
objectcache: use a default "since" timestamp in getWithSetCallback()

* Renamed mDoneWrites to be clearer at what type it is.
* Also cleaned up a few callers of this method

Change-Id: I45856b210c289c2e2f193cc4328a208e20b4e0a8

7 years agoMediaWiki.php: Make getUrlDomainDistance() actually static
Roan Kattouw [Fri, 14 Oct 2016 21:15:46 +0000 (14:15 -0700)]
MediaWiki.php: Make getUrlDomainDistance() actually static

It's only called once, and that call is static. It also doesn't use $this.

[error] /w/index.php?title=New_new_page&action=purge
ErrorException from line 610 of /vagrant/mediawiki/includes/MediaWiki.php: PHP Strict Standards: Non-static method MediaWiki::getUrlDomainDistance() should not be called statically

Change-Id: Ice66937a32193720c52df39bcea90659a8d9f653

7 years agoMerge "commonPrint: Remove overqualified selectors & `!important` where applicable"
jenkins-bot [Fri, 14 Oct 2016 19:46:38 +0000 (19:46 +0000)]
Merge "commonPrint: Remove overqualified selectors & `!important` where applicable"

7 years agoMerge "HTMLDateTimeField: Properly handle empty input"
jenkins-bot [Fri, 14 Oct 2016 18:58:58 +0000 (18:58 +0000)]
Merge "HTMLDateTimeField: Properly handle empty input"

7 years agoMerge "Add self to credits (Ed Sanders)"
jenkins-bot [Fri, 14 Oct 2016 18:18:03 +0000 (18:18 +0000)]
Merge "Add self to credits (Ed Sanders)"

7 years agoHTMLDateTimeField: Properly handle empty input
Brad Jorsch [Fri, 14 Oct 2016 16:37:10 +0000 (12:37 -0400)]
HTMLDateTimeField: Properly handle empty input

i.e. don't parse it as "now" in date or datetime mode.

Bug: T148200
Change-Id: I5a3839540222160e8d7376b5b961147c41d48885

7 years agoMerge "BaseTemplate: Make getMsg() calling pattern more like wfMessage()"
jenkins-bot [Fri, 14 Oct 2016 16:05:27 +0000 (16:05 +0000)]
Merge "BaseTemplate: Make getMsg() calling pattern more like wfMessage()"

7 years agoMerge "SpecialWatchlist: Move title from form action to hidden input"
jenkins-bot [Fri, 14 Oct 2016 14:28:32 +0000 (14:28 +0000)]
Merge "SpecialWatchlist: Move title from form action to hidden input"

7 years agoMerge "Allow users with deleterevision but not deletedhistory to delete revisions"
jenkins-bot [Fri, 14 Oct 2016 14:21:39 +0000 (14:21 +0000)]
Merge "Allow users with deleterevision but not deletedhistory to delete revisions"

7 years agoMerge "Enable APISandbox code on mobile"
jenkins-bot [Fri, 14 Oct 2016 13:07:39 +0000 (13:07 +0000)]
Merge "Enable APISandbox code on mobile"

7 years agoBaseTemplate: Make getMsg() calling pattern more like wfMessage()
Kunal Mehta [Fri, 14 Oct 2016 01:44:42 +0000 (18:44 -0700)]
BaseTemplate: Make getMsg() calling pattern more like wfMessage()

wfMessage() and IContextSource::msg() allow you to pass parameters to
the message in the initial function call, which is often more convenient
for developers. Support that in BaseTemplate::getMsg() too for
standardization.

Change-Id: I2488234f431be5bab00ca4366d864c84d7ff9e03

7 years agoMerge "Move up devunt's name to Developers"
jenkins-bot [Thu, 13 Oct 2016 21:05:24 +0000 (21:05 +0000)]
Merge "Move up devunt's name to Developers"

7 years agoMerge "Remove deprecated ObjectCache::newAccelerator method"
jenkins-bot [Thu, 13 Oct 2016 20:54:24 +0000 (20:54 +0000)]
Merge "Remove deprecated ObjectCache::newAccelerator method"

7 years agoMerge "Fix WANObjectCache doc typo"
jenkins-bot [Thu, 13 Oct 2016 20:29:25 +0000 (20:29 +0000)]
Merge "Fix WANObjectCache doc typo"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 13 Oct 2016 20:11:07 +0000 (22:11 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibfd8e73fde17d1aaaec3c7b1c9235b840b232082

7 years agoSpecialWatchlist: Move title from form action to hidden input
Fomafix [Wed, 16 Dec 2015 11:43:21 +0000 (11:43 +0000)]
SpecialWatchlist: Move title from form action to hidden input

This is required to support installation without URL rewriting.

Bug: T121628
Change-Id: I4b5677062f46f1cc728ea31271c1f807af325b93

7 years agoFix grammar, wording and flow in the API documentation
zppix1 [Sat, 30 Jul 2016 23:54:30 +0000 (18:54 -0500)]
Fix grammar, wording and flow in the API documentation

Change-Id: I6c2de82faba9b7aebd02f68728c522c32d65f327

7 years agoOnly set memcache hash when saving messages to memcache
Elliott Eggleston [Thu, 13 Oct 2016 17:55:01 +0000 (12:55 -0500)]
Only set memcache hash when saving messages to memcache

Shouldn't need to change the memcache hash unless we're changing the
memcache value.

Bug: T144952
Change-Id: I8e5cc29bfa0372f0071914e534e0b80cc4d34286

7 years agoMerge "Change documentation of formatTimePeriod"
jenkins-bot [Thu, 13 Oct 2016 17:51:17 +0000 (17:51 +0000)]
Merge "Change documentation of formatTimePeriod"

7 years agoMerge "Make TransactionProfiler::setSilenced() calls handle nesting"
jenkins-bot [Thu, 13 Oct 2016 17:48:58 +0000 (17:48 +0000)]
Merge "Make TransactionProfiler::setSilenced() calls handle nesting"

7 years agoChange documentation of formatTimePeriod
Andrew Harris [Sun, 13 Dec 2015 19:02:38 +0000 (15:32 -0330)]
Change documentation of formatTimePeriod

Currently, the function formatTimePeriod does not have a very descriptive
documentation and has a TODO tag on it to change the documentation
Change the documentation to be more descriptive and remove the TODO

Change-Id: Idde711f1d3d6cbe0ecab0c3b49c68a4876d9e8b2

7 years agoEnable APISandbox code on mobile
jdlrobson [Thu, 13 Oct 2016 16:17:08 +0000 (09:17 -0700)]
Enable APISandbox code on mobile

It's a special page and only uses mobile vetted code
so completely fine to load this on mobile

That said the visual display needs a lot of work but that
can be remedied in a follow up.

Bug: T148049
Change-Id: I2a8424e7c348bd5283aba99d1a81bb259d7e54c5

7 years agoAvoid blowing up inside Parser::extensionSubstitution() when PP limits are exceeded
Brad Jorsch [Thu, 13 Oct 2016 16:53:31 +0000 (12:53 -0400)]
Avoid blowing up inside Parser::extensionSubstitution() when PP limits are exceeded

The most critical one is if the marker name is bad, since that causes
StripState to throw an exception since I798d31af. But we may as well
check the other expand calls in this function too to avoid outputting
broken wikitext.

Bug: T136401
Change-Id: I1cb353d74f9a46168055e1abeb22cf569fe9354a

7 years agoAdd self to credits (Ed Sanders)
Ed Sanders [Thu, 13 Oct 2016 16:54:14 +0000 (09:54 -0700)]
Add self to credits (Ed Sanders)

Change-Id: Ia72f0702651fda95449ec08b18b2bca98e047a69

7 years agoFix WANObjectCache doc typo
Aaron Schulz [Thu, 13 Oct 2016 08:15:12 +0000 (01:15 -0700)]
Fix WANObjectCache doc typo

Change-Id: I74ef6598d86bdf43ae35f776878cfbb8e9695907

7 years agoApiPurge: Set the triggering user for the LinksUpdate
Petr Pchelko [Wed, 12 Oct 2016 21:20:29 +0000 (14:20 -0700)]
ApiPurge: Set the triggering user for the LinksUpdate

Even if the API call was done anonymously, we still have the IP
address to set as a triggering user. This is needed in the EventBus
since the LinksUpdate job triggers a page-properties-change event
and we need information about the performer for each page-related
event.

Bug: T147516
Bug: T147977
Change-Id: Idc6efc894698606ba528f4bd67658267ed250862

7 years agoMake TransactionProfiler::setSilenced() calls handle nesting
Aaron Schulz [Thu, 13 Oct 2016 01:14:03 +0000 (18:14 -0700)]
Make TransactionProfiler::setSilenced() calls handle nesting

Change-Id: I6511a72a0fb921468a8a19ceb4d0a8ae669aa6e4

7 years agoMerge "Balancer: remove unnecessary extra argument"
jenkins-bot [Thu, 13 Oct 2016 00:59:01 +0000 (00:59 +0000)]
Merge "Balancer: remove unnecessary extra argument"

7 years agoMerge "TitleWidget: Take 'known' status into account when deciding page existence"
jenkins-bot [Thu, 13 Oct 2016 00:01:34 +0000 (00:01 +0000)]
Merge "TitleWidget: Take 'known' status into account when deciding page existence"

7 years agoBalancer: remove unnecessary extra argument
C. Scott Ananian [Wed, 12 Oct 2016 23:56:51 +0000 (16:56 -0700)]
Balancer: remove unnecessary extra argument

The full HTML5 spec clones element attributes when they are added to
the ActiveFormattingElements list, so that when an element on that
list is later cloned and reinserted the attributes are the *original*
attributes, not reflecting any changes which embedded JavaScript
in an inline <script> block may have made to them since the element
was pushed.

However, the PHP implementation doesn't run any JavaScript so there's
no way the attributes could change during balancing and there is
thus no reason to keep extra copies of the attributes around.

Change-Id: I89647aeb90c64701d77e862ea9e3d22b19bbdedc

7 years agoMerge "Remove ContentHandler::deprecated()"
jenkins-bot [Wed, 12 Oct 2016 23:48:14 +0000 (23:48 +0000)]
Merge "Remove ContentHandler::deprecated()"

7 years agoMerge "Make Article::getContent() emit deprecation warnings"
jenkins-bot [Wed, 12 Oct 2016 23:46:43 +0000 (23:46 +0000)]
Merge "Make Article::getContent() emit deprecation warnings"

7 years agoRemove ContentHandler::deprecated()
Reedy [Sat, 8 Oct 2016 12:30:16 +0000 (13:30 +0100)]
Remove ContentHandler::deprecated()

Now unused, replaced with wfDeprecated() calls specifically

Bug: T145728
Change-Id: Id269bcd2958f23ecbc7f4f06a8c3ab5873c53117

7 years agoRemove deprecated ObjectCache::newAccelerator method
Aaron Schulz [Wed, 12 Oct 2016 22:15:15 +0000 (15:15 -0700)]
Remove deprecated ObjectCache::newAccelerator method

Change-Id: I2be2afe3f2bba830aea4e985005adb72f0e45a82

7 years agoAdd patch to migrate rc_ip field to varbinary(40)
Paladox [Wed, 12 Oct 2016 15:22:20 +0000 (16:22 +0100)]
Add patch to migrate rc_ip field to varbinary(40)

This makes it match tables.sql, as it was modified previously but no
related database patch was made.

Bug: T117854
Change-Id: I239e7ee4d97fcc3cb96c98dc53d9371883aaf4fb

7 years agoMerge "Adding SITENAME to search box placeholder"
jenkins-bot [Wed, 12 Oct 2016 20:36:22 +0000 (20:36 +0000)]
Merge "Adding SITENAME to search box placeholder"

7 years agoMerge "Make SessionBackend::save() update the user post-send"
jenkins-bot [Wed, 12 Oct 2016 19:34:42 +0000 (19:34 +0000)]
Merge "Make SessionBackend::save() update the user post-send"

7 years agoMake SessionBackend::save() update the user post-send
Aaron Schulz [Sun, 11 Sep 2016 19:52:11 +0000 (12:52 -0700)]
Make SessionBackend::save() update the user post-send

Bug: T92357
Change-Id: Id4f4991aca1ceeb74b59e980f09863041246a4fc

7 years agoMerge "Balancer: Add a bunch of phpdoc and 2 fixmes"
jenkins-bot [Wed, 12 Oct 2016 18:05:42 +0000 (18:05 +0000)]
Merge "Balancer: Add a bunch of phpdoc and 2 fixmes"

7 years agoMerge "Call parent::__construct() in MysqlBase AFTER transferring specific parameters"
jenkins-bot [Wed, 12 Oct 2016 16:49:35 +0000 (16:49 +0000)]
Merge "Call parent::__construct() in MysqlBase AFTER transferring specific parameters"

7 years agoTitleWidget: Take 'known' status into account when deciding page existence
Alex Monk [Wed, 12 Oct 2016 01:04:06 +0000 (02:04 +0100)]
TitleWidget: Take 'known' status into account when deciding page existence

Bug: T72123
Change-Id: Id00215946a9a1927967e8af7f321862e89261c51

7 years agoMerge "GallerySlideshow: Add tooltip on toggle thumbnails icon"
jenkins-bot [Wed, 12 Oct 2016 15:50:21 +0000 (15:50 +0000)]
Merge "GallerySlideshow: Add tooltip on toggle thumbnails icon"

7 years agoMerge "GallerySlideshow: Keep alt attribute of images"
jenkins-bot [Wed, 12 Oct 2016 15:26:12 +0000 (15:26 +0000)]
Merge "GallerySlideshow: Keep alt attribute of images"

7 years agoMerge "Improve Doxygen template used by mwdocgen.php"
jenkins-bot [Wed, 12 Oct 2016 14:57:10 +0000 (14:57 +0000)]
Merge "Improve Doxygen template used by mwdocgen.php"

7 years agoAdding SITENAME to search box placeholder
Jan Drewniak [Wed, 12 Oct 2016 12:47:15 +0000 (14:47 +0200)]
Adding SITENAME to search box placeholder

Changing the search box placeholder from just reading
"Search" to "Search {{SITENAME}}".
This label is more explicit. It is also consistent
with the MobileFrontend search box placeholder.

Bug: T144640
Change-Id: I67a21f1e13c6326aede90b19bc68410df48a8aa0

7 years agoGallerySlideshow: Keep alt attribute of images
Prateek Saxena [Wed, 12 Oct 2016 07:39:11 +0000 (13:09 +0530)]
GallerySlideshow: Keep alt attribute of images

Change-Id: Ia7fe913ab64b2796316588ba51ebe52e144d739f

7 years agocommonPrint: Remove overqualified selectors & `!important` where applicable
Volker E [Thu, 29 Sep 2016 06:56:43 +0000 (23:56 -0700)]
commonPrint: Remove overqualified selectors & `!important` where applicable

Removing overqualified CSS selectors and use of `important` where
applicable (CSSLint). Also deleting obsolete `a.sortheader` rule.

Bug: T136459
Change-Id: I2ed1c7188c96d6205ee03dc46a2a90130c8d120a

7 years agoGallerySlideshow: Add tooltip on toggle thumbnails icon
Prateek Saxena [Wed, 12 Oct 2016 06:50:31 +0000 (12:20 +0530)]
GallerySlideshow: Add tooltip on toggle thumbnails icon

Bug: T140593
Change-Id: Iec5a4bcbce5383bf3b657f6ed4134ff15820b2d6

7 years agoMerge "Guard Database::explicitTrxActive() against returning false while in begin()"
jenkins-bot [Tue, 11 Oct 2016 23:18:45 +0000 (23:18 +0000)]
Merge "Guard Database::explicitTrxActive() against returning false while in begin()"

7 years agoCall parent::__construct() in MysqlBase AFTER transferring specific parameters
Reedy [Tue, 11 Oct 2016 21:29:04 +0000 (22:29 +0100)]
Call parent::__construct() in MysqlBase AFTER transferring specific parameters

Bug: T147852
Change-Id: Id07bb38efb6a9a3b4f4f7e07c0a2c6a74bb1b58d

7 years agoMerge "Convert LanguageConverter to using getLocalServerObjectCache()"
jenkins-bot [Tue, 11 Oct 2016 20:44:34 +0000 (20:44 +0000)]
Merge "Convert LanguageConverter to using getLocalServerObjectCache()"

7 years agoConvert LanguageConverter to using getLocalServerObjectCache()
Aaron Schulz [Thu, 29 Sep 2016 02:58:57 +0000 (19:58 -0700)]
Convert LanguageConverter to using getLocalServerObjectCache()

Change-Id: I7bfcc389ef0266299d887a3520ab9581ef9aa9be

7 years agoMerge "objectcache: Fix test coverage"
jenkins-bot [Tue, 11 Oct 2016 20:14:55 +0000 (20:14 +0000)]
Merge "objectcache: Fix test coverage"

7 years agoMerge "Localisation updates from https://translatewiki.net."
L10n-bot [Tue, 11 Oct 2016 20:13:18 +0000 (20:13 +0000)]
Merge "Localisation updates from https://translatewiki.net."

7 years agoMerge "Call resetChildProcessServices() in ForkController"
jenkins-bot [Tue, 11 Oct 2016 20:07:12 +0000 (20:07 +0000)]
Merge "Call resetChildProcessServices() in ForkController"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 11 Oct 2016 20:05:20 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Icce45da0b102dcf69d4f421b7fb42f71cf0ecbb2

7 years agoMerge "Make server index validity checks in LoadBalancer actually work"
jenkins-bot [Tue, 11 Oct 2016 20:02:04 +0000 (20:02 +0000)]
Merge "Make server index validity checks in LoadBalancer actually work"

7 years agoCall resetChildProcessServices() in ForkController
Aaron Schulz [Tue, 11 Oct 2016 19:17:12 +0000 (12:17 -0700)]
Call resetChildProcessServices() in ForkController

Use this instead of bogus destroyInstance() call to LBFactory.

Change-Id: Iaf62925c0b3bf364dbaca8160f9c5bbfd97670ab