lhc/web/wiklou.git
8 years agoRe-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
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

8 years agoSpecialSearchTest.php: Make lines shorter to make phpcs happier
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

8 years agoMediaWikiTestCase.php: Make lines shorter to make phpcs happier
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

8 years agoWebRequest.php: Make lines shorter to make phpcs happier
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

8 years agoStatusTest.php: Make lines shorter to make phpcs happier
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

8 years agoImagePage.php: Make lines shorter to make phpcs happier
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

8 years agophpunit.php: Make lines shorter to make phpcs happier
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

8 years agoMerge "phpcs: Disable failing sniffs in phpcs.xml"
jenkins-bot [Sat, 26 Sep 2015 13:43:01 +0000 (13:43 +0000)]
Merge "phpcs: Disable failing sniffs in phpcs.xml"

8 years agophpcs: 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

8 years agoMaintenanceTest.php: Make lines shorter to make phpcs happier
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

8 years agoMerge "mediawiki.widgets: Create TitleSearchWidget"
jenkins-bot [Sat, 26 Sep 2015 12:01:45 +0000 (12:01 +0000)]
Merge "mediawiki.widgets: Create TitleSearchWidget"

8 years agoAssorted WANObjectCache doc tweaks
Aaron Schulz [Thu, 24 Sep 2015 20:47:28 +0000 (13:47 -0700)]
Assorted WANObjectCache doc tweaks

Change-Id: If207fc64279e344218d3b617eae7e69f88b23b27

8 years agoMerge "Include phpunit license for backported classes"
jenkins-bot [Sat, 26 Sep 2015 04:26:08 +0000 (04:26 +0000)]
Merge "Include phpunit license for backported classes"

8 years agoresourceloader: Include exception log id in error message
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

8 years agomediawiki.widgets: Create TitleSearchWidget
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

8 years agoMade wfIsBadImage() use APC
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

8 years agoMerge "Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery"
jenkins-bot [Fri, 25 Sep 2015 22:24:37 +0000 (22:24 +0000)]
Merge "Turn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery"

8 years agoMerge "ResourceLoaderEditToolbarModule::cssSerializeString() → CSSMin::serializeStrin...
jenkins-bot [Fri, 25 Sep 2015 21:57:16 +0000 (21:57 +0000)]
Merge "ResourceLoaderEditToolbarModule::cssSerializeString() → CSSMin::serializeStringValue()"

8 years agoTurn $wgSearchRunSuggestedQueryPercent into $wgSearchRunSuggestedQuery
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

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 25 Sep 2015 20:16:38 +0000 (22:16 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia63ccceda88256df242e36291e45c8e4db0ab0fa

8 years agoMerge "Fix hook doc for SkinTemplateBuildNavUrlsNav_urlsAfterPermalink"
jenkins-bot [Fri, 25 Sep 2015 19:47:08 +0000 (19:47 +0000)]
Merge "Fix hook doc for SkinTemplateBuildNavUrlsNav_urlsAfterPermalink"

8 years agoMerge "Fix hooks documentation for ArticleProtect/ArticleProtectComplete"
jenkins-bot [Fri, 25 Sep 2015 19:47:04 +0000 (19:47 +0000)]
Merge "Fix hooks documentation for ArticleProtect/ArticleProtectComplete"

8 years agoMerge "Fix hook documentation for PageHistoryLineEnding"
jenkins-bot [Fri, 25 Sep 2015 19:46:57 +0000 (19:46 +0000)]
Merge "Fix hook documentation for PageHistoryLineEnding"

8 years agoMerge "Fix hook documentation for ImagePageFileHistoryLine"
jenkins-bot [Fri, 25 Sep 2015 19:37:58 +0000 (19:37 +0000)]
Merge "Fix hook documentation for ImagePageFileHistoryLine"

8 years agoMerge "Add ids to "Did you mean" links so they can be distinguished"
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"

8 years agoMerge "Improve the wording of apihelp-parse-param-section"
jenkins-bot [Fri, 25 Sep 2015 18:55:26 +0000 (18:55 +0000)]
Merge "Improve the wording of apihelp-parse-param-section"

8 years agoAdd ids to "Did you mean" links so they can be distinguished
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

8 years agoMerge "Add // @codingStandardsIgnoreFile to FormatMetadata"
jenkins-bot [Fri, 25 Sep 2015 18:33:10 +0000 (18:33 +0000)]
Merge "Add // @codingStandardsIgnoreFile to FormatMetadata"

8 years agoImprove the wording of apihelp-parse-param-section
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

8 years agoDo not pass void into output function in SpecialListfiles.php
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

8 years agoInclude phpunit license for backported classes
Erik Bernhardson [Fri, 25 Sep 2015 17:58:35 +0000 (10:58 -0700)]
Include phpunit license for backported classes

Bug: T113765
Change-Id: I3f4242d4323d447097b2de42bfade969a6e3fd9d

8 years agoMerge "Fix spacing in ReplacementArray"
jenkins-bot [Fri, 25 Sep 2015 18:13:05 +0000 (18:13 +0000)]
Merge "Fix spacing in ReplacementArray"

8 years agoAdd // @codingStandardsIgnoreFile to FormatMetadata
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

8 years agoMerge "Hoist validation errors from hidden fields to the top of the form"
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"

8 years agoFix spacing in ReplacementArray
Kunal Mehta [Fri, 25 Sep 2015 17:54:30 +0000 (10:54 -0700)]
Fix spacing in ReplacementArray

Change-Id: I8cb23892a06ebd8ad0f0726e8a6f4c853d0eb4c3

8 years agoHoist validation errors from hidden fields to the top of the form
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

8 years agoMerge "Add @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php"
jenkins-bot [Fri, 25 Sep 2015 17:39:02 +0000 (17:39 +0000)]
Merge "Add @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php"

8 years agoMerge "registration: Vary the loaded queue cache on $wgVersion"
jenkins-bot [Fri, 25 Sep 2015 17:02:40 +0000 (17:02 +0000)]
Merge "registration: Vary the loaded queue cache on $wgVersion"

8 years agoAdd @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php
Kunal Mehta [Fri, 25 Sep 2015 16:54:12 +0000 (09:54 -0700)]
Add @codingStandardsIgnoreFile to ConsecutiveParametersMatcher.php

It was apparently copied from upstream, and doesn't match our coding
conventions.

Change-Id: I6da7ce6f29c9dff007f81a6fbf07dcc6ad37f04c

8 years agoResourceLoaderEditToolbarModule::cssSerializeString() → CSSMin::serializeStringValue()
Ori Livneh [Fri, 25 Sep 2015 16:43:35 +0000 (09:43 -0700)]
ResourceLoaderEditToolbarModule::cssSerializeString() → CSSMin::serializeStringValue()

ResourceLoaderEditToolbarModule is clearly the wrong place for something so
generic, so this method needs a new home. We can either introduce a new class
or find a suitable existing home. I think CSSMin is suitable. It has public
methods that do things that are closely related, like `encodeStringAsDataURI`
and `buildUrlValue`.

Change-Id: Icc6dfb8f47199e6188dd71948f4645baee085e51

8 years agoMerge "Remove unused private property LinkCache::$mClassVer"
jenkins-bot [Fri, 25 Sep 2015 16:40:35 +0000 (16:40 +0000)]
Merge "Remove unused private property LinkCache::$mClassVer"

8 years agoMove LogFormatter test comment block
addshore [Fri, 25 Sep 2015 15:22:22 +0000 (16:22 +0100)]
Move LogFormatter test comment block

This was missed in:
https://gerrit.wikimedia.org/r/#/c/239783/
Ia5016c82c00dd7c35a6f1253d6e385b587ec485e

Change-Id: Ibf537aaca2a0ca9d2c509499f6da5b9e51b06037

8 years agoMigrate protect log to new log system
umherirrender [Sat, 22 Aug 2015 18:29:00 +0000 (20:29 +0200)]
Migrate protect log to new log system

This localize the protect type, level and expiry on Special:Log/protect.
To allow i18n there are some details stored in the log params of new log
items, these details also shown on API output.
The details cannot get from the old existing data, because there are
containing L10n strings therefore i18n works only for new items.
In the api and for IRC the old description text is still stored in the
log params for backward compatibility.

This allows use of gender on Special:Log. Old messages are kept for use
in IRC. Tests already exists to ensure an unchanged IRC message.

Bug: T47988
Change-Id: I3bb85c61b857972e66c99c499d7d785c88cafb25

8 years agoMovePageForm: Remove incorrectly copied line (dead code)
Bartosz Dziewoński [Fri, 25 Sep 2015 14:23:09 +0000 (16:23 +0200)]
MovePageForm: Remove incorrectly copied line (dead code)

Follow-up to 5befb9b74790a99aec5514ad8f8784a4fb085288.

Change-Id: I46a6efcea701f3daccc874bd914cecc4f2db67bc

8 years agoRemove unused private property LinkCache::$mClassVer
Kevin Israel [Fri, 25 Sep 2015 09:56:44 +0000 (05:56 -0400)]
Remove unused private property LinkCache::$mClassVer

This was added in r2084 / c280ef342b64 for a "persistent link cache"
feature, which became obsolete in 1.4 and was removed in 1.5.

https://www.mediawiki.org/wiki/Manual:$wgEnablePersistentLC

Follows-up r9276 / cb45389b9c4d.

Change-Id: I2f27d6acc1a1f9a9382a47d56921f570107a7be9

8 years agoMovePageForm: Add value attribute to reason field back again
Glaisher [Fri, 25 Sep 2015 11:46:17 +0000 (16:46 +0500)]
MovePageForm: Add value attribute to reason field back again

Bug: T113718
Change-Id: Ie51a301a9d5e2c5865ae19b7c6113eb4bf24c8d4

8 years agoMerge "mediawiki.action.edit.preview: Remove use of deprecated 'modulemessages'"
jenkins-bot [Fri, 25 Sep 2015 09:49:55 +0000 (09:49 +0000)]
Merge "mediawiki.action.edit.preview: Remove use of deprecated 'modulemessages'"

8 years agoMerge "Replacing old references from Bugzilla to Phabricator"
jenkins-bot [Fri, 25 Sep 2015 07:08:53 +0000 (07:08 +0000)]
Merge "Replacing old references from Bugzilla to Phabricator"

8 years agoMerge "phpunit: Set $wgMainStash to 'hash' during test execution"
jenkins-bot [Fri, 25 Sep 2015 05:20:59 +0000 (05:20 +0000)]
Merge "phpunit: Set $wgMainStash to 'hash' during test execution"

8 years agophpunit: Set $wgMainStash to 'hash' during test execution
Timo Tijhof [Fri, 25 Sep 2015 04:51:01 +0000 (05:51 +0100)]
phpunit: Set $wgMainStash to 'hash' during test execution

Also clean up the other cache settings to match their order
as defined in DefaultSettings.php.

Don't disable MessageCacheType, ParserCacheType etc. This could
prevent bugs from happening during tests. They are enabled by default
in MediaWiki with CACHE_ANYTHING. At least let them use 'hash'
during tests to resemble a more realistic environment.

Change-Id: Id9edf33c600db3ac4d837e1674a8eb2f5363a4f8

8 years agoMove FileContentsHasher into includes/utils/
Kunal Mehta [Fri, 25 Sep 2015 01:27:28 +0000 (18:27 -0700)]
Move FileContentsHasher into includes/utils/

The class only contains two dependencies upon MediaWiki (ObjectCache &
wfGlobalCacheKey) which are suitable for inclusion in the utils
directory.

Change-Id: I85b4c763be2670c40f26d93e75cedcb68eaa7987

8 years agoregistration: Vary the loaded queue cache on $wgVersion
Kunal Mehta [Fri, 25 Sep 2015 01:09:41 +0000 (18:09 -0700)]
registration: Vary the loaded queue cache on $wgVersion

If the version changes, we need to recheck the dependency requirements.

Follows-up cef1f31167177ca05c8981d.

Change-Id: I30e95b5dec7b5a1d9ca391fb2ae55e0b3de0c528

8 years agoMerge "Add unit tests for FileContentsHasher"
jenkins-bot [Fri, 25 Sep 2015 00:43:23 +0000 (00:43 +0000)]
Merge "Add unit tests for FileContentsHasher"

8 years agoMerge "phpunit: Replace APC with HashBagOStuff during a test"
jenkins-bot [Fri, 25 Sep 2015 00:32:55 +0000 (00:32 +0000)]
Merge "phpunit: Replace APC with HashBagOStuff during a test"

8 years agoMerge "CurlHttpRequest: Follow redirects even under open_basedir"
jenkins-bot [Thu, 24 Sep 2015 23:16:00 +0000 (23:16 +0000)]
Merge "CurlHttpRequest: Follow redirects even under open_basedir"

8 years agoMerge "Use wikimedia/cldr-plural-rule-parser"
jenkins-bot [Thu, 24 Sep 2015 23:15:56 +0000 (23:15 +0000)]
Merge "Use wikimedia/cldr-plural-rule-parser"

8 years agoMoved all load balancer classes to /loadbalancer
Aaron Schulz [Thu, 24 Sep 2015 20:00:12 +0000 (13:00 -0700)]
Moved all load balancer classes to /loadbalancer

* Also split out LBFactory classes to their own files

Change-Id: I9e649878afcffdb736c09c0574e5f99b1e72382f

8 years agojquery.tablesorter: Improve detection and handling of isoDate
Derk-Jan Hartman [Sun, 9 Mar 2014 23:37:27 +0000 (00:37 +0100)]
jquery.tablesorter: Improve detection and handling of isoDate

Bug: T54842
Change-Id: I193870dcc97477a4fd52a75d3beb9db21e64f171

8 years agoReplacing old references from Bugzilla to Phabricator
maurelio [Thu, 24 Sep 2015 21:23:13 +0000 (23:23 +0200)]
Replacing old references from Bugzilla to Phabricator

Change-Id: Ib1c4eba7317bba5a61d82f31cf43541cd45f64a4

8 years agoMerge "Remove $this reference in static method"
jenkins-bot [Thu, 24 Sep 2015 20:19:35 +0000 (20:19 +0000)]
Merge "Remove $this reference in static method"

8 years agoUse wikimedia/cldr-plural-rule-parser
Niklas Laxström [Thu, 24 Sep 2015 07:15:49 +0000 (09:15 +0200)]
Use wikimedia/cldr-plural-rule-parser

Replaces the parser included in MediaWiki with same code in
a library.

Change-Id: I1d2675466a543269e17faf213aa68d2b7afaf78e

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 24 Sep 2015 19:14:52 +0000 (21:14 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3d916f4015f1885e3ac041c3f780209e0dee35d6

8 years agoMerge "oyejorge/less.php 1.7.0.5 → 1.7.0.8"
jenkins-bot [Thu, 24 Sep 2015 18:28:52 +0000 (18:28 +0000)]
Merge "oyejorge/less.php 1.7.0.5 → 1.7.0.8"

8 years agoMerge "Load module mediawiki.page.gallery.styles for all ImageGalleries"
jenkins-bot [Thu, 24 Sep 2015 18:22:29 +0000 (18:22 +0000)]
Merge "Load module mediawiki.page.gallery.styles for all ImageGalleries"

8 years agoMerge "Lowered $wgUpdateRowsPerJob to avoid slave lag"
jenkins-bot [Thu, 24 Sep 2015 18:20:25 +0000 (18:20 +0000)]
Merge "Lowered $wgUpdateRowsPerJob to avoid slave lag"

8 years agooyejorge/less.php 1.7.0.5 → 1.7.0.8
Ori Livneh [Thu, 24 Sep 2015 18:13:50 +0000 (11:13 -0700)]
oyejorge/less.php 1.7.0.5 → 1.7.0.8

Bug: T113187
Bug: T113112
Change-Id: I4b78f78e5427e09ca97f5ceb2dbf290d5ef71aa8

8 years agoMerge "Fix type hint in unprefixRow"
jenkins-bot [Thu, 24 Sep 2015 18:05:39 +0000 (18:05 +0000)]
Merge "Fix type hint in unprefixRow"

8 years agoMerge "Remove unused argument"
jenkins-bot [Thu, 24 Sep 2015 18:04:40 +0000 (18:04 +0000)]
Merge "Remove unused argument"

8 years agoMerge "Remove dead code"
jenkins-bot [Thu, 24 Sep 2015 17:52:50 +0000 (17:52 +0000)]
Merge "Remove dead code"

8 years agoLowered $wgUpdateRowsPerJob to avoid slave lag
Aaron Schulz [Thu, 24 Sep 2015 17:49:28 +0000 (10:49 -0700)]
Lowered $wgUpdateRowsPerJob to avoid slave lag

Bug: T95501
Change-Id: I3819391a55867aa60a6588336fe1c56ac991c2f9

8 years agoMerge "Remove unused $pageSet var"
jenkins-bot [Thu, 24 Sep 2015 17:34:32 +0000 (17:34 +0000)]
Merge "Remove unused $pageSet var"

8 years agoMerge "RollbackAction: Remove dead argument"
jenkins-bot [Thu, 24 Sep 2015 17:27:31 +0000 (17:27 +0000)]
Merge "RollbackAction: Remove dead argument"

8 years agoFix type hint in unprefixRow
jeroendedauw [Thu, 24 Sep 2015 17:16:27 +0000 (19:16 +0200)]
Fix type hint in unprefixRow

Change-Id: Iba80cadfdb06b3f9b3f5a6e1d367260405bea1d0

8 years agoRollbackAction: Remove dead argument
jeroendedauw [Thu, 24 Sep 2015 17:08:38 +0000 (19:08 +0200)]
RollbackAction: Remove dead argument

Change-Id: Icd1584460e68422e50d4391bfbdf0d938ab1c1cf

8 years agoRemove unused argument
jeroendedauw [Thu, 24 Sep 2015 17:10:45 +0000 (19:10 +0200)]
Remove unused argument

Change-Id: I7e7cf2b1f99834a140d0213c39cc67cfbc481ec9

8 years agoRemove unused $pageSet var
jeroendedauw [Thu, 24 Sep 2015 17:06:59 +0000 (19:06 +0200)]
Remove unused $pageSet var

Change-Id: Ic9c8bf9ed840703128a4c0e873ef7d70b6155494

8 years agoTypo fix to phab reference in comment
C. Scott Ananian [Thu, 24 Sep 2015 17:03:22 +0000 (13:03 -0400)]
Typo fix to phab reference in comment

This got inadvertently corrupted in the bugzilla->phab cleanup done
in 271da881279417.

Change-Id: Ic70a9bd167e76800466a00521f5564d9d13c7c2b

8 years agoRemove dead code
jeroendedauw [Thu, 24 Sep 2015 17:06:19 +0000 (19:06 +0200)]
Remove dead code

Change-Id: Iafcb15a8843889bf7fbfb191b64d86e9f8561185

8 years agomediawiki.action.edit.preview: Remove use of deprecated 'modulemessages'
Timo Tijhof [Thu, 24 Sep 2015 17:02:43 +0000 (18:02 +0100)]
mediawiki.action.edit.preview: Remove use of deprecated 'modulemessages'

Deprecated as of MediaWiki 1.26, replaced with an empty array.

Change-Id: Ie809b22629e0859ef86c0bdc0fc930e85c7eae93

8 years agoMerge "Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes"
jenkins-bot [Thu, 24 Sep 2015 15:49:25 +0000 (15:49 +0000)]
Merge "Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes"

8 years agoMerge "Don't attempt to render block if none of the lines can be shown"
jenkins-bot [Thu, 24 Sep 2015 15:32:24 +0000 (15:32 +0000)]
Merge "Don't attempt to render block if none of the lines can be shown"

8 years agoMerge "Fix PHP notice when logging the result of a DNS blacklist check."
jenkins-bot [Thu, 24 Sep 2015 15:31:23 +0000 (15:31 +0000)]
Merge "Fix PHP notice when logging the result of a DNS blacklist check."

8 years agoSome bugzilla.wikimedia.org -> phabricator.wikimedia.org changes
umherirrender [Sat, 12 Sep 2015 13:54:13 +0000 (15:54 +0200)]
Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes

Changed some old bugzilla links to new phabricator links in comments,
test data and error message. This reduces the need for redirects from
old bugzilla to new phabricator from our source code.

Change-Id: Id98278e26ce31656295a23f3cadb536859c4caa5

8 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Thu, 24 Sep 2015 15:13:21 +0000 (15:13 +0000)]
Merge "Sync up with Parsoid parserTests."

8 years agoLoad module mediawiki.page.gallery.styles for all ImageGalleries
umherirrender [Wed, 23 Sep 2015 19:40:51 +0000 (21:40 +0200)]
Load module mediawiki.page.gallery.styles for all ImageGalleries

Move the added module from Parser.php to TraditionalImageGallery,
because there the gallerybox class is added to the html and at the
moment all core image galleries are extending the traditional one.

That brings the styles back for special pages like Special:NewFiles,
Special:MostImages and also on category pages with media files.

Follows Ib1aef04dc4fece78e6615386ecaef6a9f368f49e

Bug: T113511
Change-Id: I32697c2c65824d7622c1840330d6074ebb68b488

8 years agoMerge "tests: add structure and less tests to 'skins' suite"
jenkins-bot [Thu, 24 Sep 2015 14:38:58 +0000 (14:38 +0000)]
Merge "tests: add structure and less tests to 'skins' suite"

8 years agoMerge "Skip ImportTest if allow_url_fopen disabled"
jenkins-bot [Thu, 24 Sep 2015 12:47:40 +0000 (12:47 +0000)]
Merge "Skip ImportTest if allow_url_fopen disabled"

8 years agoMerge "Fix exception in Import, when import of a revision fails"
jenkins-bot [Thu, 24 Sep 2015 12:41:09 +0000 (12:41 +0000)]
Merge "Fix exception in Import, when import of a revision fails"

8 years agoAdd unit tests for FileContentsHasher
Ori Livneh [Thu, 24 Sep 2015 06:29:29 +0000 (23:29 -0700)]
Add unit tests for FileContentsHasher

Adds two unit tests for the FileContentsHasher class introduced in I1ff61153.

Change-Id: I711db6bb25c018d36fd89c8ab2dbe8d11ed94537

8 years agophpunit: Replace APC with HashBagOStuff during a test
Timo Tijhof [Thu, 24 Sep 2015 12:23:15 +0000 (13:23 +0100)]
phpunit: Replace APC with HashBagOStuff during a test

* Ensures values don't survive the unit test run.
* Ensures a clean state for each test.

Change-Id: I94e1ac14096fb4c4071fe9960d9465e60f27a89d

8 years agoMerge "Add language 'olo' Livvi-Karelian"
jenkins-bot [Thu, 24 Sep 2015 12:07:18 +0000 (12:07 +0000)]
Merge "Add language 'olo' Livvi-Karelian"

8 years agoMerge "resourceloader: Keep module_deps handling inside module base class"
jenkins-bot [Thu, 24 Sep 2015 12:07:14 +0000 (12:07 +0000)]
Merge "resourceloader: Keep module_deps handling inside module base class"

8 years agoAdd language 'olo' Livvi-Karelian
Raimond Spekking [Mon, 14 Sep 2015 20:25:55 +0000 (20:25 +0000)]
Add language 'olo' Livvi-Karelian

First export with I4893e65a430118dbe35f90144afa492899f90150

Change-Id: I8b77182c0c09058d7361785bc1af0194bcc80ae6

8 years agoSkip ImportTest if allow_url_fopen disabled
saper [Tue, 11 Nov 2014 22:53:45 +0000 (23:53 +0100)]
Skip ImportTest if allow_url_fopen disabled

Workaround for:

Bug: 73283
Change-Id: I7afbf4dba358c89f9ba78042d82c35df1d2258e8

8 years agoMerge "i18n: mw.Upload.BookletLayout: Update message names"
jenkins-bot [Thu, 24 Sep 2015 11:13:25 +0000 (11:13 +0000)]
Merge "i18n: mw.Upload.BookletLayout: Update message names"

8 years agoi18n: mw.Upload.BookletLayout: Update message names
Prateek Saxena [Thu, 24 Sep 2015 10:25:50 +0000 (15:55 +0530)]
i18n: mw.Upload.BookletLayout: Update message names

The messages that are no longer in the upload dialog still have the
'upload-dialog-' prefix. Replacing those with 'upload-process-' and
'upload-form-' where appropriate.

Change-Id: If02482f06f6bb634079a9311150fc15e0c95fd4b

8 years agoSync up with Parsoid parserTests.
Arlo Breault [Thu, 24 Sep 2015 08:25:52 +0000 (10:25 +0200)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 6619409e60a3208144836970773f191e7a6d147f

Change-Id: Iea6199d2d6a314f118febdc2308be1723a9970d2

8 years agoAdd GENDER support
haritha28 [Mon, 14 Sep 2015 07:08:32 +0000 (12:38 +0530)]
Add GENDER support

The message Emailuserfooter has been modified
by adding the GENDER support with the parameters
$1 and $2.

Bug: T111944
Change-Id: I7df3027d0cac203f0147de845b49b1a3b6ce1c10

8 years agoresourceloader: Keep module_deps handling inside module base class
Timo Tijhof [Thu, 17 Sep 2015 22:14:46 +0000 (23:14 +0100)]
resourceloader: Keep module_deps handling inside module base class

Most of it was already there (SELECT in preloadInfo, and in-class holder via
setFileDependencies) but the logic to write to the database was within
the file module class.

Moving it the other way around may make more sense in the future, but for
the moment ResourceLoader.php makes assumptions about all modules being
able to store setFileDependencies as read from the database. Whether or not
a class currently implements a way to write to that table.

Change-Id: I06b5da4144798197478c66e8b9ccd4cc62cf6fb6

8 years agoMerge "Use 'Create account' for button in Special:UserLogin/Signup"
jenkins-bot [Thu, 24 Sep 2015 06:52:35 +0000 (06:52 +0000)]
Merge "Use 'Create account' for button in Special:UserLogin/Signup"