Aaron Schulz [Wed, 24 Oct 2018 11:05:41 +0000 (04:05 -0700)]
rdbms: Use "mixed" type for $profiler field in LoadBalancer
Change-Id: I8d110d0420a155bb62f4212933d9de2562dc7661
jenkins-bot [Wed, 24 Oct 2018 05:30:14 +0000 (05:30 +0000)]
Merge "Remove old "bulletin board style toolbar" from core"
jenkins-bot [Wed, 24 Oct 2018 03:15:39 +0000 (03:15 +0000)]
Merge "Enforce partial blocks"
jenkins-bot [Wed, 24 Oct 2018 01:45:25 +0000 (01:45 +0000)]
Merge "Add partial block details to block-log entries."
jenkins-bot [Wed, 24 Oct 2018 01:45:18 +0000 (01:45 +0000)]
Merge "Update Special:Block to set Partial Blocks"
jenkins-bot [Wed, 24 Oct 2018 01:35:54 +0000 (01:35 +0000)]
Merge "TitlesMultiselectWidget: Add a widget that allows selection of multiple titles"
jenkins-bot [Wed, 24 Oct 2018 01:28:36 +0000 (01:28 +0000)]
Merge "Add block restriction classes"
Dayllan Maza [Mon, 27 Aug 2018 01:45:18 +0000 (21:45 -0400)]
Enforce partial blocks
Enforce partial blocks and display a slightly different block
notice depending on if the block is sitewide or not
Bug: T197117
Depends-On: I675316dddf272fd0d6172ecad3882160752bf780
Change-Id: I8a3635a4a04a33912eb139b7b13c4bd874183d31
Tim Starling [Wed, 24 Oct 2018 00:21:28 +0000 (17:21 -0700)]
Fix slow query counting by unindexed field ar_page_id
Bug: T207530
Change-Id: I81a70ca03fd219d2e96b17714645d9cc4f99b3b9
Dayllan Maza [Wed, 19 Sep 2018 05:51:49 +0000 (01:51 -0400)]
Add partial block details to block-log entries.
Block information needs to be more detailed if a block is not
sitewide. With this change, page restrictions will be visible
as part of the block information in Special:Contributions,
Special:Block, and Special:Log and via API
Bug: T197108
Change-Id: I5d2ef606f709bdd60bf52e2a048890b0f6360fca
David Barratt [Mon, 27 Aug 2018 22:19:37 +0000 (18:19 -0400)]
Update Special:Block to set Partial Blocks
Make the necessary UI changes to Special:Block in order to set/update
partial blocks.
Bug: T197109
Change-Id: Ib3067824b5dcbdd893ab1f165d169a35d0716cb2
Moriel Schottlender [Thu, 30 Aug 2018 00:33:32 +0000 (17:33 -0700)]
TitlesMultiselectWidget: Add a widget that allows selection of multiple titles
Add the widget in both PHP and JS for OOUI, and into HTMLForm
definitions.
In JS, the widget uses the engine from mw.widgets.TitleWidget
with the async support from OO.ui.mixin.RequestManager.
The PHP version provides a textarea, like UsersMultiselectWidget.php
which is then infused if JS is available.
Also, add highlightSearchQuery option for TitleWidget to allow for
not highlighting the partial search query the user typed in, if the
UI requires it. This option (highlighting partial result) is already
optional in the TitleOptionWidget, so this config exposes that
optionality in the TitleWidget widget for its menu children.
Notes:
HTMLTitlesMultiselectField is a duplication of HTMLUsersMultiselectField
except for:
- The configuration variable changed to 'titles' (from 'users')
- OOUI modules were adjusted for the TitlesMultiselectWidget
- The PHP version instantiates a MediaWiki\Widget\TitlesMultiselectWidget
TitlesMultiselectWidget is a duplication of UsersMultiselectWidget
except for:
- $usersArray was renamed to $titlesArray
- getJavascriptClassName returns the correct js class for
mw.widgets.TitlesMultiselectWidget for infusion.
Bug: T197109
Depends-On: I675316dddf272fd0d6172ecad3882160752bf780
Change-Id: Ie96947a35f70b76731e16ae5b85de815dfa4a8ce
Dayllan Maza [Thu, 16 Aug 2018 04:55:55 +0000 (00:55 -0400)]
Add block restriction classes
Partial blocks logic will be used in multiple places. This
classes will group block restriction functionality to avoid
code duplication
Bug: T202036
Change-Id: I675316dddf272fd0d6172ecad3882160752bf780
Translation updater bot [Tue, 23 Oct 2018 19:53:55 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If085dbc6560e9580ac86ddb42a4f730d47f1e605
jenkins-bot [Tue, 23 Oct 2018 18:54:35 +0000 (18:54 +0000)]
Merge "Remove fixed phpcs:ignore"
Umherirrender [Tue, 23 Oct 2018 18:35:00 +0000 (20:35 +0200)]
Remove fixed phpcs:ignore
Follow-Up: I418345870e25fa37df0195ddc74193b54fe6d2a5
Change-Id: I0b3a546455c2f35d3aeadbdd31a07bdb1958a74c
James D. Forrester [Tue, 23 Oct 2018 17:52:51 +0000 (10:52 -0700)]
RELEASE-NOTES-1.32: Add all new/changed libraries in resources/lib
Change-Id: I1dffba3bb31850e1a2f1529c49329ba7c9c7d4a7
Ariel T. Glenn [Tue, 23 Oct 2018 15:18:47 +0000 (18:18 +0300)]
fix stubs dump query to use straight join
regression from a combination of
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/380669/
and
https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/459885/
We have to do a straight join for all stubs, since they all
now order revisions by rev_id after deployment of the second
patchset above.
Bug: T207628
Change-Id: I4d2a311c14c66d4813eb9fc3c587fa3ddb958454
jenkins-bot [Tue, 23 Oct 2018 05:38:22 +0000 (05:38 +0000)]
Merge "Fix warnings in SpecialEmailuser"
jenkins-bot [Mon, 22 Oct 2018 21:50:06 +0000 (21:50 +0000)]
Merge "Make Language::hasVariant() more strict"
C. Scott Ananian [Fri, 19 Oct 2018 19:00:52 +0000 (15:00 -0400)]
Make Language::hasVariant() more strict
In
d59f27aeab08b171e5ab6a081e763a4cad0bca04 we made
LanguageConverter::validateVariant() try harder to convert a variant
into an acceptable MediaWiki-internal form, looking at deprecated
codes and BCP 47 aliases. However, this misled Language::hasVariant()
into thinking that bogus names (like all-uppercase strings) were
acceptable variant names, which then led exceptions when they were
passed to the various conversion methods.
This is a belt-and-suspenders patch for T207433 -- in that case we
shouldn't have created a Language object with code 'sr-cyrl' in the
first place, but once one was created we shouldn't have tried to
ask LanguageSr to convert texts to 'sr-cyrl'. The latter problem
is fixed by this patch.
Bug: T207433
Change-Id: Id993bc7989144b5031a551662e8e492bd23f698a
Amir Sarabadani [Mon, 22 Oct 2018 19:59:35 +0000 (21:59 +0200)]
Fix warnings in SpecialEmailuser
Change-Id: I527f8891f3821e0e8a4c65db97fdbe8ba5dd3e76
Translation updater bot [Mon, 22 Oct 2018 19:53:57 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Id5f41040e7924ee2a377f5bb47999ff8a5987831
jenkins-bot [Mon, 22 Oct 2018 19:43:21 +0000 (19:43 +0000)]
Merge "Remove UtfNormal class"
jenkins-bot [Mon, 22 Oct 2018 19:33:56 +0000 (19:33 +0000)]
Merge "Hard-deprecate LegacyHookPreAuthenticationProvider class"
Reedy [Thu, 31 May 2018 23:37:07 +0000 (00:37 +0100)]
Remove UtfNormal class
Change-Id: I1cab16d95ed888b482d23f73577c988700e0bca4
Gergő Tisza [Wed, 10 Oct 2018 01:21:54 +0000 (18:21 -0700)]
Hard-deprecate LegacyHookPreAuthenticationProvider class
The hooks that used to be called by this class will be removed in
I24d6fa963. The only reason to keep this class around is that
someone might have added it to $wgAuthManagerConfig so removing
it would trigger class lookup failures, so make sure any use
of the class triggers a deprecation warning.
Change-Id: I9755288eda7461ecf3dcd35de2081fbb3eb04ae3
Kunal Mehta [Mon, 22 Oct 2018 18:17:40 +0000 (11:17 -0700)]
Update wikimedia/base-convert to 2.0.0
The breaking change is dropping PHP 5 support.
Bug: T194052
Depends-On: I4de5c0ab827c96e2cef4e0b2cd7d10a109393668
Change-Id: If39ea5274bfa3c9b0ce18f9a43a27445a90ea3fc
jenkins-bot [Mon, 22 Oct 2018 17:39:12 +0000 (17:39 +0000)]
Merge "Remove untidy wrapper from ImagePage::makeMetadataTable()"
jenkins-bot [Mon, 22 Oct 2018 17:38:02 +0000 (17:38 +0000)]
Merge "Fix bad join on ChangeTag subquery"
jenkins-bot [Mon, 22 Oct 2018 17:13:50 +0000 (17:13 +0000)]
Merge "Include BCP 47 codes in $wgDummyLanguageCodes, but deprecate it"
jenkins-bot [Mon, 22 Oct 2018 17:08:50 +0000 (17:08 +0000)]
Merge "Deprecate $wgFixArabicUnicode / $wgFixMalayalamUnicode"
jenkins-bot [Mon, 22 Oct 2018 16:47:47 +0000 (16:47 +0000)]
Merge "Follow-up T174035: Wrap inline ternary in brackets to make phpcs happy"
C. Scott Ananian [Wed, 17 Oct 2018 14:47:35 +0000 (10:47 -0400)]
Remove untidy wrapper from ImagePage::makeMetadataTable()
Replace a fragile <div> wrapper with the robust
OutputPage::wrapWikiTextAsInterface() wrapper.
Bug: T205624
Change-Id: I0a1ba0da6af97f0233afdd8ba7202abed0998419
jenkins-bot [Mon, 22 Oct 2018 16:33:57 +0000 (16:33 +0000)]
Merge "Remove Language::truncate(), deprecated in MW 1.31"
James D. Forrester [Mon, 22 Oct 2018 16:23:22 +0000 (09:23 -0700)]
Follow-up T174035: Wrap inline ternary in brackets to make phpcs happy
Bug: T203805
Change-Id: I418345870e25fa37df0195ddc74193b54fe6d2a5
jenkins-bot [Mon, 22 Oct 2018 15:48:46 +0000 (15:48 +0000)]
Merge "Rename WebInstallerOutput::addWikiTextInterface"
jenkins-bot [Mon, 22 Oct 2018 15:08:42 +0000 (15:08 +0000)]
Merge "Fix comment handling on image upload or deletion"
Amir Sarabadani [Mon, 22 Oct 2018 13:53:29 +0000 (15:53 +0200)]
Fix bad join on ChangeTag subquery
Bug: T207313
Change-Id: Iae6440630a533dfbcee3ccec34a9f231d3d013b5
jenkins-bot [Mon, 22 Oct 2018 10:19:12 +0000 (10:19 +0000)]
Merge "Replace be-x-old. by https://be-tarask."
C. Scott Ananian [Mon, 22 Oct 2018 03:00:14 +0000 (23:00 -0400)]
Rename WebInstallerOutput::addWikiTextInterface
Follow up to I89f3398cffa771afcd5a33cfd11eb8510af3e7f7: this patch
was intended to mirror a new method added to OutputPage in
Ia58910164baaca608cea3b24333b7d13ed773339 but the bikeshed was painted
a slightly different color before the OutputPage patch was merged, and
somehow this patch wasn't changed to match. The `addWikiTextInterface`
name was never included in a released MW version, so we don't need to
deprecate it, just fix it.
Change-Id: I636cb0ea0f9631c4c5e2bc118f479aec76d2b231
jenkins-bot [Mon, 22 Oct 2018 02:00:35 +0000 (02:00 +0000)]
Merge "Use OutputPage::wrapWikiTextAsInterface() to add safe <div> wrappers"
C. Scott Ananian [Fri, 19 Oct 2018 15:06:15 +0000 (11:06 -0400)]
Deprecate $wgFixArabicUnicode / $wgFixMalayalamUnicode
These were introduced in MW 1.17 and are always true in production.
They were useful to allow folks to defer title conversion, but it's
been a long time now. We don't need to make this optional any more.
Change-Id: I65dcfe80dc3e1dfeb4d63924a8928655e012a20c
jenkins-bot [Mon, 22 Oct 2018 01:49:58 +0000 (01:49 +0000)]
Merge "Use OutputPage::addWikiTextAsInterface() instead of untidy addWikiText()"
Translation updater bot [Sun, 21 Oct 2018 20:11:24 +0000 (22:11 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I12979463cbff3cd1b6ed46ffe3a7839be0c35605
jenkins-bot [Sun, 21 Oct 2018 19:45:00 +0000 (19:45 +0000)]
Merge "Equalization translations for Serbian"
jenkins-bot [Sun, 21 Oct 2018 19:11:33 +0000 (19:11 +0000)]
Merge "Bump release notes for RemexHtml upgrade"
Kunal Mehta [Sun, 21 Oct 2018 18:48:59 +0000 (11:48 -0700)]
Bump release notes for RemexHtml upgrade
Change-Id: I43190e3dc8c74da4e226e173941fb6bdce454a02
jenkins-bot [Sun, 21 Oct 2018 18:03:42 +0000 (18:03 +0000)]
Merge "Remove mention of $wgHTCPMulticastRouting, not present since MW 1.24"
jenkins-bot [Sun, 21 Oct 2018 17:59:13 +0000 (17:59 +0000)]
Merge "Upgrade wikimedia/remex-html to 2.0.1"
Zoranzoki21 [Sun, 14 Oct 2018 12:35:10 +0000 (14:35 +0200)]
Equalization translations for Serbian
Change-Id: I36a214181d24610fa0224d51223b1789d93be777
jenkins-bot [Sun, 21 Oct 2018 17:33:26 +0000 (17:33 +0000)]
Merge "Output Done! at end of resetUserEmail.php"
Brian Wolff [Thu, 27 Sep 2018 11:42:37 +0000 (11:42 +0000)]
SECURITY: Don't allow loading unprotected JS files
This is meant to protect against malicious people while avoiding
annoying good users as much as possible. We may want to restrict
this further in the future, but that's something that can be discussed
in the normal way.
Bug: T194204
Bug: T113042
Bug: T112937
Change-Id: I27e049bae78b5c0f63b10f454b740cb1dc394813
jenkins-bot [Sun, 21 Oct 2018 15:45:14 +0000 (15:45 +0000)]
Merge "Add .vscode to .gitignore file"
Zoranzoki21 [Sun, 21 Oct 2018 13:47:48 +0000 (15:47 +0200)]
Add .vscode to .gitignore file
.vscode is place of configurations for Visual Studio Code.
Change-Id: Ie066b9773af757181f325c090af1af68d4954236
Zoranzoki21 [Sat, 29 Sep 2018 00:06:23 +0000 (03:06 +0300)]
installer: Don't link to the obsolete "Extension Matrix" page
Bug: T205765
Change-Id: Id1ba965c7c06ce03611ba745421dc982f5393f8c
Kunal Mehta [Sun, 21 Oct 2018 05:12:14 +0000 (22:12 -0700)]
Upgrade wikimedia/remex-html to 2.0.1
Bug: T207088
Depends-On: Id4bbbdb68678c37ec4aa84d519516199bb800393
Change-Id: Ia5822f5f283f5d935c78402ce71e2d010e9a7a91
Reedy [Sat, 20 Oct 2018 22:48:55 +0000 (23:48 +0100)]
Output Done! at end of resetUserEmail.php
Change-Id: I8e5572f0a60e74eec300031e75b79ee71ffc008d
jenkins-bot [Sat, 20 Oct 2018 20:34:23 +0000 (20:34 +0000)]
Merge "Don't pass a MailAddress pass the email to mail()"
jenkins-bot [Sat, 20 Oct 2018 20:16:15 +0000 (20:16 +0000)]
Merge "Fix typo in includes/watcheditem/WatchItemStoreInterface.php"
Translation updater bot [Sat, 20 Oct 2018 20:00:02 +0000 (22:00 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I508681048d303f4814be18462689688b93443813
Alangi Derick [Fri, 19 Oct 2018 20:21:35 +0000 (21:21 +0100)]
Fix typo in includes/watcheditem/WatchItemStoreInterface.php
Comment didn't quite make sense, fixing the typo by removing "the"
made it a little better and clear.
Change-Id: I33abdb3489ab704d50722a8df6acb402592908b2
Fomafix [Sat, 20 Oct 2018 18:49:56 +0000 (20:49 +0200)]
Replace http://be-x-old. by https://be-tarask.
Change-Id: I9a3f20bf3caaf9a0529f66f85953d56b8a34067e
Reedy [Sat, 20 Oct 2018 12:37:15 +0000 (13:37 +0100)]
Don't pass a MailAddress pass the email to mail()
Bug: T207541
Change-Id: I1516023907e9773cb093010c6b67279f695abb1a
Kunal Mehta [Sat, 20 Oct 2018 12:35:22 +0000 (05:35 -0700)]
Include IP address in "Login for $1 succeeded" log entry
Bug: T207540
Change-Id: Iab4f2f2ddc8e64ead2f33356d03fa7beed399415
jenkins-bot [Fri, 19 Oct 2018 23:14:32 +0000 (23:14 +0000)]
Merge "Convert Special:EmailUser to use OOUIHTMLForm"
jenkins-bot [Fri, 19 Oct 2018 22:58:05 +0000 (22:58 +0000)]
Merge "RCFilters: Fix highlight circles for unseen changes"
jenkins-bot [Fri, 19 Oct 2018 21:44:29 +0000 (21:44 +0000)]
Merge "Deprecate $wgSquidPurgeUseHostHeader"
jenkins-bot [Fri, 19 Oct 2018 21:43:27 +0000 (21:43 +0000)]
Merge "Deprecate $wgUseESI"
jenkins-bot [Fri, 19 Oct 2018 20:55:47 +0000 (20:55 +0000)]
Merge "objectcache: avoid using heavily time-drifted microtime() values in WAN cache"
jenkins-bot [Fri, 19 Oct 2018 20:55:41 +0000 (20:55 +0000)]
Merge "During special page transclusion, save and restore context's WikiPage too"
Roan Kattouw [Fri, 19 Oct 2018 20:38:44 +0000 (13:38 -0700)]
RCFilters: Fix highlight circles for unseen changes
These are supposed to be unfilled, but the CSS wasn't being applied
because it didn't have -color in the class name. Put it back into the
&-color block where it belongs.
Bug: T207472
Change-Id: Ic517b9a1a0e8e95015f5b2bd3517c36bff3b20e8
Follows-Up: I76fec57ff237ba02afefcea28916d8348bac9b0e
Bartosz Dziewoński [Wed, 17 Oct 2018 23:23:27 +0000 (01:23 +0200)]
During special page transclusion, save and restore context's WikiPage too
Setting the Title by calling setTitle clears the WikiPage, and the
next time getWikiPage() is called, it will be lazy-initialized to a
different instance of WikiPage.
This is mostly okay (the behavior has been like this for years and no
one noticed any problems), but it turns out that some extensions
(ConfirmEdit) use custom properties on the WikiPage object to pass
data between different hooks, which are lost when it's re-initialized.
Bug: T207065
Change-Id: I2881895f337bcfb1f86d5fc5a994fa9b0dcc768a
Translation updater bot [Fri, 19 Oct 2018 20:02:41 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic7961893e9cd4f67fdfdeb36c00ce414444c3f15
Roan Kattouw [Fri, 19 Oct 2018 19:18:35 +0000 (12:18 -0700)]
RCFilters: Fix completely broken highlight circles
- Correct highlights class name (mw-rcfilters-ui-highlights, not
mw-rcfilters-ui-changesListWrapperWidget-highlights)
- Remove -circle class suffix that the circles don't actually have
- Go back to using float: right; instead of text-align: right;
(you can't use text-align for things that aren't inline)
- For seen/unseen watched items, apply circle mixin to the actual
circles themselves, not their parents
Bug: T207472
Change-Id: Iade1af4299826a4e8a2108425ace9a406f0aa8cb
Follows-Up: I76fec57ff237ba02afefcea28916d8348bac9b0e
C. Scott Ananian [Fri, 19 Oct 2018 14:40:38 +0000 (10:40 -0400)]
Include BCP 47 codes in $wgDummyLanguageCodes, but deprecate it
Add BCP 47 codes to $wgDummyLanguageCodes to ensure that
Language::factory() will return a valid MediaWiki-internal code if
given a BCP 47 alias. We will want to make $wgDummyLanguageCodes a
private property of LanguageCode eventually, but let's start with
removing it from user configuration.
Setting $wgDummyLanguageCodes in LocalSettings.php has been deprecated
since 1.29. Hard deprecate adding entries to $wgDummyLanguageCodes so
that we can eventually remove manual overrides from user
configuration.
This is a follow-up to
48ab87d0a37da80c2e2ae3a20f645548d2a787f9,
which described the various categories of codes, and
21ead7a98d1a103b77f1e3ba29a85493782d398b, which added the correct
BCP 47 mappings.
Bug: T207433
Change-Id: I9f6dda3360f79ab65f6392f44c98926588d851c8
C. Scott Ananian [Fri, 19 Oct 2018 15:42:26 +0000 (11:42 -0400)]
Remove mention of $wgHTCPMulticastRouting, not present since MW 1.24
Change-Id: I04ba9761e98ac4cf177cd2581f0304206cd4365c
C. Scott Ananian [Fri, 19 Oct 2018 15:40:17 +0000 (11:40 -0400)]
Deprecate $wgSquidPurgeUseHostHeader
This header supports Squid in forward-proxy mode using HTTP/1.0
HTTP headers. It is not used in production.
Change-Id: I99646c9c5519bd55b3d4988306e379f89d413bdc
C. Scott Ananian [Fri, 19 Oct 2018 15:36:44 +0000 (11:36 -0400)]
Deprecate $wgUseESI
This was an experimental Squid 3 feature which is now defunct.
Change-Id: I799d87309b0dc77100900b75040fa9b85a35fc9a
jenkins-bot [Fri, 19 Oct 2018 15:23:20 +0000 (15:23 +0000)]
Merge "Watchlist: Commit after each batch watchlist insertion and removal"
jenkins-bot [Thu, 18 Oct 2018 22:04:45 +0000 (22:04 +0000)]
Merge "Add docs and minor cleanup in PHPVersionCheck.php"
Brad Jorsch [Thu, 18 Oct 2018 21:12:44 +0000 (17:12 -0400)]
Fix comment handling on image upload or deletion
Before Iab5f5215, the call to CommentStore::insertWithTempTable() also
happened to populate image_comment_temp for the later call to
insertSelect() when moving rows from the image table to oldimage or
filearchive. There was nothing in the image table itself that needed
updating.
In that change those calls were changed to CommentStore::insert(), but
it was missed that in that case we do have to update the image table
itself.
Bug: T207419
Change-Id: I26c417c9ab8a9160a7c7ec548ffdfabf17f01980
Brad Jorsch [Thu, 18 Oct 2018 20:51:42 +0000 (16:51 -0400)]
Add COALESCE for image deletion and imgcomment_description_id
I have no idea why this suddenly started raising an error rather than it
doing so since February (I0dd7258fe). But this should fix it.
Bug: T207419
Change-Id: Id97e1c7c2655d90928c777bc3377e5ea23f49f6b
jenkins-bot [Thu, 18 Oct 2018 20:41:25 +0000 (20:41 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Thu, 18 Oct 2018 20:15:50 +0000 (20:15 +0000)]
Merge "Add ICU mapping for versions 62 and 63"
Translation updater bot [Thu, 18 Oct 2018 20:15:04 +0000 (22:15 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Idb8c9ff1533aa8470455dba149333a6212c509a5
jenkins-bot [Thu, 18 Oct 2018 19:34:20 +0000 (19:34 +0000)]
Merge "Sort allowed log actions when displaying"
Reedy [Thu, 18 Oct 2018 19:03:59 +0000 (20:03 +0100)]
Add ICU mapping for versions 62 and 63
Change-Id: I5e1238e856d4149c30806e6b2cb3619c0c9c1dbf
Aaron Schulz [Thu, 18 Oct 2018 18:42:27 +0000 (11:42 -0700)]
objectcache: avoid using heavily time-drifted microtime() values in WAN cache
Change-Id: Ifcb9e4b4a1d5adfdaaa6ea505e34956516b871de
Kosta Harlan [Tue, 2 Oct 2018 19:55:53 +0000 (15:55 -0400)]
Watchlist: Commit after each batch watchlist insertion and removal
With this change, adding large numbers (500+) of items to one's Watchlist via
Special:EditWatchlist/raw will no longer trigger DBPerformance warnings
for "max affected rows expectation not met". The same code mechanism is added
for bulk removal of watchlist items.
Bug: T171898
Depends-On: Ia0f496b8bfb2b68217d0f45f892045538494bfdc
Change-Id: I832b1843d1341b05227cdee2549bdcefa21eb300
Alangi Derick [Thu, 18 Oct 2018 17:50:48 +0000 (18:50 +0100)]
Add docs and minor cleanup in PHPVersionCheck.php
- Consistency of the acronym PHP instead of "php".
- Add documentation to $functionsExtensionsMapping.
Change-Id: I06b507128bc3b95605a764cd63f621dbae3b2dc3
jenkins-bot [Thu, 18 Oct 2018 17:36:13 +0000 (17:36 +0000)]
Merge "Fix jqueryMsg breaking when passed an undefined param"
jenkins-bot [Thu, 18 Oct 2018 17:05:10 +0000 (17:05 +0000)]
Merge "Revert "Introduce Special:RedirectExternal""
Jakob Warkotsch [Thu, 18 Oct 2018 16:02:12 +0000 (18:02 +0200)]
Fix jqueryMsg breaking when passed an undefined param
This restores the behavior for undefined params as it was before
I445f9194bb8b2ed35baafbda30d1d0d008b64e2c
Bug: T207397
Change-Id: I751f01a9b3cd8bb87d7d7def98c918a87ddf81cd
Matěj Suchánek [Thu, 2 Aug 2018 10:02:02 +0000 (12:02 +0200)]
Sort allowed log actions when displaying
This makes searching in the dropdown on Special:ApiSandbox simpler
because it keeps actions of the same log type together.
Change-Id: I240f5e19938393d5c15a1f5e7dd27780957231c0
Kosta Harlan [Thu, 18 Oct 2018 16:15:21 +0000 (16:15 +0000)]
Revert "Introduce Special:RedirectExternal"
This reverts commit
b83cf88837d589ae82a41fffb68dd82855aff2e5.
Reason for revert: Security concerns, needs some more nuance.
Change-Id: I5823c3da77accca9839f9632611315223e05351b
jenkins-bot [Thu, 18 Oct 2018 15:34:41 +0000 (15:34 +0000)]
Merge "ImagePage: Inherit parent's handling for action=render"
jenkins-bot [Thu, 18 Oct 2018 08:26:57 +0000 (08:26 +0000)]
Merge "Reword 'prefixindex-strip' to "Hide the prefix in results""
Bartosz Dziewoński [Thu, 18 Oct 2018 03:06:23 +0000 (05:06 +0200)]
ImagePage: Inherit parent's handling for action=render
ImagePage::render() was calling parent::view() instead of
parent::render(), thus skipping Article::render() entirely.
Therefore the logic to disable section edit links (and also,
to add an 'X-Robots-Tag: noindex' header) was not being used.
This fixes T65891 and T21415 for pages in 'File:' namespace.
Bug: T206546
Change-Id: I36ae716c9a363ae29b7a785cc41430301250baba
Max Semenik [Tue, 24 Jul 2018 22:05:22 +0000 (15:05 -0700)]
New hook ApiOptions
We need it to inform API clients they're changing globally overridden
preferences.
Bug: T198913
Change-Id: I692a1fb42b73d72814f31bfe9bd400c65f59d83c