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
Aaron Schulz [Wed, 17 Oct 2012 00:53:42 +0000 (00:53 +0000)]
Merge "Fix RevisionStorageTest with non-wikitext NS_MAIN"
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
Reedy [Tue, 16 Oct 2012 21:36:39 +0000 (21:36 +0000)]
Merge "Special: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
Aaron Schulz [Tue, 16 Oct 2012 20:47:39 +0000 (20:47 +0000)]
Merge "update @since tags"
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"
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"
Translation updater bot [Tue, 16 Oct 2012 19:11:44 +0000 (19:11 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I10859a15894421ade8ada2d4d4282fb7fd05352f
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
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
jeroendedauw [Tue, 16 Oct 2012 17:57:46 +0000 (19:57 +0200)]
update @since tags
Change-Id: I42c5f28b8d1d8ef2d930129ee8a49a77ed422515
Aaron Schulz [Tue, 16 Oct 2012 17:50:23 +0000 (10:50 -0700)]
Tweaked code comment from
557a68838c594ea98bd233f6cc05ff44d80e901e
Change-Id: I0b52dde15dc0f4c2ed2e0d009d0dc41f87feddcb
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
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"
IAlex [Tue, 16 Oct 2012 16:20:20 +0000 (16:20 +0000)]
Merge "Use 'flush' flag to end automatic transactions."
Daniel Kinzler [Tue, 16 Oct 2012 13:02:24 +0000 (13:02 +0000)]
Merge "(Bug 40652) Reject invalid titles as sitelinks"
jeroendedauw [Tue, 5 Jun 2012 22:11:00 +0000 (00:11 +0200)]
Adding a base query API module that allows very easily creating query modules for tables that have an associated ORMTable class
Change-Id: I4a68e4b014ed093779312c2493b492687947c170
daniel [Tue, 16 Oct 2012 11:18:41 +0000 (13:18 +0200)]
Use 'flush' flag to end automatic transactions.
Call commit with the flush flag in JobQueueDB::doPop, so no warning
is triggered if an automatic transaction is already in progress.
Change-Id: I74f7170671103b0b1ea8afe09e3b105b03dde7e6
aude [Tue, 16 Oct 2012 10:36:56 +0000 (10:36 +0000)]
Fix typo in contenthandler documentation
Change-Id: Id03f854eca4b6c53ecd535422b779bf8a459750d
jeblad [Tue, 16 Oct 2012 10:24:47 +0000 (12:24 +0200)]
(Bug 40652) Reject invalid titles as sitelinks
Titles are usually reported as "missing" if they
are not found, but if the title contains invalid
characters the title is reported as "invalid".
This changeset will make the page name normalization
also check if the "invalid" marker is set.
Change-Id: I86d432e8ea00c97891fb7849468caac6120252c6
Aaron Schulz [Tue, 16 Oct 2012 00:44:01 +0000 (00:44 +0000)]
Merge "Fixing dump tests for non-wikitext in NS_MAIN."
Aaron Schulz [Tue, 16 Oct 2012 00:40:44 +0000 (00:40 +0000)]
Merge "define RC_EXTERNAL type for recent changes"
Reedy [Mon, 15 Oct 2012 23:40:57 +0000 (23:40 +0000)]
Merge "fix bug 41043, return false on edit page form when section is invalid"
Reedy [Mon, 15 Oct 2012 22:49:54 +0000 (22:49 +0000)]
Merge "[FileBackend] Added tiny getContainerStoragePath() convenience function."
Tim Starling [Mon, 15 Oct 2012 22:46:54 +0000 (22:46 +0000)]
Merge "[JobQueue] Job queue refactoring and generalizing."
ASchulz [Wed, 29 Aug 2012 00:01:31 +0000 (17:01 -0700)]
[JobQueue] Job queue refactoring and generalizing.
* Added support for different queue types and methods for storing queues.
* Treat each job type as being on its own queue, at least logically.
* Added $wgJobTypeConf to configure queue types for each job type.
* Improved the job DB table so that duplicate job checks actually work
and are faster. Also improved the method for popping rows of the table.
* Disabled duplicate job removal for everything except refreshLinks.
The DELETE statements just add DB overhead and are not useful for cheap
jobs, especially ones with start/end params (which are unlikely to have
exact duplicates).
Change-Id: I49824c7fa855fea4ddcac5c9901ece8c2c0101d0
aude [Mon, 15 Oct 2012 22:36:38 +0000 (22:36 +0000)]
check if $revisionInfo['format'] isset in Import.php
Change-Id: I40073665f7b8f4d36d9d8877c1e38ee0e83a7191
Reedy [Mon, 15 Oct 2012 20:32:20 +0000 (21:32 +0100)]
Use wfDebugLog() not wfErrorLog()
Change-Id: I98dca32d788a4ff3ea102afe358e91b9ff4b06a5
Translation updater bot [Mon, 15 Oct 2012 20:11:38 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Mon, 15 Oct 2012 20:03:29 +0000 (20:03 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I20f77c44cb1ffbc2004a74e544ba1dd829079d5c
TheDJ [Mon, 15 Oct 2012 20:02:50 +0000 (20:02 +0000)]
Merge "Fix up various issues leading to bug 40780."
aude [Mon, 15 Oct 2012 19:08:58 +0000 (19:08 +0000)]
fix bug 41043, return false on edit page form when section is invalid
Change-Id: I62bc724ac33ed33368d5607bc96a6b57dc0d41cf
Siebrand Mazeland [Mon, 15 Oct 2012 17:50:02 +0000 (17:50 +0000)]
Merge "Remove unused 'qbpageinfo'"
Reedy [Mon, 15 Oct 2012 17:24:35 +0000 (17:24 +0000)]
Merge "Add wfErrorLog() call before throwing an exception in readStyleFile"
Reedy [Mon, 15 Oct 2012 17:12:10 +0000 (18:12 +0100)]
Add wfErrorLog() call before throwing an exception in readStyleFile
Due to the stupid PHP bug, this just gets rendered as a warning.
Then we have no idea what is actually wrong...
Change-Id: I38a2c6df2dc09ef67ff23537f867efa2ce2e3b54
Subramanya Sastry [Mon, 15 Oct 2012 17:01:54 +0000 (12:01 -0500)]
Added ugly nesting and template interaction tests (to stress Parsoid).
Change-Id: I244f682b458626e827888aa7eed0fb6ad26a9d97
Demon [Mon, 15 Oct 2012 15:02:27 +0000 (15:02 +0000)]
Merge "(bug 40930) Fix regression: ContentHandler prevents action=edit append to blank page"
Demon [Mon, 15 Oct 2012 14:57:02 +0000 (14:57 +0000)]
Merge "Removed READ_LATEST default from Revision::newFromTitle()."
Brad Jorsch [Wed, 10 Oct 2012 19:30:40 +0000 (15:30 -0400)]
(bug 40930) Fix regression: ContentHandler prevents action=edit append to blank page
Before the ContentHandler merge, using action=edit&appendtext=... on a
non-existent page would treat the page as if it existed but had no
content. After the merge, it throws an error incorrectly claiming that
appending is not supported for wikitext.
The fix is to create a new, empty content object when appending and
there is no existing content.
Change-Id: I61f2cf3911a7d9d8553fc3f745e545cb1bcfd270
Antoine Musso [Mon, 15 Oct 2012 13:40:21 +0000 (15:40 +0200)]
restore wgDebugTimestamps in testDebugFunctionTest()
Change-Id: I362e398bb891618f3c79fe625ef6cf30d6929df9
Reedy [Mon, 15 Oct 2012 12:41:13 +0000 (12:41 +0000)]
Merge "[Bug 41030] fix fatal error when rendering non-existing pages"
daniel [Mon, 15 Oct 2012 12:36:03 +0000 (14:36 +0200)]
[Bug 41030] fix fatal error when rendering non-existing pages
Change-Id: I68dc34aa7d4c27ea7d0fb9488324d0f899564960
Niklas Laxström [Mon, 15 Oct 2012 12:29:38 +0000 (12:29 +0000)]
Merge "Message documentation update for DifferenceEngine"
Daniel Kinzler [Mon, 15 Oct 2012 11:58:20 +0000 (11:58 +0000)]
Merge "Fix for SiteListTest failing on 32bit machines"
Niklas Laxström [Mon, 15 Oct 2012 11:04:40 +0000 (11:04 +0000)]
Message documentation update for DifferenceEngine
Change-Id: I404cbf07238bbe532432bcb9dd573bdec2a95b5e
Siebrand Mazeland [Mon, 15 Oct 2012 11:49:02 +0000 (13:49 +0200)]
Remove unused 'qbpageinfo'
Change-Id: I88cf379ef689f598d849545cb9efef2ef1cde54e
Siebrand Mazeland [Mon, 15 Oct 2012 11:23:11 +0000 (13:23 +0200)]
More concise and precise wording for 'upload-disallowed-here'
Change-Id: Ifbb6ab184c80b42860ba86a29161a21f94cb6e73
Tobias Gritschacher [Mon, 15 Oct 2012 10:38:10 +0000 (12:38 +0200)]
Fix for SiteListTest failing on 32bit machines
- this fixes an issue with test data which is a too large integer
interpreted as float on 32 bit systems
- see http://www.php.net/manual/de/language.types.integer.php#103506
- "On a 32-bit system, the largest value that can be held in an INT is
2147483647."
Change-Id: I577dfba3b32e93535c06329ee1b4de28366a1aac
Daniel Friesen [Mon, 15 Oct 2012 01:54:46 +0000 (18:54 -0700)]
Fix incorrect message in CologneBlue full text button.
'searchbutton' is the correct message, not 'search'.
Change-Id: I81cd3fd86ac09fce49021f34eba7cc4f055167b6
Tim Starling [Mon, 15 Oct 2012 00:14:26 +0000 (11:14 +1100)]
Rename $wgPurgeHttp11 to $wgSquidPurgeUseHostHeader
Rename $wgPurgeHttp11 to $wgSquidPurgeUseHostHeader, set it to true by
default, and update the documentation per the research I've done on
Squid's behaviour. See bug 39005.
Rewrote the release note and moved it to the correct section.
Change-Id: I9ef6a0c43fc1ba4547b34124a47815296f45b20e
Daniel Friesen [Sun, 1 Apr 2012 22:34:35 +0000 (15:34 -0700)]
(bug 39005) Add $wgPurgeHttp11.
Allow SquidPurgeClient to send HTTP/1.1 PURGE requests with a Host header instead of
only sending HTTP/1.0 requests with the whole url in the PURGE line.
This is necessary to support some other reverse caching proxies like Varnish.
Change-Id: I85fe93a8ca97c5169f250967540e29fc70725119
Tim Starling [Mon, 15 Oct 2012 00:49:28 +0000 (11:49 +1100)]
Fix WikitextContent::getSection() for missing sections
Make WikitextContent::getSection() return false when the section is
missing, as per the documented behaviour for Content::getSection(). Fix
a test so that it doesn't generate a PHP fatal error if getSection()
returns false.
Should fix the current Jenkins build failure:
https://integration.mediawiki.org/ci/job/MediaWiki-Tests-Misc/6989/testReport/junit/%28root%29/WikitextContentTest__testGetSection/testGetSection_with_data_set__2/
Change-Id: Ifa85f8eed50943d8ece32555d06b3e989077da46
daniel [Tue, 9 Oct 2012 12:00:00 +0000 (14:00 +0200)]
[Bug 40032] code 415 for bad type in action=raw
Non-text content is not supported via action=raw. Use code 415 instead
of 406 to indicate this.
Change-Id: I6b7fbc5f4d0040ca2c90b77b2ceb39853f136fd8
daniel [Wed, 10 Oct 2012 10:42:42 +0000 (12:42 +0200)]
Support plain text content.
Made TextContent and TextContentHandler usable directly.
CONTENT_MODEL_TEXT is unused in core, but may be used by extensions.
Change-Id: I8963c968800b98e286cd917a1038a9905b3a0fef
Reedy [Sun, 14 Oct 2012 23:26:18 +0000 (23:26 +0000)]
Merge "includes/ContentHandler.php does not exist, it's includes/content/ContentHandler.php"
daniel [Wed, 10 Oct 2012 09:40:22 +0000 (11:40 +0200)]
Fix declaration of content_model and content_format fields.
The data type of content model and content format was varbinary originally,
then it got changed to int, then back again to varbinary. The latter change
was done in the updater, but was missing in tables.sql.
Change-Id: I44a92d18ca22126d9678073b272eb6345627a951
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
Timo Tijhof [Wed, 10 Oct 2012 02:23:30 +0000 (04:23 +0200)]
Fix up various issues leading to bug 40780.
* jquery.autoEllipsis didn't return 'this', which means whenever it
was used in a chain, it would return undefined.
So in mediawiki.searchSuggest append( ... autoEllipsis() ) would
apply it to a detached node that stays detached because it
isn't passed to append.
* Remove redundant passing of this in jQuery context to $().
On jQuery.prototype, 'this' is obviously a jQuery object. In
jquery.highlightText, which is called from jquery.autoEllipsis.
* Remove redundant .empty() call before calling .text( .. ),
.text() replaces all content and naturally is forced to empty
the element first.
* Merge use of $el and $container in jquery.autoEllipsis.js. They
were both pointing to the same object, having two names was only
confusing.
* Spaces.
Change-Id: I4649ec0c89d38c4d79d1dceec28227902cd48d32
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"
daniel [Fri, 12 Oct 2012 16:30:38 +0000 (18:30 +0200)]
Fix RevisionStorageTest with non-wikitext NS_MAIN
Change-Id: I96c2c02a009128c91dfd9fb380aaa8af60311ce7
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 15:34:29 +0000 (17:34 +0200)]
Fixing dump tests for non-wikitext in NS_MAIN.
Change-Id: I7945a1b950d3b9b394a336813abc8cd1e288766f
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