Ori Livneh [Fri, 25 Sep 2015 17:57:35 +0000 (10:57 -0700)]
resourceloader: Tidy up RL to simplify ResourceLoaderEditToolbarModule
* Remove ResourceLoaderFileModule::getLessCompiler(). There is no reason for a
module to need to get a compiler in a different manner than
ResourceLoader::getLessCompiler().
* Add ResourceLoaderModule::getLessVars(). This method provides a means for
subclasses to easily inject custom LESS variables. The default implementation
simply returns an empty array.
* Make the $context parameter for ResourceLoaderFileModule::readStyleFiles()
non-optional (via graceful deprecation). The only callers I found were either
already calling it with a ResourceLoader context, or had a perfectly usable
ResourceLoaderContext in local scope.
* Make ResourceLoaderFileModule::{readStyleFile,getLessCompiler} require a
context. These methods are protected, so I didn't bother with a deprecation.
* Call ksort() on the LESS variables array in the only place it matters -- when
hashing its serialized representation to construct a cache lookup key. This
relieves getLessVars() subclasses from having to remember to re-sort the
variables array if they modify it.
* These changes make it possible to substantially simplify
ResourceLoaderEditToolbarModule, because the only thing it needs to do now is
implement its own getLessVars() method.
* This also allows it to be versioned like any other ResourceLoaderFileModule,
rather than having to use enableModuleContentVersion().
Change-Id: Ic3eab71691e502bfe19bdf4eb6f82cc679a7782f
jenkins-bot [Sat, 26 Sep 2015 21:52:43 +0000 (21:52 +0000)]
Merge "Wrap some long strings in tests/"
jenkins-bot [Sat, 26 Sep 2015 21:02:39 +0000 (21:02 +0000)]
Merge "Fixed spacing"
umherirrender [Sat, 26 Sep 2015 20:32:31 +0000 (22:32 +0200)]
Fixed spacing
- Removed space after cast
- Removed spaces in array index
- Removed double spaces
- Added spaces around string concat
- Fixed mixed tabs and spaces at begin of line
Change-Id: I38e849723f055d2d4c05cba72f5c245a28e8d5da
umherirrender [Sat, 26 Sep 2015 20:38:25 +0000 (22:38 +0200)]
Add curly braces to if statement
Change-Id: I827eb48ee030c338336d91dbfd016c22c5e3cb6b
Amir E. Aharoni [Sat, 26 Sep 2015 20:29:07 +0000 (23:29 +0300)]
Fix a spelling mistake in a test description
Change-Id: Ic9a95e417bff0eb17df3f5b87c430e0329043b44
jenkins-bot [Sat, 26 Sep 2015 20:12:06 +0000 (20:12 +0000)]
Merge "Wrap some long lines..."
Reedy [Sat, 26 Sep 2015 19:48:17 +0000 (20:48 +0100)]
Wrap some long strings in tests/
Change-Id: I89d53c5051e5ee4bd8624df8ee2b25993090a7df
Reedy [Sat, 26 Sep 2015 19:53:09 +0000 (19:53 +0000)]
Revert "Swap leading spaces to tabs in backup phpunit tests"
This reverts commit
9ac7cc130041e0b98c40749d66223ae5aa5a4367.
Change-Id: I5e05df8d3ab83820008f833f1512689594b81c8a
Reedy [Sat, 26 Sep 2015 19:34:18 +0000 (20:34 +0100)]
Wrap some long lines...
Change-Id: Ib3a5d39e3c51caa187d4b1a6f1b736546a43f8cd
Amir E. Aharoni [Sat, 26 Sep 2015 18:51:35 +0000 (21:51 +0300)]
Make lines shorter to pass phpcs in thumb.php
Bug: T102614
Change-Id: I01158675db267832a03385945d3dcdf422ddc467
jenkins-bot [Sat, 26 Sep 2015 19:04:19 +0000 (19:04 +0000)]
Merge "API: Correct 'from_namespace' logic in ApiQueryBacklinksprop"
jenkins-bot [Sat, 26 Sep 2015 19:04:13 +0000 (19:04 +0000)]
Merge "Make lines short to pass phpcs in six files under includes/"
Translation updater bot [Sat, 26 Sep 2015 18:56:44 +0000 (18:56 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Sat, 26 Sep 2015 18:53:28 +0000 (18:53 +0000)]
Merge "Fixed DatabaseBase references in IDatabase docs"
jenkins-bot [Sat, 26 Sep 2015 18:53:22 +0000 (18:53 +0000)]
Merge "Swap leading spaces to tabs in backup phpunit tests"
Translation updater bot [Sat, 26 Sep 2015 18:50:52 +0000 (20:50 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If14c9f2c908b47b278bdcc455f024b055a9ec47c
jenkins-bot [Sat, 26 Sep 2015 18:45:48 +0000 (18:45 +0000)]
Merge "Make lines shorter to pass phpcs under includes/libs"
jenkins-bot [Sat, 26 Sep 2015 18:45:44 +0000 (18:45 +0000)]
Merge "Make line shorter to pass phpcs in LinkerTest.php"
Amir E. Aharoni [Sat, 26 Sep 2015 18:19:00 +0000 (21:19 +0300)]
Make lines short to pass phpcs in six files under includes/
Bug: T102614
Change-Id: I91a2d4f4bf86a22c8bb466da0e2f95ea27c571a3
jenkins-bot [Sat, 26 Sep 2015 18:36:07 +0000 (18:36 +0000)]
Merge "Make lines shorter to pass phpcs in some files under includes/parser"
Aaron Schulz [Sat, 26 Sep 2015 18:32:30 +0000 (11:32 -0700)]
Fixed DatabaseBase references in IDatabase docs
Change-Id: I5538de58ec5f10426260e3de468a8aff03144976
Aaron Schulz [Sat, 26 Sep 2015 18:25:01 +0000 (18:25 +0000)]
Merge "Database: Remove resultObject() from the public interface"
Amir E. Aharoni [Sat, 26 Sep 2015 18:06:36 +0000 (21:06 +0300)]
Make lines shorter to pass phpcs under includes/libs
Bug: T102614
Change-Id: I40ca85dbc5849d6ff7ee584c82a8b56d07e095b6
Amir E. Aharoni [Sat, 26 Sep 2015 18:09:08 +0000 (21:09 +0300)]
Make line shorter to pass phpcs in LinkerTest.php
There are other linkes here ythat will require a different treatment.
Bug: T102614
Change-Id: Ia0c75d11a85a931d37941471f9c9bdc16fda28e1
Aaron Schulz [Sat, 26 Sep 2015 18:19:38 +0000 (18:19 +0000)]
Merge "Updated key WANObjectCache::delete() callers to avoid races"
Amir E. Aharoni [Sat, 26 Sep 2015 17:17:49 +0000 (20:17 +0300)]
Make lines shorter to pass phpcs in some files under includes/parser
This doesn't fix all the files under includes/parser -
some of them deserve their own patches.
Bug: T102614
Change-Id: I2fcbc19ee337e1b7db4635b5e5f324c651b4d144
jenkins-bot [Sat, 26 Sep 2015 18:16:54 +0000 (18:16 +0000)]
Merge "Use a constructive button on Special:MovePage"
Kevin Israel [Sat, 26 Sep 2015 10:31:05 +0000 (06:31 -0400)]
Database: Remove resultObject() from the public interface
It has not been necessary to call this method outside the Database classes
since 1.11 (r23756 /
9382bc7a858c).
This is a breaking change and should not be merged before the following
changes to extensions:
* Disambiguator: Ibef942fd
* Maps: Ic90bd0ad
* OAI: Idbbe08d6
* Oversight: I63071e65
* Video: Id71914cd
Change-Id: Idfe7cd6f516f0aca850878282c47e7914accc6d8
Aaron Schulz [Thu, 24 Sep 2015 22:25:44 +0000 (15:25 -0700)]
Updated key WANObjectCache::delete() callers to avoid races
* They now issue the delete() write before COMMIT of
the relevant DB (or immediately if no trx is active)
* This can avoid some stale write race conditions
* Updated the WAN cache delete() docs
Change-Id: Id54887976051120b76528070d5f2ceb357d57897
Reedy [Sat, 26 Sep 2015 17:54:50 +0000 (18:54 +0100)]
Swap leading spaces to tabs in backup phpunit tests
Change-Id: I821e71ab5c459d11b942f09853dbf4560fbe4d19
Aaron Schulz [Sat, 26 Sep 2015 17:54:43 +0000 (10:54 -0700)]
Removed used of resultObject() in QueryPage
Change-Id: I7aa6902a7e1a0c93e28b209de995976d5891cdfb
jenkins-bot [Sat, 26 Sep 2015 17:46:21 +0000 (17:46 +0000)]
Merge "Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect"
jenkins-bot [Sat, 26 Sep 2015 17:35:07 +0000 (17:35 +0000)]
Merge "Add wfWaitForSlaves() call in DatabaseUpdater::runUpdates()"
Reedy [Sat, 26 Sep 2015 17:04:00 +0000 (18:04 +0100)]
Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect
Change-Id: I1b756909a1080108c5147d46950f826871ef6dc1
jenkins-bot [Sat, 26 Sep 2015 17:30:53 +0000 (17:30 +0000)]
Merge "WebStart.php: Make lines shorter to make phpcs happier"
jenkins-bot [Sat, 26 Sep 2015 17:30:49 +0000 (17:30 +0000)]
Merge "Make long lines shorter to pass phpcs in 6 files"
jenkins-bot [Sat, 26 Sep 2015 17:21:52 +0000 (17:21 +0000)]
Merge "Linker.php: Make long lines shorter to pass phpcs"
jenkins-bot [Sat, 26 Sep 2015 17:21:48 +0000 (17:21 +0000)]
Merge "Fix LineLength in includes/media"
Amir E. Aharoni [Sat, 26 Sep 2015 16:58:43 +0000 (19:58 +0300)]
Make long lines shorter to pass phpcs in 6 files
Bug: T102614
Change-Id: I3159c33ddd16bded94a70f363258a294f407fc58
Amir E. Aharoni [Sat, 26 Sep 2015 16:31:24 +0000 (19:31 +0300)]
Linker.php: Make long lines shorter to pass phpcs
Bug: T102614
Change-Id: Ia014b8f89058fe9a4cf22ed63a0042ab1c66e97a
jenkins-bot [Sat, 26 Sep 2015 17:05:49 +0000 (17:05 +0000)]
Merge "Re-enable Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"
Amir E. Aharoni [Sat, 26 Sep 2015 15:53:53 +0000 (18:53 +0300)]
Fix LineLength in includes/media
Bug: T102614
Change-Id: Id46d9040e264cd2af1174938dde58ea7d9c0bb5e
jenkins-bot [Sat, 26 Sep 2015 17:01:07 +0000 (17:01 +0000)]
Merge "Re-enable Squiz.WhiteSpace.SemicolonSpacing.Incorrect"
jenkins-bot [Sat, 26 Sep 2015 16:53:03 +0000 (16:53 +0000)]
Merge "Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceBeforeCloseParenthesis"
Reedy [Sat, 26 Sep 2015 16:45:29 +0000 (17:45 +0100)]
Re-enable Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed
Change-Id: I07b4043163e5d00709f72dbbb3e2a46b17414d1c
Reedy [Sat, 26 Sep 2015 16:41:22 +0000 (17:41 +0100)]
Re-enable Squiz.WhiteSpace.SemicolonSpacing.Incorrect
Change-Id: Ie86c512fbca07f41b252d95de3ab92da3a050e72
jenkins-bot [Sat, 26 Sep 2015 16:39:22 +0000 (16:39 +0000)]
Merge "Re-enable Squiz.WhiteSpace.ScopeClosingBrace.Indent"
Reedy [Sat, 26 Sep 2015 16:16:19 +0000 (17:16 +0100)]
Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceBeforeCloseParenthesis
Change-Id: I8482f5dd9d79e4946e862b0ac03bd027d62e8646
Reedy [Sat, 26 Sep 2015 15:48:10 +0000 (16:48 +0100)]
Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceAfterOpenParenthesis
Fixed some SingleSpaceBeforeCloseParenthesis too
Change-Id: I1695c706a9b23ab98074ff7d6a3687eb5cdce6e7
Reedy [Sat, 26 Sep 2015 15:53:01 +0000 (16:53 +0100)]
Re-enable Squiz.WhiteSpace.ScopeClosingBrace.Indent
Change-Id: I743c4ce019321d631c0a11ee2112fe9aa8ba4c5d
Reedy [Sat, 26 Sep 2015 15:04:33 +0000 (16:04 +0100)]
Re-enable PSR2.Methods.MethodDeclaration.AbstractAfterVisibility
Change-Id: I50a987edf03cb19bfd707cd00c143c3665eba94f
jenkins-bot [Sat, 26 Sep 2015 15:28:00 +0000 (15:28 +0000)]
Merge "Re-enable PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter"
jenkins-bot [Sat, 26 Sep 2015 15:20:18 +0000 (15:20 +0000)]
Merge "Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines"
jenkins-bot [Sat, 26 Sep 2015 15:19:16 +0000 (15:19 +0000)]
Merge "Re-enable PSR2.Methods.MethodDeclaration.StaticBeforeVisibility"
Reedy [Sat, 26 Sep 2015 15:09:27 +0000 (16:09 +0100)]
Re-enable PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter
Change-Id: I39f71dde31f3ec18ab06904692f6a4ffd454d4d1
jenkins-bot [Sat, 26 Sep 2015 15:14:24 +0000 (15:14 +0000)]
Merge "Re-enable Generic.Files.EndFileNewline.NotFound"
jenkins-bot [Sat, 26 Sep 2015 15:06:38 +0000 (15:06 +0000)]
Merge "Re-enable MediaWiki.VariableAnalysis.UnusedGlobalVariables"
Reedy [Sat, 26 Sep 2015 15:02:57 +0000 (16:02 +0100)]
Re-enable PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
Change-Id: Id3e4bc5d7e4d1b8003f9f6b324e2321b5af1771f
Reedy [Sat, 26 Sep 2015 15:00:56 +0000 (16:00 +0100)]
Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
Add extra whitespace line too
Change-Id: Ia33c9b63c36f121e5e9283c6d4a2b024a1821a43
Reedy [Sat, 26 Sep 2015 14:58:53 +0000 (15:58 +0100)]
Re-enable Generic.Files.EndFileNewline.NotFound
Change-Id: Ib84ce8dc973f7e3fe688435a72f7936342b6f2dd
Reedy [Sat, 26 Sep 2015 14:51:52 +0000 (15:51 +0100)]
Re-enable MediaWiki.VariableAnalysis.UnusedGlobalVariables
Globals are used in included file, so ignore warning in this case
Change-Id: I50315425827cc49eac3ca943a5a8952d0292ce23
Amir E. Aharoni [Sat, 26 Sep 2015 13:06:47 +0000 (16:06 +0300)]
SpecialSearchTest.php: Make lines shorter to make phpcs happier
Also fixes a "Single space expected before closing parenthesis" failure.
Change-Id: Id35e490e7d17ee58b643e9f74583afcef62145c2
Amir E. Aharoni [Sat, 26 Sep 2015 11:26:35 +0000 (14:26 +0300)]
MediaWikiTestCase.php: Make lines shorter to make phpcs happier
Change-Id: I92ef73509e09c34f8b44a576e113a94f713b7d0d
Amir E. Aharoni [Sat, 26 Sep 2015 09:51:03 +0000 (12:51 +0300)]
WebRequest.php: Make lines shorter to make phpcs happier
Change-Id: Icdc91bc32c526065009b18ece34205aa765cfd46
Amir E. Aharoni [Sat, 26 Sep 2015 13:09:05 +0000 (16:09 +0300)]
StatusTest.php: Make lines shorter to make phpcs happier
Change-Id: Ibe2034fb8d1849f3c0f98d4c4c3ffcb8277e416b
Amir E. Aharoni [Sat, 26 Sep 2015 09:58:36 +0000 (12:58 +0300)]
ImagePage.php: Make lines shorter to make phpcs happier
Change-Id: I7207bef25bdc82c92dd4adc669468513f367eda6
Amir E. Aharoni [Sat, 26 Sep 2015 11:15:11 +0000 (14:15 +0300)]
phpunit.php: Make lines shorter to make phpcs happier
Change-Id: Ide48ca85912ab55184588a1144f9fdca7ad48227
jenkins-bot [Sat, 26 Sep 2015 13:43:01 +0000 (13:43 +0000)]
Merge "phpcs: Disable failing sniffs in phpcs.xml"
Kunal Mehta [Fri, 25 Sep 2015 17:14:45 +0000 (10:14 -0700)]
phpcs: Disable failing sniffs in phpcs.xml
This allows us to make PHPCS voting, and enable the failing rules
individually when once their issues are fixed.
Bug: T102609
Change-Id: I6731d2d07bbd89d424a660ceb7aee4c0392500d3
Amir E. Aharoni [Sat, 26 Sep 2015 11:19:17 +0000 (14:19 +0300)]
MaintenanceTest.php: Make lines shorter to make phpcs happier
Change-Id: I76c23b1acdd50dc8dd423ef651a2fd1d7e5acba3
jenkins-bot [Sat, 26 Sep 2015 12:01:45 +0000 (12:01 +0000)]
Merge "mediawiki.widgets: Create TitleSearchWidget"
Amir E. Aharoni [Sat, 26 Sep 2015 09:45:52 +0000 (12:45 +0300)]
WebStart.php: Make lines shorter to make phpcs happier
Change-Id: Ifbcf572a08837e9572cc4ed9bd274d4e5ad676ab
Aaron Schulz [Thu, 24 Sep 2015 20:47:28 +0000 (13:47 -0700)]
Assorted WANObjectCache doc tweaks
Change-Id: If207fc64279e344218d3b617eae7e69f88b23b27
jenkins-bot [Sat, 26 Sep 2015 04:26:08 +0000 (04:26 +0000)]
Merge "Include phpunit license for backported classes"
Timo Tijhof [Wed, 23 Sep 2015 16:36:10 +0000 (17:36 +0100)]
resourceloader: Include exception log id in error message
This changes the current:
> Internal error.
To be:
> [
89466ede] 2015-09-23 16:40: Fatal exception of type Less_Exception
This matches how exceptions are reported on HTML pages by MediaWiki
(via MWException::getHTML in OutputPage).
The IDs are okay to be public and exposed on HTML pages even when
$wgShowExceptionDetails is disabled.
Follows-up
d478ffde100. Ref T110659.
Change-Id: I501eaa629161184ba89d44e53cdac20b39cb0903
Ed Sanders [Fri, 25 Sep 2015 20:39:01 +0000 (21:39 +0100)]
mediawiki.widgets: Create TitleSearchWidget
TitleSearchWidget inherits from SearchWidget instead of TextInputWidget,
showing search results even when blurred.
To avoid duplication, much of the logic from TitleInputWidget has been
moved into the TitleWidget mixin.
Bug: T101169
Change-Id: I335bd912d4f5139646ba05a6a85a0d9ff3d772fa
Aaron Schulz [Fri, 25 Sep 2015 04:59:25 +0000 (21:59 -0700)]
Made wfIsBadImage() use APC
* Article 404s spend are large chunk of their time
there and the method is also hit on page save
Change-Id: I26043f596195a8fe322bc154bf375a6c5d39c968
jenkins-bot [Fri, 25 Sep 2015 22:24:37 +0000 (22:24 +0000)]
Merge "Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery"
jenkins-bot [Fri, 25 Sep 2015 21:57:16 +0000 (21:57 +0000)]
Merge "ResourceLoaderEditToolbarModule::cssSerializeString() → CSSMin::serializeStringValue()"
Max Semenik [Fri, 25 Sep 2015 21:01:00 +0000 (14:01 -0700)]
Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery
Deciding how to behave randomly is useful for testing, yet misleading
for general usage. Now that testing is over, make it a boolean switch.
Change-Id: I3e4d02aa57c853c20152c9071c444e09da57fb35
Translation updater bot [Fri, 25 Sep 2015 20:16:38 +0000 (22:16 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia63ccceda88256df242e36291e45c8e4db0ab0fa
jenkins-bot [Fri, 25 Sep 2015 19:47:08 +0000 (19:47 +0000)]
Merge "Fix hook doc for SkinTemplateBuildNavUrlsNav_urlsAfterPermalink"
jenkins-bot [Fri, 25 Sep 2015 19:47:04 +0000 (19:47 +0000)]
Merge "Fix hooks documentation for ArticleProtect/ArticleProtectComplete"
jenkins-bot [Fri, 25 Sep 2015 19:46:57 +0000 (19:46 +0000)]
Merge "Fix hook documentation for PageHistoryLineEnding"
jenkins-bot [Fri, 25 Sep 2015 19:37:58 +0000 (19:37 +0000)]
Merge "Fix hook documentation for ImagePageFileHistoryLine"
jenkins-bot [Fri, 25 Sep 2015 19:14:17 +0000 (19:14 +0000)]
Merge "Add ids to "Did you mean" links so they can be distinguished"
jenkins-bot [Fri, 25 Sep 2015 18:55:26 +0000 (18:55 +0000)]
Merge "Improve the wording of apihelp-parse-param-section"
tjones [Fri, 25 Sep 2015 17:48:49 +0000 (13:48 -0400)]
Add ids to "Did you mean" links so they can be distinguished
Add distinct labels on the did-you-mean suggestion elements
so anyone who wants to detect or identify them can.
Bug: T110359
Change-Id: I77048275063afe1e6e2f4f87eb91ad3576f49a07
jenkins-bot [Fri, 25 Sep 2015 18:33:10 +0000 (18:33 +0000)]
Merge "Add // @codingStandardsIgnoreFile to FormatMetadata"
Amir E. Aharoni [Sun, 26 Jul 2015 18:13:41 +0000 (21:13 +0300)]
Improve the wording of apihelp-parse-param-section
* Change "retrieve" to "parse" (according to Anomie's comments).
* Split the first sentence for easier understanding and translation.
* Rephrase the last sentence about "new"'s validity to be more
precise and less English-centric.
Change-Id: I71473fb186ded9e9929682d145a2381becf68767
jeroendedauw [Thu, 24 Sep 2015 17:12:34 +0000 (19:12 +0200)]
Do not pass void into output function in SpecialListfiles.php
Fix mistake caused by fail method name
Change-Id: I8b7706ebb823f08e16867e96436dc1b022f1e36b
Erik Bernhardson [Fri, 25 Sep 2015 17:58:35 +0000 (10:58 -0700)]
Include phpunit license for backported classes
Bug: T113765
Change-Id: I3f4242d4323d447097b2de42bfade969a6e3fd9d
jenkins-bot [Fri, 25 Sep 2015 18:13:05 +0000 (18:13 +0000)]
Merge "Fix spacing in ReplacementArray"
Kunal Mehta [Fri, 25 Sep 2015 17:56:34 +0000 (10:56 -0700)]
Add // @codingStandardsIgnoreFile to FormatMetadata
PHPCS can't handle the level of nesting in this file and the tokenizer
dies.
Change-Id: Ib660e034ad21202303dd443e573e54dd8ed05a43
jenkins-bot [Fri, 25 Sep 2015 17:56:32 +0000 (17:56 +0000)]
Merge "Hoist validation errors from hidden fields to the top of the form"
Kunal Mehta [Fri, 25 Sep 2015 17:54:30 +0000 (10:54 -0700)]
Fix spacing in ReplacementArray
Change-Id: I8cb23892a06ebd8ad0f0726e8a6f4c853d0eb4c3
Gergő Tisza [Tue, 15 Sep 2015 21:49:25 +0000 (21:49 +0000)]
Hoist validation errors from hidden fields to the top of the form
HTMLFormField subclasses are supposed to handle error display but
some (like hidden fields) have no means of doing this. Add
a HTMLFormField::canDisplayErrors() method which can be overridden
to return false, in which case HTMLForm will take care of the
error display.
Also adds a 'rawmessage' message which can be used to wrap
arbitrary text. This can be passed to methods which expect a message
specifier array but do not allow a message object (so the RawMessage
class cannot be used), such as HTMLFormField::trySubmit().
Bug: T112635
Change-Id: I5d73536805774ff2ee0ec64b5442650c4888dc84
jenkins-bot [Fri, 25 Sep 2015 17:39:02 +0000 (17:39 +0000)]
Merge "Add @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php"
jenkins-bot [Fri, 25 Sep 2015 17:02:40 +0000 (17:02 +0000)]
Merge "registration: Vary the loaded queue cache on $wgVersion"