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

11 years agoAdding a base query API module that allows very easily creating query modules for...
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

11 years agoUse 'flush' flag to end automatic transactions.
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

11 years agoFix typo in contenthandler documentation
aude [Tue, 16 Oct 2012 10:36:56 +0000 (10:36 +0000)]
Fix typo in contenthandler documentation

Change-Id: Id03f854eca4b6c53ecd535422b779bf8a459750d

11 years ago(Bug 40652) Reject invalid titles as sitelinks
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

11 years agoMerge "Fixing dump tests for non-wikitext in NS_MAIN."
Aaron Schulz [Tue, 16 Oct 2012 00:44:01 +0000 (00:44 +0000)]
Merge "Fixing dump tests for non-wikitext in NS_MAIN."

11 years agoMerge "define RC_EXTERNAL type for recent changes"
Aaron Schulz [Tue, 16 Oct 2012 00:40:44 +0000 (00:40 +0000)]
Merge "define RC_EXTERNAL type for recent changes"

11 years agoMerge "fix bug 41043, return false on edit page form when section is invalid"
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"

11 years agoMerge "[FileBackend] Added tiny getContainerStoragePath() convenience function."
Reedy [Mon, 15 Oct 2012 22:49:54 +0000 (22:49 +0000)]
Merge "[FileBackend] Added tiny getContainerStoragePath() convenience function."

11 years agoMerge "[JobQueue] Job queue refactoring and generalizing."
Tim Starling [Mon, 15 Oct 2012 22:46:54 +0000 (22:46 +0000)]
Merge "[JobQueue] Job queue refactoring and generalizing."

11 years ago[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

11 years agocheck if $revisionInfo['format'] isset in Import.php
aude [Mon, 15 Oct 2012 22:36:38 +0000 (22:36 +0000)]
check if $revisionInfo['format'] isset in Import.php

Change-Id: I40073665f7b8f4d36d9d8877c1e38ee0e83a7191

11 years agoUse wfDebugLog() not wfErrorLog()
Reedy [Mon, 15 Oct 2012 20:32:20 +0000 (21:32 +0100)]
Use wfDebugLog() not wfErrorLog()

Change-Id: I98dca32d788a4ff3ea102afe358e91b9ff4b06a5

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 15 Oct 2012 20:11:38 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 15 Oct 2012 20:03:29 +0000 (20:03 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I20f77c44cb1ffbc2004a74e544ba1dd829079d5c

11 years agoMerge "Fix up various issues leading to bug 40780."
TheDJ [Mon, 15 Oct 2012 20:02:50 +0000 (20:02 +0000)]
Merge "Fix up various issues leading to bug 40780."

11 years agofix bug 41043, return false on edit page form when section is invalid
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

11 years agoMerge "Remove unused 'qbpageinfo'"
Siebrand Mazeland [Mon, 15 Oct 2012 17:50:02 +0000 (17:50 +0000)]
Merge "Remove unused 'qbpageinfo'"

11 years agoMerge "Add wfErrorLog() call before throwing an exception in readStyleFile"
Reedy [Mon, 15 Oct 2012 17:24:35 +0000 (17:24 +0000)]
Merge "Add wfErrorLog() call before throwing an exception in readStyleFile"

11 years agoAdd 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

11 years agoAdded ugly nesting and template interaction tests (to stress Parsoid).
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

11 years agoMerge "(bug 40930) Fix regression: ContentHandler prevents action=edit append to...
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"

11 years agoMerge "Removed READ_LATEST default from Revision::newFromTitle()."
Demon [Mon, 15 Oct 2012 14:57:02 +0000 (14:57 +0000)]
Merge "Removed READ_LATEST default from Revision::newFromTitle()."

11 years ago(bug 40930) Fix regression: ContentHandler prevents action=edit append to blank page
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

11 years agorestore wgDebugTimestamps in testDebugFunctionTest()
Antoine Musso [Mon, 15 Oct 2012 13:40:21 +0000 (15:40 +0200)]
restore wgDebugTimestamps in testDebugFunctionTest()

Change-Id: I362e398bb891618f3c79fe625ef6cf30d6929df9

11 years agoMerge "[Bug 41030] fix fatal error when rendering non-existing pages"
Reedy [Mon, 15 Oct 2012 12:41:13 +0000 (12:41 +0000)]
Merge "[Bug 41030] fix fatal error when rendering non-existing pages"

11 years ago[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

11 years agoMerge "Message documentation update for DifferenceEngine"
Niklas Laxström [Mon, 15 Oct 2012 12:29:38 +0000 (12:29 +0000)]
Merge "Message documentation update for DifferenceEngine"

11 years agoMerge "Fix for SiteListTest failing on 32bit machines"
Daniel Kinzler [Mon, 15 Oct 2012 11:58:20 +0000 (11:58 +0000)]
Merge "Fix for SiteListTest failing on 32bit machines"

11 years agoMessage documentation update for DifferenceEngine
Niklas Laxström [Mon, 15 Oct 2012 11:04:40 +0000 (11:04 +0000)]
Message documentation update for DifferenceEngine

Change-Id: I404cbf07238bbe532432bcb9dd573bdec2a95b5e

11 years agoRemove unused 'qbpageinfo'
Siebrand Mazeland [Mon, 15 Oct 2012 11:49:02 +0000 (13:49 +0200)]
Remove unused 'qbpageinfo'

Change-Id: I88cf379ef689f598d849545cb9efef2ef1cde54e

11 years agoMore concise and precise wording for 'upload-disallowed-here'
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

11 years agoFix for SiteListTest failing on 32bit machines
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

11 years agoFix incorrect message in CologneBlue full text button.
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

11 years agoRename $wgPurgeHttp11 to $wgSquidPurgeUseHostHeader
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

11 years ago(bug 39005) Add $wgPurgeHttp11.
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

11 years agoFix WikitextContent::getSection() for missing sections
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

11 years ago[Bug 40032] code 415 for bad type in action=raw
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

11 years agoSupport plain text content.
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

11 years agoMerge "includes/ContentHandler.php does not exist, it's includes/content/ContentHandl...
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"

11 years agoFix declaration of content_model and content_format fields.
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

11 years agoincludes/ContentHandler.php does not exist, it's includes/content/ContentHandler.php
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

11 years agoMerge "Add separate fa_sha1 field to filearchive table"
Reedy [Sun, 14 Oct 2012 20:10:58 +0000 (20:10 +0000)]
Merge "Add separate fa_sha1 field to filearchive table"

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

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 14 Oct 2012 19:56:58 +0000 (19:56 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3b3f9cff1af5a7ab04116787131c9d5399c8c0c2

11 years agoAdd separate fa_sha1 field to filearchive table
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

11 years agoRebuild MessagesEn.php
Alexandre Emsenhuber [Sun, 14 Oct 2012 18:40:41 +0000 (20:40 +0200)]
Rebuild MessagesEn.php

Change-Id: I7e2f1cc2c97f368f49554a6f0f68c20d7d3a7a39

11 years agoMake maintenance/dev/'s .sh files executable.
Daniel Friesen [Sun, 14 Oct 2012 15:50:37 +0000 (08:50 -0700)]
Make maintenance/dev/'s .sh files executable.

Change-Id: I46a2611cccf9bd7af20be5fcc497c0dacc13cbb7

11 years ago(bug 39688) action=info displays misleading edit history for redlinks
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

11 years agoMerge "Delete more thumbnails after parser tests."
IAlex [Sun, 14 Oct 2012 10:14:13 +0000 (10:14 +0000)]
Merge "Delete more thumbnails after parser tests."

11 years agoMerge "(bug 40889) Fix XHTML in Special:Upload form labels"
IAlex [Sun, 14 Oct 2012 10:07:12 +0000 (10:07 +0000)]
Merge "(bug 40889) Fix XHTML in Special:Upload form labels"

11 years agoMerge "(bug 23721) Only show deletedOnly checkbox on contribs and history if the...
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"

11 years ago(bug 23721) Only show deletedOnly checkbox on contribs and history if the user can...
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

11 years agoDelete more thumbnails after parser tests.
Tim Landscheidt [Sat, 13 Oct 2012 23:53:13 +0000 (23:53 +0000)]
Delete more thumbnails after parser tests.

Change-Id: I0a0e757a359fbfa1274e3e0177f1c22f292394e7

11 years ago(bug 40889) Fix XHTML in Special:Upload form labels
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

11 years agoFix up various issues leading to bug 40780.
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

11 years agoAdd images/lockdir to .gitignore.
Tim Landscheidt [Sat, 13 Oct 2012 21:10:31 +0000 (21:10 +0000)]
Add images/lockdir to .gitignore.

Change-Id: I3ebecc6d2b8b13e774091e0ba4b7afa882d89e1d

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

Change-Id: Ie15e4101c4f1958f0a2d8c7d42304f47b7965930

11 years agoMerge "PostDatabaseUpdateMaintenance: childs checks updatelog already"
IAlex [Sat, 13 Oct 2012 10:00:52 +0000 (10:00 +0000)]
Merge "PostDatabaseUpdateMaintenance: childs checks updatelog already"

11 years agoMerge "EditPage: Use content language to truncate for database"
IAlex [Sat, 13 Oct 2012 09:55:11 +0000 (09:55 +0000)]
Merge "EditPage: Use content language to truncate for database"

11 years agoResourcesTest: Assert that all registered resources in RL exist.
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

11 years agoUpdate jQueryUI to 1.8.24
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

11 years agoMerge "Silence warnings about deprecation by ContentHandler."
Aaron Schulz [Sat, 13 Oct 2012 00:03:31 +0000 (00:03 +0000)]
Merge "Silence warnings about deprecation by ContentHandler."

11 years agoMerge "(bug 40111) Disable minor edit for page/section creation by API"
MaxSem [Fri, 12 Oct 2012 22:25:25 +0000 (22:25 +0000)]
Merge "(bug 40111) Disable minor edit for page/section creation by API"

11 years ago Localisation updates from http://translatewiki.net.
Translation updater bot [Fri, 12 Oct 2012 21:14:41 +0000 (21:14 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3ed4994c93700550436a07d64cf80b611eeb0e0c

11 years ago(bug 40111) Disable minor edit for page/section creation by API
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

11 years ago(bug 39665) optimize API query generator list
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

11 years agoEditPage: Use content language to truncate for database
umherirrender [Fri, 12 Oct 2012 19:52:16 +0000 (21:52 +0200)]
EditPage: Use content language to truncate for database

Change-Id: I53e5b2304f8b8a8787b30d9c4717f39bfe96a127

11 years agoPostDatabaseUpdateMaintenance: childs checks updatelog already
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

11 years agoMerge "Remove a bunch of trailing spaces and unneeded newlines"
MaxSem [Fri, 12 Oct 2012 18:36:46 +0000 (18:36 +0000)]
Merge "Remove a bunch of trailing spaces and unneeded newlines"

11 years agoMerge "Skip parser tests if main NS isn't wikitext."
Aaron Schulz [Fri, 12 Oct 2012 17:44:14 +0000 (17:44 +0000)]
Merge "Skip parser tests if main NS isn't wikitext."

11 years agoMerge "[Bug 40716] Fix SearchEngineTest etc with non-wikitext content."
Aaron Schulz [Fri, 12 Oct 2012 17:43:11 +0000 (17:43 +0000)]
Merge "[Bug 40716] Fix SearchEngineTest etc with non-wikitext content."

11 years agoMerge "Added note about sites functionality into the release notes"
Daniel Kinzler [Fri, 12 Oct 2012 17:39:09 +0000 (17:39 +0000)]
Merge "Added note about sites functionality into the release notes"

11 years agoFix RevisionStorageTest with non-wikitext NS_MAIN
daniel [Fri, 12 Oct 2012 16:30:38 +0000 (18:30 +0200)]
Fix RevisionStorageTest with non-wikitext NS_MAIN

Change-Id: I96c2c02a009128c91dfd9fb380aaa8af60311ce7

11 years agoUpdate @since tags from 1.20 to 1.21
jeroendedauw [Fri, 12 Oct 2012 16:28:53 +0000 (18:28 +0200)]
Update @since tags from 1.20 to 1.21

Change-Id: Iea7bad4367782ee8baa676921625b44dc2b7c45f