lhc/web/wiklou.git
9 years agoFixed bug where catching DB errors left ignoreErrors() on
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

9 years agoMerge "Report correct rev_id in missing-revision message"
jenkins-bot [Tue, 7 Apr 2015 17:11:40 +0000 (17:11 +0000)]
Merge "Report correct rev_id in missing-revision message"

9 years agoMerge "convertExtensionToRegistration: Still convert $wgTrackingCategories"
jenkins-bot [Tue, 7 Apr 2015 16:18:19 +0000 (16:18 +0000)]
Merge "convertExtensionToRegistration: Still convert $wgTrackingCategories"

9 years agoMerge "mergeMessageFileList: Support reading extension/skin.json files"
jenkins-bot [Tue, 7 Apr 2015 16:14:38 +0000 (16:14 +0000)]
Merge "mergeMessageFileList: Support reading extension/skin.json files"

9 years agoMerge "installer: Read from extension.json if possible"
jenkins-bot [Tue, 7 Apr 2015 16:14:35 +0000 (16:14 +0000)]
Merge "installer: Read from extension.json if possible"

9 years agoMerge "LocalFileTest does not require database access"
jenkins-bot [Tue, 7 Apr 2015 16:14:02 +0000 (16:14 +0000)]
Merge "LocalFileTest does not require database access"

9 years agoMerge "SearchUpdateTest 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"

9 years agoMerge "registration: Make it easier for other code to get extension metadata"
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"

9 years agoMerge "registration: Support 'namemsg'"
jenkins-bot [Tue, 7 Apr 2015 16:13:48 +0000 (16:13 +0000)]
Merge "registration: Support 'namemsg'"

9 years agoMerge "registration: Support ResourceModuleSkinStyles"
jenkins-bot [Tue, 7 Apr 2015 16:13:41 +0000 (16:13 +0000)]
Merge "registration: Support ResourceModuleSkinStyles"

9 years agoMerge "Add special pages aliases for Western Balochi (bgn) from translatewiki"
jenkins-bot [Tue, 7 Apr 2015 16:12:54 +0000 (16:12 +0000)]
Merge "Add special pages aliases for Western Balochi (bgn) from translatewiki"

9 years agoMerge "Fix description for MessagesBgn.php"
jenkins-bot [Tue, 7 Apr 2015 15:59:59 +0000 (15:59 +0000)]
Merge "Fix description for MessagesBgn.php"

9 years agoMerge "Added CAS-style logic to User::saveSettings as a final sanity check"
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"

9 years agoregistration: Support 'namemsg'
Kunal Mehta [Thu, 2 Apr 2015 17:15:43 +0000 (10:15 -0700)]
registration: Support 'namemsg'

Change-Id: I0f446b31c1d36a492997ef31fae6d2d2bea36517

9 years agoregistration: Support ResourceModuleSkinStyles
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

9 years agoMerge "resourceloader: Require $wgResourceModuleSkinStyles paths to be in the base...
jenkins-bot [Tue, 7 Apr 2015 15:40:48 +0000 (15:40 +0000)]
Merge "resourceloader: Require $wgResourceModuleSkinStyles paths to be in the base definition"

9 years agoReport correct rev_id in missing-revision message
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

9 years agoMerge "Make {{int:emailuserfooter}} use {{int:emailpage}} in the quotes"
jenkins-bot [Tue, 7 Apr 2015 12:01:40 +0000 (12:01 +0000)]
Merge "Make {{int:emailuserfooter}} use {{int:emailpage}} in the quotes"

9 years agoMerge "Made Block::insert handle expired rows"
jenkins-bot [Tue, 7 Apr 2015 10:03:02 +0000 (10:03 +0000)]
Merge "Made Block::insert handle expired rows"

9 years agoMerge "Removed "page-lastedit" cache key trick from WikiPage"
jenkins-bot [Tue, 7 Apr 2015 09:54:14 +0000 (09:54 +0000)]
Merge "Removed "page-lastedit" cache key trick from WikiPage"

9 years agoMerge "Log when User::saveSettings is called in read-only mode"
jenkins-bot [Tue, 7 Apr 2015 09:44:59 +0000 (09:44 +0000)]
Merge "Log when User::saveSettings is called in read-only mode"

9 years agoMerge "Made replaceSectionContent try to use DB_SLAVE"
jenkins-bot [Tue, 7 Apr 2015 09:29:54 +0000 (09:29 +0000)]
Merge "Made replaceSectionContent try to use DB_SLAVE"

9 years agoMerge "Avoid master queries on SpecialBlockList"
jenkins-bot [Tue, 7 Apr 2015 08:53:49 +0000 (08:53 +0000)]
Merge "Avoid master queries on SpecialBlockList"

9 years agoMerge "Avoid DB_MASTER in replaceSectionAtRev()"
jenkins-bot [Tue, 7 Apr 2015 08:17:57 +0000 (08:17 +0000)]
Merge "Avoid DB_MASTER in replaceSectionAtRev()"

9 years agoMerge "Made getWatchlistInfo use DB_SLAVE"
jenkins-bot [Tue, 7 Apr 2015 08:00:02 +0000 (08:00 +0000)]
Merge "Made getWatchlistInfo use DB_SLAVE"

9 years agoRemoved "page-lastedit" cache key trick from WikiPage
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

9 years agoMerge "Output converted namespace name in nstab when nstab-* is not defined"
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"

9 years agoMerge "Fix list=logevents for new revision delete log entries"
jenkins-bot [Tue, 7 Apr 2015 06:27:16 +0000 (06:27 +0000)]
Merge "Fix list=logevents for new revision delete log entries"

9 years agoAllow setting anonnotice to "" to prevent fallback to sitenotice
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

9 years agoMerge "Fix param order of a Title::newFromText call in MediaWiki"
jenkins-bot [Tue, 7 Apr 2015 01:19:36 +0000 (01:19 +0000)]
Merge "Fix param order of a Title::newFromText call in MediaWiki"

9 years agoMerge "MessagePoster followup: Dependency and docs"
jenkins-bot [Tue, 7 Apr 2015 01:03:42 +0000 (01:03 +0000)]
Merge "MessagePoster followup: Dependency and docs"

9 years agoFix param order of a Title::newFromText call in MediaWiki
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

9 years agoMessagePoster followup: Dependency and docs
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

9 years agoMade replaceSectionContent try to use DB_SLAVE
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

9 years agoAvoid DB_MASTER in replaceSectionAtRev()
Aaron Schulz [Mon, 6 Apr 2015 23:07:08 +0000 (16:07 -0700)]
Avoid DB_MASTER in replaceSectionAtRev()

Bug: T92357
Change-Id: Iac4511176b5c70e9deaf71302bc1866b8b1a241a

9 years agoresourceloader: Require $wgResourceModuleSkinStyles paths to be in the base definition
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

9 years agoAvoid master queries on SpecialBlockList
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

9 years agoMerge "Add pluggable talk page poster and use it for mediawiki.feedback"
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"

9 years agoMade Block::insert handle expired rows
Aaron Schulz [Mon, 6 Apr 2015 22:13:07 +0000 (15:13 -0700)]
Made Block::insert handle expired rows

Bug: T90780
Change-Id: Ife9bcc0ec329156dac0bd033de35b25430234764

9 years agoMade getWatchlistInfo use DB_SLAVE
Aaron Schulz [Mon, 6 Apr 2015 21:48:31 +0000 (14:48 -0700)]
Made getWatchlistInfo use DB_SLAVE

Bug: T92357
Change-Id: I3b7d5d20d3028e15651dbca453a8bc47010b8194

9 years agoAdd pluggable talk page poster and use it for mediawiki.feedback
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

9 years agoMerge "Some cleanups to MWExceptionHandler::handleException"
jenkins-bot [Mon, 6 Apr 2015 20:44:54 +0000 (20:44 +0000)]
Merge "Some cleanups to MWExceptionHandler::handleException"

9 years agoSeparate Monolog shims from other logging shims
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

9 years agoMerge "Fix ApiQuerySiteInfo with siprop=rightsinfo to not die if your wgRightsPage...
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"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 6 Apr 2015 19:20:51 +0000 (21:20 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I61ce392554123f4e0ff300bed2e289cf02dd4cf6

9 years agoAdded CAS-style logic to User::saveSettings as a final sanity check
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

9 years agoMerge "Cut down on deadlocks in invalidatePages()"
jenkins-bot [Mon, 6 Apr 2015 19:09:56 +0000 (19:09 +0000)]
Merge "Cut down on deadlocks in invalidatePages()"

9 years agoMerge "Made User::newTouchedTimestamp handle clock skew a bit better"
jenkins-bot [Mon, 6 Apr 2015 18:47:48 +0000 (18:47 +0000)]
Merge "Made User::newTouchedTimestamp handle clock skew a bit better"

9 years agoMerge "Update special pages aliases for Luri (lrc) from translatewiki"
jenkins-bot [Mon, 6 Apr 2015 18:36:08 +0000 (18:36 +0000)]
Merge "Update special pages aliases for Luri (lrc) from translatewiki"

9 years agoLog when User::saveSettings is called in read-only mode
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

9 years agoMerge "Update special pages aliases for Persian (fa) from translatewiki"
jenkins-bot [Mon, 6 Apr 2015 18:17:04 +0000 (18:17 +0000)]
Merge "Update special pages aliases for Persian (fa) from translatewiki"

9 years agoMade User::newTouchedTimestamp handle clock skew a bit better
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

9 years agoMerge "Catch rollback exceptions in API exception handling"
jenkins-bot [Mon, 6 Apr 2015 17:35:42 +0000 (17:35 +0000)]
Merge "Catch rollback exceptions in API exception handling"

9 years agoFix ApiQuerySiteInfo with siprop=rightsinfo to not die if your wgRightsPage is null
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

9 years agoCatch rollback exceptions in API exception handling
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

9 years agoMerge "Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal"
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"

9 years agoTrack request method in dbperformance.log
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

9 years agoMerge "Add a breadcrumb to EditPage refactor"
jenkins-bot [Mon, 6 Apr 2015 14:41:53 +0000 (14:41 +0000)]
Merge "Add a breadcrumb to EditPage refactor"

9 years agoParser: Say tildes instead of ~~~ in comment to fix Doxygen fatal
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

9 years agomergeMessageFileList: Support reading extension/skin.json files
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

9 years agoMerge "ResourceLoaderImage: Allow shorthand syntax"
jenkins-bot [Mon, 6 Apr 2015 06:22:49 +0000 (06:22 +0000)]
Merge "ResourceLoaderImage: Allow shorthand syntax"

9 years agoMerge "resourceloader: Omit empty parameters from mw.loader.implement calls"
jenkins-bot [Mon, 6 Apr 2015 06:22:45 +0000 (06:22 +0000)]
Merge "resourceloader: Omit empty parameters from mw.loader.implement calls"

9 years agoMerge "objectcache: Add @covers for BagOStuffTest"
jenkins-bot [Mon, 6 Apr 2015 01:27:05 +0000 (01:27 +0000)]
Merge "objectcache: Add @covers for BagOStuffTest"

9 years agoFix description for MessagesBgn.php
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

9 years agoUpdate special pages aliases for Luri (lrc) from translatewiki
mjbmr [Sun, 5 Apr 2015 23:07:22 +0000 (23:07 +0000)]
Update special pages aliases for Luri (lrc) from translatewiki

Change-Id: I17d71f47f8b7b7710261ab3c0a50bb8c45583b9d

9 years agoAdd special pages aliases for Western Balochi (bgn) from translatewiki
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

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 5 Apr 2015 18:45:49 +0000 (20:45 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I13e36a6ca3c35959e1e5912ac27193cc13d9c74f

9 years agoMerge "Mock error event firing in mw.loader test"
jenkins-bot [Sun, 5 Apr 2015 17:43:30 +0000 (17:43 +0000)]
Merge "Mock error event firing in mw.loader test"

9 years agoobjectcache: Add @covers for BagOStuffTest
Timo Tijhof [Sun, 5 Apr 2015 15:02:53 +0000 (16:02 +0100)]
objectcache: Add @covers for BagOStuffTest

Change-Id: I93a8074ba79b5ea66a984edabe009cc828e6fc4d

9 years agoMerge "DefaultSettings: Remove "~~~~" from comment to fix Doxygen parse error"
jenkins-bot [Sun, 5 Apr 2015 13:07:06 +0000 (13:07 +0000)]
Merge "DefaultSettings: Remove "~~~~" from comment to fix Doxygen parse error"

9 years agoAdd a breadcrumb to EditPage refactor
Adam Roses Wight [Sun, 5 Apr 2015 06:48:02 +0000 (23:48 -0700)]
Add a breadcrumb to EditPage refactor

Change-Id: I4cc398e712f499fdf35ac9384912e68ac8e9010b

9 years agoHtml::srcSet: allow density to be specified either with or without trailing 'x'
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

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 4 Apr 2015 18:38:02 +0000 (20:38 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie48757c02285cbc60158862e2b73be9fe0d8b141

9 years agoOutput converted namespace name in nstab when nstab-* is not defined
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

9 years agoMerge "Verify parameter for MapCacheLRU::has() can be passed to array_key_exists()"
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()"

9 years agoUpdate OOjs UI to v0.9.7
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

9 years agoMake {{int:emailuserfooter}} use {{int:emailpage}} in the quotes
mjbmr [Mon, 30 Mar 2015 00:07:57 +0000 (00:07 +0000)]
Make {{int:emailuserfooter}} use {{int:emailpage}} in the quotes

Change-Id: Iacbae715e24f783a4483dc739a6d88c6b24e53b8

9 years agojquery.suggestions: Convert documentation to JSDuck format
Timo Tijhof [Thu, 2 Apr 2015 12:47:07 +0000 (13:47 +0100)]
jquery.suggestions: Convert documentation to JSDuck format

Change-Id: I39aba7f3f0c9d397f26934446e3a5ef686d84d86

9 years agoMerge "jquery.suggestions: Document the callback context and parameters"
jenkins-bot [Fri, 3 Apr 2015 19:21:50 +0000 (19:21 +0000)]
Merge "jquery.suggestions: Document the callback context and parameters"

9 years agoMove MWLogger classes to MediaWiki\Logger namespace
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

9 years agoMerge "PHPCS lint fixes"
Ori Livneh [Fri, 3 Apr 2015 18:26:20 +0000 (18:26 +0000)]
Merge "PHPCS lint fixes"

9 years agoPHPCS lint fixes
Ori Livneh [Fri, 3 Apr 2015 18:07:39 +0000 (11:07 -0700)]
PHPCS lint fixes

Change-Id: I16288db03f34439bdb16940a86720d2511f46467

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 3 Apr 2015 18:02:47 +0000 (20:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I94574a6af0fbcc11b1ec6e7fc6adee2650bf2224

9 years agoCut down on deadlocks in invalidatePages()
Aaron Schulz [Fri, 3 Apr 2015 17:03:19 +0000 (10:03 -0700)]
Cut down on deadlocks in invalidatePages()

Bug: T94992
Change-Id: I70f9d931b624e46ccc19f890d61de8d11326e686

9 years agoMerge "Made rollbackMasterChanges catch exceptions, throwing the last one"
jenkins-bot [Fri, 3 Apr 2015 16:50:20 +0000 (16:50 +0000)]
Merge "Made rollbackMasterChanges catch exceptions, throwing the last one"

9 years agoMade 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

9 years agoMerge "Add namespaces for Western Balochi (bgn) from translatewiki"
jenkins-bot [Fri, 3 Apr 2015 16:10:44 +0000 (16:10 +0000)]
Merge "Add namespaces for Western Balochi (bgn) from translatewiki"

9 years agoMerge "Add special pages aliases for Luri (lrc) 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"

9 years agoBetter file size limit message display logic
Gilles Dubuc [Thu, 2 Apr 2015 09:53:12 +0000 (11:53 +0200)]
Better file size limit message display logic

Only display upload size limit differentiation message
if there are 2 upload methods.

Bug: T94727
Change-Id: I23c5a5c5e7a30484c242005db831eec5c8c1f4a7

9 years agoSkin: Account for User::newFromName returning false
Gilles Dubuc [Fri, 3 Apr 2015 12:11:26 +0000 (14:11 +0200)]
Skin: Account for User::newFromName returning false

Follows-up e41f5a07f893cf.

Bug: T92357
Change-Id: I00edfaed92af7d16894453f28999bfce2de2e37a

9 years agoMade Skin::getRelevantUser use READ_NORMAL
Aaron Schulz [Fri, 3 Apr 2015 09:48:42 +0000 (02:48 -0700)]
Made Skin::getRelevantUser use READ_NORMAL

Bug: T92357
Change-Id: I5089c99ae3a21bb8d41d488d18dd63fe1eaefea9

9 years agoMerge "Removed BloomFilter classes"
jenkins-bot [Fri, 3 Apr 2015 09:24:53 +0000 (09:24 +0000)]
Merge "Removed BloomFilter classes"

9 years agoRemoved BloomFilter classes
Aaron Schulz [Fri, 3 Apr 2015 08:28:08 +0000 (01:28 -0700)]
Removed BloomFilter classes

* This ends up being more complex than its worth
  and even more so for multi-DC support

Bug: T93006
Change-Id: Iaa774fe69061e42955b11dc82d30dba93208e606

9 years agoSkinFallback: Recommend using wfLoadSkin() if possible
Kunal Mehta [Thu, 2 Apr 2015 17:31:24 +0000 (10:31 -0700)]
SkinFallback: Recommend using wfLoadSkin() if possible

Change-Id: I4f3841029578305ab692d853c45678f487adbc78

9 years agoresourceloader: Omit empty parameters from mw.loader.implement calls
Timo Tijhof [Tue, 9 Dec 2014 01:17:53 +0000 (01:17 +0000)]
resourceloader: Omit empty parameters from mw.loader.implement calls

Follows-up ebeb297231f393b6da0e719ce23.

Also:
* Add tests for ResourceLoader::makeLoaderImplementScript().
* Apply ResourceLoader::trimArray to makeLoaderImplementScript (new in c0c221bf).

This commit changes the load.php response to omit empty parameters.

These parameters were required until recently. The client has been
updated (1f393b6da and 0e719ce23) to make these optional, thus supporting
both the old server format and the change this commit makes

Clients with a tab open from before 0e719ce23 are naturally not
compatible with load.php responses from after this commit. Ensure
this is deployed several days after 0e719ce23 to reduce race
conditions of this nature.

(This is a re-submitted version of 4ce0c0da4)

Bug: T88879
Change-Id: I9e998261ee9b0b745e3339bc3493755c0cb04b6a

9 years agoHave back-compat shim actually return the value
Matthew Flaschen [Fri, 3 Apr 2015 02:53:57 +0000 (22:53 -0400)]
Have back-compat shim actually return the value

Bug: T94958
Change-Id: I75fbd11c8bb357b83079402592e8863acef18fb1

9 years agoMerge "Fixed class name typo in docs"
jenkins-bot [Fri, 3 Apr 2015 00:57:51 +0000 (00:57 +0000)]
Merge "Fixed class name typo in docs"

9 years agoFixed class name typo in docs
Aaron Schulz [Fri, 3 Apr 2015 00:42:41 +0000 (17:42 -0700)]
Fixed class name typo in docs

Change-Id: Ifc73af824b31fc2f709b777397896f605fe6dfff

9 years agoMerge "Check return value of preg_match in Sanitizer.php"
jenkins-bot [Thu, 2 Apr 2015 23:41:12 +0000 (23:41 +0000)]
Merge "Check return value of preg_match in Sanitizer.php"

9 years agoMerge "Add checks to try to catch T92046"
jenkins-bot [Thu, 2 Apr 2015 23:41:06 +0000 (23:41 +0000)]
Merge "Add checks to try to catch T92046"