lhc/web/wiklou.git
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 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 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: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 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[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"

11 years agoMerge "Added docu headers to content(handler) files"
IAlex [Wed, 17 Oct 2012 16:16:23 +0000 (16:16 +0000)]
Merge "Added docu headers to content(handler) files"

11 years agoMerge "[JobQueue] Added more b/c wrapper functions."
IAlex [Wed, 17 Oct 2012 16:12:46 +0000 (16:12 +0000)]
Merge "[JobQueue] Added more b/c wrapper functions."

11 years agoFixed dependencies for jquery.collapsibleTabs
Marius Hoch [Wed, 17 Oct 2012 15:16:33 +0000 (17:16 +0200)]
Fixed dependencies for jquery.collapsibleTabs

Added jquery.delayedBind as dependency for jquery.collapsibleTabs
as it's used on line 29.

This wasn't causing errors (at least I'm not aware of it causing errors),
but still it's better to have all dependencies declared.

Change-Id: Iaff2ee952822d1be9a91fc7b8634a63ac61f8252

11 years ago[JobQueue] Added more b/c wrapper functions.
Aaron Schulz [Wed, 17 Oct 2012 14:18:32 +0000 (07:18 -0700)]
[JobQueue] Added more b/c wrapper functions.

* Also made some small doc fixes.

Change-Id: Id525bd7e14b49f0ed24530d7f94a8198ff7bf4d8

11 years agoMerge "[FileBackend] Added chaining ability to some TempFSFile methods."
Demon [Wed, 17 Oct 2012 14:13:44 +0000 (14:13 +0000)]
Merge "[FileBackend] Added chaining ability to some TempFSFile methods."

11 years agoMerge "Warn when flushing inside an explicit transaction."
Aaron Schulz [Wed, 17 Oct 2012 14:07:54 +0000 (14:07 +0000)]
Merge "Warn when flushing inside an explicit transaction."

11 years agoWarn when flushing inside an explicit transaction.
daniel [Tue, 16 Oct 2012 11:15:50 +0000 (13:15 +0200)]
Warn when flushing inside an explicit transaction.

Until now, commit() with the "flush" flag would just commit the
transaction, no questions ask. Flushing however should only apply
to automatic transactions.

Change-Id: I621f145902cfdf201206b42c49c160aeeaf0e4ba

11 years agoFix various boundary cases in IcuCollation::findLowerBound()
Tim Starling [Thu, 11 Oct 2012 09:01:46 +0000 (20:01 +1100)]
Fix various boundary cases in IcuCollation::findLowerBound()

Fix the following edge cases which were previously broken:

* Zero-length input array
* Target value before the start
* Target value past the end

They didn't really matter for my original application, but Liangent
wants to use this function for something else.

Change-Id: Ia5f5ed4ab3cb6c463177a4812fd3ce96c6d37b33

11 years agoMerge "Fix RevisionStorageTest with non-wikitext NS_MAIN"
Aaron Schulz [Wed, 17 Oct 2012 00:53:42 +0000 (00:53 +0000)]
Merge "Fix RevisionStorageTest with non-wikitext NS_MAIN"

11 years agoFixed the caching of redirects in Squid
Tim Starling [Wed, 17 Oct 2012 00:00:07 +0000 (11:00 +1100)]
Fixed the caching of redirects in Squid

Was accidentally broken in Ie38ae198, where the request URL was compared
against the final target title, not the title of the redirect. Also
tested squid purges of redirects, since that code presumably hasn't been
tested for a while, and committed my very advanced testing framework.

Change-Id: Ib2ffe8e109bcc4859e22df5470bddfdb09e67afa

11 years agoMerge "Special:Undelete used non existant global wgContentHandlerNoDB"
Reedy [Tue, 16 Oct 2012 21:36:39 +0000 (21:36 +0000)]
Merge "Special:Undelete used non existant global wgContentHandlerNoDB"

11 years agoSpecial:Undelete used non existant global wgContentHandlerNoDB
Reedy [Tue, 16 Oct 2012 21:31:07 +0000 (22:31 +0100)]
Special:Undelete used non existant global wgContentHandlerNoDB

Swap $wgContentHandlerNoDB for $wgContentHandlerUseDB

Change-Id: If2b4c018539c474b24c869aa16318c91b0d011a6

11 years agoMerge "update @since tags"
Aaron Schulz [Tue, 16 Oct 2012 20:47:39 +0000 (20:47 +0000)]
Merge "update @since tags"

11 years agoMerge "Moved ContentHandler deriving classes into their own files for better discover...
Daniel Kinzler [Tue, 16 Oct 2012 19:49:16 +0000 (19:49 +0000)]
Merge "Moved ContentHandler deriving classes into their own files for better discoverability and more manageable line count per file"

11 years agoMerge "Added a pile of missing docs and fixed a few incorrect ones"
Daniel Kinzler [Tue, 16 Oct 2012 19:42:39 +0000 (19:42 +0000)]
Merge "Added a pile of missing docs and fixed a few incorrect ones"

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

Change-Id: I10859a15894421ade8ada2d4d4282fb7fd05352f

11 years agoMoved ContentHandler deriving classes into their own files for better discoverability...
jeroendedauw [Tue, 16 Oct 2012 18:20:43 +0000 (20:20 +0200)]
Moved ContentHandler deriving classes into their own files for better discoverability and more manageable line count per file

Change-Id: I37db53e1d1420e61d3af4566322bcdba85ec778b

11 years agoAdded a pile of missing docs and fixed a few incorrect ones
jeroendedauw [Tue, 16 Oct 2012 18:16:11 +0000 (20:16 +0200)]
Added a pile of missing docs and fixed a few incorrect ones

Change-Id: Ie134684e2bac9de25e13ead8c2e1a107b5b32168

11 years agoAdded docu headers to content(handler) files
jeroendedauw [Tue, 16 Oct 2012 18:04:32 +0000 (20:04 +0200)]
Added docu headers to content(handler) files

Change-Id: I9981698a5e4d79db89892ce3f3e007dd5aee5fd1

11 years agoupdate @since tags
jeroendedauw [Tue, 16 Oct 2012 17:57:46 +0000 (19:57 +0200)]
update @since tags

Change-Id: I42c5f28b8d1d8ef2d930129ee8a49a77ed422515

11 years agoTweaked code comment from 557a68838c594ea98bd233f6cc05ff44d80e901e
Aaron Schulz [Tue, 16 Oct 2012 17:50:23 +0000 (10:50 -0700)]
Tweaked code comment from 557a68838c594ea98bd233f6cc05ff44d80e901e

Change-Id: I0b52dde15dc0f4c2ed2e0d009d0dc41f87feddcb

11 years agoAdded MAX_JOB_RANDOM constant and replace one bad instance.
Aaron Schulz [Tue, 16 Oct 2012 17:36:20 +0000 (10:36 -0700)]
Added MAX_JOB_RANDOM constant and replace one bad instance.

Change-Id: Ibd04ca3e862134ea591397ff29e05ee041f278a8

11 years ago[FileBackend] Added chaining ability to some TempFSFile methods.
Aaron Schulz [Mon, 15 Oct 2012 17:55:36 +0000 (10:55 -0700)]
[FileBackend] Added chaining ability to some TempFSFile methods.

Change-Id: I2700e4def08e58fc0bcfb709de6ce67569820fa0

11 years agoMerge "Adding a base query API module that allows very easily creating query modules...
Aaron Schulz [Tue, 16 Oct 2012 17:28:17 +0000 (17:28 +0000)]
Merge "Adding a base query API module that allows very easily creating query modules for tables that have an associated ORMTable class"

11 years agoMerge "Use 'flush' flag to end automatic transactions."
IAlex [Tue, 16 Oct 2012 16:20:20 +0000 (16:20 +0000)]
Merge "Use 'flush' flag to end automatic transactions."

11 years agoMerge "(Bug 40652) Reject invalid titles as sitelinks"
Daniel Kinzler [Tue, 16 Oct 2012 13:02:24 +0000 (13:02 +0000)]
Merge "(Bug 40652) Reject invalid titles as sitelinks"