jenkins-bot [Sun, 30 Aug 2015 07:35:34 +0000 (07:35 +0000)]
Merge "Improve wording of "size-bytes" and "size-pixel" messages"
This, that and the other [Sun, 30 Aug 2015 05:23:13 +0000 (15:23 +1000)]
Improve wording of "size-bytes" and "size-pixel" messages
"B" and "P" are vanishingly rare abbreviations for "bytes" and "pixels"
respectively. Let's use the full English terms for these, combined with
a PLURAL magic word for good measure.
Change-Id: Id59c4b9dea2c13940ae790b6a236ac08abe0a768
Translation updater bot [Sat, 29 Aug 2015 19:33:15 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I11090b4bd770e52ee751b31b3788189e8d40c3f4
Bartosz Dziewoński [Sat, 29 Aug 2015 18:44:08 +0000 (20:44 +0200)]
mediawiki.ForeignApi: Use `type === 'POST'` instead of `type !== 'GET'`
Works better when 'type' is not set (which can happen if someone is
calling #ajax directly rather than #get or #post), is consistent
with code in mediawiki.api, and better reflects what we really mean.
Change-Id: Iea265be5c0e6113e91e700124ac36a0b588ca25c
addshore [Sat, 29 Aug 2015 12:08:44 +0000 (14:08 +0200)]
Add protected getCurrentRow to TablePager
This makes unit testing TablePagers easier
Change-Id: I899ec6b056fb1f007a6caf0be320324cffe08326
Kunal Mehta [Sat, 29 Aug 2015 04:39:15 +0000 (21:39 -0700)]
Really actually fix the typo in Parser.php
Change-Id: I9d9c6f13095087ac2c2c6693c6bd1613219bf658
Aaron Schulz [Sat, 29 Aug 2015 00:06:45 +0000 (17:06 -0700)]
Fixed parser report typo
Change-Id: Ia549f4e1932bc1196e840e154b8d6fb0b608d10d
jenkins-bot [Sat, 29 Aug 2015 00:01:58 +0000 (00:01 +0000)]
Merge "Improved getMainStashInstance() docs"
Aaron Schulz [Thu, 27 Aug 2015 09:10:03 +0000 (02:10 -0700)]
Made MessageCache use the WAN cache for individual cache keys
* These keys are used for larger messages not in the main blob,
and they still use explicit purges as the pages change
Change-Id: I254ddcc9ffe7c49654788d6aabcca2ab7ed4f03f
Aaron Schulz [Fri, 28 Aug 2015 23:24:13 +0000 (16:24 -0700)]
Improved getMainStashInstance() docs
Change-Id: I49e5c112478927387244214917fb06907c22186f
Translation updater bot [Fri, 28 Aug 2015 19:59:26 +0000 (19:59 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Fri, 28 Aug 2015 19:35:20 +0000 (19:35 +0000)]
Merge "Revert "Prevent the jumbling up of autocomments in RTL""
Translation updater bot [Fri, 28 Aug 2015 19:33:53 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I68d4a05bd1404393686d145ba5f46f93f789d52a
TheDJ [Fri, 28 Aug 2015 18:55:38 +0000 (18:55 +0000)]
Revert "Prevent the jumbling up of autocomments in RTL"
This reverts commit
6f8c3359ed6e531edd9eed81dd033514feb6a802.
which was causing page load issues due to a bug in Chrome and Safari.
Bug: T110716
Change-Id: I0ab1bf1f52474d8ab43d34628df5d972e817e8f0
Kunal Mehta [Fri, 28 Aug 2015 17:40:08 +0000 (10:40 -0700)]
CssContentHandler: Fix @return documentation
Missed this when copying the code from JavaScriptContentHandler...
Change-Id: I6b232e431b4e997b65a698de42473c9b6deae6b1
jenkins-bot [Fri, 28 Aug 2015 17:17:36 +0000 (17:17 +0000)]
Merge "API: Add ApiResult::META_KVP_MERGE"
Brad Jorsch [Fri, 28 Aug 2015 15:10:20 +0000 (11:10 -0400)]
API: Add ApiResult::META_KVP_MERGE
This allows for merging the KVP key into the value for the alternative
output format. Specifically,
{ "key": { "foo": "bar" } }
can now be turned into
[{ "name": "key", "foo": "bar" }]
instead of
[{ "name": "key", "value": { "foo": "bar" } }]
Change-Id: Ie1f9235893dbbcd2948c46e0356360b5635a3ddd
C. Scott Ananian [Fri, 28 Aug 2015 14:23:47 +0000 (10:23 -0400)]
Be a little more conservative with the IPv6 support in the Sanitizer.
This isn't strictly necessary, but it matches the production used in
Parsoid better.
Change-Id: I542b1f71fe9e917fef5718a6df8ebb98735f7fb4
jenkins-bot [Fri, 28 Aug 2015 14:00:22 +0000 (14:00 +0000)]
Merge "Add comments clarifying how calling getters on ParserOutput affects the parser cache."
jenkins-bot [Fri, 28 Aug 2015 09:39:33 +0000 (09:39 +0000)]
Merge "Fixed some doc errors in tryNormaliseRedirect()"
jenkins-bot [Fri, 28 Aug 2015 08:31:22 +0000 (08:31 +0000)]
Merge "Added jobqueue.pickup_root_age metric"
Aaron Schulz [Mon, 24 Aug 2015 20:00:23 +0000 (13:00 -0700)]
Fixed some doc errors in tryNormaliseRedirect()
Change-Id: I8f9397d05de1c0bae33497d1f9e3146939599380
jenkins-bot [Fri, 28 Aug 2015 08:23:02 +0000 (08:23 +0000)]
Merge "api: Load mediawiki.apipretty with addModuleStyles"
daniel [Wed, 26 Aug 2015 16:17:05 +0000 (18:17 +0200)]
Add comments clarifying how calling getters on ParserOutput affects the parser cache.
Change-Id: Ie6a4a8989df218f88cfc7c1cf1d4b68cf871abbb
jenkins-bot [Fri, 28 Aug 2015 07:08:01 +0000 (07:08 +0000)]
Merge "SpecialVersion: Force text credits and license to LTR direction"
jenkins-bot [Fri, 28 Aug 2015 07:05:56 +0000 (07:05 +0000)]
Merge "Add date format for Latvian language"
Amir E. Aharoni [Thu, 27 Aug 2015 21:23:18 +0000 (00:23 +0300)]
SpecialVersion: Force text credits and license to LTR direction
It's safe to assume that text files with credits or licenses are written
in English, so it should be explicitly set to English/LTR
so that English won't appear in RTL wikis as RTL.
Change-Id: Ic9db006b2d3509de32f01ae04782535ab0183993
Aaron Schulz [Tue, 25 Aug 2015 08:17:43 +0000 (01:17 -0700)]
Added --status and --limit filters to showJobs.php
Change-Id: Ibb3e907061c04a4dd2af23789fd59685240f0876
jenkins-bot [Fri, 28 Aug 2015 04:35:59 +0000 (04:35 +0000)]
Merge "Add ParserOutput cache and expiry times to NewPP report"
jenkins-bot [Fri, 28 Aug 2015 03:14:27 +0000 (03:14 +0000)]
Merge "Use Parsoid v3 API; emulate the RESTBase v1 API"
jenkins-bot [Fri, 28 Aug 2015 02:18:43 +0000 (02:18 +0000)]
Merge "Removed useless $wgUseLocalMessageCache check in MessageCache"
Ori Livneh [Fri, 28 Aug 2015 02:05:27 +0000 (19:05 -0700)]
Add ParserOutput cache and expiry times to NewPP report
The labels are not localized, because I think this ought to be outputted as a
JSON blob, with uniform field names. But not doing that in this patch.
Change-Id: I235839b276632308ddeac7afe763d355b73c2a25
This, that and the other [Fri, 28 Aug 2015 01:36:48 +0000 (01:36 +0000)]
Merge "Update namespace names for Sanskrit"
Aaron Schulz [Fri, 28 Aug 2015 01:31:35 +0000 (18:31 -0700)]
Removed useless $wgUseLocalMessageCache check in MessageCache
* The localCache member will use CACHE_NONE if this is off,
so the set()/get() calls are already no-oped
* Also allow using the local cache if $hash is false
in "stale mode", which handles the case where the hash
key fell out of memory for some reason more gracefully
Change-Id: Ie12efcd4088a6dc4a4cdd2fd06646f2881df53d7
jenkins-bot [Thu, 27 Aug 2015 23:33:07 +0000 (23:33 +0000)]
Merge "Make ParserOptions fields private"
Brad Jorsch [Thu, 27 Aug 2015 13:38:53 +0000 (09:38 -0400)]
Make ParserOptions fields private
Now that Ib58e8020 and Ie644854 are merged, there are no direct accesses
to these fields left in core or extensions in Gerrit. So let's make them
private to make sure no more get added before we decide whether we're
going to eliminate them entirely.
Bug: T110269
Change-Id: I82041b88dd0f194716f54d3207649388328805ca
Kunal Mehta [Thu, 27 Aug 2015 23:13:42 +0000 (16:13 -0700)]
registration: Remove unused 'wgExtraNamespaces' merge strategy
As of
9df0672255afd, this is no longer used.
Change-Id: I7e40096cb5173626ba7f2cd3d2be121c8a04768a
C. Scott Ananian [Wed, 27 May 2015 21:46:45 +0000 (17:46 -0400)]
Use Parsoid v3 API; emulate the RESTBase v1 API
Update the ParsoidVirtualRESTService and the
RestbaseVirtualRESTService to use Parsoid's v3 API, instead of the
deprecated v1/v2 APIs. Since Visual Editor still issues requests
using the Parsoid v1 API, convert Parsoid v1 API requests into Parsoid
v3 API requests when needed for a smooth transition. We also add
support for converting RESTBase v1 API requests to Parsoid v3 API
requests.
The next step will be to convert Visual Editor to issue RESTBase v1
API requests (https://gerrit.wikimedia.org/r/217995), and then the
Parsoid v1 conversion code added here can be removed (T100681).
Tested Parsoid v1->v3 conversion, Parsoid v1->RESTBase conversion,
plus Parsoid v3 and RESTBase v1->Parsoid v3 conversion using VE
patched to issue RESTBase v1 API requests.
Bug: T100681
Change-Id: I07ac60cdec7a52ef93187d40099325a069e3239a
jenkins-bot [Thu, 27 Aug 2015 21:10:22 +0000 (21:10 +0000)]
Merge "XMP: log structured data for halting errors"
Timo Tijhof [Wed, 26 Aug 2015 17:37:54 +0000 (19:37 +0200)]
api: Load mediawiki.apipretty with addModuleStyles
Follows-up
d25cb99. addModules() is async and causes a flash
of unstyled content. E.g. the h1.firstHeading renders and then
disappears on pages like:
<https://en.wikipedia.org/w/api.php?action=purge>
Change-Id: I74c6386d2c5f318987dac103a76c0bc2af6e2653
Bryan Davis [Thu, 27 Aug 2015 19:56:57 +0000 (13:56 -0600)]
XMP: log structured data for halting errors
Log structured data for halting errors in XMPReader::parse at warning
level.
Bug: T89532
Change-Id: Iba38fedb4255687742228cf656218b4b633a7f40
jenkins-bot [Thu, 27 Aug 2015 19:25:11 +0000 (19:25 +0000)]
Merge "Fix spaces in MigrateFileRepoLayoutTest::tearDown"
Translation updater bot [Thu, 27 Aug 2015 19:16:32 +0000 (21:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5d73ea5a5527d5ba495d9fba466b7f418288dff9
umherirrender [Thu, 27 Aug 2015 19:03:32 +0000 (21:03 +0200)]
Fix spaces in MigrateFileRepoLayoutTest::tearDown
Use tabs for indent
Change-Id: I021b7ff41be23e46fe49dc552e697c7b8f78622e
Aaron Schulz [Thu, 27 Aug 2015 09:20:54 +0000 (02:20 -0700)]
Cleaned up int|INF doc type to avoid IDEA errors
* INF is not a class (technically a float, which would look confusing here)
Change-Id: I9c437ecd0f2fe1a2a3e15197d50829a638f3073a
Southparkfan [Thu, 27 Aug 2015 16:13:37 +0000 (18:13 +0200)]
Enable autocompletion for Special:ComparePages
Bug: T26235
Change-Id: Ia55ff14ceeef4eb49facd42a71c6330dd3384eb8
Ricordisamoa [Thu, 27 Aug 2015 14:19:20 +0000 (16:19 +0200)]
Add space between classes in HTMLButtonField
Classes such as 'wb-input-buttonmw-ui-button' were being generated
when $wgUseMediaWikiUIEverywhere = true, see:
https://integration.wikimedia.org/ci/job/mwext-Wikibase-repo-tests-mysql-hhvm/4217/console
Change-Id: If40b712ffb8e31d27380bf481333eecb7b95f9de
jenkins-bot [Thu, 27 Aug 2015 17:54:35 +0000 (17:54 +0000)]
Merge "Revert "Load all CSS in the top queue""
Ori.livneh [Thu, 27 Aug 2015 17:02:11 +0000 (17:02 +0000)]
Revert "Load all CSS in the top queue"
I don't want to roll this out until our WebPageTest infrastructure is ready
and can show whether or not this is beneficial. I should have indicated this
clearly on the change rather than leave it open, sorry.
This reverts commit
b7c0e537ebb7216cd12a6c48fbaee7c2c7757c55.
Change-Id: I43e3295873a94da1c2febe2c1a19ad20ca914254
jenkins-bot [Thu, 27 Aug 2015 14:16:45 +0000 (14:16 +0000)]
Merge "Load User via READ_LATEST in ApiOptions to avoid CAS errors"
jenkins-bot [Thu, 27 Aug 2015 09:48:15 +0000 (09:48 +0000)]
Merge "Load all CSS in the top queue"
jenkins-bot [Thu, 27 Aug 2015 09:40:35 +0000 (09:40 +0000)]
Merge "Move job running till after deferred updates"
jenkins-bot [Thu, 27 Aug 2015 09:38:27 +0000 (09:38 +0000)]
Merge "Ignore DBPerformance thresholds in Special:ConfirmEmail"
jenkins-bot [Thu, 27 Aug 2015 09:36:34 +0000 (09:36 +0000)]
Merge "Moved onArticleEdit() lines around for clarity"
jenkins-bot [Thu, 27 Aug 2015 08:09:41 +0000 (08:09 +0000)]
Merge "Add @throws tag to Database::insert"
jenkins-bot [Thu, 27 Aug 2015 08:08:08 +0000 (08:08 +0000)]
Merge "Fixed headers sent in addMissingMetadata()"
addshore [Thu, 27 Aug 2015 07:55:53 +0000 (09:55 +0200)]
Add @throws tag to Database::insert
This was already documented but not with @throws
Change-Id: Ib55c2efb9993c5d939fab1ed5d6ade3fc277902f
Kunal Mehta [Wed, 26 Aug 2015 21:18:39 +0000 (14:18 -0700)]
registration: Fix namespaces added through the ExtensionProcessor
Using $wgExtraNamespaces overrides any localized namespaces with the
canonical form, which is not ideal.
Namespaces added through extension.json will now store the canonical
form and numerical id in a 'ExtensionNamespaces' attribute that is read
by MWNamespace::getCanonicalNamespaces().
Also fix the documentation on $wgExtraNamespaces, as using
$wgCanonicalNamespaceNames has not been possible since r85327.
Bug: T110389
Change-Id: I5bd9a7258f59d8c4a7ad0543d2115960fbea9b3a
Aaron Schulz [Thu, 27 Aug 2015 01:40:43 +0000 (18:40 -0700)]
Ignore DBPerformance thresholds in Special:ConfirmEmail
Bug: T92357
Change-Id: I81a1a31de522c2390e9d4d515677731cce4fcf1f
jenkins-bot [Thu, 27 Aug 2015 01:17:50 +0000 (01:17 +0000)]
Merge "Avoid using DB_MASTER in SpecialEditWatchlist::getWatchlist()"
jenkins-bot [Thu, 27 Aug 2015 01:11:51 +0000 (01:11 +0000)]
Merge "Defer spreadAnyEditBlock() post-send"
Aaron Schulz [Wed, 26 Aug 2015 23:54:23 +0000 (16:54 -0700)]
Avoid using DB_MASTER in SpecialEditWatchlist::getWatchlist()
* Only use it on POST requests, where the submit callback really
wants the latest data. The form data will be lagged by user
delay anyway, so using the slave there does not change much.
ChronologyProtector already handles the user seeing their
*own* changes for consecutive updates.
Bug: T92357
Change-Id: I50274ad5f67f6445a89c9d8d6f01d3fca1e9002b
Aaron Schulz [Thu, 27 Aug 2015 00:54:58 +0000 (17:54 -0700)]
Defer spreadAnyEditBlock() post-send
* No need for these to be perfectly synchronous
Bug: T92357
Change-Id: I6863960c8170ef4c3f2e356841b4086ac98f0f03
jenkins-bot [Thu, 27 Aug 2015 00:09:50 +0000 (00:09 +0000)]
Merge "Removed deprecated $wgMasterWaitTimeout; not used by LoadBalancer"
Aaron Schulz [Thu, 20 Aug 2015 00:26:22 +0000 (17:26 -0700)]
Removed deprecated $wgMasterWaitTimeout; not used by LoadBalancer
Change-Id: I2edd22ac1e414371b7c63f48e271abd033027b48
jenkins-bot [Wed, 26 Aug 2015 23:40:48 +0000 (23:40 +0000)]
Merge "ResourcesOOUI: Remove now-unnecessary selector"
jenkins-bot [Wed, 26 Aug 2015 23:18:19 +0000 (23:18 +0000)]
Merge "maintenance: Handle errors in deleteEqualMessages.php"
jenkins-bot [Wed, 26 Aug 2015 22:15:53 +0000 (22:15 +0000)]
Merge "Return HTTP 429 when thumbnailing is throttled due to too many errors"
jenkins-bot [Wed, 26 Aug 2015 22:06:18 +0000 (22:06 +0000)]
Merge "Only load gallery styling rules when galleries are on the page"
Gergő Tisza [Wed, 26 Aug 2015 21:18:54 +0000 (14:18 -0700)]
Return HTTP 429 when thumbnailing is throttled due to too many errors
Bug: T110109
Change-Id: I8af527661a041964690faae7566fb97e305e2b0f
Aaron Schulz [Wed, 26 Aug 2015 00:27:46 +0000 (17:27 -0700)]
Load User via READ_LATEST in ApiOptions to avoid CAS errors
Bug: T95839
Change-Id: I3c4cf4347af24f3313e709a996618b755da22dd2
jdlrobson [Fri, 21 Aug 2015 23:59:02 +0000 (16:59 -0700)]
Only load gallery styling rules when galleries are on the page
* Double load styling rules in legacy modules so we have time for
cached pages to catch up
** Double loading styles is acceptable for 30 days. There is no better way.
* Load gallery css when gallery tag invoked.
To test:
* Visit a page with a gallery tag and purge it, note styles are present.
* Visit a page without a gallery tag and purge it, note styles are not present
Bug: T98878
Change-Id: Ib1aef04dc4fece78e6615386ecaef6a9f368f49e
jenkins-bot [Wed, 26 Aug 2015 20:07:29 +0000 (20:07 +0000)]
Merge "Reduced some instances of HTTP 500 in thumb.php"
Aaron Schulz [Wed, 26 Aug 2015 18:52:23 +0000 (11:52 -0700)]
Reduced some instances of HTTP 500 in thumb.php
* This add noise to logs and graphs that can look like outages
due to a single crawler.
Bug: T110109
Change-Id: Ie2a1edd0330b0f858729fcc56c828c11d9c7476c
Aaron Schulz [Mon, 24 Aug 2015 21:32:53 +0000 (14:32 -0700)]
Avoid $newid IDEA "possibly undefined" error in insertOn()
Change-Id: Ifb0dbc60efc346227e0724ec1df2e60e8dd5f495
jenkins-bot [Wed, 26 Aug 2015 19:46:45 +0000 (19:46 +0000)]
Merge "poolcounter: Convert slow-parse to LoggerFactory with data context"
jenkins-bot [Wed, 26 Aug 2015 19:38:02 +0000 (19:38 +0000)]
Merge "jquery.byteLimit: Expose trimValueForByteLength as trimByteLength"
Translation updater bot [Wed, 26 Aug 2015 19:15:10 +0000 (21:15 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie11478b8964c3e543697c83eb4bd03a9880f2eb4
Timo Tijhof [Wed, 26 Aug 2015 18:41:03 +0000 (20:41 +0200)]
poolcounter: Convert slow-parse to LoggerFactory with data context
This way the time and title values are transmitted via Monolog
as separate JSON properties.
Keep the message the same for backwards-compatibility (except
for the space padding).
Change-Id: I0b79944bb9944dc6d09d16fe2ecc845e0e0e2afb
Ori Livneh [Fri, 26 Jun 2015 19:26:46 +0000 (12:26 -0700)]
Replace bundled IPSet library with composer dependency
Complete the 'librarization' of IPSet by replacing the code in core with a
dependency on the external library.
Change-Id: I789b4fb42ee1da44ea3d8e1db551b047e11a439e
Sam Smith [Wed, 12 Aug 2015 19:53:19 +0000 (20:53 +0100)]
Add the mediawiki.experiments module
The module provides a generic bucketing function - it accepts an
experiment specification and a token that identifies a unique user - and
doesn't have any side effects, i.e. the bucket isn't persisted to
storage. It is therefore assumed that clients are responsible for either
storing the token or storing the bucket for the duration of an
experiment.
The module was extracted from the - admittedly, unused - module of the
same name in the MobileFrontend extension as it's intended to be used by
the Gather and QuickSurveys extensions.
Bug: T109010
Change-Id: Icf7f6fedf0c2deb5d5548c9e24456cc7a7c6a743
Timo Tijhof [Wed, 26 Aug 2015 17:13:03 +0000 (19:13 +0200)]
maintenance: Handle errors in deleteEqualMessages.php
Follows-up
49107fcc2.
Change-Id: I1b4b3f89a383a9b010d557ae0c6cbd767be60fb0
Timo Tijhof [Wed, 26 Aug 2015 17:06:52 +0000 (19:06 +0200)]
jquery.byteLimit: Expose trimValueForByteLength as trimByteLength
Follows-up
6b79105034, which exposed this private function as a
subproperty of a prototype member, but the JSDuck comment still
treated it as private.
Expose it as proper static method instead.
Change-Id: I1e25ee595ac367a9ae24a325efab2942a37835d9
jenkins-bot [Wed, 26 Aug 2015 16:08:56 +0000 (16:08 +0000)]
Merge "Add comments for ParserOptions::getUserLang regarding cache split"
Brad Jorsch [Wed, 26 Aug 2015 13:39:29 +0000 (09:39 -0400)]
Add @todo comment for I4b0e55fe
In the interest of not blocking other work, I4b0e55fe worked around an
issue locally in ApiParse while filing T110269 for the larger task that
would be needed to properly fix the problem.
This adds a @todo comment referring to that task to make the situation a
bit more clear, since I4b0e55fe was merged too hastily to get the
comment included there.
Change-Id: I5be690aa5316cba1d498358635d497aa465a9972
Reedy [Wed, 26 Aug 2015 08:09:28 +0000 (09:09 +0100)]
Move counter stuff to 1.26 section of MysqlUpdater
Change-Id: I8fdb03494bade2b8fb0766edcbfffd1f26f5c5e6
jenkins-bot [Wed, 26 Aug 2015 07:22:36 +0000 (07:22 +0000)]
Merge "Update namespace for Khowar language (khw)"
Amir E. Aharoni [Wed, 26 Aug 2015 06:35:48 +0000 (09:35 +0300)]
Remove an optional message from Tamil
Requested at
https://translatewiki.net/wiki/Thread:User_talk:Amire80/Delete_request
Change-Id: I41b677b30db559f8de264a706d93ac9d484402bf
jenkins-bot [Wed, 26 Aug 2015 05:59:38 +0000 (05:59 +0000)]
Merge "deleteEqualMessages.php: Avoid "Transaction already in progress" warning"
jenkins-bot [Wed, 26 Aug 2015 05:56:45 +0000 (05:56 +0000)]
Merge "Fix typo in UploadFromUrlJob::initializeSessionData()"
Kevin Israel [Wed, 26 Aug 2015 04:59:45 +0000 (00:59 -0400)]
deleteEqualMessages.php: Avoid "Transaction already in progress" warning
Set the $commit parameter of WikiPage::doDeleteArticle() to true so
the transaction it starts is explicitly committed. Also fixed similar
bugs in two other maintenance scripts.
Follows-up
02f17b579060.
Bug: T110189
Change-Id: Ifde98066e25cb616f23c8998f9461ebf7a2073d6
Kevin Israel [Wed, 26 Aug 2015 04:38:54 +0000 (00:38 -0400)]
Fix typo in UploadFromUrlJob::initializeSessionData()
Behavior would change under PHP7, though neither the current behavior
nor the new behavior seem correct. Did not test, as the feature has
been broken anyway since r81612 /
e942dc69fcc6.
https://github.com/facebook/hhvm/issues/5523#issuecomment-
133132721
Change-Id: Iac1177fee05b6c721abe54b6a96c1652445a5c90
Tim Starling [Mon, 24 Aug 2015 05:05:09 +0000 (15:05 +1000)]
API: Rename disablepp and introduce disabletidy
* Rename disablepp to disablelimitreport, since it does not disable the
preprocessor (which is what PP stands for in "NewPP").
* Introduce new option "disabletidy" for T89331
* Suppress the use of the parser cache when options are specified that
affect the output but are not in ParserOptions::optionsHash(). This
was already broken, but the damage was fairly limited since the
options rarely caused user-visible changes. It would break very badly
if I use the disabletidy option for what I am intending.
Change-Id: I4b0e55fe34e237a68450f583bf59bab7dd703a29
Ori Livneh [Wed, 26 Aug 2015 01:13:14 +0000 (18:13 -0700)]
Micro-optimize Language::isMultiByte()
The xenon logs on performance.wikimedia.org show this function as being on-CPU
about 1% of the time, making it a candidate for optimization. The version in
this patch is about 30-50% faster in my benchmarks.
Change-Id: I26385ade7600fc11965d94468b57e41ec257de51
jenkins-bot [Wed, 26 Aug 2015 00:45:32 +0000 (00:45 +0000)]
Merge "Update OOjs UI to v0.12.6"
jenkins-bot [Wed, 26 Aug 2015 00:37:14 +0000 (00:37 +0000)]
Merge "Update OOjs to v1.1.9"
James D. Forrester [Wed, 26 Aug 2015 00:19:40 +0000 (17:19 -0700)]
Update OOjs UI to v0.12.6
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.6/History.md
Change-Id: I29ae78cc7f4913af3cc551a769d428cf85610d71
Aaron Schulz [Tue, 25 Aug 2015 23:34:00 +0000 (16:34 -0700)]
Added jobqueue.pickup_root_age metric
* This tracks the average age of the root job for jobs being
run that have root jobs defined.
Change-Id: Ifed709644cfa9ac60fc2b0cfd376142adebbaf68
jenkins-bot [Tue, 25 Aug 2015 22:23:11 +0000 (22:23 +0000)]
Merge "API: More avoiding MySQL filesorts in list=allpages"
jenkins-bot [Tue, 25 Aug 2015 22:12:35 +0000 (22:12 +0000)]
Merge "Added $ttl sanity check to WANObjectCache::delete()"