Commit graph

65448 commits

Author SHA1 Message Date
Amir E. Aharoni
bd30ccd795 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
2015-09-26 18:19:11 +00:00
jenkins-bot
41eebe6709 Merge "Use a constructive button on Special:MovePage" 2015-09-26 18:16:54 +00:00
Aaron Schulz
0dbc4fc2e0 Removed used of resultObject() in QueryPage
Change-Id: I7aa6902a7e1a0c93e28b209de995976d5891cdfb
2015-09-26 10:54:43 -07:00
jenkins-bot
aa6a581a7a Merge "Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect" 2015-09-26 17:46:21 +00:00
jenkins-bot
f2244f61f4 Merge "Add wfWaitForSlaves() call in DatabaseUpdater::runUpdates()" 2015-09-26 17:35:07 +00:00
Reedy
8882634112 Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect
Change-Id: I1b756909a1080108c5147d46950f826871ef6dc1
2015-09-26 18:32:32 +01:00
jenkins-bot
ab0e0b6b2b Merge "WebStart.php: Make lines shorter to make phpcs happier" 2015-09-26 17:30:53 +00:00
jenkins-bot
a771fb6f58 Merge "Make long lines shorter to pass phpcs in 6 files" 2015-09-26 17:30:49 +00:00
jenkins-bot
cd6adc62fb Merge "Linker.php: Make long lines shorter to pass phpcs" 2015-09-26 17:21:52 +00:00
jenkins-bot
1b88e9edfb Merge "Fix LineLength in includes/media" 2015-09-26 17:21:48 +00:00
Amir E. Aharoni
c6f066b88c Make long lines shorter to pass phpcs in 6 files
Bug: T102614
Change-Id: I3159c33ddd16bded94a70f363258a294f407fc58
2015-09-26 17:07:06 +00:00
Amir E. Aharoni
1609d05c0d Linker.php: Make long lines shorter to pass phpcs
Bug: T102614
Change-Id: Ia014b8f89058fe9a4cf22ed63a0042ab1c66e97a
2015-09-26 17:06:57 +00:00
jenkins-bot
8afb099b5b Merge "Re-enable Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed" 2015-09-26 17:05:49 +00:00
Amir E. Aharoni
7a2d08ee72 Fix LineLength in includes/media
Bug: T102614
Change-Id: Id46d9040e264cd2af1174938dde58ea7d9c0bb5e
2015-09-26 20:01:29 +03:00
jenkins-bot
4ad0cdad5e Merge "Re-enable Squiz.WhiteSpace.SemicolonSpacing.Incorrect" 2015-09-26 17:01:07 +00:00
jenkins-bot
c3a5d76d19 Merge "Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceBeforeCloseParenthesis" 2015-09-26 16:53:03 +00:00
Reedy
355e58da2f Re-enable Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed
Change-Id: I07b4043163e5d00709f72dbbb3e2a46b17414d1c
2015-09-26 17:45:29 +01:00
Reedy
062af78957 Re-enable Squiz.WhiteSpace.SemicolonSpacing.Incorrect
Change-Id: Ie86c512fbca07f41b252d95de3ab92da3a050e72
2015-09-26 17:41:22 +01:00
jenkins-bot
986d426de7 Merge "Re-enable Squiz.WhiteSpace.ScopeClosingBrace.Indent" 2015-09-26 16:39:22 +00:00
Reedy
8e8368ca65 Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceBeforeCloseParenthesis
Change-Id: I8482f5dd9d79e4946e862b0ac03bd027d62e8646
2015-09-26 17:38:35 +01:00
Reedy
0ea1898b4e Re-enable MediaWiki.WhiteSpace.SpaceyParenthesis.SingleSpaceAfterOpenParenthesis
Fixed some SingleSpaceBeforeCloseParenthesis too

Change-Id: I1695c706a9b23ab98074ff7d6a3687eb5cdce6e7
2015-09-26 16:13:12 +00:00
Reedy
3a6fc5e96c Re-enable Squiz.WhiteSpace.ScopeClosingBrace.Indent
Change-Id: I743c4ce019321d631c0a11ee2112fe9aa8ba4c5d
2015-09-26 16:09:54 +00:00
Reedy
94c01868b2 Re-enable PSR2.Methods.MethodDeclaration.AbstractAfterVisibility
Change-Id: I50a987edf03cb19bfd707cd00c143c3665eba94f
2015-09-26 16:30:43 +01:00
jenkins-bot
ad2a484630 Merge "Re-enable PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter" 2015-09-26 15:28:00 +00:00
jenkins-bot
dd3c4f3a6f Merge "Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" 2015-09-26 15:20:18 +00:00
jenkins-bot
831fdbea37 Merge "Re-enable PSR2.Methods.MethodDeclaration.StaticBeforeVisibility" 2015-09-26 15:19:16 +00:00
Reedy
abfe13dfe8 Re-enable PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter
Change-Id: I39f71dde31f3ec18ab06904692f6a4ffd454d4d1
2015-09-26 15:17:57 +00:00
jenkins-bot
2e6f2116e6 Merge "Re-enable Generic.Files.EndFileNewline.NotFound" 2015-09-26 15:14:24 +00:00
jenkins-bot
f2c1839567 Merge "Re-enable MediaWiki.VariableAnalysis.UnusedGlobalVariables" 2015-09-26 15:06:38 +00:00
Reedy
baa8875537 Re-enable PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
Change-Id: Id3e4bc5d7e4d1b8003f9f6b324e2321b5af1771f
2015-09-26 16:02:57 +01:00
Reedy
0b3e3b7622 Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
Add extra whitespace line too

Change-Id: Ia33c9b63c36f121e5e9283c6d4a2b024a1821a43
2015-09-26 16:00:56 +01:00
Reedy
776c865077 Re-enable Generic.Files.EndFileNewline.NotFound
Change-Id: Ib84ce8dc973f7e3fe688435a72f7936342b6f2dd
2015-09-26 15:58:53 +01:00
Reedy
ca4c290082 Re-enable MediaWiki.VariableAnalysis.UnusedGlobalVariables
Globals are used in included file, so ignore warning in this case

Change-Id: I50315425827cc49eac3ca943a5a8952d0292ce23
2015-09-26 15:51:52 +01:00
Amir E. Aharoni
51f6dca4aa SpecialSearchTest.php: Make lines shorter to make phpcs happier
Also fixes a "Single space expected before closing parenthesis" failure.

Change-Id: Id35e490e7d17ee58b643e9f74583afcef62145c2
2015-09-26 14:42:26 +00:00
Amir E. Aharoni
f1efaf92e2 MediaWikiTestCase.php: Make lines shorter to make phpcs happier
Change-Id: I92ef73509e09c34f8b44a576e113a94f713b7d0d
2015-09-26 14:31:54 +00:00
Amir E. Aharoni
d928aac86c WebRequest.php: Make lines shorter to make phpcs happier
Change-Id: Icdc91bc32c526065009b18ece34205aa765cfd46
2015-09-26 14:19:03 +00:00
Amir E. Aharoni
3f5740ba03 StatusTest.php: Make lines shorter to make phpcs happier
Change-Id: Ibe2034fb8d1849f3c0f98d4c4c3ffcb8277e416b
2015-09-26 14:07:08 +00:00
Amir E. Aharoni
c5cb8fdc23 ImagePage.php: Make lines shorter to make phpcs happier
Change-Id: I7207bef25bdc82c92dd4adc669468513f367eda6
2015-09-26 13:55:51 +00:00
Amir E. Aharoni
e17c107ba8 phpunit.php: Make lines shorter to make phpcs happier
Change-Id: Ide48ca85912ab55184588a1144f9fdca7ad48227
2015-09-26 13:44:30 +00:00
jenkins-bot
e183389656 Merge "phpcs: Disable failing sniffs in phpcs.xml" 2015-09-26 13:43:01 +00:00
Kunal Mehta
a49a8e7f09 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
2015-09-26 13:27:45 +00:00
Amir E. Aharoni
1857ab94cd MaintenanceTest.php: Make lines shorter to make phpcs happier
Change-Id: I76c23b1acdd50dc8dd423ef651a2fd1d7e5acba3
2015-09-26 13:21:21 +00:00
jenkins-bot
412d9dd59c Merge "mediawiki.widgets: Create TitleSearchWidget" 2015-09-26 12:01:45 +00:00
Amir E. Aharoni
94508ab5b2 WebStart.php: Make lines shorter to make phpcs happier
Change-Id: Ifbcf572a08837e9572cc4ed9bd274d4e5ad676ab
2015-09-26 12:45:52 +03:00
Aaron Schulz
859cc75432 Assorted WANObjectCache doc tweaks
Change-Id: If207fc64279e344218d3b617eae7e69f88b23b27
2015-09-26 04:53:58 +00:00
jenkins-bot
4a59d85b11 Merge "Include phpunit license for backported classes" 2015-09-26 04:26:08 +00:00
Timo Tijhof
9dcc8c872b 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 d478ffde10. Ref T110659.

Change-Id: I501eaa629161184ba89d44e53cdac20b39cb0903
2015-09-25 23:40:03 +00:00
Ed Sanders
8aeef44d7d 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
2015-09-25 23:56:32 +01:00
Aaron Schulz
a607f11f94 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
2015-09-25 22:38:04 +00:00
jenkins-bot
ec2da8d2f7 Merge "Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery" 2015-09-25 22:24:37 +00:00