jenkins-bot [Fri, 26 Feb 2016 16:09:11 +0000 (16:09 +0000)]
Merge "Ignore noop DB transactions errors on connection loss"
jenkins-bot [Fri, 26 Feb 2016 09:45:23 +0000 (09:45 +0000)]
Merge "ApiQuerySearch: Match limits to those in Special:Search"
jenkins-bot [Fri, 26 Feb 2016 00:13:18 +0000 (00:13 +0000)]
Merge "Make mediawiki.action.view.redirectPage available on mobile"
Alex Monk [Fri, 26 Feb 2016 00:02:16 +0000 (00:02 +0000)]
Make mediawiki.action.view.redirectPage available on mobile
Bug: T63861
Change-Id: I71d3d415fe918e8b0a090860cad9271092b1bd7e
jenkins-bot [Thu, 25 Feb 2016 22:17:57 +0000 (22:17 +0000)]
Merge "Release notes for "Browser support for IE8 from Grade A to Grade C""
jenkins-bot [Thu, 25 Feb 2016 21:56:56 +0000 (21:56 +0000)]
Merge "Do not vary on session cookies when the session is disabled"
Timo Tijhof [Thu, 25 Feb 2016 21:04:09 +0000 (21:04 +0000)]
Release notes for "Browser support for IE8 from Grade A to Grade C"
Follows-up
df1019c49d.
Change-Id: I2ca113d1d6a6c4bd74a622b720bf5547680050ec
Gergő Tisza [Wed, 24 Feb 2016 06:45:04 +0000 (22:45 -0800)]
Do not vary on session cookies when the session is disabled
MW_NO_SESSION is supposed to be used in a deterministic way
(either always or never for a given endpoint) so there is
no point to split the cache on session cookies when it is
used (except when it's set to 'warn' in which case it is
not really used).
Bug: T127233
Change-Id: If44e0ec2167359e081e1b4cd4d21e62bd357d23e
Translation updater bot [Thu, 25 Feb 2016 20:50:50 +0000 (21:50 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I0aad8636bb230609aa260cdbebe7d10114c2236b
jenkins-bot [Thu, 25 Feb 2016 18:57:06 +0000 (18:57 +0000)]
Merge "Add TitleMoveStarting, mirroring TitleMoveCompleting"
jenkins-bot [Thu, 25 Feb 2016 18:47:51 +0000 (18:47 +0000)]
Merge "User::isSafeToLoad() should return false if MW_NO_SESSION"
Matthew Flaschen [Wed, 24 Feb 2016 23:50:58 +0000 (18:50 -0500)]
Add TitleMoveStarting, mirroring TitleMoveCompleting
This is a pre-requisite to fix a Flow move regression, T127785.
This allows running an atomic entirely within the move with the correct
ordering.
Bug: T127785
Change-Id: Ie772f737f917854e4cfefe52ec3bea4669c9efe0
Brad Jorsch [Tue, 23 Feb 2016 22:05:15 +0000 (17:05 -0500)]
User::isSafeToLoad() should return false if MW_NO_SESSION
Because it's never safe.
Bug: T127233
Change-Id: Ieb5824f1668dc38d1be7c7cbf799da17e581c555
jenkins-bot [Thu, 25 Feb 2016 17:28:10 +0000 (17:28 +0000)]
Merge "Get timestamp from WikiPage, instead of Article"
jenkins-bot [Thu, 25 Feb 2016 17:12:18 +0000 (17:12 +0000)]
Merge "Fix a PHP 5.5 TODO"
jenkins-bot [Thu, 25 Feb 2016 17:12:13 +0000 (17:12 +0000)]
Merge "Fixup contenttype stuff in UserMailer"
jenkins-bot [Thu, 25 Feb 2016 17:12:04 +0000 (17:12 +0000)]
Merge "Updating docs for UserMailer::sendWithPear() which calls $mailer->send()"
jenkins-bot [Thu, 25 Feb 2016 17:11:58 +0000 (17:11 +0000)]
Merge "Remove no-op parameter from UIDGeneratorTest"
jenkins-bot [Thu, 25 Feb 2016 17:04:23 +0000 (17:04 +0000)]
Merge "Initialise array with contents in one go"
jenkins-bot [Thu, 25 Feb 2016 16:56:39 +0000 (16:56 +0000)]
Merge "Fix typo and improve code comments in LinkTarget"
Perside Rosalie [Thu, 25 Feb 2016 13:52:24 +0000 (14:52 +0100)]
Updating docs for UserMailer::sendWithPear() which calls $mailer->send()
$mailer->send() call in UserMailer::sendWithPear() which is correct. $mailer is an
instance of Mail_smtp not UserMailer so the arguments passed to the send() method are
correct. The docs have been updated appropriately.
Bug: T68673
Change-Id: Ia85f957c60f4dafd3f450cda469b70bdcc166a8f
jenkins-bot [Thu, 25 Feb 2016 16:44:04 +0000 (16:44 +0000)]
Merge "Move WatchedItem::duplicateEntries to WatchedItemStore"
jenkins-bot [Thu, 25 Feb 2016 15:48:55 +0000 (15:48 +0000)]
Merge "OOjs UI: Fix #gatherPreInfuseState called incorrectly, causing TypeErrors"
Thiemo Mättig [Thu, 25 Feb 2016 13:34:01 +0000 (14:34 +0100)]
OOjs UI: Fix #gatherPreInfuseState called incorrectly, causing TypeErrors
This bug is currently live. Try opening
https://www.wikidata.org/wiki/Special:NewItem
and have a look at the JavaScript console.
Introduced in If07d40a.
This patch is a manual cherry-pick from I748a4bc, which is the same
fix in the original repository. I feel we should backport this to
production.
Bug: T106313
Bug: T128075
Change-Id: I25a5deab2c287e97086726d0acbb3afeee842e0b
jenkins-bot [Thu, 25 Feb 2016 14:05:07 +0000 (14:05 +0000)]
Merge "Add missing null type hints to Content::isCountable and implementations"
jenkins-bot [Thu, 25 Feb 2016 13:46:36 +0000 (13:46 +0000)]
Merge "ApiSandbox: Convert all pluses in URL to spaces, not just the first one"
Matt Russell [Thu, 25 Feb 2016 07:19:38 +0000 (18:19 +1100)]
ApiSandbox: Convert all pluses in URL to spaces, not just the first one
This would prevent linking to any query that contains spaces.
Change-Id: I45607c1eb465d4d9bf7bbb1de7098bb1450b5043
Bug: T128053
jenkins-bot [Thu, 25 Feb 2016 13:23:30 +0000 (13:23 +0000)]
Merge "Message.php: Update comment to current implementation"
Thiemo Mättig [Thu, 25 Feb 2016 13:13:22 +0000 (14:13 +0100)]
Add missing null type hints to Content::isCountable and implementations
Change-Id: I6e3128dddd296f6d33da23332b8ff8393837b61b
jenkins-bot [Thu, 25 Feb 2016 06:14:08 +0000 (06:14 +0000)]
Merge "Fix autofocus on Special:Activeusers"
jenkins-bot [Thu, 25 Feb 2016 02:52:29 +0000 (02:52 +0000)]
Merge "ApiSandbox: Visual separation of fields"
jenkins-bot [Thu, 25 Feb 2016 02:47:37 +0000 (02:47 +0000)]
Merge "SessionBackend: skip isUserSessionPrevented check for anons"
Ori Livneh [Wed, 24 Feb 2016 23:32:57 +0000 (15:32 -0800)]
SessionBackend: skip isUserSessionPrevented check for anons
For anon requests, the call to SessionManager::isUserSessionPrevented(
$this->user->getName() ) is both expensive (because of the need to
sanitize the IP) and pointless, because the session-prevention feature
is intended for named accounts. So short-circuit the check if the user is not
logged in.
Change-Id: I17386b97e229b492723b46db1e1ae16fd4b0fc5a
Matthew Flaschen [Wed, 24 Feb 2016 23:22:30 +0000 (18:22 -0500)]
IDatabase::commit: Docs re 'flush' exception on explicit transaction
Change-Id: I44087e92d2186f4e931b3f0766caba1f90f4ebc4
Brad Jorsch [Wed, 24 Feb 2016 21:22:39 +0000 (16:22 -0500)]
ApiQuerySearch: Match limits to those in Special:Search
The limits were decreased in r55615, but no one seems to remember why.
Bug: T119189
Change-Id: I622203195ed5dbed9548bb4a9a6acdab8e3bc3ed
jenkins-bot [Wed, 24 Feb 2016 21:07:46 +0000 (21:07 +0000)]
Merge "Fix validation error on Special:Emailuser"
Translation updater bot [Wed, 24 Feb 2016 20:38:21 +0000 (21:38 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia35e1b9cc7ac053de010cde3accc1f988a7e965a
umherirrender [Wed, 24 Feb 2016 19:48:53 +0000 (20:48 +0100)]
Fix validation error on Special:Emailuser
Xml::inputLabel does not know about boolean parameters like autofocus,
so add it with an empty value
Fix validation error:
Bad value 1 for attribute autofocus on element input.
Change-Id: Ide77585fcf24f8ecd26dddac3610a134ba78dce9
Fomafix [Wed, 24 Feb 2016 19:41:50 +0000 (19:41 +0000)]
Message.php: Update comment to current implementation
Change-Id: I04f6b42380e6b8eeb5bf0d679e8fb65cb4696d1a
umherirrender [Wed, 24 Feb 2016 19:40:53 +0000 (20:40 +0100)]
Fix autofocus on Special:Activeusers
Xml::inputLabel does not know about boolean parameters like autofocus,
so add it with an empty value or omitted it.
Fix validation error:
Bad value 1 for attribute autofocus on element input.
Change-Id: Idb7a7b58079d6c44b5a7f1fa226218bb685c8241
Brad Jorsch [Tue, 23 Feb 2016 22:07:19 +0000 (17:07 -0500)]
Add $lang parameter to SpecialVersion::getVersion
Usage in Scribunto with I712e048367d9d.
Bug: T127233
Change-Id: Id14733aaef3e52a2e315bffe74baeb926d46e238
Amire80 [Wed, 24 Feb 2016 13:13:11 +0000 (15:13 +0200)]
Change "edit" to "create" in the message noarticletext
Change-Id: I0437c30969afbe65723bb0c8130b3636ea059246
jenkins-bot [Wed, 24 Feb 2016 07:59:13 +0000 (07:59 +0000)]
Merge "Add used messages to LogFormatter::getMessageKey overrides"
Ricordisamoa [Wed, 24 Feb 2016 02:47:10 +0000 (03:47 +0100)]
build: Tweak jscs jsDoc rule 'checkAnnotations' and make pass
* Don't override "private", the default is to require empty
values for the tag
* Move some @private tags after descriptions so the latter
are not mistaken for tag values
* Require some value for @context, @source and @see tags
Change-Id: I583bb2ff3ec6537e1419732aaf1644ea8feb2255
Aaron Schulz [Sat, 20 Feb 2016 00:14:58 +0000 (16:14 -0800)]
Ignore noop DB transactions errors on connection loss
This avoids some needless exceptions for longer running scripts.
Bug: T127428
Change-Id: I3098141aa77a4c73cb2a0c784b38b15c712f82a9
jenkins-bot [Wed, 24 Feb 2016 00:06:13 +0000 (00:06 +0000)]
Merge "Add missing 'public' keywords to some MediaHandler methods"
Ricordisamoa [Tue, 23 Feb 2016 23:47:02 +0000 (00:47 +0100)]
Add missing 'public' keywords to some MediaHandler methods
* getParamMap
* validateParam
* makeParamString
* parseParamString
* canRender
* mustRender
* isMultiPage
Change-Id: I0c00a61abf9be400dca5407370ca2c232d57ae17
jenkins-bot [Tue, 23 Feb 2016 23:43:42 +0000 (23:43 +0000)]
Merge "mediawiki.ui: Buttons should receive `max-width`"
Reedy [Tue, 23 Feb 2016 23:39:40 +0000 (23:39 +0000)]
Initialise array with contents in one go
Change-Id: Id9ea7a8f17905a0e1e3c0ff12a9ba6c54de54dbe
Volker E [Tue, 23 Feb 2016 21:29:06 +0000 (13:29 -0800)]
mediawiki.ui: Buttons should receive `max-width`
Applying `max-width` to mw-ui-buttons and center-aligning subgroup
when class `mw-ui-block` is available.
Bug: T95367
Change-Id: I4aaf24042f451c3b5489f49098f4b9e7eeef8098
Arlo Breault [Tue, 23 Feb 2016 22:00:34 +0000 (14:00 -0800)]
Fix parserTests: Set scriptPath in setupGlobals() as well
Follows-up to
2eeda9bc7, which only set it in setUp().
Change-Id: Ifafaeaab679f51d452419bea223a955afcc63b51
Translation updater bot [Tue, 23 Feb 2016 21:09:58 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I38e60872965bf5f1f0074c41a9b3773487331fa8
jenkins-bot [Tue, 23 Feb 2016 20:45:38 +0000 (20:45 +0000)]
Merge "Sync up with Parsoid parserTests."
Arlo Breault [Tue, 23 Feb 2016 19:46:20 +0000 (11:46 -0800)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
239d2e60d82c736905a935525db748ebf6b45e23
Change-Id: Iec62b6824ab7d4c5d660999af130c777f8621571
Ori Livneh [Tue, 23 Feb 2016 19:16:31 +0000 (11:16 -0800)]
Revert "Log multiple IPs using the same session or the same user account"
This reverts commit
f22549a60539c9aa5c5390c8417c984ba8eef5b2.
Per T125455#
2054194.
Bug: T125455
Change-Id: Ic2049381e98586e91974fc5b47d9e857a73414a4
jenkins-bot [Tue, 23 Feb 2016 19:54:05 +0000 (19:54 +0000)]
Merge "resourceloader: Remove $wgUser optimization that uses session "
Bryan Davis [Tue, 23 Feb 2016 17:43:01 +0000 (10:43 -0700)]
resourceloader: Remove $wgUser optimization that uses session
Remove optimization that avoids unstubbing $wgUser because $wgUser
is not a plain object for the current user name.
It's a stub with mFrom='session' until methods are called that need
the info, such as getName(), which then lazy loads the object based on
the session information.
We want to make load.php session-less.
Bug: T127233
Change-Id: Ica482e5d1892cb29456e6f2a91cd70017cf414c5
jenkins-bot [Tue, 23 Feb 2016 17:34:16 +0000 (17:34 +0000)]
Merge "JsonContent: Call member functions with '$this->', not 'self::'"
jenkins-bot [Tue, 23 Feb 2016 17:21:54 +0000 (17:21 +0000)]
Merge "Avoid pointless doBatchLookups() query for user contributions"
jenkins-bot [Tue, 23 Feb 2016 15:03:42 +0000 (15:03 +0000)]
Merge "CachedBagOStuff: cache backend misses"
jenkins-bot [Tue, 23 Feb 2016 10:00:06 +0000 (10:00 +0000)]
Merge "Fix class name of BcryptPasswordTest"
jenkins-bot [Tue, 23 Feb 2016 08:29:46 +0000 (08:29 +0000)]
Merge "Add toggle checkboxes to action=history"
jenkins-bot [Tue, 23 Feb 2016 08:24:46 +0000 (08:24 +0000)]
Merge "Remove wfCheckEntropy() as unused and deprecated in 1.27"
Timo Tijhof [Tue, 23 Feb 2016 03:18:31 +0000 (03:18 +0000)]
Add missing namespace to @covers comments
PHP_CodeCoverage_Exception:
> Trying to @cover not existing method "SwiftFileBackend::sanitzeHdrs".
> Trying to @cover not existing method "LineFormatter::normalizeException".
> Trying to @cover not existing method "MonologSpi::mergeConfig".
> Trying to @cover not existing method "ProcessCacheLRU::het".
> Trying to @cover not existing method "BitmapHandler::swapICCProfile".
> Trying to @cover not existing class or interface "checkParseSafety".
> Trying to @cover not existing method "Article::__call". (was removed).
> Trying to @cover not existing method "ExtensionProcessor::extracttExtensionMessagesFiles".
> Trying to @cover not existing method "FileContentsHasher::getFileContentHash".
Makes code coverage run fail at the moment. These used to be warnings
in PHPUnit 3.x, but are now hard exceptions in PHPUnit 4.x when requesting
a coverage report.
Change-Id: If7f45ca57fd7d480d35b1414a889398837c0c472
Timo Tijhof [Tue, 23 Feb 2016 03:18:31 +0000 (03:18 +0000)]
Add missing namespace to @covers comment in LegacyLoggerTest
> Trying to @cover or @use not existing method "LegacyLogger::interpolate"
Makes code coverage run fail at the moment.
Change-Id: I8417b5c2f1fc116583758c7507770c796127bb67
Timo Tijhof [Tue, 23 Feb 2016 02:13:11 +0000 (02:13 +0000)]
parserTest: Make $wgResourceBasePath match $wgScriptPath
Right now it forgets to reset $wgResourceBasePath, which means it
is inherited from the wikis's (or Jenkins') default settings which
is typically '/w'. That caused parser tests to behave as if pointers
to /extensions were outside /w.
Also update wgScriptPath to be '' instead of '/'. Otherwise this
can cause double-slash prefixed urls.
Change-Id: Ic455d62fca8fcac2c4ecc055cc0d7e311b70a94a
jenkins-bot [Tue, 23 Feb 2016 01:57:56 +0000 (01:57 +0000)]
Merge "Upgrade from PHPunit 3.7.x to PHPUnit 4.8.x"
jenkins-bot [Tue, 23 Feb 2016 01:55:54 +0000 (01:55 +0000)]
Merge "Fix parameter parsing in parserTests.php"
jenkins-bot [Tue, 23 Feb 2016 01:53:38 +0000 (01:53 +0000)]
Merge "Fix resource path check when ResourceBasePath is an empty string"
Max Semenik [Tue, 23 Feb 2016 01:45:51 +0000 (17:45 -0800)]
Fix parameter parsing in parserTests.php
Change-Id: Iafb8a60f040cd94eb1b8c30ea5ace9cff4272c0e
Bryan Davis [Tue, 23 Feb 2016 01:45:20 +0000 (18:45 -0700)]
CachedBagOStuff: cache backend misses
Cache misses from the backend cache the same as hits.
Bug: T127772
Change-Id: If2fe1920411b24862acea888c627db13717da8bd
Max Semenik [Tue, 23 Feb 2016 01:03:51 +0000 (17:03 -0800)]
Fix a PHP 5.5 TODO
Change-Id: Ieb3bc27e4f33e170b2217ab8eab58f5309083e80
Timo Tijhof [Sat, 13 Feb 2016 14:00:20 +0000 (15:00 +0100)]
Upgrade from PHPunit 3.7.x to PHPUnit 4.8.x
Major changes:
* (4.0.0) Limited support for stubbing and mocking static methods was removed.
(introduced in PHPUnit 3.5)
* (4.0.0) The addRiskyTest() was added to the PHPUnit_Framework_TestListener interface.
Classes that implement this interface MUST implement this method.
* (4.5.0) The "--strict" catch-all option was deprecated. Use specific options instead.
Notable changes:
* (4.6.0) Tests not annotated with @small, @medium, or @large are no longer default
to matching in group @small.
* (4.6.0) Result printer now checks hasColorSupport().
* (4.8.0) The name of the default group was changed from "__nogroup__" to "default".
* (4.8.0) This is the last release to support PHP 5.3, PHP 5.4, and PHP 5.5.
PHPUnit 5 will require PHP 5.6 or higher.
PHPUnit 3.7.17 was released March 2013.
PHPUnit 4.8.0 was released August 2015.
PHPUnit 4.8.23 was released January 2016.
Details:
* https://github.com/sebastianbergmann/phpunit/wiki/ChangeLog-for-PHPUnit-3.7
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.1.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.2.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.3.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.4.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.5.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.6.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.7.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.8.0
Bug: T99982
Change-Id: I70ad81513812aa76a84fa55be14135aac94d55e8
Aaron Schulz [Tue, 23 Feb 2016 00:56:36 +0000 (16:56 -0800)]
Avoid pointless doBatchLookups() query for user contributions
This shows up in slow query reports a lot.
Change-Id: Ic1cf45fae87655e0b9d09fdc96aa2b2c22de2c11
jenkins-bot [Tue, 23 Feb 2016 00:49:58 +0000 (00:49 +0000)]
Merge "Update OOjs UI to v0.16.0"
jenkins-bot [Mon, 22 Feb 2016 23:49:12 +0000 (23:49 +0000)]
Merge "Enforce MW_NO_SESSION, add MW_NO_SESSION_HANDLER"
James D. Forrester [Mon, 22 Feb 2016 22:36:25 +0000 (14:36 -0800)]
Update OOjs UI to v0.16.0
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.16.0/History.md
Change-Id: I9c170fce1c65ae65b0b33342572fe4d3bb613774
Tim Starling [Mon, 22 Feb 2016 03:51:19 +0000 (14:51 +1100)]
Fix resource path check when ResourceBasePath is an empty string
If you have MediaWiki installed in the root of the domain, then
$wgScriptPath and $wgResourceBasePath is an empty string. In HHVM and
PHP, passing an empty string as the second parameter of strpos() causes
a warning and returns false, which will cause the condition to fail, as
if the path were not within the base path.
So, normalize such paths. Using substr() instead of strpos() for a
"starts with" check would have worked except that RelPath also fails
when given an empty string.
Bug: T127652
Change-Id: If7e94ae638d6834f7cc0f31f67a5fe6a2f74771c
Paladox [Mon, 22 Feb 2016 21:48:33 +0000 (21:48 +0000)]
build: Update grunt-contrib-jshint from 0.12.0 to 1.0.0
Changelog at
https://github.com/gruntjs/grunt-contrib-jshint/blob/v1.0.0/CHANGELOG
This release includes a fix to the checker because sometimes it would
not show where the error was coming from.
Change-Id: Ia2e7d6520b760bdc80f7e24051ec578954aa0706
Translation updater bot [Mon, 22 Feb 2016 20:24:10 +0000 (21:24 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2d18d11d274f565e92623563b5f0550a5ed527c1
Kunal Mehta [Tue, 16 Feb 2016 18:42:04 +0000 (10:42 -0800)]
JsonContent: Call member functions with '$this->', not 'self::'
Change-Id: I7dab69ff77c98439f90e7d79f31d0e9128728683
Reedy [Sat, 20 Feb 2016 20:20:37 +0000 (20:20 +0000)]
Fix function call casing
Change-Id: I20600c865b9f239ac281a1f8c5776ad4dbec4359
umherirrender [Mon, 22 Feb 2016 18:11:18 +0000 (19:11 +0100)]
Add used messages to LogFormatter::getMessageKey overrides
Change-Id: I55e943ab2788e7fee022d40cc3d74ed479788f3b
umherirrender [Mon, 22 Feb 2016 17:46:57 +0000 (18:46 +0100)]
Fix class name of BcryptPasswordTest
Tests are named Test, not TestCase
Change-Id: I3725f8bebde5896fde24e36bd6b6e25dd8492a91
jenkins-bot [Mon, 22 Feb 2016 17:28:35 +0000 (17:28 +0000)]
Merge "Fix session store logging"
jenkins-bot [Mon, 22 Feb 2016 17:18:00 +0000 (17:18 +0000)]
Merge "Use hex2bin() instead of pack()"
Brad Jorsch [Thu, 18 Feb 2016 20:56:40 +0000 (15:56 -0500)]
Enforce MW_NO_SESSION, add MW_NO_SESSION_HANDLER
When an entry point specifies MW_NO_SESSION, actually enforce that by
having both SessionManager and PHP's session handling (session_start()
and friends) throw exceptions.
If an entry point needs the old behavior of using PHP's default session
handling (as defined in php.ini), it should define
MW_NO_SESSION_HANDLER instead of or in addition to MW_NO_SESSION.
This also makes PHPSessionHandler be installed in CLI mode, where it
wasn't installed before.
Bug: T127233
Change-Id: I2a3db06ee8e44a044096c57a819b5fd5e51c5c5c
Brad Jorsch [Mon, 22 Feb 2016 14:01:25 +0000 (09:01 -0500)]
Fix session store logging
Two things were wrong here:
1. SessionManager shouldn't override the configured logger of the
underlying store.
2. CachedBagOStuff shouldn't override the configured logger of the
backend store on construction.
Change-Id: I24ed5a81d5b238a42934a7890dd8d0a9f9bb3b6f
jenkins-bot [Mon, 22 Feb 2016 17:03:23 +0000 (17:03 +0000)]
Merge "Remove some unused variables"
jenkins-bot [Mon, 22 Feb 2016 15:51:02 +0000 (15:51 +0000)]
Merge "mw.Title/NamespaceInputWidget: Use wgNamespaceIds for namespace constants"
Brion VIBBER [Mon, 22 Feb 2016 15:24:23 +0000 (15:24 +0000)]
Merge "Tidy: <source> and <track> are empty elements"
Željko Filipin [Tue, 16 Feb 2016 11:27:40 +0000 (12:27 +0100)]
Fixed Selenium tests by removing skins not installed by default
Looks like the tests were developed targeting
en.wikipedia.beta.wmflabs.org that has 4 skins by default. The commit
removes checks for all skins but Vector, which is installed by default. (At least in
my MediaWiki-Vagrant installation.)
Bug: T94150
Change-Id: I68f864bd194dbb251acab3d94699f1e701300ab2
Ed Sanders [Thu, 18 Feb 2016 11:32:11 +0000 (11:32 +0000)]
mw.Title/NamespaceInputWidget: Use wgNamespaceIds for namespace constants
Avoids duplication of numerical constants.
Fix instance of variable changing meaning (ns = ns.toLowerString()).
Change-Id: I0e21c51d0e1bdf8340d5d7c927cee7619171e14b
jenkins-bot [Mon, 22 Feb 2016 10:01:07 +0000 (10:01 +0000)]
Merge "Deprecate PrefixSearchBackend"
jenkins-bot [Mon, 22 Feb 2016 01:12:39 +0000 (01:12 +0000)]
Merge "Don't URL encode titles when revdeling from Special:Undelete"
Arlo Breault [Wed, 5 Aug 2015 18:40:02 +0000 (11:40 -0700)]
Match html5 unquoted attribute parsing
* Brings us closer to the html5 attribute parsing algorithm described
in http://www.w3.org/TR/html5/syntax.html#before-attribute-value-state
* There's a similar patch for the Parsoid in,
I2160a23b2a3c914eb369347bbf5d58328440041d
* The spec says <div class= style="123">hi</div> should parse as
<div class="style=\"123\"">hi</div>, which it now does, whereas it
used to yield <div class="" style="123">hi</div>.
* Merge with caution. This is going to break pages like,
frwikisource/La_Mirlitantouille_(Lenotre)?oldid=
4669681
Bug: T108134
Change-Id: Ic2fc1b573a55a847e6c05707678b58c1189ecc52
jenkins-bot [Sun, 21 Feb 2016 21:11:19 +0000 (21:11 +0000)]
Merge "Compress PNGs with zopflipng"
Translation updater bot [Sun, 21 Feb 2016 20:57:15 +0000 (21:57 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I9d1b78ddb3fa02956e4b01c137691cf6f290b958
Luke Faraone [Sun, 21 Feb 2016 03:39:41 +0000 (03:39 +0000)]
Don't URL encode titles when revdeling from Special:Undelete
URL encoding is here handled by getFullURL so calling wfUrlencode resulted in
double-encoding.
Bug: T127091
Change-Id: Ibc32afb80bd220b87d2c4a816398cc10345e7ac4
Luke Faraone [Tue, 19 Jan 2016 01:42:14 +0000 (01:42 +0000)]
Add toggle checkboxes to action=history
This breaks out the toggle checkbox code into a separate class in
includes/ListToggle.php
Bug: T92230
Change-Id: I8d1aefb83008053e63d59abf8b8915b93e15fcc2