lhc/web/wiklou.git
6 years agoAdd release notes for CSSMin bug fix
Timo Tijhof [Mon, 23 Apr 2018 16:18:03 +0000 (17:18 +0100)]
Add release notes for CSSMin bug fix

Follows-up 5333d63cb.

Change-Id: Ib504500308630daa1051c21da8721b3058d8d793

6 years agordbms: make sure cpPosIndex cookie is applied to LBFactory in time
Aaron Schulz [Fri, 20 Apr 2018 20:45:49 +0000 (13:45 -0700)]
rdbms: make sure cpPosIndex cookie is applied to LBFactory in time

Once getMain() was called in setSchemaAliases(), the ChronologyProtector
was initialized and the setRequestInfo() call in Setup.php had no effect.
Only the request values read in LBFactory::__construct() were used, which
reflect $_GET but not cookie values.

Use the $wgDBtype variable to avoid this and add an exception when that
sort of thing happens.

Further defer instantiation of ChronologyProtector so that methods like
ILBFactory::getMainLB() do not trigger construction.

Bug: T192611
Change-Id: I735d3ade5cd12a5d609f4dae19ac88fec4b18b51

6 years agoMerge "jquery.tablesorter: References ignored in sortkey."
jenkins-bot [Mon, 23 Apr 2018 14:05:11 +0000 (14:05 +0000)]
Merge "jquery.tablesorter: References ignored in sortkey."

6 years agojquery.tablesorter: References ignored in sortkey.
madd [Sun, 22 Apr 2018 13:52:03 +0000 (15:52 +0200)]
jquery.tablesorter: References ignored in sortkey.

Text in elements with class='reference' excluded for sorting.

Bug: T29745
Change-Id: If3969c00cbb7a74362fe85f4cad361da488526d5

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 22 Apr 2018 19:52:41 +0000 (21:52 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic59e840c7e00449454f0d402f57e26003e169417

6 years agoFix typo: bytePointLimit -> byteLimit
Ed Sanders [Sun, 22 Apr 2018 11:48:59 +0000 (12:48 +0100)]
Fix typo: bytePointLimit -> byteLimit

Change-Id: Ifafc4bdd6663e1ccfa6be938e5fc72fd1442a9a5

6 years agoRemove cssclass in the favor of 'type' => 'user'
Jayprakash12345 [Sat, 21 Apr 2018 23:20:10 +0000 (04:50 +0530)]
Remove cssclass in the favor of 'type' => 'user'

Bug: T192694
Change-Id: If385c16c9099475d50dcb775484f710450360ed2

6 years agoMerge "Remove cssclass in the favor of 'type' => 'user'"
jenkins-bot [Sat, 21 Apr 2018 20:54:25 +0000 (20:54 +0000)]
Merge "Remove cssclass in the favor of 'type' => 'user'"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 21 Apr 2018 19:54:38 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If368d4b40a1bde11c66da9bf24be7ad60452e665

6 years agoMerge "Add Gorontalo language file"
jenkins-bot [Sat, 21 Apr 2018 19:35:41 +0000 (19:35 +0000)]
Merge "Add Gorontalo language file"

6 years agoAdd Gorontalo language file
Martin Urbanec [Fri, 16 Mar 2018 21:11:13 +0000 (21:11 +0000)]
Add Gorontalo language file

Bug: T189127
Change-Id: Ib15fcc1b1b63674afdc0642e7139e11972898c95

6 years agoMerge "MessagesEs.php: add non-camelcase names to some special page names"
jenkins-bot [Sat, 21 Apr 2018 12:52:15 +0000 (12:52 +0000)]
Merge "MessagesEs.php: add non-camelcase names to some special page names"

6 years agoMerge "HTMLForm: Remove usage of HTMLForm::setSubmitProgressive"
jenkins-bot [Sat, 21 Apr 2018 01:42:29 +0000 (01:42 +0000)]
Merge "HTMLForm: Remove usage of HTMLForm::setSubmitProgressive"

6 years agoHTMLForm: Remove usage of HTMLForm::setSubmitProgressive
Jayprakash12345 [Fri, 6 Apr 2018 00:33:26 +0000 (06:03 +0530)]
HTMLForm: Remove usage of HTMLForm::setSubmitProgressive

`[ 'primary', 'progressive' ]` is already set in `$mSubmitFlags`.

Bug: T191586
Change-Id: Id20a3bc81a47c6c2979a4d2881cecc760956394f

6 years agoMerge "Hard-deprecate wfUsePHP()"
jenkins-bot [Sat, 21 Apr 2018 00:25:46 +0000 (00:25 +0000)]
Merge "Hard-deprecate wfUsePHP()"

6 years agoRemove cssclass in the favor of 'type' => 'user'
Jayprakash12345 [Fri, 20 Apr 2018 23:41:54 +0000 (05:11 +0530)]
Remove cssclass in the favor of 'type' => 'user'

Bug: T192694
Change-Id: I3be9fbcd990346df7c918d5ddf71f9e0a73a52df

6 years agoMerge "Hard-deprecate wfCountDown()"
jenkins-bot [Fri, 20 Apr 2018 23:41:06 +0000 (23:41 +0000)]
Merge "Hard-deprecate wfCountDown()"

6 years agoMerge "resourceloader: Improve titleInfo docs and simplify title key"
jenkins-bot [Fri, 20 Apr 2018 22:43:19 +0000 (22:43 +0000)]
Merge "resourceloader: Improve titleInfo docs and simplify title key"

6 years agoMessagesEs.php: add non-camelcase names to some special page names
MarcoAurelio [Fri, 20 Apr 2018 07:56:42 +0000 (07:56 +0000)]
MessagesEs.php: add non-camelcase names to some special page names

Change-Id: Ia36b48ff40a390434864f327dcb4bfa49cd44cd8

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 20 Apr 2018 19:58:16 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I1b5f321f6908a18a961762bbbd7d6e515ad4067e

6 years agoMerge "OutputPage: Factor out CdnCacheEpoch logic and cover with tests"
jenkins-bot [Fri, 20 Apr 2018 19:44:00 +0000 (19:44 +0000)]
Merge "OutputPage: Factor out CdnCacheEpoch logic and cover with tests"

6 years agoMerge "CSSMin: Fix breaking of quoted urls with outer spacing"
jenkins-bot [Fri, 20 Apr 2018 19:24:15 +0000 (19:24 +0000)]
Merge "CSSMin: Fix breaking of quoted urls with outer spacing"

6 years agoMerge "ParserTestRunner: Fix some documentation types"
jenkins-bot [Fri, 20 Apr 2018 19:10:37 +0000 (19:10 +0000)]
Merge "ParserTestRunner: Fix some documentation types"

6 years agoParserTestRunner: Fix some documentation types
Kunal Mehta [Sun, 15 Apr 2018 08:07:06 +0000 (01:07 -0700)]
ParserTestRunner: Fix some documentation types

Change-Id: I7d0375815dc6ac91cc3f39ea7910cdf1dff49666

6 years agoMerge "Special:ProtectedTitles: Use HTMLForm"
jenkins-bot [Fri, 20 Apr 2018 17:34:52 +0000 (17:34 +0000)]
Merge "Special:ProtectedTitles: Use HTMLForm"

6 years agoRemove EDIT_TOKEN_SUFFIX constant
Florian Schmidt [Fri, 30 Mar 2018 21:25:18 +0000 (23:25 +0200)]
Remove EDIT_TOKEN_SUFFIX constant

It isn't used anymore anywhere, according to a code search on github.

Depends-On: I56291c6a5b6c2bb359c6633748a68f4964d71923
Change-Id: I4b3f7b7bdf9bd0dbc8225bbcfb2da23016ae6bb3

6 years agoOutputPage: Factor out CdnCacheEpoch logic and cover with tests
Timo Tijhof [Fri, 20 Apr 2018 15:00:32 +0000 (16:00 +0100)]
OutputPage: Factor out CdnCacheEpoch logic and cover with tests

Bug: T178629
Change-Id: Ife7dd79677c2b5353317e06ac7ed521edd6193cc

6 years agoMerge "Special:ProtectedPages: Convert to OOUI"
jenkins-bot [Fri, 20 Apr 2018 13:40:44 +0000 (13:40 +0000)]
Merge "Special:ProtectedPages: Convert to OOUI"

6 years agoSpecial:ProtectedTitles: Use HTMLForm
Prateek Saxena [Mon, 1 Jan 2018 05:43:27 +0000 (11:13 +0530)]
Special:ProtectedTitles: Use HTMLForm

Bug: T117723
Change-Id: I874a8614920166d68671f757497fb27554a397ac

6 years agoresourceloader: Disable ChronologyProtector on load.php (again)
Timo Tijhof [Fri, 20 Apr 2018 00:15:29 +0000 (01:15 +0100)]
resourceloader: Disable ChronologyProtector on load.php (again)

This was already disabled in 2016 with 98c6743413118f by calling
setRequestInfo() to override the default 'ChronologyProtection' value
from Setup.php.

This stopped working since 4ccb228bde9294d96d which made
getDBLoadBalancerFactory (in ServiceWiring) obtains a LoadBalancer
from MWLBFactory::setSchemaAliases, and requestInfo is not
re-evaluated after that.

Bug: T192611
Change-Id: I68748e8f15bcd7bfa8d7921964788e2798682e05

6 years agoMerge "Don't pass USE INDEX to a $dbType parameter"
jenkins-bot [Thu, 19 Apr 2018 22:20:50 +0000 (22:20 +0000)]
Merge "Don't pass USE INDEX to a $dbType parameter"

6 years agoMerge "Avoid triggering Category::refreshCounts() on HTTP GET requests"
jenkins-bot [Thu, 19 Apr 2018 21:51:10 +0000 (21:51 +0000)]
Merge "Avoid triggering Category::refreshCounts() on HTTP GET requests"

6 years agoMerge "Make getScopedLockAndFlush() in Category::refreshCounts non-blocking"
jenkins-bot [Thu, 19 Apr 2018 21:50:23 +0000 (21:50 +0000)]
Merge "Make getScopedLockAndFlush() in Category::refreshCounts non-blocking"

6 years agoMerge "rdbms: correct atomic section examples in comments"
jenkins-bot [Thu, 19 Apr 2018 20:19:45 +0000 (20:19 +0000)]
Merge "rdbms: correct atomic section examples in comments"

6 years agoMerge "rdbms: make cancelAtomic() handle callbacks and work with DBO_TRX"
jenkins-bot [Thu, 19 Apr 2018 20:14:21 +0000 (20:14 +0000)]
Merge "rdbms: make cancelAtomic() handle callbacks and work with DBO_TRX"

6 years agoMerge "Add $wgJpegQuality to control jpg thumb quality"
jenkins-bot [Thu, 19 Apr 2018 20:08:16 +0000 (20:08 +0000)]
Merge "Add $wgJpegQuality to control jpg thumb quality"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 19 Apr 2018 19:54:46 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I28320e040be835414599ae6cc55d29312d27a88a

6 years agordbms: make cancelAtomic() handle callbacks and work with DBO_TRX
Aaron Schulz [Sat, 24 Mar 2018 07:02:24 +0000 (00:02 -0700)]
rdbms: make cancelAtomic() handle callbacks and work with DBO_TRX

Make transaction callbacks aware of cancelled sections. If the
statements of a section are reverted via cancelAtomic(), then the
dependant callbacks are now cancelled as well. Any callbacks for
onTransactionResolution(), which does not depend on COMMIT, will
see the triggering event as a ROLLBACK, since the unit of work it
was part of was rolled back.

Also fix the handling of topmost atomic sections with DBO_TRX.
These still need their own savepoint to make cancelAtomic() work.

Follow-up to 52aeaa7a5.

Change-Id: If4d455c98155283797678cfb9df31d5317dd91a2

6 years agoDon't pass USE INDEX to a $dbType parameter
Reedy [Thu, 19 Apr 2018 19:01:26 +0000 (19:01 +0000)]
Don't pass USE INDEX to a $dbType parameter

Bug: T192584
Change-Id: Ia2b761bad570532696419b4f23f84bc85ff2c0e8

6 years agoMerge "resourceloader: Support loading group=user modules with addModules()"
jenkins-bot [Thu, 19 Apr 2018 19:01:10 +0000 (19:01 +0000)]
Merge "resourceloader: Support loading group=user modules with addModules()"

6 years agoMerge "Deprecate $wgUseAjax in 1.31"
jenkins-bot [Thu, 19 Apr 2018 18:48:35 +0000 (18:48 +0000)]
Merge "Deprecate $wgUseAjax in 1.31"

6 years agoMake getScopedLockAndFlush() in Category::refreshCounts non-blocking
Aaron Schulz [Thu, 19 Apr 2018 18:43:09 +0000 (11:43 -0700)]
Make getScopedLockAndFlush() in Category::refreshCounts non-blocking

Change-Id: I675ec38e064f57a4e960b3934c472833a945b695

6 years agoMerge "Fix handling of ar_length and ar_sha1 in RevisionArchiveRecord."
jenkins-bot [Thu, 19 Apr 2018 18:41:13 +0000 (18:41 +0000)]
Merge "Fix handling of ar_length and ar_sha1 in RevisionArchiveRecord."

6 years agoMerge "Fix and improve PHPDoc type hints in FileBackend and FileRepo"
jenkins-bot [Thu, 19 Apr 2018 18:41:10 +0000 (18:41 +0000)]
Merge "Fix and improve PHPDoc type hints in FileBackend and FileRepo"

6 years agoDeprecate $wgUseAjax in 1.31
Kunal Mehta [Mon, 16 Apr 2018 23:26:48 +0000 (16:26 -0700)]
Deprecate $wgUseAjax in 1.31

This setting was intended to control the legacy AJAX framework, but some
extensions mistakenly used it to control any AJAX functionality at all.

But keeping this around when we're deprecating things like $wgEnableAPI
makes no sense.

[Retro-back-ported after bf61efd87 had landed in 1.32.]

Change-Id: I7b767478f9fb44236e6514b0e83228d9fb8e856f

6 years agoMerge "Remove language as string for DateFormatter::getInstance"
jenkins-bot [Thu, 19 Apr 2018 18:22:54 +0000 (18:22 +0000)]
Merge "Remove language as string for DateFormatter::getInstance"

6 years agoMerge "API: Fix PHP Warning for "count(): Parameter must be an array""
jenkins-bot [Thu, 19 Apr 2018 18:13:21 +0000 (18:13 +0000)]
Merge "API: Fix PHP Warning for "count(): Parameter must be an array""

6 years agoRemove language as string for DateFormatter::getInstance
Fomafix [Wed, 13 Sep 2017 13:47:01 +0000 (15:47 +0200)]
Remove language as string for DateFormatter::getInstance

Change-Id: I677ab561d67b63f0c86f65fadf9319e41444a22a

6 years agoAPI: Fix PHP Warning for "count(): Parameter must be an array"
Timo Tijhof [Thu, 19 Apr 2018 01:39:23 +0000 (02:39 +0100)]
API: Fix PHP Warning for "count(): Parameter must be an array"

Found by the new ApiUserrights test introduced in 5ab1bee6bcf:
> includes/specials/SpecialUserrights.php:462
> includes/specials/SpecialUserrights.php:405
> includes/api/ApiUserrights.php:116

The $tags parameter of the UserrightsPage::doSaveUserGroups()
method must be an array and is not nullable. Fix the caller
to not pass null, but an empty array.

Bug: T182377
Change-Id: Ic9be6a0bddfac023de765c810c07a64d651c33b4

6 years agoMerge "Introduce SqlBlobStore::makeAddressFromTextId"
jenkins-bot [Thu, 19 Apr 2018 17:53:45 +0000 (17:53 +0000)]
Merge "Introduce SqlBlobStore::makeAddressFromTextId"

6 years agoIntroduce SqlBlobStore::makeAddressFromTextId
daniel [Wed, 11 Apr 2018 17:07:03 +0000 (19:07 +0200)]
Introduce SqlBlobStore::makeAddressFromTextId

This introduces a convenience method for constructing a blob address
from a text ID. It's the inverse of SqlBlobStore::getTextIdFromAddress

Change-Id: I31b3ee5e40185c754fb2c119eb5edc50b903f5dc

6 years agoAdd $wgJpegQuality to control jpg thumb quality
Ryan Schmidt [Thu, 19 Apr 2018 17:00:16 +0000 (10:00 -0700)]
Add $wgJpegQuality to control jpg thumb quality

This new configuration variable defaults to 80, which is the current
quality in use when scaling jpeg thumbnails with ImageMagick. GD used a
quality of 95, which was reduced to 80 as a result of this change.

Bug: T192248
Change-Id: I94cad01cc876ef9083250f5d1989a73cd19617fb

6 years agoMerge "Avoid warnings in ObjectCache::newWANCacheFromParams if "channels" is not...
jenkins-bot [Thu, 19 Apr 2018 10:03:52 +0000 (10:03 +0000)]
Merge "Avoid warnings in ObjectCache::newWANCacheFromParams if "channels" is not set""

6 years agoFix and improve PHPDoc type hints in FileBackend and FileRepo
Thiemo Kreuz [Thu, 19 Apr 2018 08:30:33 +0000 (10:30 +0200)]
Fix and improve PHPDoc type hints in FileBackend and FileRepo

Change-Id: I311b4a6777946b451d70c6fdb2133dbbd73f159f

6 years agoAvoid warnings in ObjectCache::newWANCacheFromParams if "channels" is not set"
Aaron Schulz [Thu, 19 Apr 2018 04:38:47 +0000 (21:38 -0700)]
Avoid warnings in ObjectCache::newWANCacheFromParams if "channels" is not set"

Bug: T192473
Change-Id: I150eef62285e99fc1269a58fee3827e5fbb0537b

6 years agoMerge "Special:PrefixIndex: Convert to HTMLForm"
jenkins-bot [Thu, 19 Apr 2018 05:48:05 +0000 (05:48 +0000)]
Merge "Special:PrefixIndex: Convert to HTMLForm"

6 years agoAvoid triggering Category::refreshCounts() on HTTP GET requests
Aaron Schulz [Thu, 19 Apr 2018 00:10:35 +0000 (17:10 -0700)]
Avoid triggering Category::refreshCounts() on HTTP GET requests

Trigger count refreshes more often during updates instead.

Change-Id: I0f4575e648109befb86a2c8f08b491a132fe56c3

6 years agoMerge "Remove deprecated function wfShellExecDisabled()"
jenkins-bot [Thu, 19 Apr 2018 02:25:03 +0000 (02:25 +0000)]
Merge "Remove deprecated function wfShellExecDisabled()"

6 years agoMerge "Remove deprecated function wfInitShellLocale()"
jenkins-bot [Thu, 19 Apr 2018 02:07:02 +0000 (02:07 +0000)]
Merge "Remove deprecated function wfInitShellLocale()"

6 years agoMerge "Follow-up 2c74b043568e: Restore use of 'clearyourcache' message"
jenkins-bot [Thu, 19 Apr 2018 02:03:08 +0000 (02:03 +0000)]
Merge "Follow-up 2c74b043568e: Restore use of 'clearyourcache' message"

6 years agoHard-deprecate wfUsePHP()
Max Semenik [Thu, 19 Apr 2018 01:45:47 +0000 (18:45 -0700)]
Hard-deprecate wfUsePHP()

Deprecated in 1.30, no callers anywhere.

Change-Id: I5168234f4e8cfffbccc9dd43026255ee2dcd878d

6 years agoHard-deprecate wfCountDown()
Max Semenik [Thu, 19 Apr 2018 01:43:02 +0000 (18:43 -0700)]
Hard-deprecate wfCountDown()

Deprecated in 1.31, the only callers left are in BlueSpice.

Change-Id: I3d59b0967c161eff0190a6f577e571230a7e7a2f

6 years agoRemove deprecated function wfShellExecDisabled()
Max Semenik [Thu, 19 Apr 2018 01:41:00 +0000 (18:41 -0700)]
Remove deprecated function wfShellExecDisabled()

Deprecated in 1.30, never had many callers.

Change-Id: Ie77c3df696313f691a68f21b15804539ffcc7f88

6 years agoRemove deprecated function wfInitShellLocale()
Max Semenik [Thu, 19 Apr 2018 01:35:41 +0000 (18:35 -0700)]
Remove deprecated function wfInitShellLocale()

Deprecated in 1.30, never had more than 2-3 callers.

Change-Id: Ia023ede41affaf8e1b5fd1fed77cdbcefc9dc243

6 years agoMerge "API: Remove 1e3>1 test case from ApiBaseTest"
jenkins-bot [Thu, 19 Apr 2018 01:18:09 +0000 (01:18 +0000)]
Merge "API: Remove 1e3>1 test case from ApiBaseTest"

6 years agoMerge "skins: Remove MediaWikiI18N class and QuickTemplate::setTranslator"
jenkins-bot [Thu, 19 Apr 2018 00:42:17 +0000 (00:42 +0000)]
Merge "skins: Remove MediaWikiI18N class and QuickTemplate::setTranslator"

6 years agoMerge "Remove $wgScriptExtension (deprecated and ignored since 1.25)"
jenkins-bot [Thu, 19 Apr 2018 00:25:17 +0000 (00:25 +0000)]
Merge "Remove $wgScriptExtension (deprecated and ignored since 1.25)"

6 years agoRemove $wgScriptExtension (deprecated and ignored since 1.25)
James D. Forrester [Fri, 16 Feb 2018 22:03:44 +0000 (14:03 -0800)]
Remove $wgScriptExtension (deprecated and ignored since 1.25)

* Remove left-over mention of the .php5 entry points in docs.

* Remove dead logic in NoLocalSettings for php5 entry points.

* Remove dead match in WebRequest for php5 entry points (they'd
  redirect since 1.25, and not seen by PHP).

Change-Id: Ia0ee8588591860b8fe34030c8503f38e9bce31f3

6 years agoMerge "jquery.makeCollapsible: Only add '[' ']' to autogenerated toggles"
jenkins-bot [Wed, 18 Apr 2018 23:32:38 +0000 (23:32 +0000)]
Merge "jquery.makeCollapsible: Only add '[' ']' to autogenerated toggles"

6 years agoMerge "Remove $wgSiteSupportPage"
jenkins-bot [Wed, 18 Apr 2018 23:32:34 +0000 (23:32 +0000)]
Merge "Remove $wgSiteSupportPage"

6 years agoRemove $wgSiteSupportPage
mainframe98 [Wed, 18 Apr 2018 16:05:52 +0000 (18:05 +0200)]
Remove $wgSiteSupportPage

This configuration global is not used anywhere in MediaWiki,
and no extensions or skins use this.
The documentation on mediawiki.org states that the functionality
has been replaced by MediaWiki:Sidebar, and $wgNavigationLinks,
which was removed over a decade ago.

Bug: T192467
Change-Id: Iea1f8a688feb1c7aa8d0005f207a13956bddfd4e

6 years agoAPI: Remove 1e3>1 test case from ApiBaseTest
Timo Tijhof [Wed, 18 Apr 2018 23:09:53 +0000 (00:09 +0100)]
API: Remove 1e3>1 test case from ApiBaseTest

Follows-up d3da5e08d35f, which broke PHP 7.1 and PHP 7.2 test jobs.

This isn't about logic in ApiBase, but about PHP's str-to-int
logic which actually varies between PHP5 and PHP7.

One maps it to 1000, the other as strict int 1 (with non-numerical
text chopped off, the same as it would for 1foo).

If we want to support 1e3 as part of the API itself, then we'd
need to parse it ourselves and then add the test back.

Bug: T192425
Change-Id: I6fc43f29425749a1abe785fefa312db6a98ea7cd

6 years agoFix supported mysql version in RELEASE-NOTES
Reedy [Wed, 18 Apr 2018 21:23:27 +0000 (22:23 +0100)]
Fix supported mysql version in RELEASE-NOTES

Change-Id: I7e8dd036a7a8403f71208fd4c1302d4e241c6378

6 years agojquery.makeCollapsible: Only add '[' ']' to autogenerated toggles
Bartosz Dziewoński [Wed, 18 Apr 2018 20:02:49 +0000 (22:02 +0200)]
jquery.makeCollapsible: Only add '[' ']' to autogenerated toggles

These should not be added if a pre-generated toggle was provided in
page HTML.

Follow-up to 46a7aa7e3e8ea98b69ae4bd0aff51465da57bcd3.

Bug: T192140
Change-Id: I4b7a7091c1db3559a474de94f8286c0df0af8a67

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 18 Apr 2018 19:55:41 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I61420aa859aeb1ab6ee2f62b5260e0b0dac0685f

6 years agoMerge "ImportStreamSource: Replace magic numbers with constants"
jenkins-bot [Wed, 18 Apr 2018 19:52:44 +0000 (19:52 +0000)]
Merge "ImportStreamSource: Replace magic numbers with constants"

6 years agoFix handling of ar_length and ar_sha1 in RevisionArchiveRecord.
daniel [Tue, 17 Apr 2018 16:51:38 +0000 (18:51 +0200)]
Fix handling of ar_length and ar_sha1 in RevisionArchiveRecord.

This makes sure that length and hash are calculated if not known.

This patch also adds missing unit tests for RevisionArchiveRecord,
and consolidates unit tests for the different RevisionRecord
subclasses using a trait.

Bug: T192189
Change-Id: I5e1d17ba96e61e068b6aa5ac9c45ac0f657905a6

6 years agoMerge "Reduce some nesting in CryptRand.php"
jenkins-bot [Wed, 18 Apr 2018 19:33:04 +0000 (19:33 +0000)]
Merge "Reduce some nesting in CryptRand.php"

6 years agoMerge "Replace recently introduced mediawiki/at-ease calls"
jenkins-bot [Wed, 18 Apr 2018 18:56:32 +0000 (18:56 +0000)]
Merge "Replace recently introduced mediawiki/at-ease calls"

6 years agoMerge "Test ApiMove"
jenkins-bot [Wed, 18 Apr 2018 18:47:13 +0000 (18:47 +0000)]
Merge "Test ApiMove"

6 years agoFollow-up 2c74b043568e: Restore use of 'clearyourcache' message
Reedy [Wed, 18 Apr 2018 15:58:02 +0000 (15:58 +0000)]
Follow-up 2c74b043568e: Restore use of 'clearyourcache' message

Bug: T191800
Change-Id: I632fff6489e929847e7abc1d944277e3b0358314

6 years agoCSSMin: Fix breaking of quoted urls with outer spacing
Timo Tijhof [Tue, 13 Mar 2018 00:20:20 +0000 (17:20 -0700)]
CSSMin: Fix breaking of quoted urls with outer spacing

Bug:  T189375
Change-Id: I9226ec9bd21d7dedc964fbc1dc1f0914abe458d5

6 years agoSpecial:ProtectedPages: Convert to OOUI
Prateek Saxena [Wed, 28 Mar 2018 06:14:49 +0000 (11:44 +0530)]
Special:ProtectedPages: Convert to OOUI

Bug: T117722
Change-Id: I80cafca23a948a23816cd3b0cfd8a0c58f063367

6 years agoSync PG version in INSTALL
Max Semenik [Wed, 18 Apr 2018 17:43:51 +0000 (10:43 -0700)]
Sync PG version in INSTALL

Change-Id: I31f65bba28e8b600aa275bf287cd73dec98d96dc

6 years agoMerge "Setup: Move mbstring.func_overload from WebStart to Setup"
jenkins-bot [Wed, 18 Apr 2018 16:22:16 +0000 (16:22 +0000)]
Merge "Setup: Move mbstring.func_overload from WebStart to Setup"

6 years agoMerge "Swap mediawiki/at-ease for wikimedia/at-ease"
jenkins-bot [Wed, 18 Apr 2018 16:02:08 +0000 (16:02 +0000)]
Merge "Swap mediawiki/at-ease for wikimedia/at-ease"

6 years agoMerge "Fix PHPDoc type hints in CacheTime, ParserOptions, and related"
jenkins-bot [Wed, 18 Apr 2018 15:21:25 +0000 (15:21 +0000)]
Merge "Fix PHPDoc type hints in CacheTime, ParserOptions, and related"

6 years agoFix PHPDoc type hints in CacheTime, ParserOptions, and related
Thiemo Kreuz [Wed, 18 Apr 2018 12:31:13 +0000 (14:31 +0200)]
Fix PHPDoc type hints in CacheTime, ParserOptions, and related

I'm intentionally not touching any code in this patch, only
documentation.

Change-Id: I6975194c218760031789d5335dfbb330017dc6fc

6 years agoReplace recently introduced mediawiki/at-ease calls
Reedy [Wed, 18 Apr 2018 14:10:42 +0000 (14:10 +0000)]
Replace recently introduced mediawiki/at-ease calls

Change-Id: I1f6b7ed199faf4c8f3a3932731507c18413ad6e6

6 years agoSwap mediawiki/at-ease for wikimedia/at-ease
Reedy [Wed, 18 Apr 2018 12:35:14 +0000 (13:35 +0100)]
Swap mediawiki/at-ease for wikimedia/at-ease

Bump wikimedia/php-session-serializer to v1.0.6

Change-Id: I9ed96a29d6db39206377b45e3d46cb2082587f75
Depends-On: I963a61135d66b8baa4638979fd21077d925276b9

6 years agoReduce some nesting in CryptRand.php
Reedy [Wed, 18 Apr 2018 11:59:13 +0000 (11:59 +0000)]
Reduce some nesting in CryptRand.php

Change-Id: Ic0b7307d66f877a5b1df974f34846857084dc23a

6 years agoMerge "mw.widgets.visibleLengthLimit: Apply number conversion to the limit"
jenkins-bot [Wed, 18 Apr 2018 11:43:22 +0000 (11:43 +0000)]
Merge "mw.widgets.visibleLengthLimit: Apply number conversion to the limit"

6 years agoMerge "Fix bad archive file names in ImportableUploadRevisionImporter"
jenkins-bot [Wed, 18 Apr 2018 10:53:24 +0000 (10:53 +0000)]
Merge "Fix bad archive file names in ImportableUploadRevisionImporter"

6 years agoMerge "Special:ProtectedPages: Use MultiSelectField instead of checks"
jenkins-bot [Wed, 18 Apr 2018 10:22:11 +0000 (10:22 +0000)]
Merge "Special:ProtectedPages: Use MultiSelectField instead of checks"

6 years agoinstaller: Clean up ext-dependency jQuery code
Timo Tijhof [Wed, 18 Apr 2018 02:14:30 +0000 (03:14 +0100)]
installer: Clean up ext-dependency jQuery code

Follows-up c8833d8e8ecc.

* Select the input elements by class to avoid accidentally trigging
  on unrelated elements elsewhere on the page in the future, given
  the generic selector.

* Use on('change') instead of deprecated change() alias.

* Set properties directly instead of via prop() indirection.
* Get attribute directly instead of via data() indirection.

Change-Id: I5158aa26b5fd7327d6795f0a31bbffbe99043fbf

6 years agoSpecial:PrefixIndex: Convert to HTMLForm
Prateek Saxena [Mon, 16 Apr 2018 04:33:44 +0000 (10:03 +0530)]
Special:PrefixIndex: Convert to HTMLForm

Most of the code here is from
I98cdfb69d11dee0dd1ac2d0d862235f2e53d85d9.

This is also an updated revert of the revert
I99f75b5cb12913236a43b17970ea1752261ace9b.

Bug: T117726
Change-Id: Ieb9713f8346316e9c3cf1e83eae00848f3921b43

6 years agoinstaller: Open skin screenshot in new window
Timo Tijhof [Wed, 18 Apr 2018 01:59:36 +0000 (02:59 +0100)]
installer: Open skin screenshot in new window

By default the plain links hijack the current window, thus
causing the user to lose their current changes to the installer
form. It may also cause confusion as to how to get back.

Absence a modal way to view the image, at least it should default
to opening the image in a new tab.

Change-Id: I4a25f1f51e04a33f1f359f12af25b8e1db5fbd20

6 years agoMerge "build: Drop PHP 5 from Travis matrix"
jenkins-bot [Wed, 18 Apr 2018 01:37:35 +0000 (01:37 +0000)]
Merge "build: Drop PHP 5 from Travis matrix"

6 years agoMerge "Update CREDITS and .mailmap"
jenkins-bot [Wed, 18 Apr 2018 01:24:01 +0000 (01:24 +0000)]
Merge "Update CREDITS and .mailmap"

6 years agoUpdate CREDITS and .mailmap
Timo Tijhof [Wed, 18 Apr 2018 01:05:33 +0000 (02:05 +0100)]
Update CREDITS and .mailmap

Before this change, running the script would add the following:

* Cicalese: Duplicate. Fixed by adding another address to mailmap.
  Follows-up 3b55b0b3b8.

* gopavasanth: Added.

* Guycn2: Added.

* Zoranzoki21: Duplicate. Fixed by normalising their name via mailmap.

Also, remove the following added by 19ccff96086b70b:

* GeoffreyT2000: Duplicate. Already normalised by mailmap.

Change-Id: I5b11444a74dad090e484c2e256d32de5f6792943