Brad Jorsch [Wed, 14 Sep 2016 18:22:35 +0000 (14:22 -0400)]
API: Add hooks for ApiQueryBase's query and row-processing
This will allow extensions to inject into the query to implement
"xxshow" parameters, and to add additional properties to the output
data for "xxprop" parameters.
Also, call these new hooks from ApiQueryRevisions, ApiQueryAllRevisions,
ApiQueryUserContributions, and ApiQueryRecentChanges since I701e8e19 is
going to be wanting them.
Bug: T143614
Bug: T143616
Change-Id: Id6b42c7f2eb53a6f659d0d61383287f41d96ca00
jenkins-bot [Wed, 5 Oct 2016 18:12:43 +0000 (18:12 +0000)]
Merge "ApiHelp: Add directionality to various things that are likely English-like"
jenkins-bot [Wed, 5 Oct 2016 18:09:48 +0000 (18:09 +0000)]
Merge "ApiBase: Remove deprecated getResultData()"
Brad Jorsch [Wed, 5 Oct 2016 17:47:54 +0000 (13:47 -0400)]
ApiSandbox: Ungrey the field label before disabling field label greying
It appears that
5c8f9d8a4ce changed something to start greying out the
FieldLayout label, which is what we're specifically trying to avoid
here.
Bug: T147485
Change-Id: I3c3a3b0ea2176c94a247b8c0d4f99d1f090cb239
Aaron Schulz [Tue, 13 Sep 2016 07:00:11 +0000 (00:00 -0700)]
objectcache: add WANObjectCache::getMultiWithSetCallback()
This does what it says on the tin, e.g. a way to fetch
multiple keys at once. Callbacks are still called in a
serial manner when needed.
Change-Id: I8e24a6de7f46499a53ec41636c5a4f106b9b3d09
Jan Drewniak [Wed, 5 Oct 2016 09:06:09 +0000 (11:06 +0200)]
Setting flexible width on Special:Search results
Because the search results are set to a static
width of 38em, they cause horizontal scrolling
on mobile devices. This patch changes the CSS
width to a max-width instead.
Bug: T138108
Change-Id: I14dbc6877d93183c523ce4ece57ec5968d4941cf
jenkins-bot [Wed, 5 Oct 2016 14:36:08 +0000 (14:36 +0000)]
Merge "Add a continuation button to ApiSandbox"
Gergő Tisza [Fri, 23 Sep 2016 01:50:05 +0000 (01:50 +0000)]
Add a continuation button to ApiSandbox
Change-Id: I4def43b2000b5639e3ced2643afea4b1288e28b0
jenkins-bot [Wed, 5 Oct 2016 03:20:00 +0000 (03:20 +0000)]
Merge "Make Special:MIMESearch non-expensive, again"
jenkins-bot [Wed, 5 Oct 2016 03:02:59 +0000 (03:02 +0000)]
Merge "Pass Job success status to teardown callbacks"
Gergő Tisza [Wed, 5 Oct 2016 01:16:56 +0000 (01:16 +0000)]
Pass Job success status to teardown callbacks
Change-Id: Icf2e03efcfd9232fe4ead776096b61cef1c06141
jenkins-bot [Tue, 4 Oct 2016 23:52:51 +0000 (23:52 +0000)]
Merge "mw.loader: Don't unset 'require' after execution in debug mode"
jenkins-bot [Tue, 4 Oct 2016 22:45:07 +0000 (22:45 +0000)]
Merge "Add an option to the title widget to exclude the current page"
jenkins-bot [Tue, 4 Oct 2016 21:48:16 +0000 (21:48 +0000)]
Merge "Clean up some ObjectCache factory callers"
jenkins-bot [Tue, 4 Oct 2016 21:45:12 +0000 (21:45 +0000)]
Merge "Add the main stash, WAN, and server caches to MediaWikiServices"
jenkins-bot [Tue, 4 Oct 2016 21:41:43 +0000 (21:41 +0000)]
Merge "parserTests: Do not check for DjVu support"
jenkins-bot [Tue, 4 Oct 2016 21:31:34 +0000 (21:31 +0000)]
Merge "Improve @covers tags for ComposerJson and ComposerLock tests"
jenkins-bot [Tue, 4 Oct 2016 21:31:31 +0000 (21:31 +0000)]
Merge "page: Remove unused WikiPage::doQuickEditContent()"
Timo Tijhof [Tue, 4 Oct 2016 21:06:38 +0000 (22:06 +0100)]
page: Remove unused WikiPage::doQuickEditContent()
This is a rather hakcy method that bypasses various cache invalidation
updates. This method shouldn't be (and, fortunately, isn't) called
anywhere in Wikimedia Git.
Change-Id: I03ede077294344c420827e4a6527d4c5fc3509b0
Aaron Schulz [Tue, 4 Oct 2016 21:04:20 +0000 (14:04 -0700)]
Add version to LoadMonitor::getCacheKey()
This avoids undefined index and "servers down" errors when
using Het Deploy since only the version has the new fields.
Bug: T147359
Change-Id: Ic2d0d147df2e1c015ec4a6675294203b2adf5ed9
Translation updater bot [Tue, 4 Oct 2016 20:05:46 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I6a0455fac2f7fb9d970ed4453628fbc0f4fd3c9f
jenkins-bot [Tue, 4 Oct 2016 18:50:41 +0000 (18:50 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Check upload filename for local duplicates"
Matthias Mullie [Thu, 15 Sep 2016 17:23:35 +0000 (19:23 +0200)]
mw.ForeignStructuredUpload.BookletLayout: Check upload filename for local duplicates
Bug: T117498
Change-Id: I9efd067b0f79eba7513ad245e22d11dedc71051e
jenkins-bot [Tue, 4 Oct 2016 17:12:50 +0000 (17:12 +0000)]
Merge "Don't use Config as an access method for global objects"
Timo Tijhof [Fri, 30 Sep 2016 23:59:28 +0000 (00:59 +0100)]
mw.loader: Don't unset 'require' after execution in debug mode
Follows-up
bc4e07b6f6.
In production mode, 'module' and 'require' are lexically provided
through closure to the executing script and will continue to be
accessible through the script's life-time.
In debug mode, the script executes without wrapper directly from
disk (and as such, in the global scope) and variables are provided
as global variables. Since a variable can only be set to one value,
we swap the object that 'module' points to after each file. And
to avoid leakage, it is removed in-between files and after the
last one. Aside from it being technically infeasible right now,
async access to 'module' is discouraged regardless.
Late access to 'require', however, is not uncommon and should
work as expected.
Bug: T144879
Change-Id: I6ede10fd42676bb035ea26c693c78bcdc1438a7d
MarcoAurelio [Thu, 29 Sep 2016 08:26:10 +0000 (10:26 +0200)]
MediaWiki core messages for Livvi-Karelian (olo)
Bug: T146744
Change-Id: Ia95d821d2efd623cd75959c9cfe78fe68d184db6
Florian Schmidt [Tue, 4 Oct 2016 15:40:35 +0000 (17:40 +0200)]
Don't use Config as an access method for global objects
The Config interface (and it's implementation(s)) was never thought
to be an access method for objects saved in the global state, even
if it works with the current implementation GlobalVarConfig.
Imagine, that MediaWiki core switches to another file-based configuratiion
storage or a a database based one, we wouldn't be able to provide
access to global objects anymore, without weird hacks in the new
config-backend implementation or serializing objects to store in
the database or something else. This all isn't the idea with the Config
interface, as far as I know, so don't use it at all.
This commit changes the access to wgContLang to use the global keyword,
instead of accessing it through Config.
Follow up: Ice4f40911c3761c2542430935bc1898bc4e7a4d4
Follow up: I46f376a82205a5c99b98c9e971f9e9d7868ce9fb
Change-Id: I7a08b3bb649898abd445317a523051b07420b211
jenkins-bot [Tue, 4 Oct 2016 14:58:28 +0000 (14:58 +0000)]
Merge "Avoid 'message' in log context in AuthManager"
jenkins-bot [Tue, 4 Oct 2016 14:41:59 +0000 (14:41 +0000)]
Merge "wgRateLimits: Add configuration option to ignore 'noratelimit' right"
Aaron Schulz [Tue, 4 Oct 2016 11:16:21 +0000 (04:16 -0700)]
Add missing array_keys() call to scaleLoads()
Bug: T147240
Change-Id: I110f43b5990fe42b2d7f1ec960a55a1ae4aa4253
Aaron Schulz [Tue, 4 Oct 2016 05:35:51 +0000 (22:35 -0700)]
Improve Database::factory() $driver validation
Change-Id: Ie034e6f2f94f0f1731dbe2468f075297d5a171a2
Marius Hoch [Tue, 4 Oct 2016 07:01:54 +0000 (09:01 +0200)]
Document that RequestContext::setTitle's $title can be null
Change-Id: Ibd004fd79c374533128574fb1bf5d3edbd82a17d
jenkins-bot [Tue, 4 Oct 2016 05:57:32 +0000 (05:57 +0000)]
Merge "Move most of MWCryptRand into libs"
Kunal Mehta [Sun, 2 Oct 2016 07:04:17 +0000 (00:04 -0700)]
Move most of MWCryptRand into libs
Dependency-inject the MW-specific parts of MWCryptRand via
MediaWikiServices into a generic CryptRand class that is in libs/.
Note that this removes the wfGetAllCallers() debug logging from
generate().
Change-Id: I9742735c266ee69fb247199d3c553cd2ad2a3987
Bryan Davis [Tue, 4 Oct 2016 04:46:30 +0000 (22:46 -0600)]
wgRateLimits: Add configuration option to ignore 'noratelimit' right
It may be reasonable to ignore the 'noratelimit' right granted to a user
when perfuming some rate limit checks. As an example, a rate limit check
on failed authentication attempts should not be bypassed.
Add an optional '&can-bypass' configuration option for each
$wgRateLimits action that can be set to false to disable checking
User::isPingLimitable(). This bypasses both 'noratelimit' and
$wgRateLimitsExcludedIPs exclusions.
Depends-On: Iacdd1719d5f08eca91de0a35c0042ffee2136f34
Change-Id: Ia3add8bbbab0307f036e9b77e752c382da3a0d04
jenkins-bot [Tue, 4 Oct 2016 04:33:06 +0000 (04:33 +0000)]
Merge "Move MWCryptHash into libs/"
jenkins-bot [Tue, 4 Oct 2016 03:06:19 +0000 (03:06 +0000)]
Merge "Set default load monitor class in LBFactoryMulti"
Aaron Schulz [Tue, 4 Oct 2016 02:57:45 +0000 (19:57 -0700)]
Set default load monitor class in LBFactoryMulti
Bug: T147240
Change-Id: I6d1c86e714d537f43b01bbf9581032aec2a4e59b
jenkins-bot [Tue, 4 Oct 2016 02:55:41 +0000 (02:55 +0000)]
Merge "http: Use Psr\Log instead of wfDebug*"
jenkins-bot [Tue, 4 Oct 2016 02:54:50 +0000 (02:54 +0000)]
Merge "Split HttpFunctions.php into separate files"
jenkins-bot [Tue, 4 Oct 2016 02:49:29 +0000 (02:49 +0000)]
Merge "Remove pre-5.5 compat from MultiHttpClient"
jenkins-bot [Tue, 4 Oct 2016 02:24:30 +0000 (02:24 +0000)]
Merge "Restore Content-Language header change from
e53ff931a"
jenkins-bot [Tue, 4 Oct 2016 02:01:21 +0000 (02:01 +0000)]
Merge "Revert "Localisation updates from https://translatewiki.net.""
Bartosz Dziewoński [Tue, 4 Oct 2016 01:54:09 +0000 (01:54 +0000)]
Revert "Localisation updates from https://translatewiki.net."
Broke the tests.
This reverts commit
17ef4586787be33bf00980c42516bed6643656b3.
Bug: T147245
Change-Id: Ic5db3a4243c9543e12852faecf4f2425b16bab39
Gergő Tisza [Sat, 1 Oct 2016 01:10:56 +0000 (01:10 +0000)]
Avoid 'message' in log context in AuthManager
Logstash merges the log context into the main metadata (where
'message' is the log message) and ends up overwriting the message.
Bug: T145133
Change-Id: I27f221b0f1f7203e93d1b92119dc584ba8526f5b
Aaron Schulz [Thu, 15 Sep 2016 07:04:41 +0000 (00:04 -0700)]
Implement scaleLoads() in LoadMonitorMySQL
* Recently pooled servers will get more traffic as
their internal caches warm up by getting queries
* Also let LoadMonitor support options for flexibility
The "loadMonitor" config field now takes in array in
LoadBalancer.
* Make LoadMonitor the default instead of LoadMonitorNull.
Change-Id: I53b89b0c25bdcc30deec3f8b502fb14479c53ae8
Translation updater bot [Mon, 3 Oct 2016 19:54:31 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib172a5e6cb38c20cf4149e1735272c27192bc8b6
James D. Forrester [Mon, 3 Oct 2016 19:01:38 +0000 (12:01 -0700)]
Update OOjs UI to v0.17.10
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.10
Change-Id: I4faf83e301417ef5721a81a4a69890854e6c266b
Aaron Schulz [Thu, 29 Sep 2016 03:59:11 +0000 (20:59 -0700)]
Clean up some ObjectCache factory callers
* Use services container in more places.
* Undeprecated getLocalServerInstance() since $fallback is not
handled elsewhere.
Change-Id: Id1fcd1c465d2d92653357523f4225f1c4d1ace2f
Aaron Schulz [Thu, 29 Sep 2016 19:36:27 +0000 (12:36 -0700)]
Add the main stash, WAN, and server caches to MediaWikiServices
Leave getLocalServerInstance() array fallback logic.
Restores
6d99fa58247a1de7eaf9a79a061f0b4207154072
Which got reverted by
7ab928329235451aaa0a813fc16e37cf44d8999a.
Change-Id: Id1f48e10753d6aaf64eecb4d3c2228740abc1340
jenkins-bot [Mon, 3 Oct 2016 18:19:17 +0000 (18:19 +0000)]
Merge "action=history should return 404 if there is no such page"
jenkins-bot [Mon, 3 Oct 2016 18:15:59 +0000 (18:15 +0000)]
Merge "Fix Database IDEA warnings about callable parameters"
jenkins-bot [Mon, 3 Oct 2016 18:10:26 +0000 (18:10 +0000)]
Merge "mw.feedback: Use standard OOjs UI dialog error handling"
Aaron Schulz [Fri, 30 Sep 2016 22:48:14 +0000 (15:48 -0700)]
Restore Content-Language header change from
e53ff931a
This was lost in a rebase at some point.
Change-Id: I46f376a82205a5c99b98c9e971f9e9d7868ce9fb
Aaron Schulz [Mon, 3 Oct 2016 17:48:58 +0000 (10:48 -0700)]
Fix Database IDEA warnings about callable parameters
Change-Id: Ia9ccc86bb9cbd78b5890ceaedce8cca8d6bb7fe4
jenkins-bot [Mon, 3 Oct 2016 11:06:48 +0000 (11:06 +0000)]
Merge "Remove cruft from interwiki.list and interwiki.sql"
jenkins-bot [Mon, 3 Oct 2016 01:45:47 +0000 (01:45 +0000)]
Merge "Enable deprecation warnings for WikiPage::getText()"
jenkins-bot [Mon, 3 Oct 2016 01:34:03 +0000 (01:34 +0000)]
Merge "Update wikimedia/php-session-serializer to v1.0.4"
jenkins-bot [Mon, 3 Oct 2016 01:08:44 +0000 (01:08 +0000)]
Merge "Add primary key to change_tag and tag_summary tables"
tjlsangria [Sat, 1 Oct 2016 23:50:33 +0000 (19:50 -0400)]
Remove cruft from interwiki.list and interwiki.sql
Specifically, remove docbook, gej, jargonfile, lugkr, ppr, sourcewatch,
tejo, uea, and webseitzwiki, all of which are not in the interwiki map,
per https://phabricator.wikimedia.org/T146852#
2682115 . Also remove
mediazilla.
Bug: T146852
Change-Id: I04c1e10f989eccc60a0c968617f795fd0e6c6309
jenkins-bot [Sun, 2 Oct 2016 22:01:46 +0000 (22:01 +0000)]
Merge "Add "from" to MediaWiki:Search-redirect"
Sidhant Gupta [Sun, 2 Oct 2016 15:23:34 +0000 (20:53 +0530)]
Special:NewPages - add <span> for "originally created as..."
Add span tag around the old title line in the Special New Page.
Bug: T146145
Change-Id: I7578e94284710250eab9f23dbef2777b58031faa
Huji Lee [Sun, 2 Oct 2016 16:51:40 +0000 (12:51 -0400)]
Add "from" to MediaWiki:Search-redirect
Bug: T129941
Change-Id: If8871fe85b1c1c8202895c964d47ef250a1ed110
Reedy [Sun, 2 Oct 2016 11:31:38 +0000 (12:31 +0100)]
Update wikimedia/php-session-serializer to v1.0.4
github.com/wikimedia/php-session-serializer/compare/v1.0.3...v1.0.4
Change-Id: Ia0045329f4680a6f7c6acc9d886ae54ccf49c83d
Depends-On: I18ec214b6446f559e018673797efcab70523de39
Kunal Mehta [Fri, 26 Aug 2016 01:28:22 +0000 (18:28 -0700)]
Improve @covers tags for ComposerJson and ComposerLock tests
Indicate that the constructors are also covered in the tests.
Change-Id: Ic87603c76e8affc31f497962375c39fb2726e604
jenkins-bot [Sun, 2 Oct 2016 08:41:40 +0000 (08:41 +0000)]
Merge "Add a class to the <a> element of the interlanguage link"
Kunal Mehta [Sun, 2 Oct 2016 06:19:28 +0000 (23:19 -0700)]
Move MWCryptHash into libs/
Remove the single wfDebug() call that was making this class MW specific,
someone can log the return value of MWCryptHash::hashAlgo() if they'd
like to know the specific implementation being used.
Change-Id: Ibb7ead7594edab7861631046dd8316daab613401
Kunal Mehta [Sun, 2 Oct 2016 05:58:55 +0000 (22:58 -0700)]
http: Use Psr\Log instead of wfDebug*
MWHttpRequest::factory() will pass in a logger to move the dependency up
to the factory instead of individual functions.
Change-Id: I4e428f060c90ef49cb3acb3e3dceab64bd952330
Kunal Mehta [Sun, 2 Oct 2016 05:46:07 +0000 (22:46 -0700)]
Split HttpFunctions.php into separate files
Change-Id: I30d5f77de08e42ec43baf5722f40d9205c4bde67
Kunal Mehta [Sun, 2 Oct 2016 05:25:06 +0000 (22:25 -0700)]
Remove pre-5.5 compat from MultiHttpClient
Change-Id: I5f9f1a94c0207a14c0d5cc77292aa04af4ac6470
jenkins-bot [Sun, 2 Oct 2016 03:31:43 +0000 (03:31 +0000)]
Merge "Detect/use APCu properly"
jenkins-bot [Sun, 2 Oct 2016 03:21:47 +0000 (03:21 +0000)]
Merge "Update composer/semver to 1.4.2"
This, that and the other [Sat, 13 Aug 2016 01:06:33 +0000 (11:06 +1000)]
Add primary key to change_tag and tag_summary tables
Based heavily on
43e386ca16411096bbbd7f14f9f4e15c5e268fe7.
Bug: T123225
Change-Id: I33480f4016812259700979f1145099744bb451d4
Bryan Davis [Sun, 2 Oct 2016 00:02:12 +0000 (18:02 -0600)]
MWException: restore prior render() logic
Partially revert
00bee02 by restoring the prior MWException::report()
logic. MWExceptionRenderer does not handle all of the MWException
subclasses that somehow modify the default render() behavior. Notable
among these is Flow\Exception\FlowException and its subclasses which
modify the `$wgOut` global to divert HTML output to alternate locations.
Bug: T147122
Change-Id: Ibe3cadca229ce21ed0a3a2482433e3a22b5f5646
jenkins-bot [Sun, 2 Oct 2016 00:24:36 +0000 (00:24 +0000)]
Merge "Exception rendering fixes"
Reedy [Sat, 1 Oct 2016 17:00:53 +0000 (18:00 +0100)]
Detect/use APCu properly
In PHP 5.5 and above, userland APC caching moved to an extension
Bug: T140587
Change-Id: Ie0871776cd7e67838471a4fe95451cf4164079b7
Translation updater bot [Sat, 1 Oct 2016 19:54:16 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I0afe820944452c3089c953449ae3415333783f45
Reedy [Sat, 1 Oct 2016 13:09:39 +0000 (14:09 +0100)]
Update composer/semver to 1.4.2
https://github.com/composer/semver/compare/1.4.1...1.4.2
Change-Id: I0a83a8568c9a74adbf3a26373ecb90578396c564
Depends-On: I46158f128edb14a5b45f3a8918acb1a7e15935e4
Kunal Mehta [Sat, 1 Oct 2016 07:07:19 +0000 (00:07 -0700)]
Use wikimedia/wait-condition-loop
Since the WaitConditionLoop class was first introduced in 1.28 (current
master), no back-compat alias is added.
Bug: T146256
Depends-On: Ia84774d83da79fea1e167fe065c69549981f753b
Change-Id: Ibd4f15c87105b8caccbd1f661b74b6efa012b77f
jenkins-bot [Sat, 1 Oct 2016 01:36:31 +0000 (01:36 +0000)]
Merge "Fix SectionProfileCallback type error"
Aaron Schulz [Fri, 30 Sep 2016 23:57:38 +0000 (16:57 -0700)]
Exception rendering fixes
* Actually use MWExceptionRenderer::AS_RAW. Use this after
an error is thrown while trying to pretty render the original
error. This is how this case was originally handled before.
* Do not show the google form or file cache in CLI mode.
Change-Id: I130499753efbf8b4d6d254ea36bacb2473952c1b
Bryan Davis [Fri, 30 Sep 2016 23:54:45 +0000 (17:54 -0600)]
LegacyLogger: Be consistent about converting log levels to int
Normalize $level arguments to integers early to avoid confusion later
about what type the argument is.
Change-Id: I7305c0514f4383ec552afea2deb0e3fc6ba3fe8a
Aaron Schulz [Fri, 30 Sep 2016 23:37:00 +0000 (16:37 -0700)]
Fix wfLogDBError channel redirect logic
Change-Id: I1249f9a097625c2fab6601059177594e5f3a21fc
Aaron Schulz [Fri, 30 Sep 2016 22:57:33 +0000 (15:57 -0700)]
Fix SectionProfileCallback type error
Avoids "Argument 1 passed to Profiler::scopedProfileOut() must
be an instance of ScopedCallback, SectionProfileCallback given"
Change-Id: I92713de71df9722d8a5d7e5cd04460aff71cf096
jenkins-bot [Fri, 30 Sep 2016 22:48:07 +0000 (22:48 +0000)]
Merge "database: Rename LBFactoryMW to MWLBFactory"
Bryan Davis [Fri, 30 Sep 2016 21:50:40 +0000 (15:50 -0600)]
MWExceptionHandler: Restore delegation to MWException::report
Follow up to
00bee0297. Many MWException subclasses override
MWException::report to do things like special logging and setting the
HTTP response status code. We need to keep calling those methods until
MWExceptionRenderer knows how to handle all of them.
Bug: T147098
Change-Id: I2c90e2d9e9b019357458c7e14a3d602b591c6f5b
Timo Tijhof [Fri, 30 Sep 2016 21:06:02 +0000 (22:06 +0100)]
database: Rename LBFactoryMW to MWLBFactory
It's no longer an LBFactory subclass (since
5d4b009cf), and the MW-prefix
seems more natural for this class.
The class has only existed since for about 2 weeks (since
0e5cd18b7) and
is not used outside MediaWiki core across Wikimedia Git.
Change-Id: I34be982b5d10ad03e062033da9c40b4a01665289
Volker E [Fri, 30 Sep 2016 20:18:52 +0000 (13:18 -0700)]
Replace deprecated `constructive` with `progressive`
Replacing deprecated `constructive` mediawiki.UI CSS class and OOjs UI
flag with `progressive`.
Bug: T146923
Change-Id: I524b9722ee49692c55bb1f97d34d8a28068716ee
Bartosz Dziewoński [Fri, 30 Sep 2016 19:38:26 +0000 (21:38 +0200)]
mw.feedback: Use standard OOjs UI dialog error handling
Previously, we'd close the original dialog on failure and display a
new one, which had the unfortunate effect of losing the user's input
(which presumably was not saved due to the failure).
Bug: T147056
Change-Id: I8893658807f6a584d6db0a84bc508d87ef508c7e
Ed Sanders [Fri, 30 Sep 2016 19:38:19 +0000 (15:38 -0400)]
Add an option to the title widget to exclude the current page
Useful when suggesting links, as linking to the current page
is discouraged.
Bug: T147050
Change-Id: Ieade9d0ffc05b358df6af0b65d58e60f5b87577e
jenkins-bot [Fri, 30 Sep 2016 18:34:35 +0000 (18:34 +0000)]
Merge "Bidi-isolate revisions count in Special:Import"
jenkins-bot [Fri, 30 Sep 2016 15:52:25 +0000 (15:52 +0000)]
Merge "Use MAX_LOCK_TTL in RedisLockManager to avoid premature lock expiration"
jenkins-bot [Fri, 30 Sep 2016 15:49:20 +0000 (15:49 +0000)]
Merge "Cleanup MemcLockManager and move it to /libs"
dcausse [Fri, 30 Sep 2016 14:41:00 +0000 (16:41 +0200)]
Pass interwiki option to SearchEngine
Currently interwiki result are always computed even if the client does
not request them.
Pass the option via featureData to allow SearchEngine not to run
interwiki searches when not needed.
Bug: T147003
Change-Id: I55067bc7e5d926a3e37f4d24fb8e085bd252c376
Brad Jorsch [Fri, 30 Sep 2016 14:07:24 +0000 (10:07 -0400)]
ApiBase: Remove deprecated getResultData()
It was broken by I3ca7c981, and should probably have been removed in
that patch too.
Change-Id: I66ce52348406372a09d39f9d876123026f6c2bad
jenkins-bot [Fri, 30 Sep 2016 13:53:26 +0000 (13:53 +0000)]
Merge "Move ChronologyProtector up a directory instead of being by itself"
Aaron Schulz [Fri, 30 Sep 2016 13:36:35 +0000 (06:36 -0700)]
Use MAX_LOCK_TTL in RedisLockManager to avoid premature lock expiration
App servers should not lower the redis structure TTL of locks set
from CLI scripts, which is what would typically happen before if
they touched the same keys. Instead, keep a high lock record TTL
and rely on the logical TTLs for expiry semantics.
Change-Id: I2948369845c47d2682a85dd0564673f3b813be83
Aaron Schulz [Fri, 30 Sep 2016 12:47:26 +0000 (05:47 -0700)]
Cleanup MemcLockManager and move it to /libs
* Remove wf* function and ObjectCache dependencies.
* Use the base class session field.
* Lower physical lock structure TTL and move it to the base
class as a constant.
* Resolve TODO about acquiring mixed lock types in one pass.
* Only mark servers down for 30 seconds in case of long-running
scripts.
Change-Id: Icd4be407e599524cc620975d27e85666d2532b95
Amir E. Aharoni [Sat, 23 Apr 2016 06:32:12 +0000 (06:32 +0000)]
Bidi-isolate revisions count in Special:Import
Change-Id: I3aacc10dd76aba9f4315db284a4bafe629219bc1
jenkins-bot [Fri, 30 Sep 2016 02:26:28 +0000 (02:26 +0000)]
Merge "Remove test for <math> which fails when Extension:Math is installed"