lhc/web/wiklou.git
8 years agoMerge "Add new grammar forms for language names in Russian"
jenkins-bot [Mon, 28 Sep 2015 13:41:33 +0000 (13:41 +0000)]
Merge "Add new grammar forms for language names in Russian"

8 years agoMerge "Remove superfluous rules from print CSS"
jenkins-bot [Mon, 28 Sep 2015 13:23:11 +0000 (13:23 +0000)]
Merge "Remove superfluous rules from print CSS"

8 years agoMerge "Fix most PHP CodeSniffer warnings in includes/api"
jenkins-bot [Mon, 28 Sep 2015 13:05:24 +0000 (13:05 +0000)]
Merge "Fix most PHP CodeSniffer warnings in includes/api"

8 years agoMerge "Fix two PHPCS warnings in NaiveForeignTitleFactory.php"
jenkins-bot [Mon, 28 Sep 2015 13:04:25 +0000 (13:04 +0000)]
Merge "Fix two PHPCS warnings in NaiveForeignTitleFactory.php"

8 years agoMerge "Fix PHPCS warnings in includes/specials/"
jenkins-bot [Mon, 28 Sep 2015 13:02:31 +0000 (13:02 +0000)]
Merge "Fix PHPCS warnings in includes/specials/"

8 years agoMerge "Fix 4 PHPCS warnings in Searchupdate.php"
jenkins-bot [Mon, 28 Sep 2015 12:54:50 +0000 (12:54 +0000)]
Merge "Fix 4 PHPCS warnings in Searchupdate.php"

8 years agoMerge "Fix 3 PHPCS warnings in MessageCache.php"
jenkins-bot [Mon, 28 Sep 2015 12:53:21 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in MessageCache.php"

8 years agoMerge "Fix 3 PHPCS warnings in includes/filerepo/"
jenkins-bot [Mon, 28 Sep 2015 12:53:17 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in includes/filerepo/"

8 years agoAdd new grammar forms for language names in Russian
Amir E. Aharoni [Tue, 11 Nov 2014 07:04:48 +0000 (09:04 +0200)]
Add new grammar forms for language names in Russian

CLDR provides translated language names. They are useful for showing
names by themselves in menus and lists, but it's often problematic to add them
to Russian sentences, because they need to be declined, so a message like
"This page is not available in the $1 language" is hard to localize.

This patch adds new cases for Russian -
"languagegen", "languageprep" and "languageadverb".
(The last one, as its name says, it's not actually a grammatical case,
but a transformation to an adverbial expression.)
This covers most of the needs for language names that MediaWiki supports.

Change-Id: Ib6a0afa5c3736f8b9b2e121cd752c53ee50fad75

8 years agoMerge "Fix PHP CS warning in LogPager.php"
jenkins-bot [Mon, 28 Sep 2015 12:46:15 +0000 (12:46 +0000)]
Merge "Fix PHP CS warning in LogPager.php"

8 years agoMerge "Fix 2 PHPCS warnings in ThumbnailRenderJob.php"
jenkins-bot [Mon, 28 Sep 2015 12:45:06 +0000 (12:45 +0000)]
Merge "Fix 2 PHPCS warnings in ThumbnailRenderJob.php"

8 years agoMerge "Fix PHPCS warnings in /includes/mail/"
jenkins-bot [Mon, 28 Sep 2015 12:44:04 +0000 (12:44 +0000)]
Merge "Fix PHPCS warnings in /includes/mail/"

8 years agoMerge "Fix a PHPCS warning in SkinTemplate.php"
jenkins-bot [Mon, 28 Sep 2015 12:36:26 +0000 (12:36 +0000)]
Merge "Fix a PHPCS warning in SkinTemplate.php"

8 years agoMerge "Fix 5 PHPCS warnings in WikiPage.php"
jenkins-bot [Mon, 28 Sep 2015 12:34:22 +0000 (12:34 +0000)]
Merge "Fix 5 PHPCS warnings in WikiPage.php"

8 years agoMerge "Fix 3 PHPCS warnings in ResourceLoaderImage.php"
jenkins-bot [Mon, 28 Sep 2015 12:26:35 +0000 (12:26 +0000)]
Merge "Fix 3 PHPCS warnings in ResourceLoaderImage.php"

8 years agoMerge "Fix PHPCS warnings in /includes/media/"
jenkins-bot [Mon, 28 Sep 2015 12:26:23 +0000 (12:26 +0000)]
Merge "Fix PHPCS warnings in /includes/media/"

8 years agoFix most PHP CodeSniffer warnings in includes/api
Siebrand Mazeland [Mon, 28 Sep 2015 11:15:17 +0000 (13:15 +0200)]
Fix most PHP CodeSniffer warnings in includes/api

Change-Id: I01bb3e4c96d6034a5b6c18728bb0574c710ea9db

8 years agoMerge "Fix PHPCS warnings in includes/installer"
jenkins-bot [Mon, 28 Sep 2015 12:24:36 +0000 (12:24 +0000)]
Merge "Fix PHPCS warnings in includes/installer"

8 years agoFix two PHPCS warnings in NaiveForeignTitleFactory.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:19:29 +0000 (14:19 +0200)]
Fix two PHPCS warnings in NaiveForeignTitleFactory.php

Change-Id: I61f1e1beab7e6fdd6e817b728a837d4ea57f435f

8 years agoMerge "Fix PHPCS warnings in includes/htmlform/"
jenkins-bot [Mon, 28 Sep 2015 12:17:46 +0000 (12:17 +0000)]
Merge "Fix PHPCS warnings in includes/htmlform/"

8 years agoMerge "Make lines short to pass phpcs in testHelpers.inc"
jenkins-bot [Mon, 28 Sep 2015 12:17:42 +0000 (12:17 +0000)]
Merge "Make lines short to pass phpcs in testHelpers.inc"

8 years agoMerge "Cleanup LanguageTyv.php"
jenkins-bot [Mon, 28 Sep 2015 12:16:47 +0000 (12:16 +0000)]
Merge "Cleanup LanguageTyv.php"

8 years agoMerge "Rewrite comments on member variables of ParserOutput as proper variables docum...
jenkins-bot [Mon, 28 Sep 2015 12:16:11 +0000 (12:16 +0000)]
Merge "Rewrite comments on member variables of ParserOutput as proper variables documentation"

8 years agoFix PHPCS warnings in includes/specials/
Siebrand Mazeland [Mon, 28 Sep 2015 12:15:09 +0000 (14:15 +0200)]
Fix PHPCS warnings in includes/specials/

Change-Id: I37424a84d67aee8532a0224cd7a8147424778e53

8 years agoFix a PHPCS warning in SkinTemplate.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:07:18 +0000 (14:07 +0200)]
Fix a PHPCS warning in SkinTemplate.php

Change-Id: Ic12cfce697875fa9459824672e10f4eaaf7b2499

8 years agoMerge "mediawiki.toolbar: temporary workaround for T113868"
jenkins-bot [Mon, 28 Sep 2015 12:05:50 +0000 (12:05 +0000)]
Merge "mediawiki.toolbar: temporary workaround for T113868"

8 years agoFix 3 PHPCS warnings in ResourceLoaderImage.php
Siebrand Mazeland [Mon, 28 Sep 2015 12:04:45 +0000 (14:04 +0200)]
Fix 3 PHPCS warnings in ResourceLoaderImage.php

Change-Id: I2cadf8441ac28473e3c4d0bb122e74e3f6c031ed

8 years agoFix 5 PHPCS warnings in WikiPage.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:53:41 +0000 (13:53 +0200)]
Fix 5 PHPCS warnings in WikiPage.php

Change-Id: Ib7e4c3ef2b2dbc0807c3823992d2164d2c68c8cb

8 years agoFix PHPCS warnings in /includes/media/
Siebrand Mazeland [Mon, 28 Sep 2015 11:50:29 +0000 (13:50 +0200)]
Fix PHPCS warnings in /includes/media/

Change-Id: I9b551dd7b9f4e8a11f86a1acf2c7241f02d85515

8 years agoCleanup LanguageTyv.php
Amir E. Aharoni [Sat, 26 Sep 2015 15:31:39 +0000 (18:31 +0300)]
Cleanup LanguageTyv.php

* Remove Latin letters - they are used inconsistently in this file
  and they aren't used anywhere in the code, because we only use
  Cyrillic Tuvan in MediaWiki UI.
* Remove commented-out variables.

Change-Id: I723ba331f27d313647b67c3af11c2e53ccc72961

8 years agoFix PHPCS warnings in /includes/mail/
Siebrand Mazeland [Mon, 28 Sep 2015 11:47:16 +0000 (13:47 +0200)]
Fix PHPCS warnings in /includes/mail/

Change-Id: Iea420ddecac86ef9a6f34b420b0cd151ba604e91

8 years agoFix PHP CS warning in LogPager.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:44:39 +0000 (13:44 +0200)]
Fix PHP CS warning in LogPager.php

Change-Id: I31f074ad77309bf02163810eb6689dc0bb56460e

8 years agoFix 2 PHPCS warnings in ThumbnailRenderJob.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:42:48 +0000 (13:42 +0200)]
Fix 2 PHPCS warnings in ThumbnailRenderJob.php

Change-Id: Id0a2d8342cec864ad9c5f9373495f2ca3ebdd1ab

8 years agoMake lines short to pass phpcs in testHelpers.inc
Amir E. Aharoni [Mon, 28 Sep 2015 11:41:44 +0000 (14:41 +0300)]
Make lines short to pass phpcs in testHelpers.inc

Bug: T102614
Change-Id: I317889b94213b626576ebcd4e15a4f95ee250d69

8 years agoFix PHPCS warnings in includes/installer
Siebrand Mazeland [Mon, 28 Sep 2015 11:40:27 +0000 (13:40 +0200)]
Fix PHPCS warnings in includes/installer

8 uses of $IP remain, which trigger the global naming convention
check.

Change-Id: I1040782323ec7512fb7badd6052742ecd13d9dff

8 years agoFix PHPCS warnings in includes/htmlform/
Siebrand Mazeland [Mon, 28 Sep 2015 11:35:28 +0000 (13:35 +0200)]
Fix PHPCS warnings in includes/htmlform/

Change-Id: Ifbf050c92a84d6af59709632965f48f3d567c0da

8 years agoFix 3 PHPCS warnings in includes/filerepo/
Siebrand Mazeland [Mon, 28 Sep 2015 11:29:33 +0000 (13:29 +0200)]
Fix 3 PHPCS warnings in includes/filerepo/

Change-Id: I00ea32f3a0666d225096d6c45710d0de67e2fe14

8 years agoFix 4 PHPCS warnings in Searchupdate.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:25:15 +0000 (13:25 +0200)]
Fix 4 PHPCS warnings in Searchupdate.php

Change-Id: Ifdb3efd7317a68daac2e509c534e887cb6267562

8 years agoRewrite comments on member variables of ParserOutput as proper variables documentation
Amir E. Aharoni [Sun, 27 Sep 2015 13:12:36 +0000 (16:12 +0300)]
Rewrite comments on member variables of ParserOutput as proper variables documentation

This also makes lines short enough to pass phpcs.

Bug: T102614
Change-Id: I11597bc052e8a8c2eaf4d60f7913e4186d0eb8e2

8 years agoFix 3 PHPCS warnings in MessageCache.php
Siebrand Mazeland [Mon, 28 Sep 2015 11:18:54 +0000 (13:18 +0200)]
Fix 3 PHPCS warnings in MessageCache.php

Change-Id: I0970b8844fa89d3bdc4fec200d912ecf80a52176

8 years agoSet fallback to Spanish (es) for Extremaduran (ext)
maurelio [Mon, 28 Sep 2015 07:31:28 +0000 (09:31 +0200)]
Set fallback to Spanish (es) for Extremaduran (ext)

Extremaduran projects do fallback to English. It's more appropriate to
fallback to Spanish since ext is an Spanish dialect.

Bug: T113925
Change-Id: Idedc16104ddd14ce7fcee709aa847c4c53301563

8 years agoMerge "Add talk link to excontentauthor"
jenkins-bot [Mon, 28 Sep 2015 09:08:41 +0000 (09:08 +0000)]
Merge "Add talk link to excontentauthor"

8 years agoMerge "Make the comment in the beginning of LanguageFi.php shorter"
jenkins-bot [Mon, 28 Sep 2015 09:07:49 +0000 (09:07 +0000)]
Merge "Make the comment in the beginning of LanguageFi.php shorter"

8 years agoMerge "Remove an unnecessary condition from Ukrainian grammar rules"
jenkins-bot [Mon, 28 Sep 2015 08:58:46 +0000 (08:58 +0000)]
Merge "Remove an unnecessary condition from Ukrainian grammar rules"

8 years agoMerge "Update Ukrainian grammar rules and tests"
jenkins-bot [Mon, 28 Sep 2015 08:58:42 +0000 (08:58 +0000)]
Merge "Update Ukrainian grammar rules and tests"

8 years agoMerge "Setting $namespaceGenderAliases for Aragonese (an)"
jenkins-bot [Mon, 28 Sep 2015 07:38:45 +0000 (07:38 +0000)]
Merge "Setting $namespaceGenderAliases for Aragonese (an)"

8 years agoMerge "API: Fix some unclosed tags in en.json"
jenkins-bot [Mon, 28 Sep 2015 07:23:38 +0000 (07:23 +0000)]
Merge "API: Fix some unclosed tags in en.json"

8 years agoSetting $namespaceGenderAliases for Aragonese (an)
maurelio [Mon, 28 Sep 2015 07:15:29 +0000 (09:15 +0200)]
Setting $namespaceGenderAliases for Aragonese (an)

Bug: T113890
Change-Id: I977d365561949f5543b6ffc7c29885734bcf6ac2

8 years agoMerge "Move italic redirect link styles to modules"
jenkins-bot [Mon, 28 Sep 2015 06:42:46 +0000 (06:42 +0000)]
Merge "Move italic redirect link styles to modules"

8 years agoMerge "Update grammar rules and test for Ukrainian"
jenkins-bot [Mon, 28 Sep 2015 05:54:09 +0000 (05:54 +0000)]
Merge "Update grammar rules and test for Ukrainian"

8 years agoMerge "Add $namespaceGenderAliases for catalan language"
jenkins-bot [Mon, 28 Sep 2015 05:54:05 +0000 (05:54 +0000)]
Merge "Add $namespaceGenderAliases for catalan language"

8 years agoMerge "Normalizing namespaces for Spanish language"
jenkins-bot [Mon, 28 Sep 2015 05:46:34 +0000 (05:46 +0000)]
Merge "Normalizing namespaces for Spanish language"

8 years agoMerge "Web installer: Fix collapsing of field help text"
jenkins-bot [Sun, 27 Sep 2015 22:50:53 +0000 (22:50 +0000)]
Merge "Web installer: Fix collapsing of field help text"

8 years agomediawiki.toolbar: temporary workaround for T113868
Ori Livneh [Sun, 27 Sep 2015 22:24:49 +0000 (15:24 -0700)]
mediawiki.toolbar: temporary workaround for T113868

ResourceLoader does not expect the set of files a module depends on to vary by
language, but since I39d8ed4, mediawiki.toolbar does. To fix this, we need to
replace the module_deps table with something less insane. In the interim, we
can avoid needless recurrent cache invalidation by referencing the superset of
all possible image files as the background-image for a dummy selector.

Bug: T113868
Change-Id: I94ced0617814d83beee35d30ff1158709e884a98

8 years agoAPI: Fix some unclosed tags in en.json
Brad Jorsch [Sun, 27 Sep 2015 20:08:10 +0000 (16:08 -0400)]
API: Fix some unclosed tags in en.json

Change-Id: Iaf97f17761b57ed2c202acd5f963e5be60e07730

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 27 Sep 2015 18:36:58 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I07e7e7b3747d99f9b8e35a66c67962a944436f64

8 years agoMerge "Revert "composer.json: Bump Monolog to 1.17.1""
jenkins-bot [Sun, 27 Sep 2015 18:00:49 +0000 (18:00 +0000)]
Merge "Revert "composer.json: Bump Monolog to 1.17.1""

8 years agoMove italic redirect link styles to modules
umherirrender [Tue, 8 Sep 2015 16:03:11 +0000 (18:03 +0200)]
Move italic redirect link styles to modules

Move some italic styles from shared.css to the corresponding modules of
the needed pages

Change-Id: I8223ab41aaf2bc13942560c23c54a5d5a37b9df0

8 years agoMake lines short to pass phpcs in profileinfo.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:51:29 +0000 (10:51 +0300)]
Make lines short to pass phpcs in profileinfo.php

Bug: T102614
Change-Id: I3ed44bab923f90e9ff4575e7ad5553225244effc

8 years agoRevert "composer.json: Bump Monolog to 1.17.1"
Reedy [Sun, 27 Sep 2015 16:53:22 +0000 (16:53 +0000)]
Revert "composer.json: Bump Monolog to 1.17.1"

Syntax error (older version of PHP?)

This reverts commit 4d23803d928b85125b0c81c851d6fb9bbeab5351.

Change-Id: I5167f97909d4d7ad4264a247f959ae984f932a7e

8 years agoMerge "composer.json: Bump Monolog to 1.17.1"
jenkins-bot [Sun, 27 Sep 2015 16:43:47 +0000 (16:43 +0000)]
Merge "composer.json: Bump Monolog to 1.17.1"

8 years agocomposer.json: Bump Monolog to 1.17.1
Bryan Davis [Sun, 27 Sep 2015 05:30:41 +0000 (23:30 -0600)]
composer.json: Bump Monolog to 1.17.1

Requires: Idc5010bfa54a0150e983e2f343feb08404a79aa5
Change-Id: I0a54bdf835092d0369d3041d85e04a54abea7d4f

8 years agoMake lines short to pass phpcs in files under includes/resourceloader
Amir E. Aharoni [Sun, 27 Sep 2015 08:06:49 +0000 (11:06 +0300)]
Make lines short to pass phpcs in files under includes/resourceloader

Bug: T102614
Change-Id: I2202438591e74a35570bb621f5aad3ac241fbc29

8 years agoMake lines short to pass phpcs in files under includes/
Amir E. Aharoni [Sun, 27 Sep 2015 08:10:34 +0000 (11:10 +0300)]
Make lines short to pass phpcs in files under includes/

Bug: T102614
Change-Id: I33ac3f4bb8116020ccda5d64fdd2924e78810546

8 years agoMake lines short to pass phpcs in files under includes/db/
Amir E. Aharoni [Sun, 27 Sep 2015 08:15:12 +0000 (11:15 +0300)]
Make lines short to pass phpcs in files under includes/db/

Bug: T102614
Change-Id: I95ec0f9bdfc23e0d10d24534801fe5d6609ed0cb

8 years agoMake lines short to pass phpcs in files under maintenance/
Amir E. Aharoni [Sun, 27 Sep 2015 07:41:06 +0000 (10:41 +0300)]
Make lines short to pass phpcs in files under maintenance/

Bug: T102614
Change-Id: Ieab3773a9ff8328e3672478a82ab31d8710fa8e2

8 years agoNormalizing namespaces for Spanish language
maurelio [Sun, 27 Sep 2015 15:15:37 +0000 (17:15 +0200)]
Normalizing namespaces for Spanish language

Bug: T113499
Change-Id: I1e070513e28d66543010b93d014e7dae7919e37a

8 years agoAdd $namespaceGenderAliases for catalan language
maurelio [Sun, 27 Sep 2015 15:05:15 +0000 (17:05 +0200)]
Add $namespaceGenderAliases for catalan language

Bug: T113616
Change-Id: I76a979ed2be57729edeafe93f104935bbef78318

8 years agoMerge "Optimized wfIsBadImage() redirect check"
jenkins-bot [Sun, 27 Sep 2015 15:03:08 +0000 (15:03 +0000)]
Merge "Optimized wfIsBadImage() redirect check"

8 years agoMerge "composer.json: alphabetize sections"
jenkins-bot [Sun, 27 Sep 2015 14:58:36 +0000 (14:58 +0000)]
Merge "composer.json: alphabetize sections"

8 years agoOptimized wfIsBadImage() redirect check
Aaron Schulz [Sun, 27 Sep 2015 05:14:41 +0000 (22:14 -0700)]
Optimized wfIsBadImage() redirect check

* Callers end up hitting wfFindFile() anyway, so we
  may as well use/prime the process cache. By trying
  to call checkRedirect() manually, it actually just
  caused an extra memcached query.
* 404 pages are often customized to show various
  icons file from sister sites, so this was taking
  up a significant portion of rendering time.

Change-Id: I7e2a1c6acf853629fcca3a8b3c2c810ebacd2acb

8 years agocomposer.json: alphabetize sections
Bryan Davis [Sun, 27 Sep 2015 05:16:10 +0000 (23:16 -0600)]
composer.json: alphabetize sections

Alphabetize the entries in require, require-dev, suggest, scrips and
config sections of the composer.json configuration file.

Change-Id: Ibcfdc428045581674620e2a552b9b49ab1b24f3d

8 years agoMake lines short to pass phpcs in OutputPage.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:58:17 +0000 (10:58 +0300)]
Make lines short to pass phpcs in OutputPage.php

Bug: T102614
Change-Id: I5528fdbcf3d0a4832db1a94ced3d282fcf3e901f

8 years agoMake lines short to pass phpcs in KafkaHandler.php
Amir E. Aharoni [Sun, 27 Sep 2015 08:03:34 +0000 (11:03 +0300)]
Make lines short to pass phpcs in KafkaHandler.php

Bug: T102614
Change-Id: I9ba6a0b7580bc99dee295cdb56cd5977d63fd73a

8 years agoRemove an unnecessary condition from Ukrainian grammar rules
Amir E. Aharoni [Sun, 27 Sep 2015 12:28:43 +0000 (15:28 +0300)]
Remove an unnecessary condition from Ukrainian grammar rules

Change-Id: I04953ed9d1a0788a691b35cef2119bd34474ceec

8 years agoUpdate Ukrainian grammar rules and tests
Amir E. Aharoni [Sun, 27 Sep 2015 12:21:49 +0000 (15:21 +0300)]
Update Ukrainian grammar rules and tests

* Fix the '-ти' rule to match the name of Wikiquote.
* Add tests for '-ти' and '-ник' rules.
* Remove the '-ь' and '-ка' rules, which were copied from Russian
  and are not used in Ukrainian, and remove their tests as well.
* Remove non-implemented ("stub") cases.
* Cleanup the code of commafy().

Change-Id: I98647ceb8806d845f3c8150b92a5d9f7fe5866f2

8 years agoUpdate grammar rules and test for Ukrainian
Amir E. Aharoni [Sun, 27 Sep 2015 07:34:25 +0000 (10:34 +0300)]
Update grammar rules and test for Ukrainian

The grammar rules for Ukrainian have several mistakes.
This is the first in a series of commits that fix this.

* Add grammar tests for PHP. There weren't any tests at all,
  and now there are some. Not tests are added for rules that
  are wrong and irrelevant and will be removed in subsequent commits.
* Add tests for JavaScript, and update a grammar rule that was
  incorrectly copied from Russian.

Change-Id: I6de4581e2908eba39b33a13b07d048a34a3bd803

8 years agoMake lines short to pass phpcs in Language.php
Amir E. Aharoni [Sun, 27 Sep 2015 07:45:31 +0000 (10:45 +0300)]
Make lines short to pass phpcs in Language.php

Bug: T102614
Change-Id: I14fd848398ce68bd646f36b196560f70352d5f49

8 years agoWeb installer: Fix collapsing of field help text
Kevin Israel [Sat, 26 Sep 2015 23:34:47 +0000 (19:34 -0400)]
Web installer: Fix collapsing of field help text

Follows-up 1e06a9f02f9a.

Bug: T112383
Change-Id: I23030f48ce89abc460ac9e7ed3c148893ffb24ef

8 years agoRe-enable WhiteSpace.SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Sat, 26 Sep 2015 23:29:00 +0000 (04:59 +0530)]
Re-enable WhiteSpace.SpaceBeforeSingleLineComment sniff

Enable only the SingleSpaceBeforeSingleLineComment part, not the
EmptyComment part.

Change-Id: I98f2d6d401745d8aaacaca115789eb15b81c6813

8 years agoAdd space after "//" to pass SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Sat, 26 Sep 2015 23:42:27 +0000 (05:12 +0530)]
Add space after "//" to pass SpaceBeforeSingleLineComment sniff

Change-Id: I3a6f100220dfa168dd97b0b066f3d4789d8c9bf5

8 years agoMerge "Fix issues identified by SpaceBeforeSingleLineComment sniff"
jenkins-bot [Sat, 26 Sep 2015 23:18:06 +0000 (23:18 +0000)]
Merge "Fix issues identified by SpaceBeforeSingleLineComment sniff"

8 years agoFix issues identified by SpaceBeforeSingleLineComment sniff
Vivek Ghaisas [Fri, 11 Sep 2015 13:44:59 +0000 (19:14 +0530)]
Fix issues identified by SpaceBeforeSingleLineComment sniff

Change-Id: I048ccb1fa260e4b7152ca5f09b053defdd72d8f9

8 years agoMerge "Add 'hash' object cache for installer"
jenkins-bot [Sat, 26 Sep 2015 23:05:34 +0000 (23:05 +0000)]
Merge "Add 'hash' object cache for installer"

8 years agoAdd 'hash' object cache for installer
Florian [Sat, 26 Sep 2015 22:43:27 +0000 (00:43 +0200)]
Add 'hash' object cache for installer

It's used to e.g. cache less files in ResourceLoader, which would throw
an exception if the installer is used (while it requests the installer
styles), if the object cache isn't defined.

Follow up: I1ff61153ddb9

Bug: T113843
Change-Id: I1c1938b3fac395dda5b42dd68b675a67bdd30261

8 years agoDisable EmptyComment and SingleSpaceBeforeSingleLineComment code sniffers
Reedy [Sat, 26 Sep 2015 22:37:27 +0000 (23:37 +0100)]
Disable EmptyComment and SingleSpaceBeforeSingleLineComment code sniffers

Lots of warnings to be fixed in core

Change-Id: I9041ead57c2225cd618501d4998ceb85e9cb3c1b

8 years agoMerge "Remove excess newlines at the end of files"
jenkins-bot [Sat, 26 Sep 2015 22:25:48 +0000 (22:25 +0000)]
Merge "Remove excess newlines at the end of files"

8 years agoMerge "Add RELEASE-NOTES entries for PHP library upgrades and additions"
jenkins-bot [Sat, 26 Sep 2015 22:18:18 +0000 (22:18 +0000)]
Merge "Add RELEASE-NOTES entries for PHP library upgrades and additions"

8 years agoMerge "Update mediawiki-codesniffer dependency"
jenkins-bot [Sat, 26 Sep 2015 22:18:13 +0000 (22:18 +0000)]
Merge "Update mediawiki-codesniffer dependency"

8 years agoMerge "Add ignoreList for valid global variable name sniff in phpcs.xml"
jenkins-bot [Sat, 26 Sep 2015 22:16:51 +0000 (22:16 +0000)]
Merge "Add ignoreList for valid global variable name sniff in phpcs.xml"

8 years agoMerge "Add ignoreList for prefixed functions sniff in phpcs.xml"
jenkins-bot [Sat, 26 Sep 2015 22:07:30 +0000 (22:07 +0000)]
Merge "Add ignoreList for prefixed functions sniff in phpcs.xml"

8 years agoUpdate mediawiki-codesniffer dependency
Vivek Ghaisas [Sat, 26 Sep 2015 22:00:39 +0000 (03:30 +0530)]
Update mediawiki-codesniffer dependency

composer.json: mediawiki/mediawiki-codesniffer 0.3.0 →  0.4.0

Change-Id: I8cd0e6060496de54db325c1cf4c494b51e3a51d2

8 years agoRemove excess newlines at the end of files
Ricordisamoa [Sat, 26 Sep 2015 22:02:05 +0000 (00:02 +0200)]
Remove excess newlines at the end of files

Many of them added with commit 776c865077ea38ca1f9205ad778a600b41332d60

Change-Id: I481b15c45ead1f5f482e120cb40ea8f3297543cf

8 years agoMerge "Wrap some long strings in tests/"
jenkins-bot [Sat, 26 Sep 2015 21:52:43 +0000 (21:52 +0000)]
Merge "Wrap some long strings in tests/"

8 years agoAdd ignoreList for valid global variable name sniff in phpcs.xml
Vivek Ghaisas [Thu, 10 Sep 2015 05:29:32 +0000 (10:59 +0530)]
Add ignoreList for valid global variable name sniff in phpcs.xml

The list of variables to ignore was hardcoded in the sniff. Moving it to
the phpcs.xml file allows setting it on a per-project basis, and hence,
should be set in core's phpcs.xml.

Bug: T104501
Change-Id: I6909b1d3845ba72d867fe01e86bd4a8f6bef198f

8 years agoAdd ignoreList for prefixed functions sniff in phpcs.xml
Vivek Ghaisas [Wed, 9 Sep 2015 21:12:15 +0000 (02:42 +0530)]
Add ignoreList for prefixed functions sniff in phpcs.xml

Certain unprefixed global functions have been in the codebase from a
long time and prefixing them could cause errors. The prefixed functions
sniff allows an ignoreList to be set in phpcs.xml.

Bug: T104501
Change-Id: Ie094f78781b2d6f7af1a0f1eea1f7ea4d0b9c69c

8 years agoMerge "Fixed spacing"
jenkins-bot [Sat, 26 Sep 2015 21:02:39 +0000 (21:02 +0000)]
Merge "Fixed spacing"

8 years agoFixed 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

8 years agoAdd curly braces to if statement
umherirrender [Sat, 26 Sep 2015 20:38:25 +0000 (22:38 +0200)]
Add curly braces to if statement

Change-Id: I827eb48ee030c338336d91dbfd016c22c5e3cb6b

8 years agoFix a spelling mistake in a test description
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