Thalia [Wed, 24 Jul 2019 22:21:06 +0000 (23:21 +0100)]
Update documentation for $wgAutopromote
Follow-up to
1ad840da68
Change-Id: I7c2dedf3824154c0c844f73a98e6824fe8ff141a
David Barratt [Thu, 18 Jul 2019 21:29:46 +0000 (17:29 -0400)]
Do not block autopromote on partial blocks
Currently, a partial block will block an autopromote, this should not be the
case. Instead, autopromote will only be blocked by sitewide blocks.
Bug: T228479
Change-Id: Id945b6ab374cb49c4a265b5ca149e13b68d4acac
Dbarratt [Thu, 18 Jul 2019 15:39:09 +0000 (15:39 +0000)]
Merge "Add support for extentions to change Special:Mute form"
jenkins-bot [Thu, 18 Jul 2019 15:28:13 +0000 (15:28 +0000)]
Merge "objectcache: optimize MemcachedPeclBagOStuff::*Multi() write methods"
Dayllan Maza [Mon, 1 Jul 2019 14:14:42 +0000 (10:14 -0400)]
Add support for extentions to change Special:Mute form
The hook (SpecialMuteModifyFormFields) is used to append
the option to mute/unmute notifications from a specified user.
Special:Mute handles posting and saving the fields, the only
requirement is that the field name is the same as the property
that wants to be modified.
Currently there are only two notifications "blacklists":
* `email-blacklist` is directly handled in this page 'cause it is part of core.
* `echo-notifications-blacklist` is part of Echo, so this change is required
to support it. See I77b3ccfdce9b501e
Bug: T220163
Change-Id: I2b3eee0802cb086091f35ecce13ae77a8e7d518d
Raymond [Thu, 18 Jul 2019 07:49:57 +0000 (09:49 +0200)]
Delete very incomplete translation
Change-Id: Ic8df4cc9894a366148632dbb2a97803cd6feccef
Translation updater bot [Thu, 18 Jul 2019 07:06:38 +0000 (09:06 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I06dcc9ee33533abbfa09d8ae7bafd6f6547f0e22
jenkins-bot [Thu, 18 Jul 2019 06:39:29 +0000 (06:39 +0000)]
Merge "objectcache: fix WinCacheBagOStuf::doGet() is_string() check"
Aaron Schulz [Thu, 18 Jul 2019 05:50:14 +0000 (22:50 -0700)]
objectcache: fix WinCacheBagOStuf::doGet() is_string() check
Allow integers to so that incr() and other cases work. This class
now passes all the unit tests again.
Change-Id: Ie7aae36180472a0e913fb8275bccee3fbc6fe7d9
jenkins-bot [Thu, 18 Jul 2019 05:35:53 +0000 (05:35 +0000)]
Merge "Tests: Remove old TODO file and update README with integration notes"
jenkins-bot [Thu, 18 Jul 2019 02:27:58 +0000 (02:27 +0000)]
Merge "Remove deprecated mw.Api.errors and mw.Api.warnings"
jenkins-bot [Thu, 18 Jul 2019 02:18:35 +0000 (02:18 +0000)]
Merge "installer: Remove <doclink/> parser function and last use of it"
jenkins-bot [Thu, 18 Jul 2019 02:07:31 +0000 (02:07 +0000)]
Merge "objectcache: clean up RedisBagOStuff and optimize changeTTLMulti()"
Aaron Schulz [Tue, 2 Jul 2019 00:11:06 +0000 (17:11 -0700)]
objectcache: clean up RedisBagOStuff and optimize changeTTLMulti()
Also fix some IDEA warnings in redis classes and make it easy for IDEs
to recognize the Redis (phpredis) class calls to RedisConnRef proxies.
Bug: T113916
Change-Id: If45a37da412ac37e8c07dc3d1053826aa0a62077
Timo Tijhof [Thu, 18 Jul 2019 00:29:12 +0000 (01:29 +0100)]
installer: Remove <doclink/> parser function and last use of it
Pass the url to the Copying page as a message parameter instead.
This results in identical text and styling. Not even "external link"
vs plain link styling difference, because that doesn't exist in the
installer stylesheet.
The message is renamed in this commit because it is a breaking
change (due to <doclink> being removed, and due to $2 being
required).
Bug: T227297
Change-Id: I73efd9ecb193523a7e384a7a40c768d32b2361b8
jenkins-bot [Thu, 18 Jul 2019 00:23:33 +0000 (00:23 +0000)]
Merge "Remove pointless PermissionManager::revokeTemporaryUserRights method"
jenkins-bot [Wed, 17 Jul 2019 23:58:31 +0000 (23:58 +0000)]
Merge "doMaintenance: Try to print errors to stderr"
jenkins-bot [Wed, 17 Jul 2019 23:57:17 +0000 (23:57 +0000)]
Merge "parser: add vary-revision-sha1 and related ParserOutput methods"
Gergő Tisza [Wed, 17 Jul 2019 12:00:21 +0000 (14:00 +0200)]
Remove pointless PermissionManager::revokeTemporaryUserRights method
Also add missing @since and make phpdoc formatting match (most) other
methods.
Change-Id: I087205ad23836f283e5ba291488a9bc1f4c3ce99
jenkins-bot [Wed, 17 Jul 2019 20:44:38 +0000 (20:44 +0000)]
Merge "Remember checkbox state on Special:Block if checkbox disabled"
jenkins-bot [Wed, 17 Jul 2019 19:10:49 +0000 (19:10 +0000)]
Merge "rdbms: better handle a non-existing "defaultGroup" in LoadBalancer"
jenkins-bot [Wed, 17 Jul 2019 17:53:32 +0000 (17:53 +0000)]
Merge "objectcache: relax WANObjectCache "pcTTL" nesting rule to allow set()"
Aaron Schulz [Tue, 16 Jul 2019 09:31:54 +0000 (02:31 -0700)]
objectcache: relax WANObjectCache "pcTTL" nesting rule to allow set()
As long as get()s are disallowed from the process cache, the sets() should
at least still be up-to-date, so there is little reason to prevent them.
Change-Id: Ic62c8380801130de7f8412cddcf85b246e33b3cd
jenkins-bot [Wed, 17 Jul 2019 17:28:11 +0000 (17:28 +0000)]
Merge "Exclude extensions/skins test directories from coverage analysis"
Kosta Harlan [Wed, 17 Jul 2019 17:00:54 +0000 (13:00 -0400)]
Tests: Remove old TODO file and update README with integration notes
Change-Id: I006a238f5241a70841f0d25ef7196f13654fb7ac
jenkins-bot [Wed, 17 Jul 2019 16:28:33 +0000 (16:28 +0000)]
Merge "externalstore: unbreak writes to non-default storage clusters due to isReadOnly()"
Kosta Harlan [Wed, 17 Jul 2019 16:00:58 +0000 (12:00 -0400)]
Exclude extensions/skins test directories from coverage analysis
Follows-Up: I3d19627fa36f6cc6666c29fdb638272fdaa30630
Bug: T192078
Change-Id: I29dec891ee2327dde96dc293f3d9cda0e6a891fc
jenkins-bot [Wed, 17 Jul 2019 15:54:46 +0000 (15:54 +0000)]
Merge "Remove unused variable"
jenkins-bot [Wed, 17 Jul 2019 15:53:28 +0000 (15:53 +0000)]
Merge "Report more information about composite blocks in block error messages"
Thalia [Wed, 3 Jul 2019 15:40:44 +0000 (16:40 +0100)]
Report more information about composite blocks in block error messages
For any messages that use CompositeBlock::getPermissionsError, include
details of the original blocks from which the composite block is made.
If there are any database blocks, give their IDs and also explain that
there may also be blocks due to IP blacklisting.
If there are no database blocks, then explain that the IP must be
blacklisted in multiple places.
Bug: T212326
Change-Id: Id6ad0019f8add4d5e000da5e872338e87cca485e
Dayllan Maza [Wed, 17 Jul 2019 15:13:31 +0000 (11:13 -0400)]
Remove unused variable
Change-Id: I70c76e05e46f3432e580eb6e93d7a49ecfc5cfb4
Thalia [Mon, 15 Jul 2019 18:39:36 +0000 (19:39 +0100)]
Remember checkbox state on Special:Block if checkbox disabled
Many of the blocking options on Special:Block are only valid for
certain inputs. These options are represented with checkboxes. If
an option is not valid with the current form inputs, its checkbox
is disabled (and not submitted) and it is set to false by default.
To make this clear to the user, we uncheck the checkbox when it
is disabled.
This stores the value of the checkbox before it was disabled and
restores it if the checkbox is enabled again.
Bug: T221117
Change-Id: I3e52d7c3eb70f2798de3fb5ac3824d56e73306a6
Yongmin Hong [Wed, 17 Jul 2019 09:53:02 +0000 (18:53 +0900)]
MessagesKo.php: periodic updates
Add Mute and sort BlockList alphabetically.
Change-Id: I8125979b61e489b2c99af258254c4bb83675b9c4
Signed-off-by: Yongmin Hong <revi@pobox.com>
Aaron Schulz [Thu, 4 Jul 2019 10:01:31 +0000 (03:01 -0700)]
parser: add vary-revision-sha1 and related ParserOutput methods
This can be used to avoid double parsed on save if the prior output
can be reused in-spite of involving a self content reference.
Change-Id: Idcd30a3fa3f7012dac76ce8bbf46625453ae331f
Aaron Schulz [Wed, 17 Jul 2019 04:52:32 +0000 (21:52 -0700)]
externalstore: unbreak writes to non-default storage clusters due to isReadOnly()
Instead of telling ExternalStoreMedium classes the default write stores and using
that to make them read-only, let them be configured via other means. For example,
ExternalStoreMwstore already respects FileBackend::isReadOnly() for each location
(e.g. file backends) and ExternalStoreDB checks LoadBalancer::getReadOnlyMode()
for each location (e.g. DB cluster).
Make ExternalStoreAccess::isReadOnly() take a list of base URLs, default to the
default write stores if not specified.
Bug: T227156
Change-Id: I3161890fb2ccb46d6206628f0cd88f8af9f1688c
Follows-Up: I40c3b5534fc8a31116c4c5eb64ee6e4903a6197a
jenkins-bot [Wed, 17 Jul 2019 02:06:04 +0000 (02:06 +0000)]
Merge "Add mechanism for temporary user rights"
Gergő Tisza [Thu, 11 Jul 2019 17:22:20 +0000 (19:22 +0200)]
Add mechanism for temporary user rights
Add a mechanism for adding temporary user rights that only exist
for the current request. This is occasionally needed to let normal
users act with a bot flag; traditionally the fact that User::$mRights
was public has been abused to do it, but I88992403 broke that.
Bug: T227772
Change-Id: Ife8f9d8affa750701e4e5d646ed8cd153c1d867b
James D. Forrester [Fri, 12 Jul 2019 23:42:09 +0000 (16:42 -0700)]
Hard-deprecate wgProfileOnly, deprecated in 1.23
Change-Id: I1b66931ca0d3ae3e044b14f5b97dd98861ec5e23
James D. Forrester [Fri, 12 Jul 2019 23:40:51 +0000 (16:40 -0700)]
Hard-deprecate wgLocalInterwiki, deprecated in 1.23
Change-Id: Ib18c3122c4d9b8a50d314f67004cc73b8c14d40e
jenkins-bot [Wed, 17 Jul 2019 01:13:24 +0000 (01:13 +0000)]
Merge "Hard-deprecate wgSkipSkin, deprecated in 1.23"
jenkins-bot [Wed, 17 Jul 2019 00:00:37 +0000 (00:00 +0000)]
Merge "Update OOUI to v0.33.3"
jenkins-bot [Tue, 16 Jul 2019 23:25:07 +0000 (23:25 +0000)]
Merge "Fix OO.ui.infuse error on misc-authed-ooui module"
Dayllan Maza [Mon, 15 Jul 2019 20:04:38 +0000 (16:04 -0400)]
Fix OO.ui.infuse error on misc-authed-ooui module
Follows-up
419849211e3a63.
Change-Id: I1e22c70fa8c467212a02b508c68a17abf79a77e8
jenkins-bot [Tue, 16 Jul 2019 22:43:22 +0000 (22:43 +0000)]
Merge "Add mute preferences link to the tools menu"
jenkins-bot [Tue, 16 Jul 2019 22:12:17 +0000 (22:12 +0000)]
Merge "Check namespace exists in HTMLNamespacesMultiselectField validation"
Volker E [Tue, 16 Jul 2019 21:59:51 +0000 (14:59 -0700)]
Update OOUI to v0.33.3
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.33.3
Bug: T212159
Bug: T225021
Bug: T226045
Bug: T226780
Bug: T226822
Bug: T227666
Bug: T227917
Depends-On: I7dde9d02f94c4e78ef480035d3887b68d0128233
Change-Id: I7800da87a6a10399f705b43e05c8592c766bae6f
Dayllan Maza [Wed, 10 Jul 2019 17:47:07 +0000 (13:47 -0400)]
Add mute preferences link to the tools menu
A link to Special:Mute is added to the tools menu on the sidebar
if the user is logged in and a registered relevant-user* is found
Mute preferences link will not be shown if $wgEnableSpecialMute is false
* From Skin::getRelevantUser: Special pages like Special:Contributions mark
the user which they are relevant to so that things like the toolbox can
display the information they usually are only able to display on a
user's userpage and talkpage.
Bug: T218270
Change-Id: I89eb8373963d28d52a026b60aa42d1c64b31b7c6
Aaron Schulz [Mon, 15 Jul 2019 23:59:21 +0000 (16:59 -0700)]
rdbms: better handle a non-existing "defaultGroup" in LoadBalancer
If the specified default group does not have a corresponding server load map
defined, then ignore it and use GROUP_GENERIC.
Also, consolidate the group load and group reader index code for simplicity
Change-Id: Ic8bf9a3ebcbffb81fb14d7b1787a2adb97ac525d
Thalia [Tue, 16 Jul 2019 17:07:10 +0000 (18:07 +0100)]
Check namespace exists in HTMLNamespacesMultiselectField validation
Bug: T219882
Change-Id: I710d0abed6bd40dcea5bdd1c59c8d936565961eb
Fomafix [Tue, 16 Jul 2019 15:36:30 +0000 (17:36 +0200)]
Remove deprecated mw.Api.errors and mw.Api.warnings
This static properties are deprecated since 1.29.
Change-Id: Iaf3de57105d04497026305c27cd1d745820657a4
jenkins-bot [Tue, 16 Jul 2019 12:03:05 +0000 (12:03 +0000)]
Merge "Revert "RedirectSpecialPage: handle interwiki redirects.""
Krinkle [Tue, 16 Jul 2019 11:50:30 +0000 (11:50 +0000)]
Revert "RedirectSpecialPage: handle interwiki redirects."
This reverts commit
41106688abbe6dfff61c5642924ced42af3f0d33.
The original case is changed by this commit from a MediaWiki fatal
exception with HTTP 500, to a blank 200 response due to silent
failure. Use of GoToInterwiki appears to be invalid at this point in
the code. Reverting to keep prod the same as last week, so as
to unblock the train.
Bug: T227700
Change-Id: Ieece956d2e2e4c21b5ed7a75890b9f11eaf07e66
Marius Hoch [Tue, 16 Jul 2019 11:15:57 +0000 (13:15 +0200)]
doMaintenance: Try to print errors to stderr
Don't mix them in with stdout (which might be redirected,
like dump output, making the errors hard to discover).
Change-Id: Ibed8c0e8dde3e44de60bf32abd3fc5ce5d29e1ba
jenkins-bot [Tue, 16 Jul 2019 06:26:42 +0000 (06:26 +0000)]
Merge "resourceloader: Replace some Xml::encodeJs calls with RL's own encodeJson"
Fomafix [Tue, 5 Jun 2018 11:46:57 +0000 (13:46 +0200)]
Linker: Force type Language for $lang in tocList and generateTOC
The call of wfGetLangObj( $lang ) is not necessary anymore.
$lang still defaults to user interface language on unset parameter.
This change is a follow-up to I15b65fec987641885374dfef9e1229ea405f7c30.
Change-Id: I6f12097a0e6cf7d6035d1164092c8b87c58e2bee
Aaron Schulz [Sun, 30 Jun 2019 00:41:46 +0000 (17:41 -0700)]
objectcache: optimize MemcachedPeclBagOStuff::*Multi() write methods
Make use of Memcached::OPT_NO_BLOCK and Memcached::OPT_BUFFER_WRITES
at selective points to avoid slow internal blocking for loops in the
PECL extension methods. As this mode makes the return values less
meaningful, this is only triggered only if WRITE_BACKGROUND is
provided (it only catches some glaring format or size errors that the
client runs into).
Leave changeTTLMulti() to the default as the above approach would not
make it faster, since the diver does not buffer for that command.
Expand mctest.php to include *Multi() methods and also break down the
single key method timings by method.
Change-Id: I11fc58e1a2296778b2526a0b2f3103fef1baba0c
jenkins-bot [Tue, 16 Jul 2019 00:29:27 +0000 (00:29 +0000)]
Merge "resourceloader: Remove support for 'object' in wgResourceModules"
Timo Tijhof [Tue, 16 Jul 2019 00:15:32 +0000 (01:15 +0100)]
resourceloader: Replace some Xml::encodeJs calls with RL's own encodeJson
Bug: T32956
Change-Id: I614fe0e80ff308b857639a27d7772f969899b468
jenkins-bot [Tue, 16 Jul 2019 00:13:53 +0000 (00:13 +0000)]
Merge "Remove $purgeBlobs parameter from LocalisationCacheRecache hook"
markahershberger [Tue, 16 Jul 2019 00:03:12 +0000 (00:03 +0000)]
Merge "Add ImgAuthModifyHeaders hook to img_auth.php to modify headers"
Timo Tijhof [Thu, 11 Jul 2019 17:09:23 +0000 (18:09 +0100)]
resourceloader: Remove support for 'object' in wgResourceModules
Obsolete since MediaWiki 1.17alpha, no known usage since.
Bug: T222637
Change-Id: Ie820b16022ced6767c32aee7f2497a99260b1641
jenkins-bot [Mon, 15 Jul 2019 22:55:49 +0000 (22:55 +0000)]
Merge "resourceloader: Add test coverage for WikiModule::getType"
jenkins-bot [Mon, 15 Jul 2019 22:54:46 +0000 (22:54 +0000)]
Merge "resourceloader: Clean up ResourceLoaderWikiModuleTest"
James D. Forrester [Fri, 12 Jul 2019 23:40:10 +0000 (16:40 -0700)]
Hard-deprecate wgSkipSkin, deprecated in 1.23
Change-Id: Ia1013bea7216603f3b6a8148e0194f1e2a8e9b41
Timo Tijhof [Sat, 13 Jul 2019 18:32:17 +0000 (19:32 +0100)]
resourceloader: Add test coverage for WikiModule::getType
Change-Id: If004cc4ff3835091c01a4df84006be3f6fa173b2
Timo Tijhof [Sat, 13 Jul 2019 18:27:33 +0000 (19:27 +0100)]
resourceloader: Clean up ResourceLoaderWikiModuleTest
* Remove redundant any() calls.
* Use willReturn() instead of will(returnValue()).
* Use yield for providers and add missing test case descriptions.
* Use createMock() instead of wfGetDB() where the DB isn't needed.
* For provideIsKnownEmpty, re-order the cases and add a few extra
cases, and document why they behave the way they do.
Change-Id: Iba42325a55bb3dfc50a8d2af46e1ddba8dda885a
Roan Kattouw [Mon, 15 Jul 2019 22:30:15 +0000 (15:30 -0700)]
Remove $purgeBlobs parameter from LocalisationCacheRecache hook
No longer allow hook functions to prevent message blobs from being
purged. Pass in an always-true variable for backwards compatibility,
which is then ignored.
Change-Id: I27ac9599711f2f0df2514a3934270af0ce03da7f
jenkins-bot [Mon, 15 Jul 2019 21:58:57 +0000 (21:58 +0000)]
Merge "resourceloader: Add unit tests for ResourceLoaderFilePath class methods"
James Montalvo [Fri, 15 Mar 2019 04:03:29 +0000 (23:03 -0500)]
Add ImgAuthModifyHeaders hook to img_auth.php to modify headers
Change-Id: I3c6fd7b0c39d7fd52c484494233241093d152f88
jenkins-bot [Mon, 15 Jul 2019 21:29:31 +0000 (21:29 +0000)]
Merge "rdbms: set QUERY_IGNORE_DBO_TRX flag in more places in DatabaseSqlite"
jenkins-bot [Mon, 15 Jul 2019 21:28:27 +0000 (21:28 +0000)]
Merge "rdbms: fix IDatabase::setLBInfo() handling of null and allow clearing keys"
Derick Alangi [Sun, 14 Jul 2019 22:16:07 +0000 (23:16 +0100)]
resourceloader: Add unit tests for ResourceLoaderFilePath class methods
~ testConstructor() - unit test for the constructor method.
~ testGetLocalPath() - unit test for the getLocalPath() method.
~ testGetRemotePath() - unit test for the getRemotePath() method.
~ testGetPath() - unit test for the getPath() method.
Change-Id: I0610938dd864931da7a7e1150ddb4d86ab9a2c5e
Roan Kattouw [Mon, 15 Jul 2019 21:03:09 +0000 (14:03 -0700)]
Fix JS error in MessagePoster when (optional) options param not given
Change-Id: I77c53862431402d18ff995b410bba9eca9c3beff
Follows-Up: I80c401c56e231b34822791faffebc84d4933b922
jenkins-bot [Mon, 15 Jul 2019 20:22:28 +0000 (20:22 +0000)]
Merge "Drop NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14"
jenkins-bot [Mon, 15 Jul 2019 20:21:01 +0000 (20:21 +0000)]
Merge "Allow skins/extensions to define custom OOUI themes"
James D. Forrester [Fri, 12 Jul 2019 23:20:57 +0000 (16:20 -0700)]
Drop NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14
Change-Id: Id980c3d9bbadae219181b07f22aa58cbc2efbdc6
jenkins-bot [Mon, 15 Jul 2019 20:09:10 +0000 (20:09 +0000)]
Merge "Drop remnants of wgHtml5/wgJsMimeType/wgXhtmlDefaultNamespace support, killed in 1.22"
James D. Forrester [Fri, 12 Jul 2019 23:30:07 +0000 (16:30 -0700)]
Drop remnants of wgHtml5/wgJsMimeType/wgXhtmlDefaultNamespace support, killed in 1.22
Change-Id: I6bb849543fb3cfd50a4d99bb6a69e228913b9def
jenkins-bot [Mon, 15 Jul 2019 18:40:11 +0000 (18:40 +0000)]
Merge "Add change-tags to MessagePoster"
jenkins-bot [Mon, 15 Jul 2019 17:33:32 +0000 (17:33 +0000)]
Merge "Add success variables to message group and unify values"
jenkins-bot [Mon, 15 Jul 2019 17:26:45 +0000 (17:26 +0000)]
Merge "objectcache: make getMultiWith(Union)SetCallback() usage easier"
jenkins-bot [Mon, 15 Jul 2019 15:48:04 +0000 (15:48 +0000)]
Merge "objectcache: add regen_walltime metric to WANObjectCache::getWithSetCallback()"
jenkins-bot [Mon, 15 Jul 2019 14:07:50 +0000 (14:07 +0000)]
Merge "Allow setting email even when blocked from sending emails"
Volker E [Mon, 15 Jul 2019 12:34:56 +0000 (05:34 -0700)]
Add success variables to message group and unify values
Adding `@*success` variables to “Message” variable group and
unifying values with Style Guide.
Also renaming `@colorErrorText` to @colorError` &
`@colorWarningText` to @colorWarning` to stay in naming
convention.
Bug: T226795
Change-Id: I49ca4b8f510888dff7a2487470174666143bcd76
Aaron Schulz [Mon, 15 Jul 2019 03:42:47 +0000 (20:42 -0700)]
rdbms: set QUERY_IGNORE_DBO_TRX flag in more places in DatabaseSqlite
Change-Id: Id965d35a3feb331ded31ecb39f342ce23a061712
Aaron Schulz [Mon, 15 Jul 2019 02:54:47 +0000 (19:54 -0700)]
rdbms: fix IDatabase::setLBInfo() handling of null and allow clearing keys
Change-Id: I20cb799b54cabb1172940f8ece93b7f45d7cf0ba
jenkins-bot [Mon, 15 Jul 2019 02:30:01 +0000 (02:30 +0000)]
Merge "resourceloader: Speed up dependency checks in structure/ResourcesTest"
Sam Wilson [Thu, 11 Jul 2019 04:59:32 +0000 (12:59 +0800)]
Add change-tags to MessagePoster
Add the ability to add change tags to talk page messages submitted
via wikitext MessagePoster, via a new 'options' parameter to the post()
function.
Bug: T227161
Change-Id: I80c401c56e231b34822791faffebc84d4933b922
Timo Tijhof [Sun, 14 Jul 2019 23:49:30 +0000 (00:49 +0100)]
resourceloader: Speed up dependency checks in structure/ResourcesTest
Stats from wmf-quibble-core-vendor-mysql-php72-docker builds.
Before:
* testIllegalDependencies (+21ms)
* testMissingDependencies (+254ms)
After:
* testValidDependencies (+17ms)
Bug: T225730
Change-Id: Idf760a27c7ad16d4838ae82e7895b659934fbf93
jenkins-bot [Mon, 15 Jul 2019 01:56:45 +0000 (01:56 +0000)]
Merge "Load GlobalFunctions.php to tests/phpunit/bootstrap.php"
jenkins-bot [Mon, 15 Jul 2019 01:56:36 +0000 (01:56 +0000)]
Merge "resourceloader: Remove register() 'object' use in OutputPageTest"
jenkins-bot [Sun, 14 Jul 2019 23:40:17 +0000 (23:40 +0000)]
Merge "Split HttpTest and SessionTest to unit and integration"
jenkins-bot [Sun, 14 Jul 2019 23:36:24 +0000 (23:36 +0000)]
Merge "tests: Move unit/languages to unit/includes/language"
Timo Tijhof [Sun, 14 Jul 2019 19:57:00 +0000 (20:57 +0100)]
tests: Move unit/languages to unit/includes/language
These source classes they test were also moved from
languages/ to includes/languages/.
Bug: T225756
Change-Id: I6931d459bbfa243d2a28f391f92bce70f1e52256
Translation updater bot [Sun, 14 Jul 2019 20:16:41 +0000 (22:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I530ffee4e3aa0dd4b1e38ca12f70d02ad5c5447e
Timo Tijhof [Fri, 12 Jul 2019 17:30:06 +0000 (18:30 +0100)]
resourceloader: Remove register() 'object' use in OutputPageTest
Follows-up
d6dd6e4d7220a7b, missed one :)
Bug: T222637
Change-Id: I105772d655ce1b64e3eb1d6222b57adfb69ec51d
jenkins-bot [Sun, 14 Jul 2019 17:18:35 +0000 (17:18 +0000)]
Merge "Setup: Remove $wgDebugPrintHttpHeaders option"
Aaron Schulz [Fri, 12 Jul 2019 18:24:51 +0000 (11:24 -0700)]
objectcache: add regen_walltime metric to WANObjectCache::getWithSetCallback()
Change-Id: I7918a6ed7a5d3d845c640aeeb78c88f1345f5157
jenkins-bot [Sun, 14 Jul 2019 17:03:37 +0000 (17:03 +0000)]
Merge "Import PSR NullLogger instead of using absolute class references"
Aaron Schulz [Fri, 12 Jul 2019 22:48:25 +0000 (15:48 -0700)]
objectcache: make getMultiWith(Union)SetCallback() usage easier
Add WANObjectCache::multiRemap() as an array_combine() wrapper for
easily working with IDs after getMultiWith(Union)SetCallback() calls.
Make the enforcement of uniqueness in makeMultiKeys() stricter and
discourage poor key design in comments. Add WANObjectCache::hash256()
method for getting good key component hashes.
Also avoid pointless use of ArrayIterator::getArrayCopy().
Change-Id: I61ffdbf4af4374864bac180df590b4dddc8da56b