lhc/web/wiklou.git
11 years agoRecentChangesLinked: 'tagfilter' option already set in parent
umherirrender [Sun, 21 Oct 2012 15:26:23 +0000 (17:26 +0200)]
RecentChangesLinked: 'tagfilter' option already set in parent

Inside SpecialRecentChanges::getDefaultOptions() the 'tagfilter' option
is already set, so there is no need to do it a second time.

Change-Id: If89cf65a19676a4c6efa82883544b74e08961c62

11 years agoWhen deleting old thumbnails, actually increment $i
Reedy [Sun, 21 Oct 2012 14:14:10 +0000 (15:14 +0100)]
When deleting old thumbnails, actually increment $i

Change-Id: Ic213fed61959ab4d25bcd891c81df20e39cbc5f5

11 years agoMerge "don't overwrite $item['single-id'] in makeListItem in SkinTemplate"
IAlex [Sun, 21 Oct 2012 12:54:28 +0000 (12:54 +0000)]
Merge "don't overwrite $item['single-id'] in makeListItem in SkinTemplate"

11 years agoRemove float from config-settings-block
Amir E. Aharoni [Sun, 21 Oct 2012 07:51:28 +0000 (09:51 +0200)]
Remove float from config-settings-block

This rule has little influence in LTR environments
and causes broken display in RTL environments.

Change-Id: I57ca668a8368a5fceba4d1a1a8948ba070a99b3d

11 years agoMerge changes I5f84fd91,I34ea53e7
Translation updater bot [Sat, 20 Oct 2012 22:55:11 +0000 (22:55 +0000)]
Merge changes I5f84fd91,I34ea53e7

* changes:
  Localisation updates from http://translatewiki.net.
  Localisation updates from http://translatewiki.net.

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 20 Oct 2012 22:40:04 +0000 (22:40 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5f84fd918fdedd46ee623957cfe62f402ef8c3cb

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 20 Oct 2012 20:12:27 +0000 (20:12 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I34ea53e767a3488b9f6ff003d3bba43938149296

11 years agoMerge "(bug 40857) fix non-array sidebar links handling in CologneBlue"
IAlex [Sat, 20 Oct 2012 20:05:45 +0000 (20:05 +0000)]
Merge "(bug 40857) fix non-array sidebar links handling in CologneBlue"

11 years agoadd comments about the purpose of skins/common/common*.css files
MatmaRex [Sat, 20 Oct 2012 17:52:41 +0000 (19:52 +0200)]
add comments about the purpose of skins/common/common*.css files

Per Dantman's (Daniel Friesen) comments on
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/95837.

Also a little cleanup in the header comments.

Change-Id: I8bc5d591ade631b9bb030e8ab6e102fd3146247a

11 years agoSetting $wgContLang without changing $wgLanguageCode accordingly is a very bad idea.
Alexandre Emsenhuber [Sat, 20 Oct 2012 16:15:18 +0000 (18:15 +0200)]
Setting $wgContLang without changing $wgLanguageCode accordingly is a very bad idea.

This caused about 200 exceptions "MWException: Error in MediaWikiLangTestCase::setUp(): $wgLanguageCode ('fr') is different from $wgContLang->getCode() (en)" on my installation.

Change-Id: I2987db68e22b27d8d36cdae118356fd7612e56a4

11 years agoMerge "(bug 41171) Refactor User::edits() and User::incEditCount()"
IAlex [Sat, 20 Oct 2012 16:13:42 +0000 (16:13 +0000)]
Merge "(bug 41171) Refactor User::edits() and User::incEditCount()"

11 years agoMerge "Unit test for User::getEditCount"
IAlex [Sat, 20 Oct 2012 16:04:51 +0000 (16:04 +0000)]
Merge "Unit test for User::getEditCount"

11 years agoMerge "Add filearchive.fa_sha1 to PostgreSQL as well."
IAlex [Sat, 20 Oct 2012 14:47:08 +0000 (14:47 +0000)]
Merge "Add filearchive.fa_sha1 to PostgreSQL as well."

11 years agoMerge "Remove a bunch of trailing spaces and unneeded newlines"
IAlex [Sat, 20 Oct 2012 14:40:55 +0000 (14:40 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"

11 years agoMerge "Remove a bunch of trailing spaces and unneeded newlines"
IAlex [Sat, 20 Oct 2012 14:38:03 +0000 (14:38 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"

11 years agoMerge "Bug 41234 - api prop=imageinfo broken on PHP 5.4"
Nikerabbit [Sat, 20 Oct 2012 14:03:52 +0000 (14:03 +0000)]
Merge "Bug 41234 - api prop=imageinfo broken on PHP 5.4"

11 years agoRemove a bunch of trailing spaces and unneeded newlines
umherirrender [Sat, 20 Oct 2012 11:35:38 +0000 (13:35 +0200)]
Remove a bunch of trailing spaces and unneeded newlines

Change-Id: If9fb04f64389b9b40c13f3372ad4792c2e14def0

11 years agoRemove a bunch of trailing spaces and unneeded newlines
umherirrender [Sat, 20 Oct 2012 11:32:35 +0000 (13:32 +0200)]
Remove a bunch of trailing spaces and unneeded newlines

Change-Id: I52ae3c55044bc8c53698e356bad74969406670bf

11 years agoMerge "Remove a bunch of trailing spaces and unneeded newlines"
IAlex [Sat, 20 Oct 2012 06:25:29 +0000 (06:25 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"

11 years agoMerge "Remove a bunch of trailing spaces and unneeded newlines"
IAlex [Sat, 20 Oct 2012 06:21:31 +0000 (06:21 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"

11 years agoAdd filearchive.fa_sha1 to PostgreSQL as well.
Tim Landscheidt [Sat, 20 Oct 2012 03:36:03 +0000 (03:36 +0000)]
Add filearchive.fa_sha1 to PostgreSQL as well.

This fixes bug #41114.

Change-Id: I021070f90d35d99ad55944543e94004f62d5f08c

11 years agoBug 41234 - api prop=imageinfo broken on PHP 5.4
Reedy [Sat, 20 Oct 2012 02:23:27 +0000 (03:23 +0100)]
Bug 41234 - api prop=imageinfo broken on PHP 5.4

Fix by Roan

Change-Id: I14d8da45f7655ded501e3dd48dbdd424ecacc885

11 years agogetParamValue defaults to current page only if url undefined
Ori Livneh [Fri, 19 Oct 2012 19:02:11 +0000 (12:02 -0700)]
getParamValue defaults to current page only if url undefined

The danger of using || here is apparent if you consider the
following case:

  mw.util.getParamValue( 'action', document.referrer );

If document.referrer is the empty string (as it often is),
getParamValue will look up the 'action' parameter in the
current URL, which is surely unintended. The solution is to
use the default value if and only if the url parameter is
undefined.

Change-Id: Ifd949f890d2f974dacc40e549c820c434ce57f53

11 years agoA few more for bug 41122
Reedy [Fri, 19 Oct 2012 23:17:59 +0000 (00:17 +0100)]
A few more for bug 41122

Change-Id: I756067c8e40eafff87f8f448a9e037228afd3bf3

11 years agoAdd additional specs + Parsoid-centric tests to keep Parsoid in line.
Subramanya Sastry [Fri, 19 Oct 2012 22:22:18 +0000 (17:22 -0500)]
Add additional specs + Parsoid-centric tests to keep Parsoid in line.

Change-Id: I9a6970b13d6f76d1f740655b3ff5061b6edad32f

11 years agoMerge "Revert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"""
Reedy [Fri, 19 Oct 2012 22:11:58 +0000 (22:11 +0000)]
Merge "Revert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"""

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 19 Oct 2012 20:29:41 +0000 (20:29 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoBug 41122 - Catchable fatal error: Object of class ParserOptions could not be convert...
Reedy [Fri, 19 Oct 2012 20:12:55 +0000 (21:12 +0100)]
Bug 41122 - Catchable fatal error: Object of class ParserOptions could not be converted to string

Fix ApiParse occurence

Change-Id: I82db8bb6dff178e11a1e6731fbf2cd977daa804a

11 years agoRemove a bunch of trailing spaces and unneeded newlines
umherirrender [Fri, 19 Oct 2012 20:10:42 +0000 (22:10 +0200)]
Remove a bunch of trailing spaces and unneeded newlines

Change-Id: I166a171c196f4c2c75886be12f913ffa9a4a35ad

11 years agoRemove a bunch of trailing spaces and unneeded newlines
umherirrender [Fri, 19 Oct 2012 20:03:05 +0000 (22:03 +0200)]
Remove a bunch of trailing spaces and unneeded newlines

Change-Id: I7db616db8c969567d420c0161fa207b366e292b6

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 19 Oct 2012 20:01:49 +0000 (20:01 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I30c902e8570c74138b0e90e6d90dda7be8b760a0

11 years agoMerge "Fixed dependencies for jquery.collapsibleTabs"
Nikerabbit [Fri, 19 Oct 2012 19:38:14 +0000 (19:38 +0000)]
Merge "Fixed dependencies for jquery.collapsibleTabs"

11 years ago[FileBackend] Issue a warnings for cache problems in streamFile().
Aaron Schulz [Fri, 19 Oct 2012 19:28:08 +0000 (12:28 -0700)]
[FileBackend] Issue a warnings for cache problems in streamFile().

Change-Id: I62cf6f07dc8722d483b3b6969aae1915c4ffccc6

11 years agoMerge "(bug 41156) Add id to the toolbox page info link"
IAlex [Fri, 19 Oct 2012 19:15:42 +0000 (19:15 +0000)]
Merge "(bug 41156) Add id to the toolbox page info link"

11 years agoRevert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers""
Reedy [Fri, 19 Oct 2012 17:18:43 +0000 (17:18 +0000)]
Revert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers""

This reverts commit 79a72a34c4ac525afa81d7c2ccfdefbc13a7dc92

11 years agoMerge "(bug 40876) Icon for PSD (Adobe Photoshop) file types."
Hashar [Fri, 19 Oct 2012 13:43:42 +0000 (13:43 +0000)]
Merge "(bug 40876) Icon for PSD (Adobe Photoshop) file types."

11 years agoMerge "(Bug 41178) Check whether content is null or false."
Reedy [Fri, 19 Oct 2012 13:41:49 +0000 (13:41 +0000)]
Merge "(Bug 41178) Check whether content is null or false."

11 years ago(bug 40876) Icon for PSD (Adobe Photoshop) file types.
ankur [Sat, 13 Oct 2012 06:24:02 +0000 (11:54 +0530)]
(bug 40876) Icon for PSD (Adobe Photoshop) file types.

The icon comes from the KDE "crystal svg" icon collection.

Change-Id: Ieac947391629e14980d1b81f5cef8bc20a15c01a

11 years agoAdd some debug logging to ContentHandler
daniel [Mon, 15 Oct 2012 15:27:34 +0000 (17:27 +0200)]
Add some debug logging to ContentHandler

Change-Id: I3f728999bc0576e4d225b49b5440a7fc5617d52d

11 years agoRelease note for ApiQueryORM class
jeroendedauw [Tue, 16 Oct 2012 18:00:15 +0000 (20:00 +0200)]
Release note for ApiQueryORM class

The class let you facilitate the creation of query API modules.

Change-Id: I30485076edd59edf02b90fc394a710c6353ee898

11 years agoRevert excessive indenting from 28433
Reedy [Thu, 18 Oct 2012 12:19:59 +0000 (13:19 +0100)]
Revert excessive indenting from 28433

Also remove indenting from else statement in the same block

Change-Id: I571880a4404fbc5a4804de9d3e2eb8f9d1501a37

11 years agoProtect against Xdebug overloading var_dump().
Tim Landscheidt [Fri, 19 Oct 2012 03:02:20 +0000 (03:02 +0000)]
Protect against Xdebug overloading var_dump().

This fixes bug #36452.

Change-Id: I0fc65af8c561b23daa5301a00706acb5b3f619dc

11 years ago(Bug 41178) Check whether content is null or false.
daniel [Fri, 19 Oct 2012 10:24:49 +0000 (12:24 +0200)]
(Bug 41178) Check whether content is null or false.

This is a follow-up to I7d629753.

Change-Id: Id9e307fcbab5d28fe4fc4ec21b5a4882cffc6841

11 years agoMerge "Updated release notes for job queue refactoring."
Nikerabbit [Fri, 19 Oct 2012 08:07:26 +0000 (08:07 +0000)]
Merge "Updated release notes for job queue refactoring."

11 years agoMerge "Fixup some returns, documentation"
Nikerabbit [Fri, 19 Oct 2012 07:32:52 +0000 (07:32 +0000)]
Merge "Fixup some returns, documentation"

11 years agoMerge "Avoid using $wgUser in TitlePermissionTest"
IAlex [Fri, 19 Oct 2012 05:55:30 +0000 (05:55 +0000)]
Merge "Avoid using $wgUser in TitlePermissionTest"

11 years agoClear $this->mOptionsLoaded in User::clearInstanceCache()
Tim Starling [Fri, 19 Oct 2012 03:02:39 +0000 (14:02 +1100)]
Clear $this->mOptionsLoaded in User::clearInstanceCache()

(bug 41198) If clearInstanceCache() is to clear cached user data apart
from the data from the user table, as addToDatabase() expects, then
$this->mOptionsLoaded needs to be set to false. Clearing $this->mOptions
may reduce memory usage a bit, but is not sufficient.

Change-Id: I6912415dc154d06f62839a1ee777c2c3747253d6

11 years ago[FileBackend] Clear persistent stat cache if it mislead streamFile().
Aaron Schulz [Thu, 18 Oct 2012 21:58:32 +0000 (14:58 -0700)]
[FileBackend] Clear persistent stat cache if it mislead streamFile().

Change-Id: Ie02e9e0c56180d8cbd2507b795cd960f3ba84f33

11 years agofix bug 41122, provide missing revId param in ApiQueryRevisions
aude [Thu, 18 Oct 2012 21:33:34 +0000 (23:33 +0200)]
fix bug 41122, provide missing revId param in ApiQueryRevisions

Change-Id: I8e6b4f845f15bb230965e0e765fdc0f15f67c014

11 years agoUpdated release notes for job queue refactoring.
Aaron Schulz [Thu, 18 Oct 2012 21:19:08 +0000 (14:19 -0700)]
Updated release notes for job queue refactoring.

Change-Id: Icfc62496f58e3e9fa142f24c9d3f2e96fce698d0

11 years agoMerge "[FileBackend] Cleaned up path normalization for caching."
Demon [Thu, 18 Oct 2012 20:05:45 +0000 (20:05 +0000)]
Merge "[FileBackend] Cleaned up path normalization for caching."

11 years agoRemoved outdated FileRepo docs.
Aaron Schulz [Thu, 18 Oct 2012 19:54:37 +0000 (12:54 -0700)]
Removed outdated FileRepo docs.

Change-Id: I020960028be12b87fe572eb3f56e4b33f517c495

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 18 Oct 2012 19:35:16 +0000 (19:35 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 18 Oct 2012 19:18:08 +0000 (19:18 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iab323e87d18f24f31808cff0d9e0510cb79e4260

11 years agoMerge "Make EditPage robust against null content."
Reedy [Thu, 18 Oct 2012 19:14:30 +0000 (19:14 +0000)]
Merge "Make EditPage robust against null content."

11 years ago[FileBackend] Cleaned up path normalization for caching.
Aaron Schulz [Thu, 18 Oct 2012 18:45:12 +0000 (11:45 -0700)]
[FileBackend] Cleaned up path normalization for caching.

Change-Id: I50a9f80ce6268526043485bb662557667442cffb

11 years agoMerge "(Bug 41179) Missing content in EditPage::showDiff"
Reedy [Thu, 18 Oct 2012 19:10:52 +0000 (19:10 +0000)]
Merge "(Bug 41179)  Missing content in EditPage::showDiff"

11 years agoMerge "(Bug 41178) Fix fatal in EditPage::displayPermissionsError."
Reedy [Thu, 18 Oct 2012 19:10:05 +0000 (19:10 +0000)]
Merge "(Bug 41178) Fix fatal in EditPage::displayPermissionsError."

11 years agoMerge "(Bug 41169) Apply rtrim on on preSaveTransfrom."
Demon [Thu, 18 Oct 2012 18:45:36 +0000 (18:45 +0000)]
Merge "(Bug 41169) Apply rtrim on on preSaveTransfrom."

11 years ago(Bug 41169) Apply rtrim on on preSaveTransfrom.
daniel [Thu, 18 Oct 2012 18:14:46 +0000 (20:14 +0200)]
(Bug 41169) Apply rtrim on on preSaveTransfrom.

Wikitext should not have trailing whitespace.

Change-Id: I75eb1c4bef7217ec2b7440594e3fc4b68dc3c022

11 years ago(bug 41156) Add id to the toolbox page info link
Alex Monk [Thu, 18 Oct 2012 18:37:32 +0000 (19:37 +0100)]
(bug 41156) Add id to the toolbox page info link

Change-Id: I4295d88f17aa468370af432e0b980e56c4581084

11 years agoMerge "[FileBackend] Added more tests and fixed some local copy/reference bugs."
Demon [Thu, 18 Oct 2012 18:37:24 +0000 (18:37 +0000)]
Merge "[FileBackend] Added more tests and fixed some local copy/reference bugs."

11 years agoMerge "Followup I15843fab: don't show &page=1 in file link"
Aaron Schulz [Thu, 18 Oct 2012 18:35:48 +0000 (18:35 +0000)]
Merge "Followup I15843fab: don't show &page=1 in file link"

11 years agoMerge "[Bug 41155] Record links on CSS/JS pages in the DB."
Demon [Thu, 18 Oct 2012 18:31:10 +0000 (18:31 +0000)]
Merge "[Bug 41155] Record links on CSS/JS pages in the DB."

11 years ago[Bug 41155] Record links on CSS/JS pages in the DB.
daniel [Thu, 18 Oct 2012 13:21:34 +0000 (15:21 +0200)]
[Bug 41155] Record links on CSS/JS pages in the DB.

ContentHandler removed wikitext parsing for CSS and JS pages.
However, people seem to rely on links and categories embedded
in script comments.

Change-Id: I0736f15878fbd3292e75854bf16f04df656ce363

11 years agoMake EditPage robust against null content.
daniel [Thu, 18 Oct 2012 17:51:49 +0000 (19:51 +0200)]
Make EditPage robust against null content.

This adds some checks to avoid fatal errors due to access
to non-objects.

Change-Id: Ib0e867a9aed50226fa8c6f3af655cd11e7fb83ed

11 years agoFixup some returns, documentation
Reedy [Thu, 18 Oct 2012 17:43:12 +0000 (18:43 +0100)]
Fixup some returns, documentation

Remove unused globals

Fix indenting

Change-Id: Icb9fad6ae5407260d56c790bf22d556436c32ea5

11 years ago(Bug 41179) Missing content in EditPage::showDiff
daniel [Thu, 18 Oct 2012 17:37:26 +0000 (19:37 +0200)]
(Bug 41179)  Missing content in EditPage::showDiff

Fixing another instance where the page content may be null.

Change-Id: I2f377937892dcfa5389f768edfb6033d2e6196b4

11 years ago(Bug 41178) Fix fatal in EditPage::displayPermissionsError.
daniel [Thu, 18 Oct 2012 17:17:03 +0000 (19:17 +0200)]
(Bug 41178) Fix fatal in EditPage::displayPermissionsError.

EditPage::displayPermissionsError did not check whether getContentObject
returns false.

While we are at it, making getEditText more robust.

Change-Id: I7d6297530f57949d4a66c663490449cbdb4acad8

11 years ago(bug 41171) Refactor User::edits() and User::incEditCount()
Marius Hoch [Thu, 18 Oct 2012 15:07:08 +0000 (17:07 +0200)]
(bug 41171) Refactor User::edits() and User::incEditCount()

User::edits() lets you fetch a cached number of edits from a slave database.
in case the field is not yet filed, we initialize if by hitting the `revision`
table and saving the result in user_editcount.

User::incEditCount() updates the edit countr and also does a lazy
initialization, if needed.

As both methods use the same $dbw->update() statement for this, I've
created a new, protected initEditCount() function which can take care of that.

Change-Id: If111270a84d4278bc4ea14d32ae602069f7c276f

11 years agoUnit test for User::getEditCount
Marius Hoch [Thu, 18 Oct 2012 03:03:10 +0000 (05:03 +0200)]
Unit test for User::getEditCount

Rather trivial test for User::getEditCount as suggested by
Siebrand in https://gerrit.wikimedia.org/r/26457

This required adding the User in the test to DB, as the data
is written to and read from the DB.

Change-Id: Ic4e55c01247158315b759654b34fdbdf9a61db01

11 years agoMerge "(bBug 41127) Handle non-existent content in WikiPage"
Reedy [Thu, 18 Oct 2012 14:13:44 +0000 (14:13 +0000)]
Merge "(bBug 41127) Handle non-existent content in WikiPage"

11 years ago(bBug 41127) Handle non-existent content in WikiPage
daniel [Thu, 18 Oct 2012 12:44:47 +0000 (14:44 +0200)]
(bBug 41127) Handle non-existent content in WikiPage

Change-Id: I8b80a6b7b49b0b8b43eb7d4913860d8ca899015e

11 years ago[Bug 41128] Handle null content in action=raw.
daniel [Thu, 18 Oct 2012 10:58:25 +0000 (12:58 +0200)]
[Bug 41128] Handle null content in action=raw.

In RawAction, there are several cases in which we have null instead
of a Content object. Most importanty, this applied for deleted revisions
and missing sections. Handle these cases gracefully.

Change-Id: Iac8560755718a46dcc4dcf118322a66d1caefdae

11 years agoMerge "Set $wgContentHandlerUseDB to false by default for now"
Siebrand [Thu, 18 Oct 2012 06:14:09 +0000 (06:14 +0000)]
Merge "Set $wgContentHandlerUseDB to false by default for now"

11 years agoMerge "Fixup some method documentation return types"
IAlex [Thu, 18 Oct 2012 04:38:33 +0000 (04:38 +0000)]
Merge "Fixup some method documentation return types"

11 years agoWork in progress on ResourceLoader mobilification
Brion Vibber [Thu, 11 Oct 2012 22:37:59 +0000 (15:37 -0700)]
Work in progress on ResourceLoader mobilification

Goes along with MobileFrontend changes: https://gerrit.wikimedia.org/r/28434

Adds 'targets' option to module definitions, defaulting to 'desktop'.
Only a couple more modules are whitelisted into both desktop and mobile for now.

Startup module takes a 'target' parameter (defaults to 'desktop') to filter
the resource module registration list. Only modules matching the filter get
registered, and thus will be loadable from client-side RL.

Change-Id: Ifb772d4995b8e2ec4b63776fe0bb5b0214f82e04

11 years agoMerge "reinstating Change Ifb1f6125..."
Kaldari [Thu, 18 Oct 2012 00:32:56 +0000 (00:32 +0000)]
Merge "reinstating Change Ifb1f6125..."

11 years agoreinstating Change Ifb1f6125...
Kaldari [Thu, 18 Oct 2012 00:25:52 +0000 (17:25 -0700)]
reinstating Change Ifb1f6125...

A setting to have uploading by URL, but not on Special:Upload.
Reverted this out when I thought we were going to be able to
support more widespread URL uploading, but currently, it is only
reliable for some domains, so although we can theoretically support
the new Flickr interface in UploadWizard, it probably isn't reliable
enough to add general URL uploading from Special:Upload.

Change-Id: I66b287bf173a4ea0b23f43180505d4c7de5acb26

11 years agoMerge "Deprecate static User::edits() in favour of User::getEditCount()"
Siebrand [Thu, 18 Oct 2012 00:00:11 +0000 (00:00 +0000)]
Merge "Deprecate static User::edits() in favour of User::getEditCount()"

11 years agoDeprecate static User::edits() in favour of User::getEditCount()
Marius Hoch [Wed, 3 Oct 2012 15:22:40 +0000 (17:22 +0200)]
Deprecate static User::edits() in favour of User::getEditCount()

Moved the logic from the old static User::edits() into
User::getEditCount() and deprecated User::edits() as it's
not following the class hierarchy.

Change-Id: Id2b939ffb903accb8f4dc132a6ac6b6576f81beb

11 years agoMerge "SI standards for time units"
Siebrand [Wed, 17 Oct 2012 23:09:49 +0000 (23:09 +0000)]
Merge "SI standards for time units"

11 years ago(bug 40829) Show cascading protection info on action=info
Alex Monk [Sat, 6 Oct 2012 22:32:45 +0000 (23:32 +0100)]
(bug 40829) Show cascading protection info on action=info

Change-Id: Ibc26bf8ae4e50bb9f158f48747b648df3ecb4b49

11 years agoFollow-up I186669a5 (4b62b03): reorder hooks alphabetically
Alexandre Emsenhuber [Fri, 12 Oct 2012 06:15:13 +0000 (08:15 +0200)]
Follow-up I186669a5 (4b62b03): reorder hooks alphabetically

Change-Id: I399f10df254762c4dd05e2c6fb83c29cc6121f81

11 years agoMerge "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers""
Reedy [Wed, 17 Oct 2012 22:16:03 +0000 (22:16 +0000)]
Merge "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers""

11 years agoRevert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"
Reedy [Wed, 17 Oct 2012 22:13:55 +0000 (22:13 +0000)]
Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"

This reverts commit 341552f6618be866571de5e0f1a6c78038bb856a

11 years agoFixup some method documentation return types
Reedy [Wed, 17 Oct 2012 22:04:22 +0000 (23:04 +0100)]
Fixup some method documentation return types

Remove an unused getTitle

Change-Id: Ic34ea605b39568f582d5f4f90cf36d3d654e4746

11 years agoFollowup I15843fab: don't show &page=1 in file link
jarry1250 [Wed, 17 Oct 2012 22:00:54 +0000 (23:00 +0100)]
Followup I15843fab: don't show &page=1 in file link

By standardising the file parameters were handed around, the normalised
parameter "page" (set to 1) is being passed to the linker. Since
it's the default, I don't think we really need it in the link, where
it is (a) meaningless and (b) confusing, since it is set for some
media types that don't even have pages (e.g. SVGs).

Change-Id: Ib80a85125366ec32ab05b061b06d28144dc244fc

11 years ago(bug 40857) fix non-array sidebar links handling in CologneBlue
MatmaRex [Wed, 17 Oct 2012 19:47:28 +0000 (21:47 +0200)]
(bug 40857) fix non-array sidebar links handling in CologneBlue

Thanks to Daniel Friesen for explanation on why a non-array can appear
there.

Change-Id: Ib51c640b9cb10a8acc8fe4033f71463e36770dbe

11 years ago[JobQueue] Fixed misuse of array type cast.
Aaron Schulz [Wed, 17 Oct 2012 21:55:46 +0000 (14:55 -0700)]
[JobQueue] Fixed misuse of array type cast.

Change-Id: I5d5f4325827cfb5fc5d0b85f57595541340a08d5

11 years agoSet $wgContentHandlerUseDB to false by default for now
Chad Horohoe [Wed, 17 Oct 2012 21:00:45 +0000 (17:00 -0400)]
Set $wgContentHandlerUseDB to false by default for now

We'll eventually want to set this to true by default, but right now
the content handler stuff is still semi-experimental stuff that isn't
widely used yet.

Before we turn this back on, let's make sure to give some notice
since it's a pretty major schema change they'll have to make.

Change-Id: If501a065a410a31a4232cd8386b498d7d18a73a4

11 years ago[FileBackend] Added more tests and fixed some local copy/reference bugs.
Aaron Schulz [Wed, 17 Oct 2012 20:15:36 +0000 (13:15 -0700)]
[FileBackend] Added more tests and fixed some local copy/reference bugs.

Change-Id: I21f635174310a1ce406483b546ae98dec218e5ba

11 years agoMerge "Minor action=info redirect changes"
IAlex [Wed, 17 Oct 2012 20:07:20 +0000 (20:07 +0000)]
Merge "Minor action=info redirect changes"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 17 Oct 2012 20:05:03 +0000 (20:05 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMinor action=info redirect changes
Marius Hoch [Wed, 17 Oct 2012 20:00:15 +0000 (22:00 +0200)]
Minor action=info redirect changes

Follow up to Change-Id: I17ab90af902b3b23d5c9bc23f0c71a18d1006cb8
fixing minor stuff (using the word separator message to seperate
the page name and (info) and escaping the link text given to
Linker::link)

Change-Id: I6d5e2ecf2c8a9394556426e952812f4b0d2ad529

11 years agoMerge "(bug 40154) On action=info show where this page redirects to and whether it...
TheDJ [Wed, 17 Oct 2012 19:37:56 +0000 (19:37 +0000)]
Merge "(bug 40154) On action=info show where this page redirects to and whether it's a content page or not."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 17 Oct 2012 19:28:27 +0000 (19:28 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1d5cb5df66a741789b0d82581712db1d9551d78c

11 years agosort method for jquery.tablesorter
Henning Snater [Tue, 4 Sep 2012 14:27:14 +0000 (16:27 +0200)]
sort method for jquery.tablesorter

the sort method allows programmatic sorting as well as instantly sorting
the table when initialising the tablesorter; furthermore, the method can
be used to reset sorting (e.g. if rows have been added later via JS);
sortEnd event may be used to reapply alternating table row colours or other purposes

patch set 2: fixed mentioned issues and added another test
patch set 3: addressed all further issues, introduced more obvious way to
specify sorting
patch set 4: implemented sort method instead of using an event; reprashed whole commit message; introduced 'sortEnd' event
patch set 5: fixed white space error
patch set 6: Add release notes and rebase

Change-Id: Id14862100cd27ebd6980c48dcf497db229c4301f

11 years ago[JobQueue] Added type-guard checks to JobQueueGroup::push().
Aaron Schulz [Wed, 17 Oct 2012 18:38:19 +0000 (11:38 -0700)]
[JobQueue] Added type-guard checks to JobQueueGroup::push().

Change-Id: If41820aab396697546361bc83ba6ce26d08311d8

11 years agoMerge "Replaced some !count() with explicit and more efficient check"
Daniel Kinzler [Wed, 17 Oct 2012 18:02:58 +0000 (18:02 +0000)]
Merge "Replaced some !count() with explicit and more efficient check"