lhc/web/wiklou.git
9 years agoRemove MW_SPECIALPAGE_VERSION. Unused anywhere.
Chad Horohoe [Wed, 15 Apr 2015 16:25:00 +0000 (09:25 -0700)]
Remove MW_SPECIALPAGE_VERSION. Unused anywhere.

If we needed such a constant nowadays we'd probably
stick it on SpecialPage itself rather than a global
define.

Change-Id: I8a62c4af3f6185ddd651cbf0ff86ecf39ca44123

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 10 Apr 2015 19:24:10 +0000 (21:24 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib5c98b70064d107f2299169a33cc1f4d43e35953

9 years agoMerge "debug: Add missing "use DateTimeZone" in LegacyLogger.php"
jenkins-bot [Fri, 10 Apr 2015 18:21:01 +0000 (18:21 +0000)]
Merge "debug: Add missing "use DateTimeZone" in LegacyLogger.php"

9 years agoMerge "Reorder backlinks indexes"
jenkins-bot [Fri, 10 Apr 2015 18:04:19 +0000 (18:04 +0000)]
Merge "Reorder backlinks indexes"

9 years agodebug: Add missing "use DateTimeZone" in LegacyLogger.php
Kunal Mehta [Fri, 10 Apr 2015 17:57:01 +0000 (10:57 -0700)]
debug: Add missing "use DateTimeZone" in LegacyLogger.php

Seen in fatal.log in production: ErrorException from line 264 of
/srv/mediawiki/php-1.26wmf1/includes/exception/MWExceptionHandler.php:
Fatal Error: Class undefined: MediaWiki\Logger\DateTimeZone

Bug: T95727
Change-Id: Icb303314caaef47ac767fbf593e92d09e818f147

9 years agoRemove unused "swap" global function
Kunal Mehta [Mon, 16 Mar 2015 07:30:41 +0000 (00:30 -0700)]
Remove unused "swap" global function

Deprecated in 26e1e083e8bfd4, unused since r12411.

Change-Id: If328f09114ac5a5d23a300d9b0bbcd7d67e051c8

9 years agoMerge "Switched RevDelList to using start/endAtomic()"
jenkins-bot [Fri, 10 Apr 2015 16:48:57 +0000 (16:48 +0000)]
Merge "Switched RevDelList to using start/endAtomic()"

9 years agoMerge "Made deleteTagEverywhere use start/endAtomic()"
jenkins-bot [Fri, 10 Apr 2015 16:48:54 +0000 (16:48 +0000)]
Merge "Made deleteTagEverywhere use start/endAtomic()"

9 years agoMerge "Made QueryPage::preprocessResults also use the vslow group"
jenkins-bot [Fri, 10 Apr 2015 16:48:51 +0000 (16:48 +0000)]
Merge "Made QueryPage::preprocessResults also use the vslow group"

9 years agoMerge "Made JobRunner avoid slave lag more aggressively"
jenkins-bot [Fri, 10 Apr 2015 16:48:46 +0000 (16:48 +0000)]
Merge "Made JobRunner avoid slave lag more aggressively"

9 years agophpdoc: make references to \MediaWiki\Logger\Spi fully qualified
Bryan Davis [Fri, 10 Apr 2015 15:58:43 +0000 (09:58 -0600)]
phpdoc: make references to \MediaWiki\Logger\Spi fully qualified

Change-Id: I4a5dbc3894ea175053e1238e7fc5de4c4cf085ca

9 years agoMerge "Replace use of assertType with assertInternalType and assertInstanceOf"
jenkins-bot [Fri, 10 Apr 2015 14:51:14 +0000 (14:51 +0000)]
Merge "Replace use of assertType with assertInternalType and assertInstanceOf"

9 years agoMerge "Removed SpecialStatistics query group; vslow is enough"
jenkins-bot [Fri, 10 Apr 2015 14:15:52 +0000 (14:15 +0000)]
Merge "Removed SpecialStatistics query group; vslow is enough"

9 years agoMade QueryPage::preprocessResults also use the vslow group
Aaron Schulz [Fri, 10 Apr 2015 09:31:35 +0000 (02:31 -0700)]
Made QueryPage::preprocessResults also use the vslow group

Change-Id: If5893ef9e2a18684c8cd1ce1b6149742b392a3c3

9 years agoMerge "Update namespaces for Luri (lrc) from translatewiki"
jenkins-bot [Fri, 10 Apr 2015 07:41:04 +0000 (07:41 +0000)]
Merge "Update namespaces for Luri (lrc) from translatewiki"

9 years agoMerge "Add fallback language for Luri (lrc) to Persian (fa)"
jenkins-bot [Fri, 10 Apr 2015 07:27:10 +0000 (07:27 +0000)]
Merge "Add fallback language for Luri (lrc) to Persian (fa)"

9 years agoMade JobRunner avoid slave lag more aggressively
Aaron Schulz [Fri, 10 Apr 2015 04:35:06 +0000 (21:35 -0700)]
Made JobRunner avoid slave lag more aggressively

Bug: T95501
Change-Id: Ibba6d2947638a17c86edcdaadf484c7aa45cd1c6

9 years agoAdd fallback language for Luri (lrc) to Persian (fa)
mjbmr [Sun, 5 Apr 2015 23:44:01 +0000 (23:44 +0000)]
Add fallback language for Luri (lrc) to Persian (fa)

It's an Iranian language and fallback was not added I think back in 2008.
It's required for the creation of the Luri Wikipedia.
All Iranian languages speakers are also native Persian.
It's already added for languages such as Baluchi (bgn), Bakhtiari (bqi),
Gilaki (glk) and Mazanderani (mzn).

I discussed this with the community as well.

Change-Id: Idf3ec73f9115343fde2e8240db867877122864de

9 years agoUpdate namespaces for Luri (lrc) from translatewiki
mjbmr [Fri, 10 Apr 2015 02:31:55 +0000 (02:31 +0000)]
Update namespaces for Luri (lrc) from translatewiki

Change-Id: I241af41f278e6e117bcabd74d114a546ca69fb87

9 years agoReduce begin/commit activity in startAtomic with DBO_TRX
Aaron Schulz [Thu, 9 Apr 2015 22:49:15 +0000 (15:49 -0700)]
Reduce begin/commit activity in startAtomic with DBO_TRX

Change-Id: I6c1334967aeff54fb18091c23749fcb0b49624b9

9 years agoMerge "Set time and date formats for ce"
jenkins-bot [Thu, 9 Apr 2015 19:00:42 +0000 (19:00 +0000)]
Merge "Set time and date formats for ce"

9 years agoMerge "Update special pages aliases for Westerm Baluchi (bgn) from translatewiki"
jenkins-bot [Thu, 9 Apr 2015 18:58:15 +0000 (18:58 +0000)]
Merge "Update special pages aliases for Westerm Baluchi (bgn) from translatewiki"

9 years agoSet time and date formats for ce
Niklas Laxström [Tue, 7 Apr 2015 13:42:19 +0000 (15:42 +0200)]
Set time and date formats for ce

Bug: T94665
Change-Id: I29b23d523785f49280c9d7add590340c31835e4d

9 years agoRemoved SpecialStatistics query group; vslow is enough
Aaron Schulz [Thu, 9 Apr 2015 18:39:15 +0000 (11:39 -0700)]
Removed SpecialStatistics query group; vslow is enough

Change-Id: I1841f5c64ebeeed7c3e54a11216add5c104ad69d

9 years agoSwitched RevDelList to using start/endAtomic()
Aaron Schulz [Thu, 9 Apr 2015 18:05:07 +0000 (11:05 -0700)]
Switched RevDelList to using start/endAtomic()

Change-Id: I2c950b558390e3fd9917414998f576e4e3b0593d

9 years agoMade deleteTagEverywhere use start/endAtomic()
Aaron Schulz [Thu, 9 Apr 2015 18:11:31 +0000 (11:11 -0700)]
Made deleteTagEverywhere use start/endAtomic()

Change-Id: I54b697bc8c0f84d49bfcc20ec2753e18d24bf988

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 9 Apr 2015 17:49:40 +0000 (19:49 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie915e0ffc24328785764b98bb47a5164162a2320

9 years agoMerge "Add @group Database tags to tests that need it"
jenkins-bot [Thu, 9 Apr 2015 15:28:23 +0000 (15:28 +0000)]
Merge "Add @group Database tags to tests that need it"

9 years agoMerge "Fixed ApiQueryBase::selectNamedDb() return value"
jenkins-bot [Thu, 9 Apr 2015 14:54:47 +0000 (14:54 +0000)]
Merge "Fixed ApiQueryBase::selectNamedDb() return value"

9 years agoHave phpunit.php exit with 1 in case it couldn't run the tests
Marius Hoch [Thu, 9 Apr 2015 08:32:59 +0000 (10:32 +0200)]
Have phpunit.php exit with 1 in case it couldn't run the tests

Just makes more sense not to claim we could complete everything
if we actually couldn't.

Change-Id: I4ec3a2da8913ca546782919813eb18a05a5cca0a

9 years agoFixed ApiQueryBase::selectNamedDb() return value
Yuri Astrakhan [Thu, 9 Apr 2015 05:20:56 +0000 (01:20 -0400)]
Fixed ApiQueryBase::selectNamedDb() return value

The doc specifies that this func should return
named database connection, but it does not. Fixed.

Change-Id: Ibe62ff4275201382243c4861cc4fd15cf0316e43

9 years agoReplace use of assertType with assertInternalType and assertInstanceOf
aude [Thu, 9 Apr 2015 04:53:37 +0000 (00:53 -0400)]
Replace use of assertType with assertInternalType and assertInstanceOf

These are available in phpunit since 3.5.0, which I think
is reasonable to expect people to have at this point,
especially when we actually require 3.7.0 or higher in phpunit.php:

Use assertSame instead of assertArrayEquals in UIDGeneratorTest.
assertSame (and assertEqual) care about sortorder of the array,
and is perfectly sufficient in this case to check they array is correct.

if ( $puVersion !== '@package_version@' && version_compare( $puVersion, '3.7.0', '<' ) ) {
        die( "PHPUnit 3.7.0 or later required; you have {$puVersion}.\n" );
}

Change-Id: Ic32ab45110e4c4304ef046ae8d0e98c741255559

9 years agoMerge "Use XML localName when importing"
jenkins-bot [Thu, 9 Apr 2015 00:46:24 +0000 (00:46 +0000)]
Merge "Use XML localName when importing"

9 years agoMerge "Set context earlier in ImageListPager::__construct"
jenkins-bot [Thu, 9 Apr 2015 00:45:08 +0000 (00:45 +0000)]
Merge "Set context earlier in ImageListPager::__construct"

9 years agoMerge "Skip file count on Special:Statistics when no files and no upload"
jenkins-bot [Thu, 9 Apr 2015 00:45:04 +0000 (00:45 +0000)]
Merge "Skip file count on Special:Statistics when no files and no upload"

9 years agoMerge "PLURAL support for list lengths in default-skin-not-found"
jenkins-bot [Thu, 9 Apr 2015 00:44:21 +0000 (00:44 +0000)]
Merge "PLURAL support for list lengths in default-skin-not-found"

9 years agoMerge "Add help link to three rather important pages"
jenkins-bot [Thu, 9 Apr 2015 00:41:20 +0000 (00:41 +0000)]
Merge "Add help link to three rather important pages"

9 years agoMerge "Added LogEntryBase::extractParams/makeParamBlob"
jenkins-bot [Thu, 9 Apr 2015 00:32:46 +0000 (00:32 +0000)]
Merge "Added LogEntryBase::extractParams/makeParamBlob"

9 years agoMerge "Do not pass null to Title::newFromText in Special:MyLanguage"
jenkins-bot [Thu, 9 Apr 2015 00:31:23 +0000 (00:31 +0000)]
Merge "Do not pass null to Title::newFromText in Special:MyLanguage"

9 years agoMerge "update.php: Correctly report durations >= 1 hour"
jenkins-bot [Thu, 9 Apr 2015 00:26:54 +0000 (00:26 +0000)]
Merge "update.php: Correctly report durations >= 1 hour"

9 years agoMerge "Warn when jobs do large DB writes at once"
jenkins-bot [Wed, 8 Apr 2015 23:08:25 +0000 (23:08 +0000)]
Merge "Warn when jobs do large DB writes at once"

9 years agoMerge "Removed unusable maintenance script"
jenkins-bot [Wed, 8 Apr 2015 22:53:30 +0000 (22:53 +0000)]
Merge "Removed unusable maintenance script"

9 years agoWarn when jobs do large DB writes at once
Aaron Schulz [Wed, 8 Apr 2015 22:47:58 +0000 (15:47 -0700)]
Warn when jobs do large DB writes at once

Change-Id: I57e9bb630accd5b262188ab16b17b558cd3a2bc1

9 years agoRemoved unusable maintenance script
Aaron Schulz [Wed, 8 Apr 2015 22:41:36 +0000 (15:41 -0700)]
Removed unusable maintenance script

* Change left out of 4bdbfe6c1b

Change-Id: I2169586742653d0b43e2f581f28f79af960e7ada

9 years agoApiParse: Replace isCurrent() check with getLatest() comparison
Roan Kattouw [Wed, 8 Apr 2015 21:55:44 +0000 (14:55 -0700)]
ApiParse: Replace isCurrent() check with getLatest() comparison

Because the $pageObj state is what actually ends up getting used.
If $pageObj thinks an old rev is the latest one, then we are in
trouble, even if $rev knows what's really going on.

Bug: T95466
Change-Id: I4d6ba4f18adaaad052d3bee1a575ba034aaf112b

9 years agoUpdate special pages aliases for Westerm Baluchi (bgn) from translatewiki
mjbmr [Wed, 8 Apr 2015 21:39:27 +0000 (21:39 +0000)]
Update special pages aliases for Westerm Baluchi (bgn) from translatewiki

Change-Id: I15e4cb75d2fe1b2719334fb74135843b86690bc3

9 years agoAdd array type hints to minor methods in the Html class
Thiemo Mättig [Thu, 26 Mar 2015 09:47:30 +0000 (10:47 +0100)]
Add array type hints to minor methods in the Html class

I'm aware that adding these type hints does have the potential of beeing
a breaking change if a caller misuses it. Note that it really is a misuse
in this case because all these parameters are documented as "array" and
nothing else.

I double-checked the usages of all methods I touched and could not find
any caller that does not fulfill the contract of these methods - in other
words, all callers I can find in my local code base (which includes all
major extensions like Echo, Flow, Parsoid, VisualEditor and so on) pass
arrays to these parameters.

I left the main methods openElement, rawElement and so on untouched
because they are called way to often (500 times and more).

Change-Id: I5ca13b26fb08d732ce4cadc4ee3d38314e606fd3

9 years agoMerge "Set a query group on SpecialRecentChanges query"
jenkins-bot [Wed, 8 Apr 2015 20:25:47 +0000 (20:25 +0000)]
Merge "Set a query group on SpecialRecentChanges query"

9 years agoMerge "Partially revert increased wikitable padding"
Bartosz Dziewoński [Wed, 8 Apr 2015 20:02:40 +0000 (20:02 +0000)]
Merge "Partially revert increased wikitable padding"

9 years agoMerge "Made wfReadOnly() more robust at handling the lagged-slave case"
jenkins-bot [Wed, 8 Apr 2015 19:38:09 +0000 (19:38 +0000)]
Merge "Made wfReadOnly() more robust at handling the lagged-slave case"

9 years agoMerge "Make RedisBagOStuff support tag name hashing"
jenkins-bot [Wed, 8 Apr 2015 19:20:38 +0000 (19:20 +0000)]
Merge "Make RedisBagOStuff support tag name hashing"

9 years agoMerge "Made WikiPage::doPurge() avoid calling commit()"
jenkins-bot [Wed, 8 Apr 2015 19:20:30 +0000 (19:20 +0000)]
Merge "Made WikiPage::doPurge() avoid calling commit()"

9 years agoMerge "Use wfWaitForSlaves in upload stash cleanup script"
jenkins-bot [Wed, 8 Apr 2015 19:20:21 +0000 (19:20 +0000)]
Merge "Use wfWaitForSlaves in upload stash cleanup script"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 8 Apr 2015 19:07:02 +0000 (21:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I52aa3fcab215c84aa499cf2c8f1ff67d3fff47c3

9 years agoMerge "Log huge write queries in CLI scripts"
jenkins-bot [Wed, 8 Apr 2015 18:44:45 +0000 (18:44 +0000)]
Merge "Log huge write queries in CLI scripts"

9 years agoMerge "Made mergeActiveUsers use "recentchanges" query group"
jenkins-bot [Wed, 8 Apr 2015 18:44:40 +0000 (18:44 +0000)]
Merge "Made mergeActiveUsers use "recentchanges" query group"

9 years agoMade wfReadOnly() more robust at handling the lagged-slave case
Aaron Schulz [Tue, 7 Apr 2015 18:04:17 +0000 (11:04 -0700)]
Made wfReadOnly() more robust at handling the lagged-slave case

* Previously if it was called before a DB_SLAVE connection, it would not
  be set. This is fixed now.
* Also set mLaggedSlaveMode in LoadBalancer as appropriate. Before, it
  was only set in the "too lagged for ChronologyProtector" case.

Change-Id: Ic4dc555cf762653f157df1795f53f3577c1e587a

9 years agoMerge "Removed unused wgDBAvgStatusPoll var"
jenkins-bot [Wed, 8 Apr 2015 18:22:12 +0000 (18:22 +0000)]
Merge "Removed unused wgDBAvgStatusPoll var"

9 years agoFix I9e63789e: Release notes should refer to old versions in HISTORY
Chad Horohoe [Wed, 8 Apr 2015 17:46:34 +0000 (10:46 -0700)]
Fix I9e63789e: Release notes should refer to old versions in HISTORY

Change-Id: Ibedf45f4a0a5b16f8fa494412b471e266404d9b3

9 years agoMade WikiPage::doPurge() avoid calling commit()
Aaron Schulz [Wed, 8 Apr 2015 17:33:58 +0000 (10:33 -0700)]
Made WikiPage::doPurge() avoid calling commit()

* Calling commit() can cause imbalanced begin/commit problems

Change-Id: I55fec065de20653b216c8dfac7c361124c8fe10a

9 years agoMerge "Made User::invalidateCache() use touch() instead of the DB query"
jenkins-bot [Wed, 8 Apr 2015 17:31:10 +0000 (17:31 +0000)]
Merge "Made User::invalidateCache() use touch() instead of the DB query"

9 years agoPrevent SiteStats::loadAndLazyInit from reloading in $wgMiserMode
Aaron Schulz [Wed, 8 Apr 2015 16:35:56 +0000 (09:35 -0700)]
Prevent SiteStats::loadAndLazyInit from reloading in $wgMiserMode

* Large sites can use a chron to handle accumulated drift

Bug: T95426
Change-Id: I59603a7aa329a10f8a7e4d11f3496e8f8243ca42

9 years agoUse wfWaitForSlaves in upload stash cleanup script
Aaron Schulz [Wed, 8 Apr 2015 16:24:36 +0000 (09:24 -0700)]
Use wfWaitForSlaves in upload stash cleanup script

Bug: T95382
Change-Id: I8d93eb15064693634076e864ed6724392448cb45

9 years agoTrack search events
Baha Man [Mon, 23 Mar 2015 23:11:21 +0000 (19:11 -0400)]
Track search events

Tracking works only for the skin-provided search box (top right search
box on desktop). Also, add the 'update' option the jQuery suggestions
extension.

Change-Id: Icc0afcd6c9fa8c82a95d9decf988a19ae3edc165

9 years agoAdd test for IRC line for type protect/move_prot
umherirrender [Wed, 8 Apr 2015 10:12:15 +0000 (12:12 +0200)]
Add test for IRC line for type protect/move_prot

All other log types already have a test, just move_prot is missing.

Change-Id: I97fdb21d3cb58847a883917b06294bc92dac9410

9 years agoLog huge write queries in CLI scripts
Aaron Schulz [Wed, 8 Apr 2015 01:11:29 +0000 (18:11 -0700)]
Log huge write queries in CLI scripts

* This is already done for web scripts, but with lower limits

Bug: T95382
Change-Id: I0fe14bcdaebc3568b0cb7af8084b7bfefeb82826

9 years agoMade User::invalidateCache() use touch() instead of the DB query
Aaron Schulz [Wed, 8 Apr 2015 02:58:40 +0000 (19:58 -0700)]
Made User::invalidateCache() use touch() instead of the DB query

* This method is used for clearing the User cache as well
  as bumping the value of getTouched() for HTTP 304 logic.
  These do not need to do the actual user_touched update.
* This also avoids problems with setting mTouched but
  deferring the update. That confused the CAS update
  logic since it expects mTouched to be in the DB.

Change-Id: I96b30f5c9c8b4714e6663b187f741954a13312cf

9 years agoupdate.php: Correctly report durations >= 1 hour
Kevin Israel [Mon, 26 May 2014 15:02:45 +0000 (11:02 -0400)]
update.php: Correctly report durations >= 1 hour

Bug: T67772
Change-Id: I61492a1ad8bf7f574b198af82799b030221bb58b

9 years agoMade mergeActiveUsers use "recentchanges" query group
Aaron Schulz [Wed, 8 Apr 2015 00:31:11 +0000 (17:31 -0700)]
Made mergeActiveUsers use "recentchanges" query group

Change-Id: I9b91fe5d81f7315d531c48530cfbcf779f3adec2

9 years agoSet a query group on SpecialRecentChanges query
Aaron Schulz [Wed, 8 Apr 2015 00:29:19 +0000 (17:29 -0700)]
Set a query group on SpecialRecentChanges query

Change-Id: I2525aa9d504027aec6bb3f83c8a48ce818e252cd

9 years agoRemoved unused wgDBAvgStatusPoll var
Aaron Schulz [Tue, 7 Apr 2015 22:25:03 +0000 (15:25 -0700)]
Removed unused wgDBAvgStatusPoll var

Change-Id: Ib1abf72add4d62bb41f1e2061caf9de0abd84e43

9 years agoAdded LogEntryBase::extractParams/makeParamBlob
umherirrender [Sat, 28 Mar 2015 17:55:45 +0000 (18:55 +0100)]
Added LogEntryBase::extractParams/makeParamBlob

Centralize the serialize and unserialize call in the new logging system
into two functions to allow reuse by tests.

Change-Id: Ibedca39558cbd566661b20e7ebb9d2b6537e4f24

9 years agoBegin 1.26 development cycle
Chad Horohoe [Tue, 7 Apr 2015 20:48:23 +0000 (13:48 -0700)]
Begin 1.26 development cycle

Change-Id: I9e63789e7bbec95e72fca6dfc1a79f0ae1fba9b0

9 years agoMerge "mime.types: allow bzip2 upload"
jenkins-bot [Tue, 7 Apr 2015 20:33:43 +0000 (20:33 +0000)]
Merge "mime.types: allow bzip2 upload"

9 years agoMerge "Remove form when including empty Special:WhatLinksHere"
jenkins-bot [Tue, 7 Apr 2015 20:10:25 +0000 (20:10 +0000)]
Merge "Remove form when including empty Special:WhatLinksHere"

9 years agoMerge "Kill Dwimmerlaik"
jenkins-bot [Tue, 7 Apr 2015 20:10:21 +0000 (20:10 +0000)]
Merge "Kill Dwimmerlaik"

9 years agoMerge "Revert "Hide HHVM tag on Special:{Contributions,RecentChanges,...}""
jenkins-bot [Tue, 7 Apr 2015 20:08:31 +0000 (20:08 +0000)]
Merge "Revert "Hide HHVM tag on Special:{Contributions,RecentChanges,...}""

9 years agoMerge "Made User::loadPasswords respect "queryFlagsUsed""
jenkins-bot [Tue, 7 Apr 2015 20:02:31 +0000 (20:02 +0000)]
Merge "Made User::loadPasswords respect "queryFlagsUsed""

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 7 Apr 2015 19:52:45 +0000 (19:52 +0000)]
Merge "Localisation updates from https://translatewiki.net."

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

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

9 years agoMade User::loadPasswords respect "queryFlagsUsed"
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

9 years agoRevert "Hide HHVM tag on Special:{Contributions,RecentChanges,...}"
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

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