jenkins-bot [Tue, 7 Apr 2015 20:33:43 +0000 (20:33 +0000)]
Merge "mime.types: allow bzip2 upload"
jenkins-bot [Tue, 7 Apr 2015 20:10:25 +0000 (20:10 +0000)]
Merge "Remove form when including empty Special:WhatLinksHere"
jenkins-bot [Tue, 7 Apr 2015 20:10:21 +0000 (20:10 +0000)]
Merge "Kill Dwimmerlaik"
jenkins-bot [Tue, 7 Apr 2015 20:08:31 +0000 (20:08 +0000)]
Merge "Revert "Hide HHVM tag on Special:{Contributions,RecentChanges,...}""
jenkins-bot [Tue, 7 Apr 2015 20:02:31 +0000 (20:02 +0000)]
Merge "Made User::loadPasswords respect "queryFlagsUsed""
Translation updater bot [Tue, 7 Apr 2015 19:52:45 +0000 (19:52 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 7 Apr 2015 19:51:09 +0000 (21:51 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I59a85ff5f09d46967e59feb3c65d76f1d04ec84d
jenkins-bot [Tue, 7 Apr 2015 19:43:41 +0000 (19:43 +0000)]
Merge "Mostly revert "Verify parameter for MapCacheLRU::has() can be passed to array_key_exists()""
Aaron Schulz [Tue, 7 Apr 2015 19:12:23 +0000 (12:12 -0700)]
Made User::loadPasswords respect "queryFlagsUsed"
* Also cleaned up a few var names
Change-Id: I3a835e3980dfc3205716cf5bb1a4c04aa037f36d
Legoktm [Tue, 7 Apr 2015 18:19:23 +0000 (18:19 +0000)]
Revert "Hide HHVM tag on Special:{Contributions,RecentChanges,...}"
This reverts commit
494989772cfce8805a10c2cd497880f6f6793896.
Bug: T1205
Change-Id: If47af4a663530d9a32c1d24b6b55a63954f53fcb
Aaron Schulz [Thu, 19 Mar 2015 18:42:48 +0000 (11:42 -0700)]
Fixed bug where catching DB errors left ignoreErrors() on
* Also fixed an actual rollback loop possible in postgres
Change-Id: I41508127f74e1bbee4c020546fed85ab53318ab7
jenkins-bot [Tue, 7 Apr 2015 17:11:40 +0000 (17:11 +0000)]
Merge "Report correct rev_id in missing-revision message"
jenkins-bot [Tue, 7 Apr 2015 16:18:19 +0000 (16:18 +0000)]
Merge "convertExtensionToRegistration: Still convert $wgTrackingCategories"
jenkins-bot [Tue, 7 Apr 2015 16:14:38 +0000 (16:14 +0000)]
Merge "mergeMessageFileList: Support reading extension/skin.json files"
jenkins-bot [Tue, 7 Apr 2015 16:14:35 +0000 (16:14 +0000)]
Merge "installer: Read from extension.json if possible"
jenkins-bot [Tue, 7 Apr 2015 16:14:02 +0000 (16:14 +0000)]
Merge "LocalFileTest does not require database access"
jenkins-bot [Tue, 7 Apr 2015 16:13:56 +0000 (16:13 +0000)]
Merge "SearchUpdateTest does not require database access"
jenkins-bot [Tue, 7 Apr 2015 16:13:51 +0000 (16:13 +0000)]
Merge "registration: Make it easier for other code to get extension metadata"
jenkins-bot [Tue, 7 Apr 2015 16:13:48 +0000 (16:13 +0000)]
Merge "registration: Support 'namemsg'"
jenkins-bot [Tue, 7 Apr 2015 16:13:41 +0000 (16:13 +0000)]
Merge "registration: Support ResourceModuleSkinStyles"
jenkins-bot [Tue, 7 Apr 2015 16:12:54 +0000 (16:12 +0000)]
Merge "Add special pages aliases for Western Balochi (bgn) from translatewiki"
jenkins-bot [Tue, 7 Apr 2015 15:59:59 +0000 (15:59 +0000)]
Merge "Fix description for MessagesBgn.php"
jenkins-bot [Tue, 7 Apr 2015 15:43:43 +0000 (15:43 +0000)]
Merge "Added CAS-style logic to User::saveSettings as a final sanity check"
Kunal Mehta [Thu, 2 Apr 2015 17:15:43 +0000 (10:15 -0700)]
registration: Support 'namemsg'
Change-Id: I0f446b31c1d36a492997ef31fae6d2d2bea36517
Kunal Mehta [Thu, 2 Apr 2015 17:12:52 +0000 (10:12 -0700)]
registration: Support ResourceModuleSkinStyles
Structurally, it's set up exactly the same as ResourceModules, so we can
re-use the same code.
Bug: T91566
Change-Id: I7cd1330edc3e97b4658c81aac67071a90ac61fb6
jenkins-bot [Tue, 7 Apr 2015 15:40:48 +0000 (15:40 +0000)]
Merge "resourceloader: Require $wgResourceModuleSkinStyles paths to be in the base definition"
Brad Jorsch [Tue, 7 Apr 2015 15:11:21 +0000 (11:11 -0400)]
Report correct rev_id in missing-revision message
When trying to fetch the current revision, it currently always reports
"0" even when it's trying to fetch some other revision.
Bug: T92046
Change-Id: Ia5eb73ac32de0f654ac28ee929d5c4dda71c2f1b
jenkins-bot [Tue, 7 Apr 2015 12:01:40 +0000 (12:01 +0000)]
Merge "Make {{int:emailuserfooter}} use {{int:emailpage}} in the quotes"
jenkins-bot [Tue, 7 Apr 2015 10:03:02 +0000 (10:03 +0000)]
Merge "Made Block::insert handle expired rows"
jenkins-bot [Tue, 7 Apr 2015 09:54:14 +0000 (09:54 +0000)]
Merge "Removed "page-lastedit" cache key trick from WikiPage"
jenkins-bot [Tue, 7 Apr 2015 09:44:59 +0000 (09:44 +0000)]
Merge "Log when User::saveSettings is called in read-only mode"
jenkins-bot [Tue, 7 Apr 2015 09:29:54 +0000 (09:29 +0000)]
Merge "Made replaceSectionContent try to use DB_SLAVE"
jenkins-bot [Tue, 7 Apr 2015 08:53:49 +0000 (08:53 +0000)]
Merge "Avoid master queries on SpecialBlockList"
jenkins-bot [Tue, 7 Apr 2015 08:17:57 +0000 (08:17 +0000)]
Merge "Avoid DB_MASTER in replaceSectionAtRev()"
jenkins-bot [Tue, 7 Apr 2015 08:00:02 +0000 (08:00 +0000)]
Merge "Made getWatchlistInfo use DB_SLAVE"
Aaron Schulz [Mon, 30 Mar 2015 21:44:50 +0000 (14:44 -0700)]
Removed "page-lastedit" cache key trick from WikiPage
* Just rely on chronology protected and edit conflict handling.
The time a user spends looking at and editing pages is larger
than any normal slave lag anyway.
* However make sure that pages just made in the request are visible.
* In "master" datacenters, the slave lag will low anyway, and
callers make use of $flags when needed. In other datacenters,
the cache will itself be subject to lag anyway.
* Logging (DBPerformance log) shows this case is very rarely
hit anyway.
Change-Id: If34d67c02f9a7bf0a506ee8f3990697eb403a710
jenkins-bot [Tue, 7 Apr 2015 06:37:08 +0000 (06:37 +0000)]
Merge "Output converted namespace name in nstab when nstab-* is not defined"
jenkins-bot [Tue, 7 Apr 2015 06:27:16 +0000 (06:27 +0000)]
Merge "Fix list=logevents for new revision delete log entries"
Kevin Israel [Tue, 31 Mar 2015 17:42:32 +0000 (13:42 -0400)]
Allow setting anonnotice to "" to prevent fallback to sitenotice
Previously we only used Message::isDisabled (non-existent, empty string,
or "-") to decide whether to show a notice. If 'anonnotice' was disabled
'sitenotice' was shown instead.
When addressing logged-in users only, wikis typically use 'sitenotice'
and then put invisible content in 'anonnotice' (so that it shadows the
'sitenotice'). Now that the DismissableSiteNotice extension supports
closing of the notice for anonymous users (as of I87df3301c), this
becomes problematic as it has no way of knowing the notice was meant to
be invisible (and thus renders bogus "[close]" to all users).
This supersedes hacks such as <p></p> or <span></span>. Instead, the
empty string can now be used to have no anonnotice content, but also
don't show the 'sitenotice'.
Disabling with '-' (default) can still used to fallback to 'sitenotice'.
Also changed the code to, for consistency, allow hiding $wgSiteNotice
for all users by setting the sitenotice message to "-".
Bug: T94536
Change-Id: I11b8b883d480d0e07d8b395dd92360cb15de7c5b
Alex Monk [Tue, 7 Apr 2015 01:41:33 +0000 (01:41 +0000)]
Mostly revert "Verify parameter for MapCacheLRU::has() can be passed to array_key_exists()"
This broke a few things, and the debug line was basically pointless.
Instead, continue to only throw an exception if $text is an object, but only
warn if it's otherwise not a string.
This reverts commit
372ded2fea436bf0e61318991f903d61bde26366.
Change-Id: I060da9191cdbd00c4873caba875bfb77c917bcd7
jenkins-bot [Tue, 7 Apr 2015 01:19:36 +0000 (01:19 +0000)]
Merge "Fix param order of a Title::newFromText call in MediaWiki"
jenkins-bot [Tue, 7 Apr 2015 01:03:42 +0000 (01:03 +0000)]
Merge "MessagePoster followup: Dependency and docs"
Alex Monk [Tue, 7 Apr 2015 01:01:45 +0000 (02:01 +0100)]
Fix param order of a Title::newFromText call in MediaWiki
Otherwise it throws an exception on the latest master (I2b36b7a3)
I'm kind of surprised this didn't break when it was introduced in I60f44a10
Change-Id: I62f12aa9267d0812c3689064f512298187ac3c84
Matthew Flaschen [Mon, 6 Apr 2015 23:31:54 +0000 (16:31 -0700)]
MessagePoster followup: Dependency and docs
* WikitextMessagePoster depends on mediawiki.messagePoster
* Tweak how promises are documented
Change-Id: Ie48bde9d5995e86f22744d6b6f3773d125ccb1b0
Aaron Schulz [Mon, 6 Apr 2015 23:22:10 +0000 (16:22 -0700)]
Made replaceSectionContent try to use DB_SLAVE
Bug: T92357
Change-Id: I1626280c863a46d49215cc384e207458b2f8ec39
Aaron Schulz [Mon, 6 Apr 2015 23:07:08 +0000 (16:07 -0700)]
Avoid DB_MASTER in replaceSectionAtRev()
Bug: T92357
Change-Id: Iac4511176b5c70e9deaf71302bc1866b8b1a241a
Kunal Mehta [Mon, 6 Apr 2015 22:31:31 +0000 (15:31 -0700)]
resourceloader: Require $wgResourceModuleSkinStyles paths to be in the base definition
No skin in gerrit uses the feature of per-module local or remote paths,
and not supporting it will make implementing extension/skin.json support
easier.
Change-Id: I22863ef29426dbacd65439a12aeae56d4d757951
Aaron Schulz [Mon, 6 Apr 2015 22:19:56 +0000 (15:19 -0700)]
Avoid master queries on SpecialBlockList
* Filter out expired rows and rely on the insert() pruning
to keep the table size reasonable.
Bug: T92357
Change-Id: Icdbd606979d3d9ce9b2d923f574447e3e7dd72f7
jenkins-bot [Mon, 6 Apr 2015 22:14:11 +0000 (22:14 +0000)]
Merge "Add pluggable talk page poster and use it for mediawiki.feedback"
Aaron Schulz [Mon, 6 Apr 2015 22:13:07 +0000 (15:13 -0700)]
Made Block::insert handle expired rows
Bug: T90780
Change-Id: Ife9bcc0ec329156dac0bd033de35b25430234764
Aaron Schulz [Mon, 6 Apr 2015 21:48:31 +0000 (14:48 -0700)]
Made getWatchlistInfo use DB_SLAVE
Bug: T92357
Change-Id: I3b7d5d20d3028e15651dbca453a8bc47010b8194
Matthew Flaschen [Tue, 31 Mar 2015 03:28:11 +0000 (23:28 -0400)]
Add pluggable talk page poster and use it for mediawiki.feedback
The core implementation will only support wikitext.
Flow will add its own implementation, and it can be used for any talk
page system identifiable by content model.
Bug: T91805
Change-Id: Ic69acafb24aa737536fe3a074e1958690732f0a7
jenkins-bot [Mon, 6 Apr 2015 20:44:54 +0000 (20:44 +0000)]
Merge "Some cleanups to MWExceptionHandler::handleException"
Bryan Davis [Mon, 6 Apr 2015 20:13:14 +0000 (14:13 -0600)]
Separate Monolog shims from other logging shims
Move the non-namespaced classes referencing external Monolog classes to
an isolated PHP source file so that they aren't brought into scope by
the need to load another shim class.
Bug: T95220
Change-Id: I8270b8d5cd25db5a0f84fa94f59a6555052ae1ae
jenkins-bot [Mon, 6 Apr 2015 19:32:02 +0000 (19:32 +0000)]
Merge "Fix ApiQuerySiteInfo with siprop=rightsinfo to not die if your wgRightsPage is null"
Translation updater bot [Mon, 6 Apr 2015 19:20:51 +0000 (21:20 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I61ce392554123f4e0ff300bed2e289cf02dd4cf6
Aaron Schulz [Mon, 30 Mar 2015 20:37:21 +0000 (13:37 -0700)]
Added CAS-style logic to User::saveSettings as a final sanity check
* This should prevent lag or race conditions from rolling back data
Change-Id: I5e70975f4e4010fea7af0801bc11dda887df55f4
jenkins-bot [Mon, 6 Apr 2015 19:09:56 +0000 (19:09 +0000)]
Merge "Cut down on deadlocks in invalidatePages()"
jenkins-bot [Mon, 6 Apr 2015 18:47:48 +0000 (18:47 +0000)]
Merge "Made User::newTouchedTimestamp handle clock skew a bit better"
jenkins-bot [Mon, 6 Apr 2015 18:36:08 +0000 (18:36 +0000)]
Merge "Update special pages aliases for Luri (lrc) from translatewiki"
Aaron Schulz [Mon, 6 Apr 2015 18:26:42 +0000 (11:26 -0700)]
Log when User::saveSettings is called in read-only mode
Change-Id: I56a1760f2e6bbda889590777b553a8dfda587590
jenkins-bot [Mon, 6 Apr 2015 18:17:04 +0000 (18:17 +0000)]
Merge "Update special pages aliases for Persian (fa) from translatewiki"
Aaron Schulz [Mon, 6 Apr 2015 18:12:41 +0000 (11:12 -0700)]
Made User::newTouchedTimestamp handle clock skew a bit better
* This does not handle race conditions, but is a prelude to using CAS
style logic on save using the timestamp.
Change-Id: I9c31c272fcf77b686764b7c3a6a32ac29576347c
jenkins-bot [Mon, 6 Apr 2015 17:35:42 +0000 (17:35 +0000)]
Merge "Catch rollback exceptions in API exception handling"
Alex Monk [Mon, 6 Apr 2015 17:24:15 +0000 (18:24 +0100)]
Fix ApiQuerySiteInfo with siprop=rightsinfo to not die if your wgRightsPage is null
Follows-up I2b36b7a3
Change-Id: I7d76cd48021a0097ce5e11f4ad4100cb85ee5ad0
Brad Jorsch [Fri, 3 Apr 2015 16:12:30 +0000 (12:12 -0400)]
Catch rollback exceptions in API exception handling
Like I92293b22, but for the API. Needed for I41508127f fixing ignore
handling in the DB.
Change-Id: I1f2b70c80c7496f463f678b950c08de22476ea66
jenkins-bot [Mon, 6 Apr 2015 16:43:37 +0000 (16:43 +0000)]
Merge "Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal"
Gilles Dubuc [Mon, 6 Apr 2015 08:40:15 +0000 (10:40 +0200)]
Track request method in dbperformance.log
This will allow us to avoid needlessly investigating master requests that
only happen on POST (which is already what we want for multi-DC).
Bug: T92357
Change-Id: Ia7437d00f5b89a8e318d85659d60e2f9f9f26149
jenkins-bot [Mon, 6 Apr 2015 14:41:53 +0000 (14:41 +0000)]
Merge "Add a breadcrumb to EditPage refactor"
Timo Tijhof [Wed, 1 Apr 2015 00:37:28 +0000 (01:37 +0100)]
Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal
Doxygen was unable to parse the file past validateSig().
> Parser.php:6397: warning: reached end of file while inside a ~~~ block!
> The command that should end the block seems to be missing!
Change-Id: I3d1b547968302611d2bd78a7c11dd0738b40d23a
Kunal Mehta [Wed, 1 Apr 2015 20:44:54 +0000 (13:44 -0700)]
mergeMessageFileList: Support reading extension/skin.json files
No more hacky reading of PHP files!
Bug: T94756
Change-Id: I0a92f8904bbc422d5c893f7c0af2daedf7576cf0
jenkins-bot [Mon, 6 Apr 2015 06:22:49 +0000 (06:22 +0000)]
Merge "ResourceLoaderImage: Allow shorthand syntax"
jenkins-bot [Mon, 6 Apr 2015 06:22:45 +0000 (06:22 +0000)]
Merge "resourceloader: Omit empty parameters from mw.loader.implement calls"
jenkins-bot [Mon, 6 Apr 2015 01:27:05 +0000 (01:27 +0000)]
Merge "objectcache: Add @covers for BagOStuffTest"
mjbmr [Sun, 5 Apr 2015 23:59:55 +0000 (23:59 +0000)]
Fix description for MessagesBgn.php
Add author names which I forgot
Change-Id: I18358f9e90276bf9db5eb03baf7813c72a3a2736
mjbmr [Sun, 5 Apr 2015 23:07:22 +0000 (23:07 +0000)]
Update special pages aliases for Luri (lrc) from translatewiki
Change-Id: I17d71f47f8b7b7710261ab3c0a50bb8c45583b9d
mjbmr [Sun, 5 Apr 2015 23:02:15 +0000 (23:02 +0000)]
Add special pages aliases for Western Balochi (bgn) from translatewiki
Change-Id: Iadc088653b1b0e5188ec0f106d278448edbcf17e
Translation updater bot [Sun, 5 Apr 2015 18:45:49 +0000 (20:45 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I13e36a6ca3c35959e1e5912ac27193cc13d9c74f
jenkins-bot [Sun, 5 Apr 2015 17:43:30 +0000 (17:43 +0000)]
Merge "Mock error event firing in mw.loader test"
Timo Tijhof [Sun, 5 Apr 2015 15:02:53 +0000 (16:02 +0100)]
objectcache: Add @covers for BagOStuffTest
Change-Id: I93a8074ba79b5ea66a984edabe009cc828e6fc4d
jenkins-bot [Sun, 5 Apr 2015 13:07:06 +0000 (13:07 +0000)]
Merge "DefaultSettings: Remove "~~~~" from comment to fix Doxygen parse error"
Adam Roses Wight [Sun, 5 Apr 2015 06:48:02 +0000 (23:48 -0700)]
Add a breadcrumb to EditPage refactor
Change-Id: I4cc398e712f499fdf35ac9384912e68ac8e9010b
Ori Livneh [Fri, 3 Apr 2015 23:17:13 +0000 (16:17 -0700)]
Html::srcSet: allow density to be specified either with or without trailing 'x'
$wgLogoHD is meant to contain high-density alternatives for $wgLogo, but its
keys include the trailing 'x' (e.g., '1.5x'), making it unusable with
Html::srcSet(). Fix that by normalizing all density values to have a
single trailing 'x'.
Change-Id: I62cc3a9e4aeff3a7cb102de2965b8b40fd106c37
Translation updater bot [Sat, 4 Apr 2015 18:38:02 +0000 (20:38 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie48757c02285cbc60158862e2b73be9fe0d8b141
Liangent [Sat, 4 Apr 2015 04:53:29 +0000 (12:53 +0800)]
Output converted namespace name in nstab when nstab-* is not defined
In languages without converter implemented, FakeConverter just invokes
Language::getFormattedNsText(), which is the function used originally.
Change-Id: Ieb34a65776cf69bcd67f1ed8402eb3d38ece0f0c
jenkins-bot [Sat, 4 Apr 2015 04:25:22 +0000 (04:25 +0000)]
Merge "Verify parameter for MapCacheLRU::has() can be passed to array_key_exists()"
Roan Kattouw [Fri, 3 Apr 2015 22:05:42 +0000 (15:05 -0700)]
Update OOjs UI to v0.9.7
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.9.7/History.md
Change-Id: I6548deccf1bce60873ed16229905cfa5790ec4a0
Max Semenik [Fri, 3 Apr 2015 08:33:38 +0000 (01:33 -0700)]
Kill Dwimmerlaik
Seriously, the ops team spent some time trying to find that page during an outage,
while in fact it's an obscure Tolkien reference - better be clear.
Also, set the other dummy titles to something very clearly explaining what's
going on and where.
Change-Id: I6f33a2ea5030f22a258830a33f7bcefa7f0acd85
mjbmr [Mon, 30 Mar 2015 00:07:57 +0000 (00:07 +0000)]
Make {{int:emailuserfooter}} use {{int:emailpage}} in the quotes
Change-Id: Iacbae715e24f783a4483dc739a6d88c6b24e53b8
Timo Tijhof [Thu, 2 Apr 2015 12:47:07 +0000 (13:47 +0100)]
jquery.suggestions: Convert documentation to JSDuck format
Change-Id: I39aba7f3f0c9d397f26934446e3a5ef686d84d86
jenkins-bot [Fri, 3 Apr 2015 19:21:50 +0000 (19:21 +0000)]
Merge "jquery.suggestions: Document the callback context and parameters"
Bryan Davis [Mon, 23 Mar 2015 00:53:24 +0000 (18:53 -0600)]
Move MWLogger classes to MediaWiki\Logger namespace
Move the MWLogger PSR-3 logging related classes into the
MediaWiki\Logger namespace. Create shim classes to ease migration of
existing MWLoggerFactory usage to the namespaced classes.
Bug: T93406
Change-Id: I359cc81fbd2dcf8937742311dcc7d3dee08747b0
Ori Livneh [Fri, 3 Apr 2015 18:26:20 +0000 (18:26 +0000)]
Merge "PHPCS lint fixes"
Ori Livneh [Fri, 3 Apr 2015 18:07:39 +0000 (11:07 -0700)]
PHPCS lint fixes
Change-Id: I16288db03f34439bdb16940a86720d2511f46467
Translation updater bot [Fri, 3 Apr 2015 18:02:47 +0000 (20:02 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I94574a6af0fbcc11b1ec6e7fc6adee2650bf2224
Aaron Schulz [Fri, 3 Apr 2015 17:03:19 +0000 (10:03 -0700)]
Cut down on deadlocks in invalidatePages()
Bug: T94992
Change-Id: I70f9d931b624e46ccc19f890d61de8d11326e686
jenkins-bot [Fri, 3 Apr 2015 16:50:20 +0000 (16:50 +0000)]
Merge "Made rollbackMasterChanges catch exceptions, throwing the last one"
Aaron Schulz [Thu, 2 Apr 2015 19:33:30 +0000 (12:33 -0700)]
Made rollbackMasterChanges catch exceptions, throwing the last one
Change-Id: Ida36a302b35434d1af464cb77a0084ec441d038a
jenkins-bot [Fri, 3 Apr 2015 16:10:44 +0000 (16:10 +0000)]
Merge "Add namespaces for Western Balochi (bgn) from translatewiki"
jenkins-bot [Fri, 3 Apr 2015 16:05:20 +0000 (16:05 +0000)]
Merge "Add special pages aliases for Luri (lrc) from translatewiki"