jenkins-bot [Mon, 14 Dec 2015 00:29:23 +0000 (00:29 +0000)]
Merge "PHP 7 compatibility: Fix variable interpolation in RevisionDeleter.php"
jenkins-bot [Mon, 14 Dec 2015 00:29:18 +0000 (00:29 +0000)]
Merge "Adjust datetime in email confirmation email"
jenkins-bot [Mon, 14 Dec 2015 00:24:46 +0000 (00:24 +0000)]
Merge "Remove dead code about nlinks from Special:Wantedpages"
jenkins-bot [Mon, 14 Dec 2015 00:22:51 +0000 (00:22 +0000)]
Merge "Comment out getSubpagesForPrefixSearch of Special:Tags"
jenkins-bot [Mon, 14 Dec 2015 00:21:27 +0000 (00:21 +0000)]
Merge "Remove INSERT value for page_counter variable"
jenkins-bot [Mon, 14 Dec 2015 00:21:23 +0000 (00:21 +0000)]
Merge "Set Language in SpecialSearchTest.php"
jenkins-bot [Mon, 14 Dec 2015 00:13:12 +0000 (00:13 +0000)]
Merge "Move inline $wgStatsdMetricPrefix default to DefaultSettings.php"
jenkins-bot [Mon, 14 Dec 2015 00:05:34 +0000 (00:05 +0000)]
Merge "Check User::getId() in makeTestEdits.php"
jenkins-bot [Mon, 14 Dec 2015 00:04:47 +0000 (00:04 +0000)]
Merge "Cleanup test jobs better"
jenkins-bot [Sun, 13 Dec 2015 23:03:14 +0000 (23:03 +0000)]
Merge "Fix some MWExceptionHandler IDEA errors"
jenkins-bot [Sun, 13 Dec 2015 22:57:22 +0000 (22:57 +0000)]
Merge "Remove wrong usage documentation in comments"
Ori Livneh [Sun, 13 Dec 2015 22:00:00 +0000 (14:00 -0800)]
Remove wfIsConfiguredProxy(), deprecated since 1.24
No usage:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfisconfiguredproxy&type=Code&ref=searchresults
Change-Id: I3c1e1d00b93320cde9b39c183174e7a495f03854
Ori Livneh [Sun, 13 Dec 2015 21:57:58 +0000 (13:57 -0800)]
Remove wfDebugTimer(), deprecated in 1.25
No remaining usage:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfDebugTimer&type=Code&ref=searchresults
Change-Id: I7b6516f82344f98aaec04bc3af3c208b63169a77
Ori Livneh [Sun, 13 Dec 2015 21:56:56 +0000 (13:56 -0800)]
Remove wfIsTrustedProxy(), deprecated since 1.24
No usage outside of core:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfIsTrustedProxy&type=Code&ref=searchresults
Change-Id: I86439a772e036dcd5ebdd8b16010c7bacfd9463b
Ori Livneh [Sun, 13 Dec 2015 21:55:10 +0000 (13:55 -0800)]
Remove wfGetIP(), deprecated since 1.19
No remaining usage:
https://github.com/search?q=%40wikimedia+wfGetIP&type=Code&utf8=%E2%9C%93
Change-Id: I3b8f4b034e23a56f586993549cc5460b28bf6fa7
jenkins-bot [Sun, 13 Dec 2015 21:58:52 +0000 (21:58 +0000)]
Merge "Localization: Gave each special page its own message"
Translation updater bot [Sun, 13 Dec 2015 20:50:56 +0000 (21:50 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4b63c322843e9dd706a4b2bdd343b0dae72e2b61
jenkins-bot [Sun, 13 Dec 2015 20:35:58 +0000 (20:35 +0000)]
Merge "No prefix suggestion of special and media namespace on special pages"
Amir E. Aharoni [Sun, 13 Dec 2015 19:21:35 +0000 (21:21 +0200)]
Fix spelling in EXIF message: seperated -> separated
Change-Id: Ib97a0e756868f965f25a27bd707e315c8a9b4b65
umherirrender [Sun, 13 Dec 2015 17:39:14 +0000 (18:39 +0100)]
No prefix suggestion of special and media namespace on special pages
As mention in comments of I71f77c3001a12d75b901807c20115cead9c64e93 the
added prefix suggestion can get called recursive.
Avoid this by disable prefix suggestion for media and special namespace,
because a special page cannot be used on that special pages.
Follows I71f77c3001a12d75b901807c20115cead9c64e93
Change-Id: I8978e3bd0783f62bc25b32a0fdaa90361abefcf3
Albert221 [Sun, 13 Dec 2015 13:34:28 +0000 (14:34 +0100)]
Localization: Gave each special page its own message
Bug: T45502
Change-Id: I847c8b294d7e4596b229ad6180764c43c42af1e2
Jesús Martínez Novo [Sun, 13 Dec 2015 15:08:25 +0000 (16:08 +0100)]
Remove wrong usage documentation in comments
The --fix parameter was removed in
f991d9cf777e but documentation
in comments wasn't updated. Other scripts don't maintain usage
parameters in comments, probably because the --help should already
output them, so let's remove them here also to avoid confusion.
Change-Id: Ia4c9479ffeaeb11083168678cd6a2aa29c897f84
Aaron Schulz [Sun, 13 Dec 2015 12:26:01 +0000 (04:26 -0800)]
Fix some MWExceptionHandler IDEA errors
Change-Id: I98b5aa4f29107185b2279ce4caf05ffe80fcd6b0
Reedy [Mon, 30 Nov 2015 19:10:36 +0000 (19:10 +0000)]
Add various point release release notes to HISTORY.
Change-Id: I4dcdc48110875be5abe82dfd6ba6bb74b5dfb810
jenkins-bot [Sun, 13 Dec 2015 04:18:59 +0000 (04:18 +0000)]
Merge "Support all values for exif PhotometricInterpretation"
Translation updater bot [Sat, 12 Dec 2015 21:09:35 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic45999ff91e8cd96762877d238faee909a50e63c
jenkins-bot [Sat, 12 Dec 2015 17:22:12 +0000 (17:22 +0000)]
Merge "Fixed Special:PasswordReset message"
mhutti1 [Thu, 10 Dec 2015 23:07:20 +0000 (00:07 +0100)]
Fixed Special:PasswordReset message
The message now varies depening on whether the user supplied an email
or username.
Bug: T118851
Change-Id: I6eb33e2409c391aa37ed8fe1196727c2e907719d
Yuri Astrakhan [Fri, 11 Dec 2015 22:45:14 +0000 (01:45 +0300)]
Fixed incorrect size for api result
Added a unit test to highlight the problem
Change-Id: I5d4bcb755bd3686a92e7b111946a49892699729f
jenkins-bot [Sat, 12 Dec 2015 11:25:37 +0000 (11:25 +0000)]
Merge "Resolve code invoking Title::newFromURL"
Albert221 [Fri, 11 Dec 2015 21:50:55 +0000 (22:50 +0100)]
Resolve code invoking Title::newFromURL
Bug: T65424
Change-Id: I6c97245faccd8b34557eb3be4150867fd9b37992
jenkins-bot [Sat, 12 Dec 2015 02:42:06 +0000 (02:42 +0000)]
Merge "Make query pages not accept offset > 10000 in miser mode"
jenkins-bot [Sat, 12 Dec 2015 01:59:07 +0000 (01:59 +0000)]
Merge "Update grunt-jscs to 2.5.0"
Aaron Schulz [Sat, 12 Dec 2015 00:40:35 +0000 (16:40 -0800)]
Rename getSquidURLs() => getCdnUrls()
Change-Id: I433acc7990a5fcefd0d2ff5b14ba33dec0424706
Aaron Schulz [Fri, 11 Dec 2015 23:45:05 +0000 (15:45 -0800)]
Cleanup test jobs better
Change-Id: Id89bb6e9056485b51c66569a57cb91bdf9d2d91f
Aaron Schulz [Fri, 11 Dec 2015 23:29:23 +0000 (15:29 -0800)]
Check User::getId() in makeTestEdits.php
Change-Id: If803f1aea144f91dadf70e1a41d6834a2fd1d66e
jenkins-bot [Fri, 11 Dec 2015 23:20:14 +0000 (23:20 +0000)]
Merge "Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate"
Aaron Schulz [Fri, 11 Dec 2015 13:17:51 +0000 (05:17 -0800)]
Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate
Bug: T121228
Change-Id: I33addea4261d58cc93ab739621481065eb9c908d
Translation updater bot [Fri, 11 Dec 2015 22:15:54 +0000 (23:15 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ibbe6f84d2fce2bf7ff1be575a598de265322ded3
jenkins-bot [Fri, 11 Dec 2015 21:55:59 +0000 (21:55 +0000)]
Merge "Add script to generate random test edits for a user"
jenkins-bot [Fri, 11 Dec 2015 21:51:23 +0000 (21:51 +0000)]
Merge "Make redis JobQueueConnectionError mention the host"
Aaron Schulz [Tue, 8 Dec 2015 21:35:34 +0000 (13:35 -0800)]
Add script to generate random test edits for a user
Change-Id: Ieb079196aa8b70c8df52d791cd3a49242ebfb1e7
Aaron Schulz [Fri, 11 Dec 2015 02:34:21 +0000 (18:34 -0800)]
Make redis JobQueueConnectionError mention the host
Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815
Aaron Schulz [Fri, 11 Dec 2015 13:21:06 +0000 (05:21 -0800)]
Improve addNewAccountMailPassword() docs
Change-Id: Iade04a33f2dafa8c289df25d9f86fa1607f799b9
jenkins-bot [Fri, 11 Dec 2015 18:40:40 +0000 (18:40 +0000)]
Merge "Localisation: Gave each special page its own message"
PranavK [Fri, 11 Dec 2015 12:12:03 +0000 (17:42 +0530)]
Localisation: Gave each special page its own message
Bug: T45502
Change-Id: I6d41c2174a67bc9b231b6fc6209677fb84692cc5
Aaron Schulz [Thu, 10 Dec 2015 19:29:31 +0000 (11:29 -0800)]
Remove wfForeignMemcKey() usage from JobQueueRedis::getQueueKey()
This class should manage the escaping it uses, rather than use some
random BagOStuff that has nothing to do with the job queue.
Change-Id: Ie716dc4a3429754a99c5f0670555e5e049b61aa1
Aaron Schulz [Fri, 11 Dec 2015 01:13:48 +0000 (17:13 -0800)]
Remove JobQueue::setTestingPrefix() hack
The tests are only run on dev install and only touch the
null queue anyway.
Change-Id: I441a2a4605a9e2984142485b022dd524ff819360
Aaron Schulz [Fri, 11 Dec 2015 00:35:02 +0000 (16:35 -0800)]
Fix bad regex in
6fe2f48df
Change-Id: I51d136a491111b7c980ddb13fff74bf4a63b15ad
Aaron Schulz [Thu, 12 Nov 2015 00:10:29 +0000 (16:10 -0800)]
Add per-partition JobQueueRedis aggregation
* Track queues with non-abandoned jobs per partition server.
The s-queuesWithJobs key can easily be queried to see which
queues need to have periodic tasks run (or for debugging).
* This is requirement for the redis jobchron service to be able to
avoid hitting N=(no. types X no. wikis) queues for periodic tasks
when only a tiny fraction of those actually have any jobs. For WMF,
there are over 30K queues, most of them empty, so doing that can help
lower redis-server CPU (or at least make jobchron more responsive).
* This also allows for jobchron to manage the aggregator by taking the
per-server aggregator sets and merging them. This scales much better
as there are only a modest number of these daemons (18 for WMF) but
vastly more web thread pushing jobs. This cuts down on the connections
to the active aggregator server (the one with the hash table).
* Use Lua unpack() more for stylistic consistency.
Change-Id: I1549f0edc78cc4004dd887b475dec4c0ebd306c6
jenkins-bot [Thu, 10 Dec 2015 23:12:04 +0000 (23:12 +0000)]
Merge "Timing::measure(): handle missing marks better"
Ori Livneh [Thu, 10 Dec 2015 22:58:11 +0000 (14:58 -0800)]
Timing::measure(): handle missing marks better
Currently Timing::measure() does not check that the requested start and end
marks exist, causing it to return bogus values without any indication that
something has gone wrong. Fix this by logging and error and returning false
in case either the start or end markers do not exist. To make it possible to
log, make Timing implement the LoggerAware interface.
Change-Id: I75af5273e9a8a52b31d0af1de206b0d8a4c82fbc
Aaron Schulz [Fri, 13 Nov 2015 06:41:37 +0000 (22:41 -0800)]
Add $wgCdnReboundPurgeDelay for more consistent CDN purges
Bug: T113192
Change-Id: I89deb4f8143c1cc6154cdd05bcee1f49d3e3a75a
Translation updater bot [Thu, 10 Dec 2015 21:12:44 +0000 (22:12 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I91401bb83d196f67b487faa207e0b2d8e97b10bc
Kunal Mehta [Thu, 10 Dec 2015 18:58:41 +0000 (10:58 -0800)]
mw.Feedback: Support leaving feedback on foreign wikis
Adds an optional apiUrl parameter that will be passed on to the
mw.messagePoster if the feedback page is on a foreign wiki.
Bug: T111590
Change-Id: I932c6af08b7bf1c98ab0d415d410a63680faf094
Kunal Mehta [Thu, 10 Dec 2015 18:51:27 +0000 (10:51 -0800)]
mw.messagePoster: Support foreign wikis
Allow passing in an external api.php URL to post a message on a remote
wiki. Note that the remote content model must have its messagePoster
implementation registered on the local wiki for this to work.
Bug: T111590
Change-Id: Id52b7d3a12ed5e57e29d3f22fb7f4f36b8a908b1
PranavK [Thu, 10 Dec 2015 11:47:07 +0000 (17:17 +0530)]
Removed unnecessary blank line in Special:Export page
Bug: T103870
Change-Id: I5b314ef9204ca33d851a9fe88477d0be427e5199
Yongmin Hong [Thu, 10 Dec 2015 04:20:23 +0000 (04:20 +0000)]
Fix MovePage Special Page for Korean
Its translation string has been changed, but translatewiki.net does
not allow editing special page directly, so I'm changing it directly
to make the new string on twn as main special page name. It is
already existing special page, so there should be no problem.
Also, removing my old legacy username which I don't use anymore.
Change-Id: I53ab891f74ce4413703a7e1d69dd7712eeaba68d
jenkins-bot [Thu, 10 Dec 2015 01:47:03 +0000 (01:47 +0000)]
Merge "Replace "squid" with "CDN" in various comments"
Aaron Schulz [Thu, 10 Dec 2015 01:30:47 +0000 (17:30 -0800)]
Replace "squid" with "CDN" in various comments
Change-Id: Idcc528daf28e119349155d36e30a9bcf61b2e7d5
Timo Tijhof [Thu, 10 Dec 2015 01:33:25 +0000 (01:33 +0000)]
resourceloader: Avoid using 'message' in log message key
This overrides the message being sent. Use 'messageKey' instead,
which complements 'cacheKey' used elsewhere in the class.
Change-Id: I70b1115853d16e5f1357dc5f3d10e46f9c029fc6
jenkins-bot [Thu, 10 Dec 2015 01:27:29 +0000 (01:27 +0000)]
Merge "Rename setSquidMaxage() => setCdnMaxage()"
jenkins-bot [Thu, 10 Dec 2015 01:14:39 +0000 (01:14 +0000)]
Merge "Rename SquidUpdate => CdnCacheUpdate"
Aaron Schulz [Thu, 10 Dec 2015 01:07:05 +0000 (17:07 -0800)]
Rename setSquidMaxage() => setCdnMaxage()
Also updated the OutputPage member variable.
Change-Id: I0b41c66da58c6126c1bd96170c02d084a067383c
Aaron Schulz [Wed, 9 Dec 2015 18:05:59 +0000 (10:05 -0800)]
Rename SquidUpdate => CdnCacheUpdate
Squid is not the only possible CDN
Change-Id: Ie2a2955847c5706e630322bbbab71c9d063b378f
Timo Tijhof [Thu, 10 Dec 2015 00:20:11 +0000 (00:20 +0000)]
Move inline $wgStatsdMetricPrefix default to DefaultSettings.php
This allows other code paths to use the variable without hardcoding
the default (e.g. ExtensionDistributor).
Change-Id: Ia43ab5eda70d4b9952b4e0ad3334f884919b4dac
jenkins-bot [Thu, 10 Dec 2015 00:11:00 +0000 (00:11 +0000)]
Merge "resourceloader: Re-enable getVersionHash test"
jenkins-bot [Wed, 9 Dec 2015 23:32:52 +0000 (23:32 +0000)]
Merge "ApiSiteInfo: Added a way to check if uploads are enabled"
Paladox [Wed, 9 Dec 2015 21:45:44 +0000 (21:45 +0000)]
Update grunt-jscs to 2.5.0
2.5.0
Bump JSCS version to 2.7.0
2.4.0
Bump JSCS version to 2.6.0
2.3.0
Bump JSCS version to 2.5.0
2.2.0
* Update jscs dependency to 2.4.0
* Use new Checker#execute method, which allows to respect maxErrors
* option when fix option is enabled
* fix option is now directly passed to Checker class of jscs
* Use new "idiomatic" preset instead of "jquery"
* Test in latest version of node in travis CI
* Update dev dependencies
https://github.com/jscs-dev/grunt-jscs/releases
Change-Id: I472a3c63fff814357799a3889b09bbb6a977474b
Timo Tijhof [Wed, 9 Dec 2015 20:52:58 +0000 (20:52 +0000)]
resourceloader: Re-enable getVersionHash test
Shouldn't be flaky anymore as of
5d5b269e0e.
This reverts commit
d151dc40ae7d7f71e5b9a2753eafdca475ed6a69.
Bug: T109394
Change-Id: Id94b6e71a747a5b9fe1fecd8145955fde4f39a9c
Translation updater bot [Wed, 9 Dec 2015 20:18:02 +0000 (21:18 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib83edf9b5e30438c85c7e17bd6559244ef31f800
Fomafix [Tue, 17 Nov 2015 05:59:23 +0000 (05:59 +0000)]
TOC: Move JavaScript-related styles to the same module
This change moves the rules for the CSS classes that only
get used by JavaScript into the same module 'mediawiki.toc'.
This module already gets loaded via JavaScript.
This way, the styles are only loaded when they are needed.
Cached HTML pages already contain the module 'mediawiki.toc'
so there is no problem on deployment.
Change-Id: Ib7c81e9433e7e3976e40e407f63fc8e924957faa
Aaron Schulz [Tue, 8 Dec 2015 00:26:07 +0000 (16:26 -0800)]
Make TitleMoveComplete hook events apply in transactions
* All updates for an event are atomic for the main DB.
* This follows-up
9e51328790c0a by reverting the auto-commit
behavoir which was a side-effect of that change.
* Added TitleMoveCompleting hook with is a pre-commit version
of the same hook. Various extension could benefit from the
atomicity of running in the main transaction.
Change-Id: Ife5990bbedca1de78bcf83f2d6fdeeae8086ffad
jenkins-bot [Wed, 9 Dec 2015 18:13:19 +0000 (18:13 +0000)]
Merge "Fix various mistakes in PHPDoc comments"
Thiemo Mättig [Wed, 9 Dec 2015 17:20:41 +0000 (18:20 +0100)]
Fix various mistakes in PHPDoc comments
Change-Id: I434207f61e0663f2d2c9a076296c2e0d04a3fafb
georggi [Wed, 9 Dec 2015 17:07:38 +0000 (19:07 +0200)]
ApiSiteInfo: Added a way to check if uploads are enabled
Added new property 'uploadsenabled' to be able to check if
uploads are enabled
Bug: T72075
Change-Id: I4bf7040a953e98816d6fffdbdeeec1e56035b28a
jenkins-bot [Wed, 9 Dec 2015 14:59:24 +0000 (14:59 +0000)]
Merge "Additional release note for I495683"
jenkins-bot [Wed, 9 Dec 2015 14:51:22 +0000 (14:51 +0000)]
Merge "Clean up recentChangesFlags rollups"
Brad Jorsch [Wed, 9 Dec 2015 14:46:43 +0000 (09:46 -0500)]
Additional release note for I495683
Mention that $wgSharedDB, $wgSharedTables, and $wgLocalDatabases must be
set consistently for LocalIdLookup to work with shared user tables.
Change-Id: I92d231b78bf7e4fb05b59d0baf69a65b2f728bf7
jenkins-bot [Wed, 9 Dec 2015 12:20:11 +0000 (12:20 +0000)]
Merge "Fix stray $1 in some Special:Tags error messages"
georggi [Wed, 9 Dec 2015 12:07:33 +0000 (14:07 +0200)]
Fix stray $1 in some Special:Tags error messages
Removed '$1' on line 395 of SpecialTags.php, it should
no longer appear in the text.
Bug: T97639
Change-Id: I7f225df684c20f4d0606f001b90a7fb97595600d
Adam Roses Wight [Mon, 19 Oct 2015 07:27:26 +0000 (00:27 -0700)]
Clean up recentChangesFlags rollups
Move ad-hoc variables under an array, in preparation for merging with
RC flags implemented by extensions.
Bug: T120921
Change-Id: I5dd91ba5e5ed36785d9fbf01673defcd227c8b01
jenkins-bot [Wed, 9 Dec 2015 06:54:56 +0000 (06:54 +0000)]
Merge "Reserve data-mw and data-parsoid attribute prefix for trusted values"
Brian Wolff [Fri, 13 Nov 2015 04:24:52 +0000 (23:24 -0500)]
Reserve data-mw and data-parsoid attribute prefix for trusted values
Don't let users set attributes starting with data-mw or data-parsoid.
The main idea is to allow MediaWiki to use data-mw-<something>
attributes for trusted input to client side scripts. There have
been a couple security vulnerabilities in the past based on users
being able to manipulate a data attribute, which client side was
assuming was trusted.
Also include data-mw and data-parsoid as both are used by Parsoid
currently.
See https://lists.wikimedia.org/pipermail/wikitech-l/2015-November/083811.html
A corresponding change will also have to be made in Parsoid.
Change-Id: I06585380bde3bc57b17ad76740c5acc2056d7c44
jenkins-bot [Wed, 9 Dec 2015 02:19:15 +0000 (02:19 +0000)]
Merge "resourceloader: Migrate from msg_resource table to object cache"
James D. Forrester [Tue, 8 Dec 2015 21:46:11 +0000 (13:46 -0800)]
Update OOjs UI to v0.14.1
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.14.0/History.md
Change-Id: Id0642023abdae574e32620fc0843631d86bae006
Translation updater bot [Tue, 8 Dec 2015 21:03:08 +0000 (22:03 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2b0a1c68772037d1e9547290bc5dd8561f08db65
jenkins-bot [Tue, 8 Dec 2015 19:22:45 +0000 (19:22 +0000)]
Merge "Fix some language depending phpunit tests by using MediaWikiLangTestCase"
Timo Tijhof [Fri, 13 Nov 2015 00:04:12 +0000 (00:04 +0000)]
resourceloader: Migrate from msg_resource table to object cache
MessageBlobStore class:
* Make logger aware.
* Log an error if json encoding fails.
* Stop using the DB table. WANObjectCache supports everything we need:
- Batch retrieval.
- Invalidate keys with wildcard selects or cascading check keys.
* Update tests slightly since the actual update now happens on-demand as
part of get() instead of within updateMessage().
ResourceLoader class:
* Remove all interaction with the msg_resource table. Remove db table later.
* Refactor code to use a hash of the blob instead of a timestamp.
Timestamps are unreliable and roll over too frequently for message blob store
because there is no authoritative source. The timestamps were inferred based on
when a change is observed. Message overrides from the local wiki have an
explicit update event when the page is edited. All other messages, such as
from MediaWiki core and extensions using LocalisationCache, have a single
timestamp for all messages which rolls over every time the cache is rebuilt.
A hash is deterministic, and won't cause needless invalidation (T102578).
* Remove redundant pre-fetching in makeModuleResponse().
This is already done by preloadModuleInfo() in respond().
* Don't bother storing and retreiving empty "{}" objects.
Instead, detect whether a module's message list is empty at runtime.
ResourceLoaderModule class:
* Make logger aware.
* Log if a module's message blob was not preloaded.
cleanupRemovedModules:
* Now that blobs have a TTL, there's no need to prune old entries.
Bug: T113092
Bug: T92357
Change-Id: Id8c26f41a82597e34013f95294cdc3971a4f52ae
Aaron Schulz [Tue, 8 Dec 2015 03:10:17 +0000 (19:10 -0800)]
Renamed confusing initial $status var in doEditContent()
Change-Id: I22cad9eb3fb4040e5506b0cccd573871d108d257
jenkins-bot [Tue, 8 Dec 2015 01:33:18 +0000 (01:33 +0000)]
Merge "Fix edge case in onTransactionIdle()"
Aaron Schulz [Tue, 8 Dec 2015 01:26:15 +0000 (17:26 -0800)]
Fix edge case in onTransactionIdle()
If a callback set DBO_TRX, make sure it gets unset if that
is not what the DB was set to before the callbacks ran.
Change-Id: I79b649de02e821494d7f88e8979764ec8a9d0c43
Timo Tijhof [Tue, 8 Dec 2015 01:17:41 +0000 (01:17 +0000)]
Use wgCanonicalNamespace instead of wgNamespaceIds[key] in JS
Follows-up
746f8fc9a81bf7.
Change-Id: I1e62d7b64a87c26f9a2c4a6a6ca988daac223ede
jenkins-bot [Mon, 7 Dec 2015 22:58:58 +0000 (22:58 +0000)]
Merge "Remove unused $wgStatsMethod and related UDPProfiler variables"
Niklas Laxström [Tue, 1 Dec 2015 16:25:16 +0000 (17:25 +0100)]
mediawiki.api: fix badtoken handling with legacy token types
Manual test plan:
mw.loader.using( 'mediawiki.api.login' ).done( function () {
var
user = 'XXX',
pass = 'YYY',
api = new mw.Api();
api.login( user, pass ).done( function () {
api.postWithToken( 'options', {
action: 'options',
optionname: 'userjs-tokentest',
optionvalue: 1
} ).fail( function () {
console.log( arguments );
} );
} );
} );
Change-Id: I175cf4e3a845cdfe621b6009920fddba6bc1ff12
Translation updater bot [Mon, 7 Dec 2015 21:51:28 +0000 (22:51 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Iac16753a290ab6b9549d4292265969a9df9b1dc4
Timo Tijhof [Mon, 7 Dec 2015 19:49:38 +0000 (19:49 +0000)]
Remove unused $wgStatsMethod and related UDPProfiler variables
All unused:
* $wgProfileCallTree
* $wgProfilePerHost
* $wgUDPProfilerHost
* $wgUDPProfilerPort
* $wgUDPProfilerFormatString
* $wgStatsMethod
* $wgAggregateStatsID
* $wgStatsFormatString
The only one still used was $wgProfilePerHost.
Also move release notes for
ade945b97a51 from HISTORY to RELEASE-NOTES (Oops!)
Change-Id: Ia0280d23674ace1ac33aa561b06ee73cab865b29
jenkins-bot [Mon, 7 Dec 2015 21:25:24 +0000 (21:25 +0000)]
Merge "Add $wgMaxUserDBWriteDuration to limit user-generated transactions"
jenkins-bot [Mon, 7 Dec 2015 20:52:28 +0000 (20:52 +0000)]
Merge "Remove obsolete showCacheStats.php and showCacheStats.php"
jenkins-bot [Mon, 7 Dec 2015 20:48:49 +0000 (20:48 +0000)]
Merge "objectcache: Improve entry point docs and fix typo in READ_LATEST"