jenkins-bot
69db9c034a
Merge "Add AvailableRightsTest for User::getAllRights completeness"
2015-02-10 16:21:40 +00:00
jenkins-bot
8249969348
Merge "mediawiki.user: Simplify getRegistration() code branches"
2015-02-10 15:59:40 +00:00
jenkins-bot
c4e58d2a23
Merge "mediawiki.util: Document optional first parameter of getUrl()"
2015-02-10 15:55:17 +00:00
jenkins-bot
47d6ca677f
Merge "mediawiki.util: Clean up getUrl() test cases"
2015-02-10 15:55:08 +00:00
Timo Tijhof
26cecc6a8f
mediawiki.user: Simplify getRegistration() code branches
...
Change-Id: Iec3663dca276f16e107192a75193b91da230b502
2015-02-10 15:50:38 +00:00
jenkins-bot
46bd22580a
Merge "Update QUnit from v1.16.0 to v1.17.1"
2015-02-10 15:06:08 +00:00
jenkins-bot
94e5ea8b10
Merge "resources: Move QUnit to resources/lib/qunitjs"
2015-02-10 15:06:01 +00:00
Marius Hoch
d333cd8f7b
Add AvailableRightsTest for User::getAllRights completeness
...
Because extensions often don't add their rights to $wgAvailableRights
or via the 'UserGetAllRights' hook, thus User::getAllRights is incomplete.
Change-Id: Id9ae9eff71e822ec5c038c1c1f990ac36f05cea8
2015-02-10 13:12:11 +01:00
jenkins-bot
3db3d168fd
Merge "Common interface for ImportStreamSource and ImportStringSource."
2015-02-10 10:54:43 +00:00
jenkins-bot
4ce714d6e2
Merge "Separate startUp() call from main script of mediawiki module"
2015-02-10 10:49:48 +00:00
daniel
891cc28a97
Common interface for ImportStreamSource and ImportStringSource.
...
ImportStringSource is handy for testing, but was unusable due to type hints
against ImportStreamSource. Introducing a common interface implemented by both
fixes this.
Change-Id: I820ffd8312789c26f55c18b6c46be191a550870a
2015-02-10 11:35:55 +01:00
jenkins-bot
8ad81cbb75
Merge "Make thumb.php respond with HTTP 400 (not 500) on invalid parameters"
2015-02-10 08:29:47 +00:00
Timo Tijhof
77525e0483
Update QUnit from v1.16.0 to v1.17.1
...
* Code
https://code.jquery.com/qunit/qunit-1.17.1.js
https://code.jquery.com/qunit/qunit-1.17.1.css
* Changes
https://github.com/jquery/qunit/blob/1.17.1/History.md
Change-Id: I8078f88dcb92ee4626de80a8f0fe6596b76affd1
2015-02-10 06:40:16 +00:00
jenkins-bot
1a55fcdede
Merge "composer.json: Specify a specific version of PHPUnit to use (~4.5)"
2015-02-10 06:38:41 +00:00
Timo Tijhof
5f25ba11d5
resources: Move QUnit to resources/lib/qunitjs
...
This never belonged in resources/lib/jquery as it isn't a jQuery plugin.
It's its own package and library.
In fact, while it is a jQuery Foundation project, it does not even
depend on jQuery core (e.g. like Sizzle, and PEP).
Change-Id: Ibb00f47f4c9444870832ba8d327853f335708ae7
2015-02-10 06:38:24 +00:00
Tim Starling
97a802407e
Workaround for HHVM bug in readline()
...
https://github.com/facebook/hhvm/issues/4776
Change-Id: I9d3e6817cee2fa2c11e02989a4b11915f0c708f5
2015-02-10 06:13:15 +00:00
Kunal Mehta
57e411855c
composer.json: Specify a specific version of PHPUnit to use (~4.5)
...
Using * will use the latest compatible version, which could potentially
introduce breaking changes. ~4.5 is equivalent to >=4.5,<5.0
Change-Id: I65bf0998cc028707f607ce7adaf45e27b1e6bca1
2015-02-09 20:22:16 -08:00
Timo Tijhof
9aaa52b1f1
mediawiki.util: Document optional first parameter of getUrl()
...
There was already a test for it, but the documentation didn't
reflect it. Elaborate test to also cover case of default title
with additional query parameters.
Change-Id: I147054fc89a1a79c4aa8d3cfa861926515080a94
2015-02-10 03:41:19 +00:00
Timo Tijhof
32106c0cc2
mediawiki.util: Clean up getUrl() test cases
...
Change-Id: I87e2ef7c45de349060ae671778fc7dcddd1bb2c2
2015-02-10 03:39:24 +00:00
jenkins-bot
00e0a5301c
Merge "Generate valid HTML code on error pages"
2015-02-10 03:03:10 +00:00
jenkins-bot
596f4a4437
Merge "build: Bump various devDependencies"
2015-02-10 01:52:42 +00:00
James D. Forrester
8626b8823d
build: Bump various devDependencies
...
grunt 0.4.2 -> 0.4.5
grunt-contrib-jshint 0.10.0 -> 0.11.0
grunt-jscs 0.8.1 -> 1.5.0
grunt-karma 0.9.0 -> 0.10.1
karma-firefox-launcher 0.1.3 -> 0.1.4
qunitjs 1.15.0 -> 1.17.1
Some minor fixes to pass new jscs rules; big ones postponed for now.
Change-Id: I5f2348c3cf96cf5aa20eeb9083300155b3920c5b
2015-02-10 00:52:15 +00:00
Aaron Schulz
c15caa6d53
Split StatusValue out of Status class and put it in /libs
...
* Deprecated useless FileRepoStatus class
Change-Id: I015635a9bf080ef6d98b2cff49b949c4378a859f
2015-02-10 00:39:05 +00:00
jenkins-bot
7d1e6624df
Merge "Trival: Comment speling"
2015-02-09 23:26:41 +00:00
jenkins-bot
884ac54872
Merge "registration: Add resource template-like functionality to extension.json"
2015-02-09 23:21:09 +00:00
Gabriel Wicke
e883b95e70
Trival: Comment speling
...
Change-Id: I17f50b5f26f5e8c1c9687c040c64699720ea6167
2015-02-09 23:20:29 +00:00
Kunal Mehta
912a5e5ec3
registration: Add resource template-like functionality to extension.json
...
This allows for extensions to specify common arguments to ResourceLoader
module definitions by only specifying them once.
The only supported values are "localBasePath" (which is relative to the
current directory), "remoteSkinPath", and "remoteExtPath". If a module
is using a custom class or is already specifying paths, the default paths
will not be added.
Tests are included to cover existing functionality and newly added
functionality. The convertExtensionToRegistration.php script was also
extended to try and guess what the default paths should be.
Bug: T88786
Change-Id: I802461796e8d8584dacf3b0c811b5ba97a4a8f7f
2015-02-09 15:14:06 -08:00
Translation updater bot
6d99462947
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e3b21c3c18a8a6ae1862c263134f637acef9719
2015-02-09 21:08:43 +01:00
jenkins-bot
c05061a544
Merge "HTMLForm: Support hide-if for HTMLCheckMatrix"
2015-02-09 19:13:39 +00:00
Fomafix
dfb38d92e3
Generate valid HTML code on error pages
...
For img_auth.php see
http://validator.w3.org/check?uri=https%3A%2F%2Fwww.mediawiki.org%2Fw%2Fimg_auth.php;No200=1
For profileinfo.php consistently use "/>" for self-closing elements.
Change-Id: I7e6aad0e7a2a745836adc430e3b2f3be5f31b6bb
2015-02-09 12:04:05 +00:00
jenkins-bot
0fd594c054
Merge "registration: Fix regression in ExtensionMessagesFiles handling"
2015-02-09 00:10:17 +00:00
Translation updater bot
9fc06194a1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8bca0b8e5832b189f299ee1534e468df969fe36
2015-02-08 21:23:27 +01:00
jenkins-bot
2b2aa59638
Merge "Documentation of compressOld.php"
2015-02-08 06:14:28 +00:00
Translation updater bot
9ed54bba01
Localisation updates from https://translatewiki.net .
...
Change-Id: I2ca7ae2e6545647817f47b96aa037f4c85ae848e
2015-02-07 21:27:32 +01:00
Geoffrey Mon
81ea10ffee
Resources.php: Fix phpcs-strict
...
Make line 1076 multiline to shorten it and
pass the phpcs-strict test.
Change-Id: I9a26d8b562cfa33881cbc6fb7447bdd53e4a71c5
2015-02-07 19:08:33 +00:00
Brad Jorsch
e754dfaf4d
HTMLForm: Support hide-if for HTMLCheckMatrix
...
It outputs multiple table rows, and each one needs the class and data
attribute.
Change-Id: I6667c3ea0e10167d941cb214d76889b389af79a3
2015-02-07 08:55:58 -05:00
Kunal Mehta
7067b6130d
registration: Fix regression in ExtensionMessagesFiles handling
...
In f2daeaa749 , the handling of MessageDirs was fixed to properly
handle arrays, except that broke ExtensionMessagesFiles which doesn't
support arrays. Since both settings are pretty much different, I split
them into separate functions.
Bug: T88858
Change-Id: I48765af2489d2ef1e30adb1d7c5a5a8f23bf522d
2015-02-06 15:02:26 -08:00
jenkins-bot
ff05579d1c
Merge "Fix type hint in HistoryAction::getArticle"
2015-02-06 21:58:02 +00:00
Translation updater bot
f77bd5c0e4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic8663ea8b5ad5b4e56b349de0c6d35c51cb5da40
2015-02-06 20:29:26 +01:00
Brion Vibber
c35284ce80
Merge "Account for HiDPI variants in thumb.php rate limiting"
2015-02-06 18:55:27 +00:00
Brion VIBBER
3409636b72
Merge "Move wfThumbIsStandard() to GlobalFunctions and add tests"
2015-02-06 18:47:31 +00:00
Thiemo Mättig
986f3df85b
Fix type hint in HistoryAction::getArticle
...
See the type hint of the accessed Action::$page variable.
Change-Id: I10e4e27773bcca507c10cf526d193bf0a1cc97ac
2015-02-06 16:54:25 +01:00
jenkins-bot
1cf126e626
Merge "mediawiki.page.gallery: Clean up $galleries variable"
2015-02-06 15:07:22 +00:00
ayush_garg
391d0f5e1c
Documentation of compressOld.php
...
Change-Id: Ib6e4914379568bfae32007f6e76968791798b08f
2015-02-06 19:52:39 +05:30
jenkins-bot
468adaf47f
Merge "Database: Cast to int in estimateRowCount(), selectRowCount()"
2015-02-06 10:13:00 +00:00
Kevin Israel
5f3957498b
Database: Cast to int in estimateRowCount(), selectRowCount()
...
Doc comments state that these methods return ints. In order to ensure
that, values must be cast to int before they are returned.
With respect to selectRowCount(), follows-up 65f81d2843 .
Change-Id: I108221ce4ad1b5b103b015fe875de54e04781741
2015-02-06 05:03:45 -05:00
Aaron Schulz
ac8d6b3538
Removed old SqlBagOStuff alias
...
Change-Id: I6fdd8791713ce9ed67473065332266c217284974
2015-02-06 02:03:04 -08:00
jenkins-bot
1274a261c3
Merge "Properly escape the messages in CategoryViewer.php"
2015-02-05 22:43:41 +00:00
Translation updater bot
1311085a04
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b2be6f19b721e842fda17f0e4ae9ddb7269f08a
2015-02-05 22:41:05 +01:00
Jackmcbarn
98cdb56c72
Properly escape the messages in CategoryViewer.php
...
This mostly reverts commit 8fe8035da2 ,
and redoes it without escaping the parser output.
Change-Id: I87da10e63b55c1a6c83dd497e30f65ad224e052b
2015-02-05 16:38:51 -05:00