Commit graph

65487 commits

Author SHA1 Message Date
jenkins-bot
e3983a08fd Merge "Remove excess newlines at the end of files" 2015-09-26 22:25:48 +00:00
jenkins-bot
f4baf67270 Merge "Add RELEASE-NOTES entries for PHP library upgrades and additions" 2015-09-26 22:18:18 +00:00
jenkins-bot
5b598a6028 Merge "Update mediawiki-codesniffer dependency" 2015-09-26 22:18:13 +00:00
jenkins-bot
b9afca1dfc Merge "Add ignoreList for valid global variable name sniff in phpcs.xml" 2015-09-26 22:16:51 +00:00
jenkins-bot
7a6c174fad Merge "Add ignoreList for prefixed functions sniff in phpcs.xml" 2015-09-26 22:07:30 +00:00
Vivek Ghaisas
2ff11bbe22 Update mediawiki-codesniffer dependency
composer.json: mediawiki/mediawiki-codesniffer 0.3.0 →  0.4.0

Change-Id: I8cd0e6060496de54db325c1cf4c494b51e3a51d2
2015-09-26 22:03:17 +00:00
Ricordisamoa
4f72efe8d8 Remove excess newlines at the end of files
Many of them added with commit 776c865077

Change-Id: I481b15c45ead1f5f482e120cb40ea8f3297543cf
2015-09-27 00:02:05 +02:00
jenkins-bot
2712fc2913 Merge "Wrap some long strings in tests/" 2015-09-26 21:52:43 +00:00
Vivek Ghaisas
c11efd3d95 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
2015-09-27 03:19:46 +05:30
Vivek Ghaisas
88ffd6d422 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
2015-09-27 03:19:46 +05:30
jenkins-bot
6953ca099e Merge "Fixed spacing" 2015-09-26 21:02:39 +00:00
umherirrender
c572d18661 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
2015-09-26 20:44:54 +00:00
umherirrender
2dbee49b94 Add curly braces to if statement
Change-Id: I827eb48ee030c338336d91dbfd016c22c5e3cb6b
2015-09-26 20:44:14 +00:00
Amir E. Aharoni
27d479d491 Fix a spelling mistake in a test description
Change-Id: Ic9a95e417bff0eb17df3f5b87c430e0329043b44
2015-09-26 23:29:07 +03:00
jenkins-bot
03b4a37851 Merge "Wrap some long lines..." 2015-09-26 20:12:06 +00:00
Reedy
58f0a7ee4e Wrap some long strings in tests/
Change-Id: I89d53c5051e5ee4bd8624df8ee2b25993090a7df
2015-09-26 21:01:59 +01:00
Reedy
7e5b29802e Revert "Swap leading spaces to tabs in backup phpunit tests"
This reverts commit 9ac7cc1300.

Change-Id: I5e05df8d3ab83820008f833f1512689594b81c8a
2015-09-26 19:53:14 +00:00
Reedy
8378d5bb1a Wrap some long lines...
Change-Id: Ib3a5d39e3c51caa187d4b1a6f1b736546a43f8cd
2015-09-26 20:34:18 +01:00
Amir E. Aharoni
6408d2be80 Make lines shorter to pass phpcs in thumb.php
Bug: T102614
Change-Id: I01158675db267832a03385945d3dcdf422ddc467
2015-09-26 22:21:10 +03:00
jenkins-bot
a74baa198c Merge "API: Correct 'from_namespace' logic in ApiQueryBacklinksprop" 2015-09-26 19:04:19 +00:00
jenkins-bot
171cd5f4ea Merge "Make lines short to pass phpcs in six files under includes/" 2015-09-26 19:04:13 +00:00
Translation updater bot
0f88faa67a Merge "Localisation updates from https://translatewiki.net." 2015-09-26 18:56:44 +00:00
jenkins-bot
db92513872 Merge "Fixed DatabaseBase references in IDatabase docs" 2015-09-26 18:53:28 +00:00
jenkins-bot
37fa6331cb Merge "Swap leading spaces to tabs in backup phpunit tests" 2015-09-26 18:53:22 +00:00
Translation updater bot
4fbc3008b4 Localisation updates from https://translatewiki.net.
Change-Id: If14c9f2c908b47b278bdcc455f024b055a9ec47c
2015-09-26 20:50:52 +02:00
jenkins-bot
9268f95522 Merge "Make lines shorter to pass phpcs under includes/libs" 2015-09-26 18:45:48 +00:00
jenkins-bot
e2d327c7cd Merge "Make line shorter to pass phpcs in LinkerTest.php" 2015-09-26 18:45:44 +00:00
Amir E. Aharoni
870dbf0659 Make lines short to pass phpcs in six files under includes/
Bug: T102614
Change-Id: I91a2d4f4bf86a22c8bb466da0e2f95ea27c571a3
2015-09-26 18:41:01 +00:00
jenkins-bot
3e3c7484c7 Merge "Make lines shorter to pass phpcs in some files under includes/parser" 2015-09-26 18:36:07 +00:00
Aaron Schulz
ce91757fdb Fixed DatabaseBase references in IDatabase docs
Change-Id: I5538de58ec5f10426260e3de468a8aff03144976
2015-09-26 11:32:30 -07:00
Aaron Schulz
ed18161568 Merge "Database: Remove resultObject() from the public interface" 2015-09-26 18:25:01 +00:00
Amir E. Aharoni
ad275af1b3 Make lines shorter to pass phpcs under includes/libs
Bug: T102614
Change-Id: I40ca85dbc5849d6ff7ee584c82a8b56d07e095b6
2015-09-26 18:20:34 +00:00
Amir E. Aharoni
76ae9acec3 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
2015-09-26 18:20:11 +00:00
Aaron Schulz
1c330aa197 Merge "Updated key WANObjectCache::delete() callers to avoid races" 2015-09-26 18:19:38 +00:00
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
Kevin Israel
617d59fcb3 Database: Remove resultObject() from the public interface
It has not been necessary to call this method outside the Database classes
since 1.11 (r23756 / 9382bc7a85).

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
2015-09-26 11:13:23 -07:00
Aaron Schulz
d02b98b8f3 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
2015-09-26 18:02:00 +00:00
Reedy
9ac7cc1300 Swap leading spaces to tabs in backup phpunit tests
Change-Id: I821e71ab5c459d11b942f09853dbf4560fbe4d19
2015-09-26 18:54:50 +01: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