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"
jenkins-bot [Mon, 28 Sep 2015 12:05:50 +0000 (12:05 +0000)]
Merge "mediawiki.toolbar: temporary workaround for T113868"
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
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
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