jenkins-bot [Fri, 26 Jan 2018 18:17:55 +0000 (18:17 +0000)]
Merge "Gallery: Use Parser::parseWidthParam() for gallery dimensions"
jenkins-bot [Fri, 26 Jan 2018 18:01:45 +0000 (18:01 +0000)]
Merge "Revert and fix "Revert "EditPage: Show EditFilterMergedContent hook errors in an errorbox"""
jenkins-bot [Fri, 26 Jan 2018 17:49:40 +0000 (17:49 +0000)]
Merge "Improve 1-letter variable names in MutableContext and implementations"
Brad Jorsch [Fri, 26 Jan 2018 17:12:28 +0000 (09:12 -0800)]
Revert and fix "Revert "EditPage: Show EditFilterMergedContent hook errors in an errorbox""
Instead of making a one-line fix to fix the issue in T149473, the change
was reverted.
This reverts commit
022f26e9fd3ae865331f3bb1b3eec63e212240c9.
This reverts commit
12f170502cfef525344ae69caef6240eaafbf63f.
Bug: T149473
Bug: T185638
Change-Id: Ib44ba2a6d2405309ad91bcc4d6440d05b67379da
jenkins-bot [Fri, 26 Jan 2018 14:12:46 +0000 (14:12 +0000)]
Merge "Don’t write to stderr when testing"
jenkins-bot [Fri, 26 Jan 2018 10:58:17 +0000 (10:58 +0000)]
Merge "thumb.php: Set ENT_NOQUOTES for htmlspecialchars"
jenkins-bot [Fri, 26 Jan 2018 08:45:01 +0000 (08:45 +0000)]
Merge "Remove misleading comment for $wgLegalTitleChars"
Bartosz Dziewoński [Fri, 26 Jan 2018 08:28:35 +0000 (00:28 -0800)]
Remove misleading comment for $wgLegalTitleChars
This comment originates from rSVN1420 (
9d51f616), dated 2 July 2003,
where it was written as "ISO 8859-* don't allow 0x80-0x9F... But that
breaks interlanguage links at the moment". It was rephrased to the
current form in rSVN2621 (
840dee3a).
It is incorrect for two reasons:
* "Theoretically 0x80-0x9F of ISO 8859-1 should be disallowed..."
We cannot disallow 0x80-0x9F here; this config variable actually
specifies the valid ranges of *bytes* rather than characters, and
0x80 to 0x9F can happily appear in valid UTF-8 encodings of other
characters.
In case we wanted to disallow the Unicode characters U+0080 to U+009F
(encoded in UTF-8 as 0xC2 0x80 to 0xC2 0x9F), it would probably have
to be done explicitly in MediaWikiTitleCodec::splitTitleString().
(The task for this is T7732.)
* "...but this breaks interlanguage links"
Back then, most wikis were using single-byte ISO encodings rather
than UTF-8, and that is the only configuration this comment applies
to: disallowing the bytes 0x80-0x9F in page titles on wikis using
single-byte ISO encodings would indeed have broken interlanguage
links from them to wikis using UTF-8. However, disallowing the
Unicode characters U+0080 to U+009F today definitely would not break
interlanguage links.
Change-Id: Ic5ba502ccfbb9cf3ff56cc47eb7fe463e7d45959
jenkins-bot [Fri, 26 Jan 2018 06:54:37 +0000 (06:54 +0000)]
Merge "Convert the sha1 value from base-36 to base-16"
Prateek Saxena [Sun, 19 Jun 2016 06:41:43 +0000 (12:11 +0530)]
Gallery: Use Parser::parseWidthParam() for gallery dimensions
Used by the `setWidths` and `setHeights` methods to make sure we are
using correct values.
Makes `parseWidthParam` static to be used in the gallery class.
Bug: T129372
Change-Id: I38b9ef0ea26e3748ad5d5458fadd2545f677ef93
Translation updater bot [Thu, 25 Jan 2018 20:54:23 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I10962812b862c1949ee0d196d6d70fd1c33445d1
jenkins-bot [Thu, 25 Jan 2018 20:48:44 +0000 (20:48 +0000)]
Merge "SpecialPage: Fix typo in comment"
Bartosz Dziewoński [Thu, 25 Jan 2018 20:38:51 +0000 (12:38 -0800)]
SpecialPage: Fix typo in comment
Change-Id: I03f30b978e5dc7736d24873a04e91f5bb0171a86
RazeSoldier [Thu, 25 Jan 2018 04:58:06 +0000 (12:58 +0800)]
Convert the sha1 value from base-36 to base-16
Convert the sha1 value displayed on the file info page from base-36 to
base-16
Bug: T181651
Change-Id: I39d6d5d68973c9e67959b2bbbe77937f4ccca76a
Fomafix [Thu, 25 Jan 2018 18:30:55 +0000 (19:30 +0100)]
LivePreview: Add uselang parameter to API diff request
Some elements like the line numbers of a diff depends on the user
interface language. This change ensures that the language of the user
interface is used of live preview diffs, too.
Bug: T185683
Change-Id: I438e19028700fb2d5bcd57d214e1134d656fb7b2
jenkins-bot [Thu, 25 Jan 2018 17:01:54 +0000 (17:01 +0000)]
Merge "Remove very, very old disabled test cases and todos"
jenkins-bot [Thu, 25 Jan 2018 10:34:02 +0000 (10:34 +0000)]
Merge "widget: Fix changes of copyright year"
jenkins-bot [Wed, 24 Jan 2018 22:55:50 +0000 (22:55 +0000)]
Merge "Load preferences js/css in mobile"
jenkins-bot [Wed, 24 Jan 2018 22:51:44 +0000 (22:51 +0000)]
Merge "Use RevisionLookup and RevisionFactory interfaces in Revision"
addshore [Tue, 9 Jan 2018 08:53:38 +0000 (08:53 +0000)]
Use RevisionLookup and RevisionFactory interfaces in Revision
Lets not depend on the big blob that is RevisionStore.
Try to bind to the nice interfaces that we have where possible.
In the future RevisionStore should be split up further into
it's individual interfaces.
It looks like there are some more methods which should be moved
to both RevisionLookup and RevisionFactory.
See draft:
I214c5952d4a0fad55ff4116e90eab9ac3ba54fd3
Change-Id: I8df61374e24abcf4a7e38e53647489b8ecc1fd77
addshore [Thu, 11 Jan 2018 20:55:37 +0000 (20:55 +0000)]
Extra tests for SqlBlobStore with 'windows-1252' legacy encoding
Bug: T184749
Change-Id: Ida717dbe6ae742b3b61f0f09dc60712307c53a96
Translation updater bot [Wed, 24 Jan 2018 20:55:30 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I31c3b81ae100f17d7fecb607b2a0a1ab4a9b60b1
Kunal Mehta [Wed, 24 Jan 2018 19:59:05 +0000 (11:59 -0800)]
widget: Fix changes of copyright year
Fixes up
e8b10f68049c19a.
Change-Id: I474e508a2bd4d783272eda87c1cc91f5597bc1b1
jenkins-bot [Wed, 24 Jan 2018 19:14:56 +0000 (19:14 +0000)]
Merge "Simplify documentation headers of includes/widgets/…Widget.php files"
jdlrobson [Wed, 24 Jan 2018 18:54:05 +0000 (10:54 -0800)]
Load preferences js/css in mobile
Change-Id: Idbf62486c787179ee67deb22e4644f4fc742d9db
jenkins-bot [Wed, 24 Jan 2018 18:53:19 +0000 (18:53 +0000)]
Merge "poolcounter: Fix type hint for PoolWorkArticleView::getParserOutput"
Thiemo Mättig [Wed, 24 Jan 2018 14:22:12 +0000 (15:22 +0100)]
poolcounter: Fix type hint for PoolWorkArticleView::getParserOutput
Change-Id: Ib6a71e198481cf2a0230b3f8721c019ef3c7288c
jenkins-bot [Wed, 24 Jan 2018 16:25:52 +0000 (16:25 +0000)]
Merge "Fix called function case in a bunch of places"
jenkins-bot [Wed, 24 Jan 2018 15:24:57 +0000 (15:24 +0000)]
Merge "Set $_SERVER['SERVER_NAME'] to the value set by --server"
Lucas Werkmeister [Wed, 24 Jan 2018 13:29:23 +0000 (14:29 +0100)]
Don’t write to stderr when testing
This change makes it possible to test error() messages with
expectOutputString() or expectOutputRegex().
Change-Id: I61970403f9c371d3798f34fd48c70bc72f0c7eda
Lucas Werkmeister [Wed, 24 Jan 2018 13:28:39 +0000 (14:28 +0100)]
Add missing Maintenance import
Without this import, the @var Maintenance comment on $maintenance
doesn’t refer to the right class.
Change-Id: I2b5efa422f3e9d50f2132658b04ea2814af61954
jenkins-bot [Tue, 23 Jan 2018 23:01:34 +0000 (23:01 +0000)]
Merge "Add a hook into LanguageConverter#getPreferredVariant() to allow extensions to pull the desired variant from cookies (or other such source)"
jenkins-bot [Tue, 23 Jan 2018 22:43:10 +0000 (22:43 +0000)]
Merge "Phan: resolve and reenable PhanAccessMethodProtected"
jenkins-bot [Tue, 23 Jan 2018 20:58:50 +0000 (20:58 +0000)]
Merge "Remove dot from summary used by fixDoubleRedirects.php"
Translation updater bot [Tue, 23 Jan 2018 20:55:21 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaa76ffaa796a221bb23a3aa411634744726285cc
jenkins-bot [Tue, 23 Jan 2018 19:49:25 +0000 (19:49 +0000)]
Merge "Create factory for MWHttpRequest"
Stanislav Malyshev [Tue, 16 Jan 2018 23:11:08 +0000 (15:11 -0800)]
Create factory for MWHttpRequest
This will allow classes that need MWHttpRequest to inject HttpRequestFactory
and thus make it overridable and testable.
Also made MWHttpRequest abstract class since it doesn't implement
execute anyway. Maybe a good idea to move execute to an abstract
method?
Change-Id: I5c0e035542ff5f791a21a95ed13bed4cea6906d0
Marius Hoch [Tue, 23 Jan 2018 18:44:28 +0000 (10:44 -0800)]
ExtensionRegistry: Properly detect if a global is already set
$foo = null; isset( $foo ); will yield false.
Sometimes we want to explicitly set a config to null, but ExtensionRegistry
is then overriding this variable with the default value.
This is no consistent with the old workflow:
require_once the extension and then override the setting with null.
Bug: T128661
Change-Id: I0654c9369a596e84591fcaa9643703e6b4ccf57e
jenkins-bot [Tue, 23 Jan 2018 18:42:29 +0000 (18:42 +0000)]
Merge "Add collation for Abkhaz (ab)"
MarcoAurelio [Tue, 23 Jan 2018 18:32:57 +0000 (19:32 +0100)]
Remove dot from summary used by fixDoubleRedirects.php
Bug: T185592
Change-Id: Iae6ab7787fcf8150f738cf361c545c796ce84f16
Umherirrender [Sat, 13 Jan 2018 00:02:09 +0000 (01:02 +0100)]
Use ::class to resolve class names in maintenance scripts
This helps to find renamed or misspelled classes earlier.
Phan will check the class names
Change-Id: I1d4567f47f93eb1436cb98558388e48d35258666
Max Semenik [Tue, 23 Jan 2018 17:31:13 +0000 (09:31 -0800)]
Phan: resolve and reenable PhanAccessMethodProtected
Change-Id: I2bd7c787012f4f54600f3289d9d0d725f87788bc
jenkins-bot [Tue, 23 Jan 2018 17:26:12 +0000 (17:26 +0000)]
Merge "rdbms: make LoadBalancer::waitForAll() better respect the timeout"
jenkins-bot [Tue, 23 Jan 2018 16:00:20 +0000 (16:00 +0000)]
Merge "Use getSize since SearchSuggestionSet does not implement Countable"
Brian Wolff [Sun, 17 Dec 2017 22:12:06 +0000 (22:12 +0000)]
Make Gender normalize usernames
This ensures that if GENDER is fed wfEscapeWikitext()'d version
of a username, it will normalize it.
See discussion on T182800.
Note, we do not need to worry about the case of a user named
"Project:*foo" as such namespace prefixes are illegal in
usernames.
Change-Id: Ic5a8fc76c28dca43ce8e334ef1874c2673433f00
jenkins-bot [Mon, 22 Jan 2018 21:03:03 +0000 (21:03 +0000)]
Merge "Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings"
Translation updater bot [Mon, 22 Jan 2018 20:55:34 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I89efc6e7a8f23ef71268502cda5542338ee892fe
jenkins-bot [Mon, 22 Jan 2018 20:35:26 +0000 (20:35 +0000)]
Merge "Widgets: Allow titles with name of Object.prototypes"
jenkins-bot [Mon, 22 Jan 2018 20:24:58 +0000 (20:24 +0000)]
Merge "mediawiki.special.upload: Use ES5 .forEach() instead of jQuery"
Stanislav Malyshev [Mon, 22 Jan 2018 20:13:34 +0000 (12:13 -0800)]
Use getSize since SearchSuggestionSet does not implement Countable
Bug: T184934
Change-Id: I39459352399e2023149b715b049084826df22935
Fomafix [Fri, 19 Jan 2018 10:16:19 +0000 (11:16 +0100)]
mediawiki.special.upload: Use ES5 .forEach() instead of jQuery
Replace
* $.each( array, function ( index, value ) { ... } ) by
array.forEach( function ( value ) { ... } )
Change-Id: I0574f130e93b53895e2c76363285084a6df05649
jenkins-bot [Mon, 22 Jan 2018 19:37:15 +0000 (19:37 +0000)]
Merge "Use native ES5 Array prototype methods instead of jQuery"
jenkins-bot [Mon, 22 Jan 2018 19:02:35 +0000 (19:02 +0000)]
Merge "Set default fragment mode to [ 'legacy', 'html5' ]"
WMDE-Fisch [Mon, 22 Jan 2018 17:53:09 +0000 (18:53 +0100)]
Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings
This will give devs a better hint on how to replace this.
Change-Id: I2332b6173b7816aef11841725752745e174fa69f
Max Semenik [Sat, 20 Jan 2018 00:44:30 +0000 (16:44 -0800)]
Fix called function case in a bunch of places
Change-Id: If1e392290a5bab3bce389f7da692e53a748b8aff
jenkins-bot [Mon, 22 Jan 2018 17:04:13 +0000 (17:04 +0000)]
Merge "selenium: add re-creatable page test to page spec"
jenkins-bot [Mon, 22 Jan 2018 17:02:24 +0000 (17:02 +0000)]
Merge "selenium, add restoration test to page spec"
jenkins-bot [Mon, 22 Jan 2018 15:58:52 +0000 (15:58 +0000)]
Merge "selenium: add deletion test to page spec"
Adam Roses Wight [Wed, 17 Jan 2018 13:33:10 +0000 (08:33 -0500)]
Replace some of MaintenanceTest with dataProviders
Bug: T184775
Change-Id: Icbaf3cbcf3c51e5b4cd53d55a5230534e74a0a38
jenkins-bot [Mon, 22 Jan 2018 06:33:59 +0000 (06:33 +0000)]
Merge "Refactor MaintenanceTest to use a base test case"
jenkins-bot [Mon, 22 Jan 2018 06:31:03 +0000 (06:31 +0000)]
Merge "Begin splitting out maintenance test base classes"
jenkins-bot [Mon, 22 Jan 2018 06:20:08 +0000 (06:20 +0000)]
Merge "mediawiki.api.category: Use formatversion=2 and simplify code"
Adam Roses Wight [Wed, 17 Jan 2018 13:32:00 +0000 (08:32 -0500)]
Refactor MaintenanceTest to use a base test case
Bug: T184775
Change-Id: I0cb2320f765e847a59c721918401da07a3a2b24a
Adam Roses Wight [Tue, 16 Jan 2018 16:28:38 +0000 (11:28 -0500)]
Begin splitting out maintenance test base classes
Bug: T184775
Change-Id: I73c2f3c6975deec50cf879201cf292c217b51c51
jenkins-bot [Mon, 22 Jan 2018 05:01:41 +0000 (05:01 +0000)]
Merge "mediawiki.ForeignStructuredUpload: Simplify code by using ES5"
jenkins-bot [Mon, 22 Jan 2018 01:44:51 +0000 (01:44 +0000)]
Merge "Use ES5 String.prototype.trim() instead of jQuery.trim()"
jenkins-bot [Mon, 22 Jan 2018 01:37:19 +0000 (01:37 +0000)]
Merge "mediawiki.special.upload: Use mediawiki.api.parse"
jenkins-bot [Mon, 22 Jan 2018 01:35:34 +0000 (01:35 +0000)]
Merge "mediawiki.special.upload: Show an error message on "|""
jenkins-bot [Sun, 21 Jan 2018 22:19:33 +0000 (22:19 +0000)]
Merge "mediawiki.special.upload: trim nameToCheck"
Fomafix [Sun, 21 Jan 2018 21:35:37 +0000 (22:35 +0100)]
watch.js: Let api.js do the joining of the array
Change-Id: Ie283ed3e071fe1a041f040e72cac061ebc3209d0
Translation updater bot [Sun, 21 Jan 2018 20:54:05 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie8641f203a6bd289d018a571c56cda69d4a9e2bb
Fomafix [Sun, 21 Jan 2018 19:10:42 +0000 (20:10 +0100)]
Use ES5 String.prototype.trim() instead of jQuery.trim()
Replace:
* $.trim( str ) by str.trim()
Ensure that str is a string before calling str.trim().
Change-Id: I48f08fdac1e7d802813563c4691e9bbaf2c78336
Fomafix [Sun, 21 Jan 2018 14:41:30 +0000 (15:41 +0100)]
mediawiki.special.upload: Show an error message on "|"
This change prevents that "|" is interpreted as title separator and
shows the following message when the title contains a "|" character:
The requested page title contains invalid characters: "|".
Before this change the following message is shown on this case:
The requested page title is empty or contains only the name of a
namespace.
Change-Id: If67ed573ea0b5c28c59a7d90e8581c4b67528450
Fomafix [Sun, 21 Jan 2018 13:54:14 +0000 (14:54 +0100)]
mediawiki.special.upload: Use mediawiki.api.parse
This also adds the parameter contentmodel=wikitext to the API request.
This ensures that the text is always parsed as wikitext, even with a
title with a different content model like 'MediaWiki:Common.js'.
Change-Id: I29f0c76c3354a8c97b8296224e14341f71726c2f
Fomafix [Sun, 21 Jan 2018 09:45:43 +0000 (10:45 +0100)]
mediawiki.ForeignStructuredUpload: Simplify code by using ES5
For iterating over an array replace for() by .push.apply() and .map().
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push#Merging_two_arrays
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
Change-Id: I0bb4ed7f71db1e60eb4d76a77c53d022bb2081d1
jenkins-bot [Sun, 21 Jan 2018 06:11:44 +0000 (06:11 +0000)]
Merge "Use HTTPS instead of HTTP for caniuse.com"
Aaron Schulz [Tue, 16 Jan 2018 16:58:59 +0000 (17:58 +0100)]
rdbms: make LoadBalancer::waitForAll() better respect the timeout
If several replicas (or even all) had replication stuck, then the
timeout would happen for each server, one after another.
Change-Id: Id5431360b9cde7e5dc0115a1f41b9903003f47c4
Reedy [Sun, 21 Jan 2018 04:40:34 +0000 (04:40 +0000)]
Update RunningStat use statement
Bug: T182273
Change-Id: If9e946e767ca8f4c1af9b1a4855bbbffb98deff5
Reedy [Sun, 21 Jan 2018 04:39:17 +0000 (04:39 +0000)]
Update WrappedString use statements
Bug: T182273
Change-Id: Ia9515863491fa9c8684698fa33612eec5eb6d937
Reedy [Sun, 21 Jan 2018 04:37:26 +0000 (04:37 +0000)]
Update IPSet use statements
Bug: T182273
Change-Id: I73fb52678dc56a542eccd209441557610b562d4b
Reedy [Sun, 21 Jan 2018 04:33:38 +0000 (04:33 +0000)]
Update RelPath calls
Bug: T182273
Change-Id: Ifd04e3b3ab72cc56bef48a1fc18fccb34b0af618
jenkins-bot [Sun, 21 Jan 2018 01:19:00 +0000 (01:19 +0000)]
Merge "Bypass wfGetDB when LoadBalancer is used in scope"
Fomafix [Sun, 21 Jan 2018 00:41:04 +0000 (01:41 +0100)]
Use HTTPS instead of HTTP for caniuse.com
http://caniuse.com/ redirects to https://caniuse.com/
Change-Id: Iea8de252320a5a3aeda83dc21df5e51de2faf66c
Fomafix [Sun, 21 Jan 2018 00:17:43 +0000 (01:17 +0100)]
mediawiki.special.upload: trim nameToCheck
The API ignores titles consists only on spaces and returns a response
without a "query" key.
Bug: T185400
Change-Id: Ia365f6660c0da0138a9035aad8dfcda38fab7733
James D. Forrester [Sat, 20 Jan 2018 23:30:38 +0000 (15:30 -0800)]
Follow-up
95e7c545: Fix .gitattributes file line truncation
Change-Id: I82bf4beeed41cde89da3f1f8bc517420bdfd03ad
jenkins-bot [Sat, 20 Jan 2018 22:13:51 +0000 (22:13 +0000)]
Merge "Change "Special:近易" to "Special:監修" in zh-classical"
Umherirrender [Sat, 20 Jan 2018 20:07:17 +0000 (21:07 +0100)]
Bypass wfGetDB when LoadBalancer is used in scope
wfGetDB calls LoadBalander::getConnection for $wiki=false,
when there is already a LoadBalancer in scope, call it directly
Change-Id: I4e29fd4e93a0d1f274e61af99c96021d3d06f8f3
WMDE-Fisch [Thu, 4 Jan 2018 16:38:22 +0000 (17:38 +0100)]
Replace deprecated wfGetLB() calls here and there
Change-Id: Ic7cec2dcc6b8e0d500a4c37eb134976b314c33ca
Thiemo Mättig [Thu, 11 Jan 2018 13:21:58 +0000 (14:21 +0100)]
Update UserSaveOptions/UserSaveSettings hook descriptions
I already updated
https://www.mediawiki.org/wiki/Manual:Hooks/UserSaveOptions
https://www.mediawiki.org/wiki/Manual:Hooks/UserSaveSettings
accordingly.
Change-Id: I492f83aa8acb6521f3e175fdbf507a7e44491ca2
Reedy [Fri, 1 Dec 2017 19:33:10 +0000 (19:33 +0000)]
Add abstract functions to abstract class..
Rather than just expecting the child class to have them
Change-Id: Ib145d333e3b8908a8535e974ec8f1f69b2b10e3a
Translation updater bot [Sat, 20 Jan 2018 12:56:38 +0000 (13:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Icba7b1ff1e696b84333f8a8adaf79c2d8d16d7de
jenkins-bot [Sat, 20 Jan 2018 12:20:06 +0000 (12:20 +0000)]
Merge "Remove unused SpecialPasswordReset::$passwords"
jenkins-bot [Sat, 20 Jan 2018 12:15:37 +0000 (12:15 +0000)]
Merge "Fix variable name to match code"
jenkins-bot [Sat, 20 Jan 2018 12:14:24 +0000 (12:14 +0000)]
Merge "Remove 2 unused private fields from ApiFormatBase"
jenkins-bot [Sat, 20 Jan 2018 12:14:21 +0000 (12:14 +0000)]
Merge "Remove User::$mGroups"
addshore [Sat, 13 Jan 2018 14:06:39 +0000 (14:06 +0000)]
selenium: add re-creatable page test to page spec
Change-Id: I61c452246c29bd22000a06844901dfe8ca06fadd
addshore [Sat, 13 Jan 2018 13:52:35 +0000 (13:52 +0000)]
selenium, add restoration test to page spec
Change-Id: Ied06915f982e693b00edab14b8c29c978a5d6dff
addshore [Sat, 13 Jan 2018 12:56:46 +0000 (12:56 +0000)]
selenium: add deletion test to page spec
Change-Id: Ia17b52958778a09378eeb10c9f24ebe9229bd9f5
Fomafix [Tue, 19 Apr 2016 16:32:50 +0000 (16:32 +0000)]
Special:Upload: Use user interface language for error message
This change adds the parameters errorformat=html and errorlang with the user
interface language code to the API request.
Bug: T133059
Change-Id: I75b3c9537a8805367d36a4e51453a9f9219c9555
Umherirrender [Sat, 20 Jan 2018 09:44:46 +0000 (10:44 +0100)]
ConfigFactory: Improve error message for invalid callback
Getting the following error for an invalid callback in extension
registration is not helpful:
Fatal error: Uncaught exception 'InvalidArgumentException' with message
'Invalid callback provided' in /includes/config/ConfigFactory.php:108
Changed message to
Invalid callback '$1' provided
Added a test case for the instanceof part of the if
Change-Id: I425e2607b651c666336289c2c0d93730bb6312ed