jenkins-bot [Mon, 28 Sep 2015 12:53:21 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in MessageCache.php"
jenkins-bot [Mon, 28 Sep 2015 12:53:17 +0000 (12:53 +0000)]
Merge "Fix 3 PHPCS warnings in includes/filerepo/"
jenkins-bot [Mon, 28 Sep 2015 12:46:15 +0000 (12:46 +0000)]
Merge "Fix PHP CS warning in LogPager.php"
jenkins-bot [Mon, 28 Sep 2015 12:45:06 +0000 (12:45 +0000)]
Merge "Fix 2 PHPCS warnings in ThumbnailRenderJob.php"
jenkins-bot [Mon, 28 Sep 2015 12:44:04 +0000 (12:44 +0000)]
Merge "Fix PHPCS warnings in /includes/mail/"
jenkins-bot [Mon, 28 Sep 2015 12:36:26 +0000 (12:36 +0000)]
Merge "Fix a PHPCS warning in SkinTemplate.php"
jenkins-bot [Mon, 28 Sep 2015 12:34:22 +0000 (12:34 +0000)]
Merge "Fix 5 PHPCS warnings in WikiPage.php"
jenkins-bot [Mon, 28 Sep 2015 12:26:35 +0000 (12:26 +0000)]
Merge "Fix 3 PHPCS warnings in ResourceLoaderImage.php"
jenkins-bot [Mon, 28 Sep 2015 12:26:23 +0000 (12:26 +0000)]
Merge "Fix PHPCS warnings in /includes/media/"
jenkins-bot [Mon, 28 Sep 2015 12:24:36 +0000 (12:24 +0000)]
Merge "Fix PHPCS warnings in includes/installer"
jenkins-bot [Mon, 28 Sep 2015 12:17:46 +0000 (12:17 +0000)]
Merge "Fix PHPCS warnings in includes/htmlform/"
jenkins-bot [Mon, 28 Sep 2015 12:17:42 +0000 (12:17 +0000)]
Merge "Make lines short to pass phpcs in testHelpers.inc"
jenkins-bot [Mon, 28 Sep 2015 12:16:47 +0000 (12:16 +0000)]
Merge "Cleanup LanguageTyv.php"
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"
Siebrand Mazeland [Mon, 28 Sep 2015 12:07:18 +0000 (14:07 +0200)]
Fix a PHPCS warning in SkinTemplate.php
Change-Id: Ic12cfce697875fa9459824672e10f4eaaf7b2499
jenkins-bot [Mon, 28 Sep 2015 12:05:50 +0000 (12:05 +0000)]
Merge "mediawiki.toolbar: temporary workaround for T113868"
Siebrand Mazeland [Mon, 28 Sep 2015 12:04:45 +0000 (14:04 +0200)]
Fix 3 PHPCS warnings in ResourceLoaderImage.php
Change-Id: I2cadf8441ac28473e3c4d0bb122e74e3f6c031ed
Siebrand Mazeland [Mon, 28 Sep 2015 11:53:41 +0000 (13:53 +0200)]
Fix 5 PHPCS warnings in WikiPage.php
Change-Id: Ib7e4c3ef2b2dbc0807c3823992d2164d2c68c8cb
Siebrand Mazeland [Mon, 28 Sep 2015 11:50:29 +0000 (13:50 +0200)]
Fix PHPCS warnings in /includes/media/
Change-Id: I9b551dd7b9f4e8a11f86a1acf2c7241f02d85515
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
Siebrand Mazeland [Mon, 28 Sep 2015 11:47:16 +0000 (13:47 +0200)]
Fix PHPCS warnings in /includes/mail/
Change-Id: Iea420ddecac86ef9a6f34b420b0cd151ba604e91
Siebrand Mazeland [Mon, 28 Sep 2015 11:44:39 +0000 (13:44 +0200)]
Fix PHP CS warning in LogPager.php
Change-Id: I31f074ad77309bf02163810eb6689dc0bb56460e
Siebrand Mazeland [Mon, 28 Sep 2015 11:42:48 +0000 (13:42 +0200)]
Fix 2 PHPCS warnings in ThumbnailRenderJob.php
Change-Id: Id0a2d8342cec864ad9c5f9373495f2ca3ebdd1ab
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
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
Siebrand Mazeland [Mon, 28 Sep 2015 11:35:28 +0000 (13:35 +0200)]
Fix PHPCS warnings in includes/htmlform/
Change-Id: Ifbf050c92a84d6af59709632965f48f3d567c0da
Siebrand Mazeland [Mon, 28 Sep 2015 11:29:33 +0000 (13:29 +0200)]
Fix 3 PHPCS warnings in includes/filerepo/
Change-Id: I00ea32f3a0666d225096d6c45710d0de67e2fe14
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
Siebrand Mazeland [Mon, 28 Sep 2015 11:18:54 +0000 (13:18 +0200)]
Fix 3 PHPCS warnings in MessageCache.php
Change-Id: I0970b8844fa89d3bdc4fec200d912ecf80a52176
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
jenkins-bot [Mon, 28 Sep 2015 09:08:41 +0000 (09:08 +0000)]
Merge "Add talk link to excontentauthor"
jenkins-bot [Mon, 28 Sep 2015 09:07:49 +0000 (09:07 +0000)]
Merge "Make the comment in the beginning of LanguageFi.php shorter"
jenkins-bot [Mon, 28 Sep 2015 08:58:46 +0000 (08:58 +0000)]
Merge "Remove an unnecessary condition from Ukrainian grammar rules"
jenkins-bot [Mon, 28 Sep 2015 08:58:42 +0000 (08:58 +0000)]
Merge "Update Ukrainian grammar rules and tests"
jenkins-bot [Mon, 28 Sep 2015 07:38:45 +0000 (07:38 +0000)]
Merge "Setting $namespaceGenderAliases for Aragonese (an)"
jenkins-bot [Mon, 28 Sep 2015 07:23:38 +0000 (07:23 +0000)]
Merge "API: Fix some unclosed tags in en.json"
maurelio [Mon, 28 Sep 2015 07:15:29 +0000 (09:15 +0200)]
Setting $namespaceGenderAliases for Aragonese (an)
Bug: T113890
Change-Id: I977d365561949f5543b6ffc7c29885734bcf6ac2
jenkins-bot [Mon, 28 Sep 2015 06:42:46 +0000 (06:42 +0000)]
Merge "Move italic redirect link styles to modules"
jenkins-bot [Mon, 28 Sep 2015 05:54:09 +0000 (05:54 +0000)]
Merge "Update grammar rules and test for Ukrainian"
jenkins-bot [Mon, 28 Sep 2015 05:54:05 +0000 (05:54 +0000)]
Merge "Add $namespaceGenderAliases for catalan language"
jenkins-bot [Mon, 28 Sep 2015 05:46:34 +0000 (05:46 +0000)]
Merge "Normalizing namespaces for Spanish language"
jenkins-bot [Sun, 27 Sep 2015 22:50:53 +0000 (22:50 +0000)]
Merge "Web installer: Fix collapsing of field help text"
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
Brad Jorsch [Sun, 27 Sep 2015 20:08:10 +0000 (16:08 -0400)]
API: Fix some unclosed tags in en.json
Change-Id: Iaf97f17761b57ed2c202acd5f963e5be60e07730
Translation updater bot [Sun, 27 Sep 2015 18:36:58 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I07e7e7b3747d99f9b8e35a66c67962a944436f64
jenkins-bot [Sun, 27 Sep 2015 18:00:49 +0000 (18:00 +0000)]
Merge "Revert "composer.json: Bump Monolog to 1.17.1""
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
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
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
jenkins-bot [Sun, 27 Sep 2015 16:43:47 +0000 (16:43 +0000)]
Merge "composer.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
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
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
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
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
maurelio [Sun, 27 Sep 2015 15:15:37 +0000 (17:15 +0200)]
Normalizing namespaces for Spanish language
Bug: T113499
Change-Id: I1e070513e28d66543010b93d014e7dae7919e37a
maurelio [Sun, 27 Sep 2015 15:05:15 +0000 (17:05 +0200)]
Add $namespaceGenderAliases for catalan language
Bug: T113616
Change-Id: I76a979ed2be57729edeafe93f104935bbef78318
jenkins-bot [Sun, 27 Sep 2015 15:03:08 +0000 (15:03 +0000)]
Merge "Optimized wfIsBadImage() redirect check"
jenkins-bot [Sun, 27 Sep 2015 14:58:36 +0000 (14:58 +0000)]
Merge "composer.json: alphabetize sections"
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
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
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
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
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
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
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
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
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
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
Vivek Ghaisas [Sat, 26 Sep 2015 23:42:27 +0000 (05:12 +0530)]
Add space after "//" to pass SpaceBeforeSingleLineComment sniff
Change-Id: I3a6f100220dfa168dd97b0b066f3d4789d8c9bf5
jenkins-bot [Sat, 26 Sep 2015 23:18:06 +0000 (23:18 +0000)]
Merge "Fix 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
jenkins-bot [Sat, 26 Sep 2015 23:05:34 +0000 (23:05 +0000)]
Merge "Add '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
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
jenkins-bot [Sat, 26 Sep 2015 22:25:48 +0000 (22:25 +0000)]
Merge "Remove excess newlines at the end of files"
jenkins-bot [Sat, 26 Sep 2015 22:18:18 +0000 (22:18 +0000)]
Merge "Add RELEASE-NOTES entries for PHP library upgrades and additions"
jenkins-bot [Sat, 26 Sep 2015 22:18:13 +0000 (22:18 +0000)]
Merge "Update mediawiki-codesniffer dependency"
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"
jenkins-bot [Sat, 26 Sep 2015 22:07:30 +0000 (22:07 +0000)]
Merge "Add ignoreList for prefixed functions sniff in phpcs.xml"
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
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
jenkins-bot [Sat, 26 Sep 2015 21:52:43 +0000 (21:52 +0000)]
Merge "Wrap some long strings in tests/"
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
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
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