lhc/web/wiklou.git
9 years agomediawiki.api.edit: Remove "format: 'json'"
Fomafix [Sun, 21 Sep 2014 18:42:55 +0000 (18:42 +0000)]
mediawiki.api.edit: Remove "format: 'json'"

"format: 'json'" is in the defaultOptions in mediawiki.api.

Change-Id: Ifdf61205d94dbf918be5427cef89a037ce9f08a2

9 years agoMerge "Fix typo in release notes"
jenkins-bot [Sun, 21 Sep 2014 09:55:53 +0000 (09:55 +0000)]
Merge "Fix typo in release notes"

9 years agoMerge "Copy translations of Special:MyLanguage alias from Translate"
jenkins-bot [Sun, 21 Sep 2014 09:28:41 +0000 (09:28 +0000)]
Merge "Copy translations of Special:MyLanguage alias from Translate"

9 years agoFix typo in release notes
Niklas Laxström [Sun, 21 Sep 2014 09:22:47 +0000 (11:22 +0200)]
Fix typo in release notes

Change-Id: I2651bc9c8b6ace473a503719e2d2930cfb50bc04

9 years agoCopy translations of Special:MyLanguage alias from Translate
Amir E. Aharoni [Thu, 18 Sep 2014 23:18:01 +0000 (02:18 +0300)]
Copy translations of Special:MyLanguage alias from Translate

Tuvan (tyv) didn't have a special page section, so now it's added.

See also I6f84eaf414b6d4239522bad14e90b1cbfc82590f.

Bug: 69461
Change-Id: Ie6a4d878b87ee030f9c042b43f7b1fb424b54099

9 years agoMerge "Unset redirect param in MoveLogFormatter::getMessageParameters"
jenkins-bot [Sun, 21 Sep 2014 09:03:14 +0000 (09:03 +0000)]
Merge "Unset redirect param in MoveLogFormatter::getMessageParameters"

9 years agoMerge "Move default logo to resources/assets/ directory"
jenkins-bot [Sun, 21 Sep 2014 05:23:53 +0000 (05:23 +0000)]
Merge "Move default logo to resources/assets/ directory"

9 years agoMerge "jquery.confirmable: Add a space between buttons"
jenkins-bot [Sun, 21 Sep 2014 05:10:38 +0000 (05:10 +0000)]
Merge "jquery.confirmable: Add a space between buttons"

9 years agofindHooks.php, importSiteScripts.php: Use format=json
Kevin Israel [Mon, 30 Jun 2014 14:02:01 +0000 (10:02 -0400)]
findHooks.php, importSiteScripts.php: Use format=json

* Also added query continuation support to findHooks.php.
* Also fixed query continuation support in importSiteScripts.php
  (broken by 2b3f4d821cd4).

Change-Id: I7ef62d370f5e2f598ac4c5857ac0dbf3ee4c8fa2

9 years agoCSSJanus: Add Apache license header
Timo Tijhof [Sun, 21 Sep 2014 00:21:53 +0000 (17:21 -0700)]
CSSJanus: Add Apache license header

Follows-up f9e8d61 which removed the Python library and its copy
of the Apache license file.

Change-Id: Ic3ed4a2fb935e713916cb8eb6ba1673839f40532

9 years agoMerge "UserTest: Fix edit count test which incorrectly added user to db"
jenkins-bot [Sat, 20 Sep 2014 22:30:52 +0000 (22:30 +0000)]
Merge "UserTest: Fix edit count test which incorrectly added user to db"

9 years agoUserTest: Fix edit count test which incorrectly added user to db
aude [Sat, 20 Sep 2014 15:11:00 +0000 (17:11 +0200)]
UserTest: Fix edit count test which incorrectly added user to db

Although 'added' to the database, the user name was cleared
in User::loadDefaults() and not added correctly to the database.

Then if one has BetaFeatures extension, then the test fails.
Via a hook, BetaFeatures does "User::newFromName( $user->getName() );",
that produces a null object as name is '127.0.0.1' and then
$user->getOption() fails.

loadDefaults() is automatically called by addToDatabase() with correct
parameters, so we can just remove the call.

Bug: 68626
Change-Id: Ibb5c60192eb83b2608f72b59d7705854549a5dac

9 years agoMerge "maintenance: Remove cssjanus.py"
jenkins-bot [Sat, 20 Sep 2014 21:27:31 +0000 (21:27 +0000)]
Merge "maintenance: Remove cssjanus.py"

9 years agoMerge "DatabaseMysqlBase: Use VERSION() rather than server_info"
jenkins-bot [Sat, 20 Sep 2014 21:12:36 +0000 (21:12 +0000)]
Merge "DatabaseMysqlBase: Use VERSION() rather than server_info"

9 years agomaintenance: Remove cssjanus.py
Timo Tijhof [Sat, 20 Sep 2014 21:06:08 +0000 (14:06 -0700)]
maintenance: Remove cssjanus.py

Follows-up r55510 (aa4d684a82) which added it for use with the
Vector stylesheets at times where we didn't have CSSJanus.php.

This has been unused since we introduced ResourceLoader and the
PHP-port of CSSJanus.

Change-Id: I2c9a022354617060d99bf1c44f0726b495ec070d

9 years agoMove default logo to resources/assets/ directory
Bartosz Dziewoński [Thu, 18 Sep 2014 11:01:33 +0000 (13:01 +0200)]
Move default logo to resources/assets/ directory

The problem here is that the path to 'wiki.png' is saved in users'
LocalSettings.

We likely should not remap the path, like we did for footer license
icons in Ic7c32e56:

* It's likely that users changed their logo image by overwriting the
  file in skins/common/.
* If the normal upgrade process is followed (overwrite-uploading new
  files), the old file will still be there with the skins/common/
  directory.
* If it does cause problems, they'll be rather easy to notice and fix.

On the other hand, maybe we should?

* This is going to be annoying for git users.
* It will bite anyone who deletes all MediaWiki files when upgrading
  via tarball, which is more likely with the recent skin system
  changes encouraging users to remove old cruft from skins/ directory.

Bug: 69277
Change-Id: I175fe57048ebf9d348fb2fe67bf62cf5df389003

9 years agoFix CSSJanus flipping in LESS mixins and remove broken custom LESS functions
Bartosz Dziewoński [Thu, 18 Sep 2014 14:49:08 +0000 (16:49 +0200)]
Fix CSSJanus flipping in LESS mixins and remove broken custom LESS functions

Custom LESS functions are problematic for us for a number of reasons,
as outlined by Timo on bug 67368. We should get rid of them.

The only use case was implementing CSSMin data: URI embedding in LESS,
which used to be impossible due to lessc not preserving comments (bug
54673). However, thanks to new syntax added in f3779e06 we can insert
the annotations in such a way that the compiler won't mess with them.
The same technique is used in OOjs UI since 584ed144.

The LESS-function-based embedding implementation also meant that we
were unable to flip images for RTL (bug 66091 and friends: bug 66773,
bug 68326). The annotation one doesn't have this limitation.

Bug: 67368
Bug: 66091
Bug: 66773
Bug: 68326
Change-Id: I3062346ed63272a1c22b5df27b4cc1de2a699d9a

9 years agoSet mw.config wgFileCanRotate only on Special:Upload instead of
Fomafix [Thu, 18 Sep 2014 21:00:52 +0000 (21:00 +0000)]
Set mw.config wgFileCanRotate only on Special:Upload instead of
site-wide

UploadWizard also uses wgFileCanRotate and set the variable by
I3c50b56e6a11742cfc1c02d3d8dbeb0c151b0e91 itself.

Change-Id: Iff6a952c8f4f21c0e27bd6b4191f3b0b453eec03

9 years agoMerge "Automatic direction for the license in Special:Version"
jenkins-bot [Sat, 20 Sep 2014 19:34:31 +0000 (19:34 +0000)]
Merge "Automatic direction for the license in Special:Version"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 20 Sep 2014 18:01:28 +0000 (20:01 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I38d6fce89373f5ec424d44c757d3011ae9ea7eb4

9 years agoMerge "Strict standards: Static function PasswordTestCase::providePasswordTests(...
jenkins-bot [Sat, 20 Sep 2014 17:25:41 +0000 (17:25 +0000)]
Merge "Strict standards: Static function PasswordTestCase::providePasswordTests() should not be abstract"

9 years agoStrict standards: Static function PasswordTestCase::providePasswordTests() should...
Bartosz Dziewoński [Sat, 20 Sep 2014 17:09:04 +0000 (19:09 +0200)]
Strict standards: Static function PasswordTestCase::providePasswordTests() should not be abstract

Caused by 96771e3a655bad2d3a9440fababaf2dcf5a62bc5. No idea why that
change merged successfully.

Change-Id: I946f179699a5f249b032c4c8f90a9e6d2b033f55

9 years agoMerge "UserTest: Don't rely on the behavior of unknown user options"
jenkins-bot [Sat, 20 Sep 2014 17:13:03 +0000 (17:13 +0000)]
Merge "UserTest: Don't rely on the behavior of unknown user options"

9 years agoAutomatic direction for the license in Special:Version
Amir E. Aharoni [Sat, 19 Jul 2014 11:22:07 +0000 (14:22 +0300)]
direction for the license in Special:Version

Change-Id: I357d92eca18de9a7a79ddfb215337ec231250ca3

9 years agoUserTest: Don't rely on the behavior of unknown user options
Bartosz Dziewoński [Sat, 20 Sep 2014 16:56:04 +0000 (18:56 +0200)]
UserTest: Don't rely on the behavior of unknown user options

They are not actually expected to be preserved, although they might be.

Change-Id: I34e15f3d1e5b9b825e6fc14814c8e9a6ac151ce9

9 years agoUnset redirect param in MoveLogFormatter::getMessageParameters
umherirrender [Wed, 6 Aug 2014 09:00:47 +0000 (11:00 +0200)]
Unset redirect param in MoveLogFormatter::getMessageParameters

The redirect param is used to get a different message key, so there is
no need to pass it to the message, because the value is stable.
'logentry-move-move' always get a '0' and
'logentry-move-move-noredirect' always a '1'
The value is only visible with uselang=qqx

Change-Id: Ib6a3303e7401e29561165355b3611c3c123bfcd0

9 years agoDatabaseMysqlBase: Use VERSION() rather than server_info
Kevin Israel [Sun, 31 Aug 2014 10:43:50 +0000 (06:43 -0400)]
DatabaseMysqlBase: Use VERSION() rather than server_info

I noticed enwiki's Special:Version page was reporting the version
of MariaDB 10 as "5.5.5-10.0.11-MariaDB-log" rather than just
"10.0.11-MariaDB-log". This change should fix that.

Change-Id: I6bf7e27e88014f70594b33d089636b09b6c97527

9 years agoMerge "Completely remove skin autodiscovery"
jenkins-bot [Sat, 20 Sep 2014 02:21:50 +0000 (02:21 +0000)]
Merge "Completely remove skin autodiscovery"

9 years agoCompletely remove skin autodiscovery
Bartosz Dziewoński [Mon, 26 May 2014 15:41:57 +0000 (17:41 +0200)]
Completely remove skin autodiscovery

Also update documentation.

Bug: 65748
Change-Id: I393896281e901de2000c09c0abd16ee2a0f41e2f

9 years agoRemove WMF deployment hack for 'Enlarge' image
Bartosz Dziewoński [Mon, 18 Aug 2014 13:27:43 +0000 (15:27 +0200)]
Remove WMF deployment hack for 'Enlarge' image

Follow-up to I849a2222. To be merged 31 days after that cut lands
(i.e.,  after 19 September).

Bug: 69673
Change-Id: I7a920105cadf3a4dea7d3bffee7ae6ff08e40887

9 years agoMerge "Fixed --maxtime handling by JobRunner"
jenkins-bot [Fri, 19 Sep 2014 22:57:45 +0000 (22:57 +0000)]
Merge "Fixed --maxtime handling by JobRunner"

9 years agoFixed --maxtime handling by JobRunner
Aaron Schulz [Fri, 19 Sep 2014 22:27:04 +0000 (15:27 -0700)]
Fixed --maxtime handling by JobRunner

Bug: 71073
Change-Id: I4ddebd5aad27d0882dd2e4614df91ac565a71d2d

9 years agoReduce new button min-width from 80px to 70px
kaldari [Fri, 19 Sep 2014 22:28:06 +0000 (15:28 -0700)]
Reduce new button min-width from 80px to 70px

80px is too large for mobile and causes some buttons to wrap to
other lines.

Change-Id: I00b44508e7783957a8c24c4890cc1ba4dfe265da

9 years agoBump 1.25
James D. Forrester [Fri, 19 Sep 2014 20:52:13 +0000 (13:52 -0700)]
Bump 1.25

Change-Id: I361206d6c0522e89f685a1b76fec56ec593032c5

9 years agoRemove redundant $db->resultObject() calls
Kevin Israel [Fri, 12 Sep 2014 04:12:38 +0000 (00:12 -0400)]
Remove redundant $db->resultObject() calls

DatabaseBase::query() already passes the value returned by the
database driver (usually an object or resource for SELECT queries)
through $db->resultObject(). There is no need to pass it through
the method a second time to get a ResultWrapper.

Change-Id: I5d34ab2bffb7f236d2f824b4ef0e8670f89d4599

9 years agoMerge "Re-apply Ic917c7d, don't cast SpecialPageFactory::$list to an object"
jenkins-bot [Fri, 19 Sep 2014 20:16:40 +0000 (20:16 +0000)]
Merge "Re-apply Ic917c7d, don't cast SpecialPageFactory::$list to an object"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 19 Sep 2014 19:42:35 +0000 (19:42 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoi18n: Native digits on 'mergehistory-success'
Reza [Sat, 13 Sep 2014 01:02:41 +0000 (01:02 +0000)]
i18n: Native digits on 'mergehistory-success'

Change-Id: If3319c20362785a4b0f875ad8b5c1526e3953b6c

9 years agoImprove test coverage of Title::isValidMoveOperation
Kunal Mehta [Fri, 19 Sep 2014 06:10:03 +0000 (23:10 -0700)]
Improve test coverage of Title::isValidMoveOperation

Change-Id: Ifd81b0a894714ca94ab3e627ba83c881d96c3377

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 19 Sep 2014 19:14:12 +0000 (21:14 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibdc7c61789400b1ab18f05da42ecd62c54cc7bb3

9 years agoAdded missing NULL value to sql insert statement.
Bill Traynor [Fri, 19 Sep 2014 17:54:30 +0000 (13:54 -0400)]
Added missing NULL value to sql insert statement.

In tables.sql the page table is defined with 14 columns.  Following
this, the dummy table insert statement included 13 values causing
failure of the installation process.  This change adds the required 14th
value.

Bug: 71022
Change-Id: I8f8ee95fb4c0147ac09232ef253ecf7784b7fb52
Signed-off-by: Bill Traynor <btraynor@gmail.com>
9 years agoMerge "Fix some issues with Microsoft SQL Server Driver"
jenkins-bot [Fri, 19 Sep 2014 17:16:40 +0000 (17:16 +0000)]
Merge "Fix some issues with Microsoft SQL Server Driver"

9 years agoFix some issues with Microsoft SQL Server Driver
U-REDMOND\emadelw [Thu, 18 Sep 2014 20:36:46 +0000 (13:36 -0700)]
Fix some issues with Microsoft SQL Server Driver

* INSERT IGNORE now works properly
* Only return an inserted id if the INSERT was actually successful
* Fix syntax error when doing LIMIT queries

Bug: 71024
Change-Id: I4dddc5c9c234b17040a28937987406511ec6ea9f

9 years agoMerge "Remove unused message"
Prtksxna [Fri, 19 Sep 2014 16:56:33 +0000 (16:56 +0000)]
Merge "Remove unused message"

9 years agoRe-apply Ic917c7d, don't cast SpecialPageFactory::$list to an object
aude [Fri, 19 Sep 2014 11:58:32 +0000 (13:58 +0200)]
Re-apply Ic917c7d, don't cast SpecialPageFactory::$list to an object

applied on top of Ia2107dc

Change-Id: I7420b9ec9df2ebd8e983fddfc7ee17655788cfde

9 years agoRemove unused message
Niklas Laxström [Fri, 19 Sep 2014 07:50:06 +0000 (09:50 +0200)]
Remove unused message

Follow-up to Iafdf9303 and I50e2f60d

Change-Id: Ib1cecfe7bdf44e951d666417b98af0d04b9f3d81

9 years agoMerge "Add Special:MediaStatistics page for file type stats"
jenkins-bot [Fri, 19 Sep 2014 08:03:42 +0000 (08:03 +0000)]
Merge "Add Special:MediaStatistics page for file type stats"

9 years agoMerge "Add missing </div> tag to packed-overlay galleries"
jenkins-bot [Fri, 19 Sep 2014 05:00:18 +0000 (05:00 +0000)]
Merge "Add missing </div> tag to packed-overlay galleries"

9 years agoAdd missing </div> tag to packed-overlay galleries
Brian Wolff [Fri, 19 Sep 2014 03:28:02 +0000 (00:28 -0300)]
Add missing </div> tag to packed-overlay galleries

Bug: 71030
Change-Id: I7a1781797498b079137becee68f81bf478e6f10e

9 years agoMerge "Add "unsaved changes" warning to Special:Preferences"
jenkins-bot [Fri, 19 Sep 2014 01:19:52 +0000 (01:19 +0000)]
Merge "Add "unsaved changes" warning to Special:Preferences"

9 years agoAdd "unsaved changes" warning to Special:Preferences
Brad Jorsch [Wed, 30 Oct 2013 18:28:17 +0000 (14:28 -0400)]
Add "unsaved changes" warning to Special:Preferences

Much like the similar warning on the edit page, it has been requested
that we display a warning if the user has made changes on
Special:Preferences and attempts to leave without saving.

This adapts the code from
resources/mediawiki.action/mediawiki.action.edit.editWarning.js to do
so.

Bug: 55966
Change-Id: Idb00f50ad8148cd80bd0af81b4cd06a0eb217d96

9 years agoMerge "Deprecate HTMLFileCache::newFromTitle() in favor of constructor"
jenkins-bot [Fri, 19 Sep 2014 00:24:16 +0000 (00:24 +0000)]
Merge "Deprecate HTMLFileCache::newFromTitle() in favor of constructor"

9 years agoMerge "Add a hook to allow extensions to prevent HTML file caching"
jenkins-bot [Fri, 19 Sep 2014 00:08:58 +0000 (00:08 +0000)]
Merge "Add a hook to allow extensions to prevent HTML file caching"

9 years agoDeprecate HTMLFileCache::newFromTitle() in favor of constructor
Max Semenik [Mon, 15 Sep 2014 22:47:30 +0000 (15:47 -0700)]
Deprecate HTMLFileCache::newFromTitle() in favor of constructor

Change-Id: I903e68fc1f486501d790ca69146ecb835d90c9cc

9 years agoAdd a hook to allow extensions to prevent HTML file caching
Max Semenik [Mon, 15 Sep 2014 23:52:14 +0000 (16:52 -0700)]
Add a hook to allow extensions to prevent HTML file caching

Needed for MobileFrontend on third-party sites that use this feature.
Ideally, there should be a way to cache mobile requests too, but that's
a different issue requiring much more effort to do properly.

Bug: 68106
Change-Id: I01a76c571d9186b325f19a00cec136459707c791

9 years agoMerge "SpecialUndelete: Check permissions on a per-page basis"
jenkins-bot [Thu, 18 Sep 2014 23:44:23 +0000 (23:44 +0000)]
Merge "SpecialUndelete: Check permissions on a per-page basis"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (f2c3f12959)"
jenkins-bot [Thu, 18 Sep 2014 23:33:00 +0000 (23:33 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (f2c3f12959)"

9 years agoSpecialUndelete: Check permissions on a per-page basis
Kunal Mehta [Mon, 18 Aug 2014 18:13:25 +0000 (11:13 -0700)]
SpecialUndelete: Check permissions on a per-page basis

This will allow for hooks related to Title::userCan to
grant or revoke permissions based on the specific page
or namespace.

Bug: 14801
Change-Id: I02d8eb91cc5daff6e70b0dea3d2f58ed5fbfcf81

9 years agoMerge "Make ArchivedFile load title regardless of how constructed."
jenkins-bot [Thu, 18 Sep 2014 23:24:00 +0000 (23:24 +0000)]
Merge "Make ArchivedFile load title regardless of how constructed."

9 years agoUpdate OOjs UI to v0.1.0-pre (f2c3f12959)
James D. Forrester [Thu, 18 Sep 2014 23:22:23 +0000 (16:22 -0700)]
Update OOjs UI to v0.1.0-pre (f2c3f12959)

New changes:
f8e3599 Fix automatic sizing of windows
427b9a4 README: Add devDependencies badge
5018f7b build: Use csscomb to prettify the CSS
f2c3f12 Followup ec785c2: re-evaluate clipping state after positioning

Change-Id: I0e1d5d44a6e90a66cfa280c782b6e75ba44ce7c4

9 years agoMerge "Made QueryPage use startAtomic() for trx handling"
jenkins-bot [Thu, 18 Sep 2014 23:16:49 +0000 (23:16 +0000)]
Merge "Made QueryPage use startAtomic() for trx handling"

9 years agoAPI: Add prop modules for backlinks
Brad Jorsch [Wed, 20 Aug 2014 17:32:01 +0000 (13:32 -0400)]
API: Add prop modules for backlinks

With the success of prop=redirects, let's create prop=linkshere,
prop=transcludedin, and prop=fileusage.

Let's also add a miser-mode-sensitive 'namespace' parameter to
prop=redirects, since the other three have a 'namespace' parameter using
the new *_from_namespace fields.

Change-Id: Ib650db9988a553771582eed0c183d0cae4b71252

9 years agoMerge "Style guide: Visually separate buttons"
jenkins-bot [Thu, 18 Sep 2014 20:25:34 +0000 (20:25 +0000)]
Merge "Style guide: Visually separate buttons"

9 years agoMerge "checkbox.less: Set cursor on label instead of pseudo element"
jenkins-bot [Thu, 18 Sep 2014 20:24:09 +0000 (20:24 +0000)]
Merge "checkbox.less: Set cursor on label instead of pseudo element"

9 years agoStyle guide: Visually separate buttons
Prateek Saxena [Mon, 15 Sep 2014 22:49:44 +0000 (15:49 -0700)]
Style guide: Visually separate buttons

This makes all the buttons stack up vertically making it easier
to scan through options

Change-Id: If63f3df18ee4a79f44b9d8daa8ce986e1cd09526

9 years agoMerge "SpecialChangeEmail: Use vform and remove wrapper"
jenkins-bot [Thu, 18 Sep 2014 20:11:38 +0000 (20:11 +0000)]
Merge "SpecialChangeEmail: Use vform and remove wrapper"

9 years agoMerge "SpecialChangeEmail: Remove cancel button"
jenkins-bot [Thu, 18 Sep 2014 20:11:22 +0000 (20:11 +0000)]
Merge "SpecialChangeEmail: Remove cancel button"

9 years agoMerge "API: No mustposttoken error with $wgDebugAPI"
jenkins-bot [Thu, 18 Sep 2014 20:08:33 +0000 (20:08 +0000)]
Merge "API: No mustposttoken error with $wgDebugAPI"

9 years agoSpecialChangeEmail: Use vform and remove wrapper
Prateek Saxena [Thu, 18 Sep 2014 19:57:13 +0000 (12:57 -0700)]
SpecialChangeEmail: Use vform and remove wrapper

Bug: 56363
Change-Id: I50e2f60d94c902f9a3227efda0955ad75a688835

9 years agoAPI: No mustposttoken error with $wgDebugAPI
Brad Jorsch [Thu, 18 Sep 2014 19:56:53 +0000 (15:56 -0400)]
API: No mustposttoken error with $wgDebugAPI

$wgDebugAPI is supposed to be a way to quickly (and insecurely) test API
modules using GET where they'd normally require POST. But this purpose
is defeated if token handling still throws mustposttoken.

Change-Id: Iee2fb76da86bf0670f9816f24f68c611fa0728b1

9 years agotest: Clean up data providers that should be static
Timo Tijhof [Thu, 18 Sep 2014 01:28:26 +0000 (18:28 -0700)]
test: Clean up data providers that should be static

Follows-up b36d883.

By far most data providers are static (and PHPUnit expects them
to be static and calls them that way).

Most of these classes already had their data providers static
but additional commits sloppily introduced non-static ones.

* ResourceLoaderWikiModuleTest, 8968d8787f.
* TitleTest, 545f1d3a73.
  Odd unused method 'dataTestIsValidMoveOperation' was introduced
  in 550b878e63.
* GlobalVarConfigTest, a3e18c3670.

Change-Id: I5da99f7cd3da68c550ae507ffe1f725d31e7666f

9 years agoMake ArchivedFile load title regardless of how constructed.
Brian Wolff [Thu, 18 Sep 2014 19:11:42 +0000 (16:11 -0300)]
Make ArchivedFile load title regardless of how constructed.

If someone did $f = new ArchivedFile( null, 10 ); (ie load an
archived file based on id), $f->getTitle() would always return
false. We should populate the title when loading properties
from the db to prevent this. Having $f->getTitle() return
false only sometimes is sketchy.

Change-Id: Ia9d25d6b159aa45696c318d8c4a8ef0adffb3e47

9 years agoSpecialChangeEmail: Remove cancel button
Prateek Saxena [Thu, 18 Sep 2014 19:14:09 +0000 (12:14 -0700)]
SpecialChangeEmail: Remove cancel button

Bug: 56363
Change-Id: Iafdf93038e2282dbb5b039030a585bd72b9b8c2a

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 18 Sep 2014 18:36:17 +0000 (20:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia4f690c6711ff3c3f20be8d0450cce148f242063

9 years agoMerge "checkbox.less: Use @borderRadius"
jenkins-bot [Thu, 18 Sep 2014 18:20:49 +0000 (18:20 +0000)]
Merge "checkbox.less: Use @borderRadius"

9 years agoMerge "mediawiki.ui: Add @borderRadius variable to be used for inputs and buttons"
jenkins-bot [Thu, 18 Sep 2014 18:20:44 +0000 (18:20 +0000)]
Merge "mediawiki.ui: Add @borderRadius variable to be used for inputs and buttons"

9 years agoMerge "mediawiki.util: Deprecate mw.util.updateTooltipAccessKeys"
jenkins-bot [Thu, 18 Sep 2014 18:18:05 +0000 (18:18 +0000)]
Merge "mediawiki.util: Deprecate mw.util.updateTooltipAccessKeys"

9 years agoMerge "inputs.less: Lower baseline"
jenkins-bot [Thu, 18 Sep 2014 18:13:09 +0000 (18:13 +0000)]
Merge "inputs.less: Lower baseline"

9 years agocheckbox.less: Set cursor on label instead of pseudo element
Prateek Saxena [Thu, 18 Sep 2014 18:04:06 +0000 (11:04 -0700)]
checkbox.less: Set cursor on label instead of pseudo element

Bug: 70474
Change-Id: I4b8edd987b724241f748d7891991f0cd7dc80b1b

9 years agoMerge "Move EmailNotification watchlist handling into helper method"
jenkins-bot [Thu, 18 Sep 2014 18:08:24 +0000 (18:08 +0000)]
Merge "Move EmailNotification watchlist handling into helper method"

9 years agomediawiki.util: Deprecate mw.util.updateTooltipAccessKeys
Fomafix [Mon, 1 Sep 2014 05:29:23 +0000 (05:29 +0000)]
mediawiki.util: Deprecate mw.util.updateTooltipAccessKeys

Use $nodes.updateTooltipAccessKeys() instead of
mw.util.updateTooltipAccessKeys( $nodes )

mw.util.updateTooltipAccessKeys() with empty parameter
to update all nodes is only needed in mediawiki.page.ready.js.
Copy that code to mediawiki.page.ready.js.

Adapt wikibits.js

Change-Id: I300a23e614e5f91fe2f536d958e91a47f6203021

9 years agoMerge "Do not require iiurlwidth when getting thumbnails."
jenkins-bot [Thu, 18 Sep 2014 17:48:00 +0000 (17:48 +0000)]
Merge "Do not require iiurlwidth when getting thumbnails."

9 years agoMerge "Add duration field in query=imageinfo&iiprop=dimensions"
jenkins-bot [Thu, 18 Sep 2014 17:46:47 +0000 (17:46 +0000)]
Merge "Add duration field in query=imageinfo&iiprop=dimensions"

9 years agoMerge "Add release notes for recent Config-related changes"
jenkins-bot [Thu, 18 Sep 2014 17:45:50 +0000 (17:45 +0000)]
Merge "Add release notes for recent Config-related changes"

9 years agoAdd release notes for recent Config-related changes
Kunal Mehta [Thu, 18 Sep 2014 17:31:26 +0000 (10:31 -0700)]
Add release notes for recent Config-related changes

Change-Id: I84765a2462766e82ee0f139b855ba948654c1d7f

9 years agoSupport for enabling skins in the command-line installer
Bartosz Dziewoński [Sat, 13 Sep 2014 18:34:52 +0000 (20:34 +0200)]
Support for enabling skins in the command-line installer

Whoops, I kind of forgot that this exists. Follow-up to a957836f.

Bug: 70815
Change-Id: I6944fe1b1f7a8b77d32fafbca2349645320571f5

9 years agoAdd Special:MediaStatistics page for file type stats
Brian Wolff [Sun, 20 Jul 2014 21:29:38 +0000 (18:29 -0300)]
Add Special:MediaStatistics page for file type stats

There used to be a bot on commons that did this, but it broke, and
this seems like the sort of thing that should be built in to
MediaWiki anyhow.

In order to do this, it abuses the querycache table somewhat
(Storing non-titles things in the title column).

Also changes the link on Special:Statistics for number of
uploads to link to new page. It seemed appropriate to link
to more detailed statistics instead of to Special:ListFiles.

Change-Id: I9ab768584b02a32b450d5f3981ff775ee07fecfa

9 years agoinputs.less: Lower baseline
Prateek Saxena [Thu, 18 Sep 2014 17:14:51 +0000 (10:14 -0700)]
inputs.less: Lower baseline

Bug: 70917
Change-Id: I979886fe48a4c13e2ef088dc3ce48f3a9b15ba2a

9 years agocheckbox.less: Use @borderRadius
Prateek Saxena [Thu, 18 Sep 2014 16:29:11 +0000 (09:29 -0700)]
checkbox.less: Use @borderRadius

Bug: 70916
Change-Id: Ia9b23b78c409744d7b4a34ff88f4231a96e15dad

9 years agomediawiki.ui: Add @borderRadius variable to be used for inputs and buttons
Prateek Saxena [Thu, 18 Sep 2014 15:51:03 +0000 (08:51 -0700)]
mediawiki.ui: Add @borderRadius variable to be used for inputs and buttons

Bug: 70916
Change-Id: I2102033ae5faa16367ddd4cbb879fdc62b4ca0b0

9 years agoMerge "Fix Parsoid's span.reference styling to match PHP's output"
jenkins-bot [Thu, 18 Sep 2014 16:42:45 +0000 (16:42 +0000)]
Merge "Fix Parsoid's span.reference styling to match PHP's output"

9 years agoMerge "button.less: Set min-width to 80px"
jenkins-bot [Thu, 18 Sep 2014 16:40:04 +0000 (16:40 +0000)]
Merge "button.less: Set min-width to 80px"

9 years agoAdd duration field in query=imageinfo&iiprop=dimensions
Brian Wolff [Sun, 31 Aug 2014 19:57:53 +0000 (16:57 -0300)]
Add duration field in query=imageinfo&iiprop=dimensions

If the file has a duration (e.g. an audio or video file), include
it in the list of dimensions returned. Do not include anything
for still media (normal pictures).

This affects both query=imageinfo and TMH's query=videoinfo.

Bug: 55941
Change-Id: If172a1cbaca08bff2eb709f6c829985b28b0200d

9 years agoDo not require iiurlwidth when getting thumbnails.
Brian Wolff [Thu, 19 Jun 2014 23:19:35 +0000 (20:19 -0300)]
Do not require iiurlwidth when getting thumbnails.

Some file types might not have a specific width/height. As an
example, TimedMediaHandler can specify thumbnails that are
"mid" sized instead of specific width. The requirement for
iiurlwidth was breaking some edge cases with ForeignAPIRepo
and TimedMediaHandler (Specificly with ?embedplayer=yes).

Do not require a width, but also verify that thumbnail parameters
are ok by running through normaliseParams (Formats that require
a width make this function return false if none is specified).

Change-Id: I8bb4c26db56c814ddfbd3e53ca98d05378c2a0bd

9 years agoMerge "Use qqx language for OldChangesListTest"
jenkins-bot [Thu, 18 Sep 2014 16:07:28 +0000 (16:07 +0000)]
Merge "Use qqx language for OldChangesListTest"

9 years agoFix Parsoid's span.reference styling to match PHP's output
Subramanya Sastry [Thu, 18 Sep 2014 16:05:26 +0000 (11:05 -0500)]
Fix Parsoid's span.reference styling to match PHP's output

* In Chrome (and other webkit-based browsers like phantomjs),
  the computed font-size for span.reference in Parsoid was 12px
  whereas in Firefox, it was 11px. The computed font-size for
  <sup> used for references for core mediawiki css is 11px in
  both Firefox and Chrome. I was able to pin this on the
  font-size: smaller vs font-size: 80% difference by inspecting
  in Chrome and Firefox (and also by dumping computed CSS in
  phantomjs).

* Verified via visual-diffing on ruthenium that this fix cleans
  up the diffs.

  http://parsoid-tests.wikimedia.org/visualdiff-item/pngs/enwiki/Medha_Patkar.diff.png

Change-Id: Ida67035cfb020696d2299ee26fe8d44717ffc421

9 years agobutton.less: Set min-width to 80px
Prateek Saxena [Thu, 18 Sep 2014 15:37:13 +0000 (08:37 -0700)]
button.less: Set min-width to 80px

Bug: 70972
Change-Id: I8e6beaf12d7cf1f1af20f4ff144eb0a7c2667a47

9 years agoMerge "mediawiki.action.view.redirectPage: Correct a CSS selector"
jenkins-bot [Thu, 18 Sep 2014 14:07:57 +0000 (14:07 +0000)]
Merge "mediawiki.action.view.redirectPage: Correct a CSS selector"

9 years agomediawiki.action.view.redirectPage: Correct a CSS selector
Bartosz Dziewoński [Thu, 18 Sep 2014 13:58:26 +0000 (15:58 +0200)]
mediawiki.action.view.redirectPage: Correct a CSS selector

Follow-up to 7dc4b586. .redirectTo was used for an early version of
that patch, I forgot to update it.

Change-Id: I935a761cb9e0c231afd098b5f1f3114240a9bf1f

9 years agoMove EmailNotification watchlist handling into helper method
Erik Bernhardson [Tue, 9 Sep 2014 21:10:01 +0000 (14:10 -0700)]
Move EmailNotification watchlist handling into helper method

Pulls one pure method with no state from EmailNotification into a
public static method.  This is done so that extensions (Flow, maybe
others) can replace the Email notifications with alternative ones (Echo)
while still updating the watchlist.

A better solution might be to extricate watchlist update from email
notifications, but this seems like a reasonable first step.

Bug: 66876
Change-Id: Iae213b87706c447b880244711e7747954423bb69