Alex Monk [Sun, 14 Oct 2012 21:42:54 +0000 (22:42 +0100)]
includes/ContentHandler.php does not exist, it's includes/content/ContentHandler.php
Change-Id: Ib3fef967913546ce2ae5de8ae4bc93fa40f4c146
Reedy [Sun, 14 Oct 2012 20:10:58 +0000 (20:10 +0000)]
Merge "Add separate fa_sha1 field to filearchive table"
Translation updater bot [Sun, 14 Oct 2012 20:09:03 +0000 (20:09 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Sun, 14 Oct 2012 19:56:58 +0000 (19:56 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3b3f9cff1af5a7ab04116787131c9d5399c8c0c2
umherirrender [Sun, 14 Oct 2012 18:58:25 +0000 (20:58 +0200)]
Add separate fa_sha1 field to filearchive table
This allows sha1 searches with the api in miser mode for deleted files
Added script to populate the rows
Adding new field to selects and handle it in all places, where needed
Using a 10 byte index for the new field per
http://lists.wikimedia.org/pipermail/wikitech-l/2012-September/063429.html
Change-Id: Ie54a513fe361202e63df44be44a0fdd91926c974
Alexandre Emsenhuber [Sun, 14 Oct 2012 18:40:41 +0000 (20:40 +0200)]
Rebuild MessagesEn.php
Change-Id: I7e2f1cc2c97f368f49554a6f0f68c20d7d3a7a39
Daniel Friesen [Sun, 14 Oct 2012 15:50:37 +0000 (08:50 -0700)]
Make maintenance/dev/'s .sh files executable.
Change-Id: I46a2611cccf9bd7af20be5fcc497c0dacc13cbb7
madman [Thu, 6 Sep 2012 03:17:41 +0000 (03:17 +0000)]
(bug 39688) action=info displays misleading edit history for redlinks
* Will not display edit history and properties for nonexistent pages
* Will not display misleading page information for noncurrent revisions
Change-Id: I23dd6ead555449d0810cbc64d79737654818e3e6
IAlex [Sun, 14 Oct 2012 10:14:13 +0000 (10:14 +0000)]
Merge "Delete more thumbnails after parser tests."
IAlex [Sun, 14 Oct 2012 10:07:12 +0000 (10:07 +0000)]
Merge "(bug 40889) Fix XHTML in Special:Upload form labels"
IAlex [Sun, 14 Oct 2012 09:57:31 +0000 (09:57 +0000)]
Merge "(bug 23721) Only show deletedOnly checkbox on contribs and history if the user can see deleted entries"
Alex Monk [Sat, 13 Oct 2012 14:05:00 +0000 (15:05 +0100)]
(bug 23721) Only show deletedOnly checkbox on contribs and history if the user can see deleted entries
Change-Id: Id47f2883e22a8742d4e5c322c349743e9101f4a3
Tim Landscheidt [Sat, 13 Oct 2012 23:53:13 +0000 (23:53 +0000)]
Delete more thumbnails after parser tests.
Change-Id: I0a0e757a359fbfa1274e3e0177f1c22f292394e7
Mark Holmquist [Sat, 13 Oct 2012 23:33:50 +0000 (16:33 -0700)]
(bug 40889) Fix XHTML in Special:Upload form labels
We were using an improper method for adding labels to the form, namely
using something other than the ID (and in fact, a nonexistent ID) in the
'for' attribute. This patch uses the ID of the parent element and should
fix the issue.
Note: Upstream bug in Firefox prevents testing this patch in that browser.
Use Chromium, as the FF bug report says that it works there. See
https://bugzilla.mozilla.org/show_bug.cgi?id=701353 for more.
Change-Id: I19e06a3b94f67f364d129cbef4ecc232f108e82d
Tim Landscheidt [Sat, 13 Oct 2012 21:10:31 +0000 (21:10 +0000)]
Add images/lockdir to .gitignore.
Change-Id: I3ebecc6d2b8b13e774091e0ba4b7afa882d89e1d
Translation updater bot [Sat, 13 Oct 2012 20:51:42 +0000 (20:51 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ie15e4101c4f1958f0a2d8c7d42304f47b7965930
IAlex [Sat, 13 Oct 2012 10:00:52 +0000 (10:00 +0000)]
Merge "PostDatabaseUpdateMaintenance: childs checks updatelog already"
IAlex [Sat, 13 Oct 2012 09:55:11 +0000 (09:55 +0000)]
Merge "EditPage: Use content language to truncate for database"
Timo Tijhof [Sat, 13 Oct 2012 07:41:10 +0000 (09:41 +0200)]
ResourcesTest: Assert that all registered resources in RL exist.
For now only tests ResourceLoaderFileModule.
This will help prevent broken commits things like:
* Ib40d09071ba315da6b17fc94cca5746ed4c26342
*
f47dfe9939f7929f1e3fd1c501539cbd0d12373f
.. from landing in the repository.
Change-Id: I9e148f6fd12f07a27b5e387aee585d1f74895ab8
Reedy [Tue, 9 Oct 2012 14:56:07 +0000 (15:56 +0100)]
Update jQueryUI to 1.8.24
http://blog.jqueryui.com/2012/09/jquery-ui-1-8-24/
Change-Id: If8b13ae82d5125f2c77c0018986a564f421690bf
Aaron Schulz [Sat, 13 Oct 2012 00:03:31 +0000 (00:03 +0000)]
Merge "Silence warnings about deprecation by ContentHandler."
MaxSem [Fri, 12 Oct 2012 22:25:25 +0000 (22:25 +0000)]
Merge "(bug 40111) Disable minor edit for page/section creation by API"
Translation updater bot [Fri, 12 Oct 2012 21:14:41 +0000 (21:14 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3ed4994c93700550436a07d64cf80b611eeb0e0c
umherirrender [Fri, 12 Oct 2012 20:26:15 +0000 (22:26 +0200)]
(bug 40111) Disable minor edit for page/section creation by API
Move set of one var to importFormData, because this is called from GUI
and API. Maybe not the best solution, but EditPage is hard to change.
Change-Id: Ice50b15e23233d19dd9d3b906d856e0adf2acba3
Reedy [Thu, 6 Sep 2012 18:36:53 +0000 (19:36 +0100)]
(bug 39665) optimize API query generator list
List of query generators is now not built using reflection, instead it
is defined in code. Per Domas, make this a hard coded list instead of
loading all the child classes.
Added $wgAPIGeneratorModules for people to register their API generator
modules.
Change-Id: I12da92da33527e414c9b125a50b82c9bdbb3ed99
umherirrender [Fri, 12 Oct 2012 19:52:16 +0000 (21:52 +0200)]
EditPage: Use content language to truncate for database
Change-Id: I53e5b2304f8b8a8787b30d9c4717f39bfe96a127
umherirrender [Fri, 12 Oct 2012 18:52:29 +0000 (20:52 +0200)]
PostDatabaseUpdateMaintenance: childs checks updatelog already
The parent class LoggedUpdateMaintenance of each update script is
checking the updatelog self.
Checking in update.php prevents the script to be run, when using --force
on update.php and updater is not outputting a skipped message
Change-Id: I6cdad807ee4e49983cedef168d4e697a5bd8b7e7
MaxSem [Fri, 12 Oct 2012 18:36:46 +0000 (18:36 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"
Aaron Schulz [Fri, 12 Oct 2012 17:44:14 +0000 (17:44 +0000)]
Merge "Skip parser tests if main NS isn't wikitext."
Aaron Schulz [Fri, 12 Oct 2012 17:43:11 +0000 (17:43 +0000)]
Merge "[Bug 40716] Fix SearchEngineTest etc with non-wikitext content."
Daniel Kinzler [Fri, 12 Oct 2012 17:39:09 +0000 (17:39 +0000)]
Merge "Added note about sites functionality into the release notes"
jeroendedauw [Fri, 12 Oct 2012 16:28:53 +0000 (18:28 +0200)]
Update @since tags from 1.20 to 1.21
Change-Id: Iea7bad4367782ee8baa676921625b44dc2b7c45f
jeroendedauw [Fri, 12 Oct 2012 16:27:55 +0000 (18:27 +0200)]
Added note about sites functionality into the release notes
Change-Id: Ib8376f846be86b46b9b4f347f04cce73f7d7e609
MaxSem [Fri, 12 Oct 2012 16:22:03 +0000 (16:22 +0000)]
Merge "Add *_content_(model|format) fields to PostgreSQL"
Demon [Fri, 12 Oct 2012 16:09:09 +0000 (16:09 +0000)]
Merge "* Oracle schema update: rc_moved, cat_hidden, ss_admin * tables.sql + updater patches for *_content_(model|format) fieldswq"
jeroendedauw [Wed, 12 Sep 2012 17:22:39 +0000 (19:22 +0200)]
Added sites functionality, a much more generic and flexible version of the existing interwiki code
This code is meant to replace the current interwiki code, but does not do so just yet. It is however used by the Wikibase extension. This allows us to try out some more things and have the code stabilize more before we migrate over existing interwiki functionality.
Change-Id: I23c47c2c3909a1500350fb560a5f2ec654e2c37e
daniel [Fri, 12 Oct 2012 13:39:01 +0000 (15:39 +0200)]
Skip parser tests if main NS isn't wikitext.
Change-Id: Ie3267e4db4246d522b6564204e9688258fc41324
daniel [Thu, 11 Oct 2012 15:36:42 +0000 (17:36 +0200)]
Silence warnings about deprecation by ContentHandler.
The introduction of the ContentHandler caused quite a few functions and hooks to
become deprecated. Usage of these has been removed in core, but is still present
in extensions. Extensions should be fixed after ContentHandler has settled in a
bit, but for now we need a way to silence the warnings.
Change-Id: Ia223243222675f778e8f8c32923f956790db0b4f
daniel [Fri, 12 Oct 2012 11:09:08 +0000 (13:09 +0200)]
[Bug 40716] Fix SearchEngineTest etc with non-wikitext content.
Several core tests fail if there is non-wikitext content in the main namespace.
This change fixes SearchEngineTest and TitlePermissionTest for this case.
More fixes are to come.
Change-Id: I6a19b568c5700bc8584689de8f33e4b0b6ffc277
Alexandre Emsenhuber [Fri, 12 Oct 2012 06:32:13 +0000 (08:32 +0200)]
Updates findHooks.php for ContentHandler changes.
- Added includes/content/ to the list of directories
- Added ContentHandler::runLegacyHooks() to the list of functions that run hooks
Change-Id: I1f21af71443468232b4bc119454f1c93ad343137
GWicke [Thu, 11 Oct 2012 22:45:52 +0000 (22:45 +0000)]
Merge "Additional tests to keep Parsoid on track."
freakolowsky [Wed, 10 Oct 2012 14:09:37 +0000 (16:09 +0200)]
Add *_content_(model|format) fields to PostgreSQL
Create ContentHandler field for PostgreSQL
(for installer and the update).
TEXT was chosen as replacement for MySQL VARBINARY(32)
Change-Id: Ia86ae79d37517630e1767dfb976604bbb174104b
Translation updater bot [Thu, 11 Oct 2012 20:02:55 +0000 (20:02 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Thu, 11 Oct 2012 19:55:00 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Icef5d6502611b01298f5a8f66ea4ce25979ac6c0
Brion Vibber [Tue, 18 Sep 2012 07:18:50 +0000 (00:18 -0700)]
Initial stab at responsive images for screen densities.
* adds $wgResponsiveImages setting, defaulting to true, to enable the feature
* adds 'srcset' attribute with 1.5x and 2x URLs to image links and image thumbs
* adds jquery.hidpi plugin to check pixel density and implement partial 'srcset' polyfill
** $.devicePixelRatio() returns window.devicePixelRatio, with compat fallback for IE 10
** $().hidpi() performs a 'srcset' polyfill for browsers with no native 'srcset' support
* adds mediawiki.hidpi RL script to trigger hidpi loads after main images load
Note that this is a work in progress. There will be places where this doesn't yet work which output their imgs differently. If moving from a low to high-DPI screen on a MacBook Pro Retina display, you won't see images load until you reload.
Confirmed basic images and thumbs in wikitext appear to work in Safari 6, Chrome 21, Firefox 18 nightly on MacBook Pro Retina display, and IE 10 in Windows 8 at 150% zoom, 200% zoom, and 140% and 180%-ratio Metro tablet sizes.
Internally this is still a bit of a hack; Linker::makeImageLink and Linker::makeThumbLink explicitly ask for 1.5x and 2x scaled versions and insert their URLs, if different, into the original thumbnail object which (in default handler) outputs the srcset. This means that a number of places that handle images differently won't see the higher-resolution versions, such as <gallery> and the large thumbnail on the File: description page.
At some point we may wish to redo some of how the MediaHandler stuff works so that requesting a single thumbnail automatically produces the extra sizes in all circumstances. We might also consider outputting a 'srcset' or multiple src sizes in 'imageinfo' API requests, which would make ApiForeignRepo/InstantCommons more efficient. (Currently it has to make three requests for each image to get the three sizes.)
Change-Id: Id80ebd07a1a9f401a2c2bfeb21aae987e5aa863b
Aaron Schulz [Thu, 11 Oct 2012 17:12:50 +0000 (17:12 +0000)]
Merge "Prefix new ContentHandler hooks in WikiPage with Page instead of Article"
Subramanya Sastry [Thu, 11 Oct 2012 16:54:09 +0000 (11:54 -0500)]
Additional tests to keep Parsoid on track.
Change-Id: Ic57c10f8e5ff16446834af4a22043465aa0495ce
Aaron Schulz [Thu, 11 Oct 2012 16:23:01 +0000 (16:23 +0000)]
Merge "Allow ORMTable to access a foreign wiki."
Siebrand Mazeland [Thu, 11 Oct 2012 16:22:52 +0000 (18:22 +0200)]
Prefix new ContentHandler hooks in WikiPage with Page instead of Article
Covers 3 hooks:
* ArticleContentInsertComplete -> PageContentInsertComplete
* ArticleContentSave -> PageContentSave
* ArticleContentSaveComplete -> PageContentSaveComplete
Change-Id: I186669a5941d8982725ed364b481215d291b2043
Demon [Thu, 11 Oct 2012 16:10:28 +0000 (16:10 +0000)]
Merge "fix typoed in EditPage->mPreloadContent"
Demon [Thu, 11 Oct 2012 16:08:11 +0000 (16:08 +0000)]
Merge "introducing MW_SUPPORTS_CONTENTHANDLER for fun and profit"
daniel [Wed, 26 Sep 2012 15:42:32 +0000 (17:42 +0200)]
Allow ORMTable to access a foreign wiki.
wfGetDB() allows us to connect to another wiki's database using
LoadBalancer's openForeignConnection method. This change adds an
option to ORMTable that allows it to use this facility, so it
can be used to access tables on other wikis.
Change-Id: I261a2a31e7188f6793b8a110ab764be5ecd09920
daniel [Thu, 11 Oct 2012 15:46:03 +0000 (17:46 +0200)]
fix typoed in EditPage->mPreloadContent
Change-Id: Idcb568061caf7a7818bbe4fba0f5fb19dc14fe69
daniel [Thu, 11 Oct 2012 15:43:39 +0000 (17:43 +0200)]
introducing MW_SUPPORTS_CONTENTHANDLER for fun and profit
Change-Id: I22d8a43e538e5219174b58b69787757f76141698
aude [Thu, 11 Oct 2012 12:14:40 +0000 (12:14 +0000)]
remove exception, introduced with content handler merge
There is a bug [1] in the Title::isRedirect() method, when called from Linker,
in some cases when the link cache is not aware of a title. The bug
should be fixed ASAP. Until then, this removes the exception and maintains
same behavior as before the merge.
[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=37209
Change-Id: I7874a5ecdd24417108685f811bbc2e6a2d82aa94
Reedy [Thu, 11 Oct 2012 09:35:01 +0000 (09:35 +0000)]
Merge "Tidy up InfoAction and note it's hook in docs/hooks.txt"
Tim Starling [Thu, 11 Oct 2012 05:51:18 +0000 (05:51 +0000)]
Merge "Fix creation of pages in the MediaWiki namespace."
Liangent [Fri, 28 Sep 2012 13:07:04 +0000 (21:07 +0800)]
Show redirects correctly on diff pages.
Change-Id: Ic3c2d6cff016a8fecdde511e2d14b30426737c8a
Jakub Vrana [Tue, 9 Oct 2012 22:20:05 +0000 (15:20 -0700)]
(bug 40899) Cache resources for anonymous users
Changes mTouched for anonymous users to '1' because '0' is treated as 'now' by wfTimestamp()
Change-Id: If0d77f72dc776c4709a1e5da360fbd6273178b29
Alex Monk [Sun, 7 Oct 2012 21:34:02 +0000 (22:34 +0100)]
Tidy up InfoAction and note it's hook in docs/hooks.txt
Also add $context parameter to the hook and (bug 40845) don't
overwrite pageInfo's $title parameter.
Change-Id: I41128abb72553142b45e90befabde541b2d8941f
Aaron Schulz [Wed, 10 Oct 2012 23:15:29 +0000 (16:15 -0700)]
Avoid fatals for bad filenames given for chunk uploads.
Change-Id: I904a801ecbf9eabd9156d70a42d46323455507bd
Translation updater bot [Wed, 10 Oct 2012 20:42:47 +0000 (20:42 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Iaab523e4848ae6eebcfd016511802678b2eb199b
Aaron Schulz [Wed, 10 Oct 2012 18:16:28 +0000 (11:16 -0700)]
Avoid thumb.php fatal for bad titles on private wikis.
Change-Id: Id2c19d888989fdbaad6412aa9eb62bb22a75f241
umherirrender [Wed, 10 Oct 2012 18:13:40 +0000 (20:13 +0200)]
Remove a bunch of trailing spaces and unneeded newlines
Change-Id: I00f369641320acd7f087427ef031f3ee7efa0997
Aaron Schulz [Wed, 10 Oct 2012 18:08:53 +0000 (18:08 +0000)]
Merge "(bug 16020) Fix race condition in User::addToDatabase()"
Santhosh Thottingal [Wed, 10 Oct 2012 09:17:24 +0000 (14:47 +0530)]
Fix the jqueryMsg tests for plural rule parsing
mediawiki.language.data was not retrieved from server corresponding to language
changes
mediawiki.language.convertPlural depends on currentUI language from
mw.config.get( 'wgUserLanguage' ). Set that for each parser test and
restore it at teardown of QUnit.
Change-Id: I5b81cd8573311d1c0d8817e430108f4ad76de6bd
Mark Holmquist [Wed, 10 Oct 2012 17:02:38 +0000 (10:02 -0700)]
Add three tests for categories mixed with templates.
Apparently we didn't catch a regression in this area, so I've added
a set of tests to make sure we don't miss it again.
Change-Id: I3c4bfa15ce1182a6a697fb70e74489e06e1d9969
freakolowsky [Wed, 10 Oct 2012 10:29:29 +0000 (12:29 +0200)]
* Oracle schema update: rc_moved, cat_hidden, ss_admin
* tables.sql + updater patches for *_content_(model|format) fieldswq
Change-Id: Ifb0dfbcdf3da10cab2d71c2efa437ef4a878a1f8
Antoine Musso [Wed, 10 Oct 2012 09:48:20 +0000 (11:48 +0200)]
Fix test SpecialSearchTest.testSearchTermIsNotExpanded
Ief0bdd10 /
9299bab "Stop expanding search term in <title> of the search
results page" had an issue comparing the site title that could be in
different language. I have converted the assertion to make sur we
always have the plain search term (aka: {{SITENAME}}) which will work
regardless of the language currently set.
Change-Id: Idbb778174978c17a75fa7671d4967851c2732c15
Siebrand [Wed, 10 Oct 2012 07:46:26 +0000 (07:46 +0000)]
Merge "Convert -{}- markups in title="" and alt=""."
Liangent [Fri, 13 Apr 2012 10:08:45 +0000 (18:08 +0800)]
Stop expanding search term in <title> of the search results page
When entering a search term such as {{SITENAME}} on Special:Search,
the <title> was generated with template expansion.
This patch prevents transformation by using search term as rawParams
of the 'searchresults-title' and 'pagetitle' messages.
Change-Id: Ief0bdd10ad882ebfaeefd11bf4217e70dd922d9d
Liangent [Tue, 29 May 2012 09:56:21 +0000 (17:56 +0800)]
Display converted namespace names in Html::namespaceSelector().
By the way, the code to get converted titles and namespaces
has been cleaned up.
Change-Id: Ifcbd56c989d83b9d32dfa99e0b2f06d01e17a2bd
Liangent [Sat, 12 May 2012 15:52:52 +0000 (23:52 +0800)]
Check headers for default variant when initializing default user options.
Currently, if a user with Accept-Language: zh-tw header accesses a zh site,
the page contents are served in zh-tw variant, but the interface language
is zh (falling back to zh-hans) so the user is seeing interface messages
in zh(-hans) unless a &variant= is manually set (originally variant set in
URL is checked by getDefaultVariant).
There were debates that serving different languages based on headers from
the same URL breaks cache, but currently contents are served in different
variants based on headers and it works. So I assume this is not an issue.
PS2-4: HTTP header settings shouldn't affect user preference settings of
logged-in users.
PS5-6: Move code loading variant settings for anonymous requests from
User::getDefaultOptions() to User::loadOptions() to avoid pollution of
defaults. A visual bug of this is that if I have variant set to zh and
load index.php?title=Special:Preferences&variant=zh-cn, the dropdown is
shown as zh-cn because I was using the default value and now it thinks the
default value is zh-cn instead of zh.
PS7-8: Rebase to add dependency and tweak commit summary etc.
PS9: Remove the argument added to getDefaultVariant, which was intended to
keep B/C of getDefaultVariant (not to check headers by default).
Change-Id: Ie600ab24294a1add804875e921c32febe6ed645f
Liangent [Tue, 18 Sep 2012 15:11:34 +0000 (23:11 +0800)]
Fix Ibcb23c81, and tweak array merge order
PS2 in Ibcb23c81 didn't do things correctly...
Change-Id: I6c1946b5a6ef1720767e236b419a3c5dd1332bf4
Krinkle [Tue, 9 Oct 2012 22:22:59 +0000 (22:22 +0000)]
Merge "Update jQuery to 1.8.2"
Reedy [Tue, 9 Oct 2012 14:50:32 +0000 (15:50 +0100)]
Update jQuery to 1.8.2
http://blog.jquery.com/2012/09/20/jquery-1-8-2-released/
Change-Id: Ie127f95eae951c36f6c330b4bdaee05f59cd58e2
GWicke [Tue, 9 Oct 2012 21:24:36 +0000 (21:24 +0000)]
Merge "Updated/added include/template tests to reflect Parsoid support."
Siebrand [Tue, 9 Oct 2012 20:46:05 +0000 (20:46 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 9 Oct 2012 20:03:38 +0000 (20:03 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ibb5772a1bc30cebb4b456f0171de901e48bef15c
raymond [Tue, 9 Oct 2012 20:26:48 +0000 (22:26 +0200)]
Add a message key from ContentHandler merge to messages.inc
Change-Id: I421c0dd49f8cd96ec84c866bafb112c6a9e820df
raymond [Tue, 9 Oct 2012 19:23:45 +0000 (21:23 +0200)]
Remove artefact from the ContentHandler merge
Change-Id: I0a2d615c73efef8a7319d59e24991c403ce8e7cf
CSteipp [Tue, 9 Oct 2012 17:37:25 +0000 (17:37 +0000)]
Merge "(bug 40789) Fixed $wgSecureLogin after-login redirect."
Subramanya Sastry [Tue, 9 Oct 2012 17:23:19 +0000 (12:23 -0500)]
Updated/added include/template tests to reflect Parsoid support.
* This is primarily a spec for what Parsoid will support around
uncommon uses of templates and include-tags.
Change-Id: Ic869da7ee6e89cae2f04beaeec7520b1f83f4e97
Trevor Parscal [Tue, 9 Oct 2012 17:24:28 +0000 (17:24 +0000)]
Merge "(bug 40834) mw.loader: Fix comma-joined 404 error."
IAlex [Tue, 9 Oct 2012 16:26:16 +0000 (16:26 +0000)]
Merge "Fix flush-like commit in DeferredUpdates."
IAlex [Tue, 9 Oct 2012 16:21:14 +0000 (16:21 +0000)]
Merge "Removed READ_LATEST default from Revision::newFromPageId()."
Demon [Tue, 9 Oct 2012 16:08:55 +0000 (16:08 +0000)]
Merge "[FileBackend] Tweaked TempFSFile::bind() to handle __get()."
daniel [Tue, 9 Oct 2012 13:34:47 +0000 (15:34 +0200)]
Fix flush-like commit in DeferredUpdates.
In the presence of DBO_TRX, commit() may be used like a "flush".
Added a flag to trigger this mode to commit() and changed DeferredUpdates
to used the flush mode.
Change-Id: I529117618194a2669535f3c5c0fed07588597299
Siebrand [Tue, 9 Oct 2012 13:11:25 +0000 (13:11 +0000)]
Merge "Report legacy hook handlers."
daniel [Tue, 9 Oct 2012 12:58:25 +0000 (14:58 +0200)]
Fix creation of pages in the MediaWiki namespace.
Creation of pages in the MediaWiki namespace failed with a "no such section"
error if the corresponding system message did not exist. Fixed now.
Change-Id: Ia6e879c66a6330ea2a63246b3aed51c9c6e1d49d
daniel [Tue, 9 Oct 2012 12:23:42 +0000 (14:23 +0200)]
Fix merge artifact in Article::showCssOrJsPage.
Change-Id: I1e9608809b81d2c5feeb048ddee96d5324b62a81
daniel [Tue, 9 Oct 2012 12:20:03 +0000 (14:20 +0200)]
Report legacy hook handlers.
ContentHandler::runLegacyHooks() now includes the list of handlers registered
for a legacy hook in the warning it produces.
Change-Id: I48032b62d4be791f1dc71889051dd6211541ac50
Siebrand [Tue, 9 Oct 2012 11:05:26 +0000 (11:05 +0000)]
Merge "Silenice trx warnings from LoadBalancer."
daniel [Tue, 9 Oct 2012 10:26:47 +0000 (12:26 +0200)]
Silenice trx warnings from LoadBalancer.
This is a follow-up to Idbe4a903.
LoadBalancer::commitMasterChanges used to cause a warning if an implicite
transaction was in progress. This is now supressed.
Note that warnign when an automatic transaction is committed explicitely,
it does make sense to issue a warning. But that should not be done for summary
commits when closing a connection, etc.
Change-Id: Id68c3607f6b9d930c00422baa6658b0651f2e42e
IAlex [Tue, 9 Oct 2012 10:23:38 +0000 (10:23 +0000)]
Merge "Remove unused variables."
IAlex [Tue, 9 Oct 2012 10:19:53 +0000 (10:19 +0000)]
Merge "Replace deprecated call."
Siebrand Mazeland [Tue, 9 Oct 2012 09:29:48 +0000 (11:29 +0200)]
Remove unused variables.
Change-Id: I4b76cbbca22555eacb8ef4de58993b485f7cdd18
Siebrand Mazeland [Tue, 9 Oct 2012 09:29:09 +0000 (11:29 +0200)]
Replace deprecated call.
Change-Id: I71866194d72bca059e28b0bd74f4ecd5686743c4
Siebrand Mazeland [Sun, 7 Oct 2012 23:35:26 +0000 (01:35 +0200)]
Update docs for return and exception info
* Removed some inline tabs in the process.
* IDE fixed some incorrect leading spaces, too.
Change-Id: Ic9303eff6db4424ac3f1fa2816839692b43e6190
Siebrand [Tue, 9 Oct 2012 09:39:47 +0000 (09:39 +0000)]
Merge "Merge branch 'Wikidata' into master."