lhc/web/wiklou.git
11 years agoMerge "Add wfProfileOut() missing in 74f581e34"
Reedy [Sun, 13 Jan 2013 17:04:51 +0000 (17:04 +0000)]
Merge "Add wfProfileOut() missing in 74f581e34"

11 years agoAdd wfProfileOut() missing in 74f581e34
Platonides [Sun, 13 Jan 2013 17:01:40 +0000 (18:01 +0100)]
Add wfProfileOut() missing in 74f581e34

Change-Id: Icc567e3f27dc8f9d0e405fcb9fa1103d9012acb3

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 12 Jan 2013 20:02:04 +0000 (20:02 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia6d7d45e5e7f3d9d8847425edad035331262c2a4

11 years agoMerge "Update doc comments and code formatting."
IAlex [Sat, 12 Jan 2013 11:39:43 +0000 (11:39 +0000)]
Merge "Update doc comments and code formatting."

11 years agoMerge "Eliminate dummy Language instances from being created"
jenkins-bot [Sat, 12 Jan 2013 10:24:16 +0000 (10:24 +0000)]
Merge "Eliminate dummy Language instances from being created"

11 years agoMerge "Make Block::newFromTarget() work again when passing only a vague target"
Aaron Schulz [Fri, 11 Jan 2013 23:39:17 +0000 (23:39 +0000)]
Merge "Make Block::newFromTarget() work again when passing only a vague target"

11 years agoMerge "Use ResultWrapper::numRows() instead of DatabaseBase::numRows()"
jenkins-bot [Fri, 11 Jan 2013 23:10:05 +0000 (23:10 +0000)]
Merge "Use ResultWrapper::numRows() instead of DatabaseBase::numRows()"

11 years agoMerge "Test some more partly template-generated wikilink targets"
Subramanya Sastry [Fri, 11 Jan 2013 22:25:39 +0000 (22:25 +0000)]
Merge "Test some more partly template-generated wikilink targets"

11 years agoTest some more partly template-generated wikilink targets
Gabriel Wicke [Fri, 11 Jan 2013 20:45:35 +0000 (12:45 -0800)]
Test some more partly template-generated wikilink targets

Change-Id: I83d44245dd0cf869a8d0f933a236d10b6082b8b9

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 11 Jan 2013 20:13:24 +0000 (20:13 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia14126efb5937b32606d7abb2334a6537eae8544

11 years agoMerge "Remove $wgBug34832TransitionalRollback"
jenkins-bot [Fri, 11 Jan 2013 16:32:41 +0000 (16:32 +0000)]
Merge "Remove $wgBug34832TransitionalRollback"

11 years agoUpdate doc comments and code formatting.
Siebrand Mazeland [Fri, 11 Jan 2013 15:56:04 +0000 (16:56 +0100)]
Update doc comments and code formatting.

Change-Id: I1896d7b1ab5d11d3a609fd97db7c503ad6c590e5

11 years agoRemove $wgBug34832TransitionalRollback
Reedy [Fri, 11 Jan 2013 15:49:33 +0000 (15:49 +0000)]
Remove $wgBug34832TransitionalRollback

Per "@todo This variable should be removed (implicitly false) in 1.20 or earlier."

Change-Id: Ibd6d0199848ef4631d13e1a27044c793ef15ec02

11 years ago(bug 37209) Title no longer relies on entries already being in LinkCache
Vitaliy Filippov [Tue, 20 Nov 2012 17:43:55 +0000 (21:43 +0400)]
(bug 37209) Title no longer relies on entries already being in LinkCache

This fixes "LinkCache doesn't currently know about this title" error
in some cases, for example, in the case when LinkCache is flushed.

Change-Id: I2fc3966ee5d462ba050a6c54cfda1a0dfd972635

11 years agoMerge "(bug 43852) Fix converttitles param in api.php?action=query"
jenkins-bot [Fri, 11 Jan 2013 14:44:17 +0000 (14:44 +0000)]
Merge "(bug 43852) Fix converttitles param in api.php?action=query"

11 years ago(bug 42941) Add $CHANGEDORCREATED back for custom template
bsitu [Tue, 18 Dec 2012 02:39:30 +0000 (18:39 -0800)]
(bug 42941) Add $CHANGEDORCREATED back for custom template

1. Add $CHANGEDORCREATED back so custom template with this variable won't break.
   Scheduled for removal in MediaWiki 1.23.
2. change escaped() to text() since this is just plain text email and client
   will interpret it as plain text

Change-Id: I7d9fd90519a68dd66f99479a7c92f6c664485a9c

11 years agoMake Block::newFromTarget() work again when passing only a vague target
Alexandre Emsenhuber [Fri, 11 Jan 2013 10:30:21 +0000 (11:30 +0100)]
Make Block::newFromTarget() work again when passing only a vague target

Since SVN r106354 (85ee2d2d), when passing null or an invalid block target
to Block::newFromTarget(), it was never returning any block, even if the
vague target would have matched one.

This broke two features of core MediaWiki:
- Excluding user and user talk pages of blocked users from being indexed,
  the feature that actually caused bug 33101 and the revision mentionned above
- Blocking of account creation when both the user and its IP address are blocked,
  but of only the IP address blocks prevents account creation (bug 13611)
And maybe some others in extensions, I didn't check that.

This changes reverts part of r106354 to make Block::newFromTarget() work again
in that case and changed Article::getRobotPolicy() to pass the user to be checked
as vague target only when it's an IP address and as specific target otherwise.

Change-Id: Ie7e16e0bae8c4326d16cca237877693f7b474a01

11 years agoMerge "Add "modifyExtensionField" utility function"
IAlex [Fri, 11 Jan 2013 10:06:01 +0000 (10:06 +0000)]
Merge "Add "modifyExtensionField" utility function"

11 years agoMerge "[JobQueue] Added wfIncrStats() for job recycling."
IAlex [Fri, 11 Jan 2013 10:00:08 +0000 (10:00 +0000)]
Merge "[JobQueue] Added wfIncrStats() for job recycling."

11 years agoIncludes $query in SkinTemplate::tabAction() if $title doesn't exist
Pavel Selitskas [Thu, 10 Jan 2013 01:20:38 +0000 (04:20 +0300)]
Includes $query in SkinTemplate::tabAction() if $title doesn't exist

Required by https://www.mediawiki.org/wiki/Extension:NamespaceRelations

* added PHPDoc for SkinTemplate::tabAction()

Change-Id: Ia9d3838d2adf3b8afbd5b142bb7a1ea3e1c31371

11 years ago(bug 43852) Fix converttitles param in api.php?action=query
Liangent [Fri, 11 Jan 2013 09:00:32 +0000 (17:00 +0800)]
(bug 43852) Fix converttitles param in api.php?action=query

Change-Id: I1658202f9228c2b99c0895d9c9b1a6d905f3021d

11 years agoraise timeout for ApiCreateAccountTest::testValid
Antoine Musso [Fri, 11 Jan 2013 09:46:18 +0000 (10:46 +0100)]
raise timeout for ApiCreateAccountTest::testValid

The ApiCreateAccountTest::testValid() test does multiple API request
which might end up being a bit slow.  That randomly cause random
failures when running the test suite which tends to confuse people.

Change-Id: I35a6670c61c7917522b2472a3a8e782e97e837f4

11 years agoFixed prefixed title text call.
Aaron Schulz [Fri, 11 Jan 2013 05:30:48 +0000 (21:30 -0800)]
Fixed prefixed title text call.

Change-Id: I796a2cc1687a7d50c8874b002839133f5f5326c7

11 years agoMerge "Overriding Vector's footer margin when in print mode"
Ori.livneh [Fri, 11 Jan 2013 00:18:07 +0000 (00:18 +0000)]
Merge "Overriding Vector's footer margin when in print mode"

11 years agoAdded account creation API.
Tyler Romeo [Wed, 8 Aug 2012 13:58:47 +0000 (09:58 -0400)]
Added account creation API.

Created new API action "createaccount" that
allows access to account creation. Takes
username, password, email, realname, token,
and optionally mailpassword and reason.

Errors are given in an errors array. Note
there is no way to natively handle CAPTCHAs
as there is no uniform implementation of
presenting CAPTCHA links to user. Right now
the best an extension can do is return an
error in AbortNewAccount, which will then
be displayed as an error in the Api result.

Change-Id: Ibdb1e50d434fb857683e1e4ff5a4a5a91c6b7c3a

11 years agoadjust release note about I45b077cf
MatmaRex [Thu, 10 Jan 2013 23:51:07 +0000 (00:51 +0100)]
adjust release note about I45b077cf

It's not a config change; it simply introduces a new global config
variable.

Change-Id: Ife9e81d70847fd215ffedbf3dcbc750c059bcaf4

11 years agoMerge "[JobQueue] Minor documentation improvements."
Demon [Thu, 10 Jan 2013 21:25:43 +0000 (21:25 +0000)]
Merge "[JobQueue] Minor documentation improvements."

11 years ago[JobQueue] Minor documentation improvements.
Aaron Schulz [Thu, 10 Jan 2013 21:16:23 +0000 (13:16 -0800)]
[JobQueue] Minor documentation improvements.

Change-Id: I084016531f2c6bc707459c4b670bf02fa72f42d2

11 years agoMade NullJob support ignoring duplicates.
Aaron Schulz [Thu, 10 Jan 2013 21:18:57 +0000 (13:18 -0800)]
Made NullJob support ignoring duplicates.

Change-Id: Ieecc938a51eb1850b9e0abfcc41aa6e8268e6989

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 10 Jan 2013 21:14:49 +0000 (21:14 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoAllow non-English wikis to rebuild l10n cache
Brad Jorsch [Thu, 10 Jan 2013 20:32:40 +0000 (15:32 -0500)]
Allow non-English wikis to rebuild l10n cache

If a wiki is configured to use the l10n cache and $wgLanguageCode is set
to anything other that 'en', all maintenance scripts will fail until the
l10n cache is build for the first time. This includes
maintenance/rebuildLocalisationCache.php, the maintenance script that
builds the l10n cache.

To break this dependency, have maintenance/rebuildLocalisationCache.php
force $wgLanguageCode = 'en'.

Change-Id: Ia93998b0f85fd122dd7b01eeeef698f595360945

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 10 Jan 2013 20:46:16 +0000 (20:46 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I99e0eaef11ea6bfeee4b010f056ac0da4bd1d5f8

11 years ago[JobQueue] Added wfIncrStats() for job recycling.
Aaron Schulz [Thu, 10 Jan 2013 18:01:42 +0000 (10:01 -0800)]
[JobQueue] Added wfIncrStats() for job recycling.

Change-Id: Idc79892df1d7664694873c95352e069636487d74

11 years agoMerge "Fix access to other wiki's job queue."
Aaron Schulz [Thu, 10 Jan 2013 17:33:22 +0000 (17:33 +0000)]
Merge "Fix access to other wiki's job queue."

11 years agoMerge "Add css $classes variable to the OldChangesListRecentChangesLine hook"
jenkins-bot [Thu, 10 Jan 2013 17:22:05 +0000 (17:22 +0000)]
Merge "Add css $classes variable to the OldChangesListRecentChangesLine hook"

11 years agoAdd css $classes variable to the OldChangesListRecentChangesLine hook
aude [Thu, 10 Jan 2013 15:52:30 +0000 (15:52 +0000)]
Add css $classes variable to the OldChangesListRecentChangesLine hook

- will update LiquidThreads accordingly and do not see
this hook used in any other extension in Wikimedia git repos.

Change-Id: Ib8f297b39dbd5fba980bb0d4773d0e01f2b922f4

11 years agoMerge "ignore /.deploy used by git-deploy"
jenkins-bot [Thu, 10 Jan 2013 15:22:50 +0000 (15:22 +0000)]
Merge "ignore /.deploy used by git-deploy"

11 years agoignore /.deploy used by git-deploy
Antoine Musso [Thu, 10 Jan 2013 09:39:43 +0000 (10:39 +0100)]
ignore /.deploy used by git-deploy

git-deploy writes a status file at the root of the working copy. We want
to always ignore it.

Change-Id: I4dbbce669ba4d194c3ce5568733bd27db51fd40e

11 years ago(bug 43820) Content also needed for prop=revisions&rvdiffto=
Brad Jorsch [Thu, 10 Jan 2013 14:24:39 +0000 (09:24 -0500)]
(bug 43820) Content also needed for prop=revisions&rvdiffto=

It was somehow overlooked that prop=revisions&rvdiffto= also requires
that the content for the current revision be fetched.

Change-Id: Ie1d718458da8cdb6ba63bd7ea512db3b299fc1e2

11 years agoFix access to other wiki's job queue.
daniel [Thu, 10 Jan 2013 11:03:40 +0000 (12:03 +0100)]
Fix access to other wiki's job queue.

LoadBalancer::getConnection needs the target wiki's ID, even
if we got the LoadBalancer instance specifically for that wiki.

Change-Id: I3fc81666dfa2552fac3ced2cadbd3f6db09e9596

11 years agoMerge "Added merge() function to BagOStuff for CAS-like functionality."
jenkins-bot [Thu, 10 Jan 2013 09:50:09 +0000 (09:50 +0000)]
Merge "Added merge() function to BagOStuff for CAS-like functionality."

11 years agoAdded merge() function to BagOStuff for CAS-like functionality.
Matthias Mullie [Mon, 1 Oct 2012 14:05:22 +0000 (16:05 +0200)]
Added merge() function to BagOStuff for CAS-like functionality.

* merge() will use CAS if supported or use locking otherwise
* The lock()/unlock() methods now have a default implementation
* added unit tests for merge

Change-Id: Ic27088488f8532f149cb4b36e156516f22880134

11 years ago(bug 43808) PHPUnit Makefile is now compatible with BSD make.
Dereckson [Thu, 10 Jan 2013 03:12:42 +0000 (04:12 +0100)]
(bug 43808) PHPUnit Makefile is now compatible with BSD make.

Change-Id: Icf2d340524760ad17913a2e4231396a82c2dddf5

11 years agoMerge "Fixed return type doc"
IAlex [Thu, 10 Jan 2013 05:37:48 +0000 (05:37 +0000)]
Merge "Fixed return type doc"

11 years agoMerge "Add some more template-affected wiki link variants"
Subramanya Sastry [Thu, 10 Jan 2013 01:38:29 +0000 (01:38 +0000)]
Merge "Add some more template-affected wiki link variants"

11 years agoAdd some more template-affected wiki link variants
Gabriel Wicke [Thu, 10 Jan 2013 01:35:09 +0000 (17:35 -0800)]
Add some more template-affected wiki link variants

Change-Id: Ib254c1112f4e62d5e4a7cc2fca6506813b118a77

11 years agoMerge "improve doc"
jenkins-bot [Thu, 10 Jan 2013 01:31:37 +0000 (01:31 +0000)]
Merge "improve doc"

11 years agoMerge "Supress the root namespacing from DBQueryError."
jenkins-bot [Thu, 10 Jan 2013 01:25:42 +0000 (01:25 +0000)]
Merge "Supress the root namespacing from DBQueryError."

11 years agoOverriding Vector's footer margin when in print mode
Kaldari [Thu, 10 Jan 2013 01:05:15 +0000 (17:05 -0800)]
Overriding Vector's footer margin when in print mode

Otherwise the footer is strangely shifted 10 or 11em to the right
on printed versions of pages (exact amount depends on media mode)

Change-Id: Ia2123b08bdf1910304c1e1436418a3eb75126a07

11 years agoMerge "(bug 43661) Added test for special link trail case"
GWicke [Thu, 10 Jan 2013 00:53:07 +0000 (00:53 +0000)]
Merge "(bug 43661) Added test for special link trail case"

11 years agoMerge "(bug 43211) Add mw-navigation to CSS for display:none on print."
Kaldari [Thu, 10 Jan 2013 00:51:02 +0000 (00:51 +0000)]
Merge "(bug 43211) Add mw-navigation to CSS for display:none on print."

11 years ago(bug 43211) Add mw-navigation to CSS for display:none on print.
Matthew Flaschen [Mon, 17 Dec 2012 21:35:10 +0000 (16:35 -0500)]
(bug 43211) Add mw-navigation to CSS for display:none on print.

Change-Id: Icdd08e833b9dcc503cadd83d2b7a7b6460699313

11 years agoMerge "[JobQueue] Improved de-duplication stat calls."
Demon [Wed, 9 Jan 2013 22:40:19 +0000 (22:40 +0000)]
Merge "[JobQueue] Improved de-duplication stat calls."

11 years agoMerge "[FileBackend] Suppress most file warnings but log them to an FSFileBackend...
Demon [Wed, 9 Jan 2013 22:33:50 +0000 (22:33 +0000)]
Merge "[FileBackend] Suppress most file warnings but log them to an FSFileBackend log."

11 years agoimprove doc
jeroendedauw [Wed, 9 Jan 2013 22:13:07 +0000 (23:13 +0100)]
improve doc

Change-Id: I61d0a55238c1240bc351da4712a8b12659a7ceec

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 9 Jan 2013 21:57:19 +0000 (21:57 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9d5344da80e23f509a084550770f833d8780c015

11 years ago[JobQueue] Improved de-duplication stat calls.
Aaron Schulz [Wed, 9 Jan 2013 18:29:23 +0000 (10:29 -0800)]
[JobQueue] Improved de-duplication stat calls.

Change-Id: Ib8e3452c9e42b20389c515e7dd8e030b0900497d

11 years ago(bug 39397) Only show rollback links if they work
Marius Hoch [Thu, 1 Nov 2012 20:04:12 +0000 (21:04 +0100)]
(bug 39397) Only show rollback links if they work

To only show rollback links if they work I had to patch Linker
to have a function (Linker::rollbackData) which can verify
that the editor isn't the only editor of the page. Furthermore
it is checked that the user name or the text of the revision
we might rollback to isn't deleted. Due to the fact that I've
altered the already existing method which showed how many edits
a rollback will revert for that, this wont affect the performance.

Change-Id: I5d1adec993370c39ae8c5c712edd919d456441c6

11 years agoMerge "Bug 11057 - Increase size of ug_group in user_groups table"
jenkins-bot [Wed, 9 Jan 2013 14:22:52 +0000 (14:22 +0000)]
Merge "Bug 11057 - Increase size of ug_group in user_groups table"

11 years agoReplace hardcoded native language names with core parser function
raymond [Wed, 9 Jan 2013 13:38:42 +0000 (14:38 +0100)]
Replace hardcoded native language names with core parser function

Works well on Commons: https://commons.wikimedia.org/wiki/MediaWiki:Loginlanguagelinks

Change-Id: I1ee8278aea3457d12695a2e4d9b841c32cb67ffa

11 years agoSupress the root namespacing from DBQueryError.
Platonides [Wed, 9 Jan 2013 13:30:30 +0000 (14:30 +0100)]
Supress the root namespacing from DBQueryError.

Makes check-vars happy.

Change-Id: Iaaa4cad5b54a20b2f8ed93dd14eaf12e3c9ebd03

11 years agoMerge "Add message documentation and message key to maintenance file"
raymond [Wed, 9 Jan 2013 08:43:49 +0000 (08:43 +0000)]
Merge "Add message documentation and message key to maintenance file"

11 years agoAdd message documentation and message key to maintenance file
raymond [Wed, 9 Jan 2013 08:40:02 +0000 (09:40 +0100)]
Add message documentation and message key to maintenance file

Per I2096f50b

Change-Id: Id9e65ef9c848e14750799888f75d7fc0e2c1d625

11 years agoMerge "Tidy up declaration of $wgSiteTypes"
jenkins-bot [Wed, 9 Jan 2013 08:31:33 +0000 (08:31 +0000)]
Merge "Tidy up declaration of $wgSiteTypes"

11 years agoMerge "Miscellaneous profiling fixes"
jenkins-bot [Wed, 9 Jan 2013 08:24:16 +0000 (08:24 +0000)]
Merge "Miscellaneous profiling fixes"

11 years agoMerge "Allow preferences that need not be rendered in Special:Preferences"
jenkins-bot [Wed, 9 Jan 2013 07:57:37 +0000 (07:57 +0000)]
Merge "Allow preferences that need not be rendered in Special:Preferences"

11 years agoTidy up declaration of $wgSiteTypes
Reedy [Wed, 9 Jan 2013 05:48:09 +0000 (05:48 +0000)]
Tidy up declaration of $wgSiteTypes

Change-Id: I7eabc83bd7a6e0ffba6075e0caffd8420b01721f

11 years agoAdded async upload-from-stash support.
Aaron Schulz [Tue, 4 Dec 2012 02:18:48 +0000 (18:18 -0800)]
Added async upload-from-stash support.

* This works similarly to the async concatenation code.

Change-Id: Iae38b93d65182158561b92168af51a1e9f50374c

11 years agoMerge "Set timeout for AssembleUploadChunks.php."
MarkTraceur [Wed, 9 Jan 2013 00:31:22 +0000 (00:31 +0000)]
Merge "Set timeout for AssembleUploadChunks.php."

11 years agoSet timeout for AssembleUploadChunks.php.
Aaron Schulz [Wed, 9 Jan 2013 00:08:51 +0000 (16:08 -0800)]
Set timeout for AssembleUploadChunks.php.

* This change was placed in the wrong commit instead.

Change-Id: I2de6bf1e3a3101b4fa733b8cc0911ac77b38e921

11 years ago[JobQueue] Minor doc cleanup.
Aaron Schulz [Wed, 9 Jan 2013 00:04:24 +0000 (16:04 -0800)]
[JobQueue] Minor doc cleanup.

Change-Id: I1059f45f77ff4097a7e72d5210822bb4e5bdeaee

11 years agoMerge "Add support for mulitpart mime email to email sending code"
Tychay [Tue, 8 Jan 2013 23:32:11 +0000 (23:32 +0000)]
Merge "Add support for mulitpart mime email to email sending code"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 8 Jan 2013 20:13:16 +0000 (20:13 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If3901d13b72f526be319d8626e3d101767eccdbc

11 years ago(bug 43661) Added test for special link trail case
Mark Holmquist [Mon, 7 Jan 2013 23:43:37 +0000 (15:43 -0800)]
(bug 43661) Added test for special link trail case

Parsoid is now constructing link trails based on a few rules, one of which
dealt with link prefixes. However, that caused some regressions that weren't
tested until now.

Change-Id: Id205589bb06bc5b290e67d4f4731f0e8e7215dee

11 years agoFixed return type doc
jeroendedauw [Tue, 8 Jan 2013 18:47:00 +0000 (19:47 +0100)]
Fixed return type doc

Change-Id: Ie326867633bcf4bf03a9047fa8fa62cc66520d32

11 years agoMerge "Catch excpt to avoid fatal in Message::__toString"
jenkins-bot [Tue, 8 Jan 2013 17:32:14 +0000 (17:32 +0000)]
Merge "Catch excpt to avoid fatal in Message::__toString"

11 years agoCatch excpt to avoid fatal in Message::__toString
daniel [Mon, 7 Jan 2013 13:48:04 +0000 (14:48 +0100)]
Catch excpt to avoid fatal in Message::__toString

PHP doesn't allow __toString to throw exceptions and will
trigger a fatal error if it does. So, catch any exceptions
and try to report them using wfWarn.

Change-Id: I52d38e9a927da4db18f4733fd207f9396adedf94

11 years ago(bug 41365) Added transclusion count to InfoAction.
Tyler Anthony Romeo [Fri, 2 Nov 2012 20:15:37 +0000 (16:15 -0400)]
(bug 41365) Added transclusion count to InfoAction.

Currently InfoAction lists the pages that are transcluded
onto the specified page. This adds a list of pages on which
the current page is transcluded. Also, it adds an option to
limit the list size for transclusion links due to memory
concerns.

Change-Id: I45b077cf3f241b1927f7b1818b04b72115d55c28

11 years agoMerge "Language::listToText cleanup with unit test"
jenkins-bot [Tue, 8 Jan 2013 16:02:21 +0000 (16:02 +0000)]
Merge "Language::listToText cleanup with unit test"

11 years agoLive preview no longer experimental
Siebrand Mazeland [Tue, 8 Jan 2013 13:59:58 +0000 (14:59 +0100)]
Live preview no longer experimental

Per I85ca97a1.

Change-Id: I50580190493421f8b9ce721c99f19af1f98db6d7

11 years ago[JobQueue] Added support for using an external DB.
Aaron Schulz [Fri, 21 Dec 2012 01:29:02 +0000 (17:29 -0800)]
[JobQueue] Added support for using an external DB.

* Added a new ScopedCallback class to handle reuseConnection() easily.

Change-Id: Icfab280f0173c2cb1ac44cc0bd45e9202600687b

11 years agoMerge "[JobQueue] Some tweaks to reduce claimRandom() retries."
Tim Starling [Tue, 8 Jan 2013 00:05:30 +0000 (00:05 +0000)]
Merge "[JobQueue] Some tweaks to reduce claimRandom() retries."

11 years agoMerge "Follow-up I5f7f6da0 (cefb9ef): pass the User parameter to more LogEventsList...
jenkins-bot [Mon, 7 Jan 2013 23:39:34 +0000 (23:39 +0000)]
Merge "Follow-up I5f7f6da0 (cefb9ef): pass the User parameter to more LogEventsList::getExcludeClause() calls"

11 years agoEnforce time limit within AssembleUploadChunks.php.
Aaron Schulz [Mon, 7 Jan 2013 23:19:20 +0000 (15:19 -0800)]
Enforce time limit within AssembleUploadChunks.php.

Change-Id: I8cfcb09da8e7e9020e6b5dfbc5e727522d01b7c1

11 years agoSet the wiki ID for AssembleUploadChunks.php call for wiki farms.
Aaron Schulz [Mon, 7 Jan 2013 22:32:14 +0000 (14:32 -0800)]
Set the wiki ID for AssembleUploadChunks.php call for wiki farms.

Change-Id: I342998b45309315b9a1dc75833c997c286874505

11 years agoMerge "Makes WebRequest::detectProtocolAndStdPort() take HTTP_X_FORWARDED_PROTO heade...
jenkins-bot [Mon, 7 Jan 2013 22:14:13 +0000 (22:14 +0000)]
Merge "Makes WebRequest::detectProtocolAndStdPort() take HTTP_X_FORWARDED_PROTO headers into account"

11 years agoMerge "Localisation updates from http://translatewiki.net."
jenkins-bot [Mon, 7 Jan 2013 21:24:27 +0000 (21:24 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 7 Jan 2013 20:42:38 +0000 (20:42 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ic0989e61db2b1d5031e3eda8928c9f3b31e797ca

11 years agoMerge "Update docs"
IAlex [Mon, 7 Jan 2013 20:36:38 +0000 (20:36 +0000)]
Merge "Update docs"

11 years agoLanguage::listToText cleanup with unit test
Yuri Astrakhan [Mon, 7 Jan 2013 09:59:16 +0000 (04:59 -0500)]
Language::listToText cleanup with unit test

Change-Id: If88ab7da07e336fc5f6264c7d6b4f6ce542f99c9

11 years agoMerge "(minor) Make ORMTable handle failed queries nicely."
jenkins-bot [Mon, 7 Jan 2013 18:12:37 +0000 (18:12 +0000)]
Merge "(minor) Make ORMTable handle failed queries nicely."

11 years agoMerge "(bug 42064) Make EditFilterMergedContent more generic."
jenkins-bot [Mon, 7 Jan 2013 18:07:06 +0000 (18:07 +0000)]
Merge "(bug 42064) Make EditFilterMergedContent more generic."

11 years ago[JobQueue] Some tweaks to reduce claimRandom() retries.
Aaron Schulz [Thu, 13 Dec 2012 00:45:02 +0000 (16:45 -0800)]
[JobQueue] Some tweaks to reduce claimRandom() retries.

* Use a small OFFSET to avoid excess claim retries for large queues.
* Use job_random to avoid excess claim retries for small queues.

Change-Id: I7da20a6684902122c7bc82b9633eab4bc7aecb89

11 years agoUpdate docs
Siebrand Mazeland [Mon, 7 Jan 2013 18:00:05 +0000 (19:00 +0100)]
Update docs

Change-Id: I31e9608ed3cef09656dac6ce6079259585299cb1

11 years agoMerge "(bug 43684) Don't bother creating a new context in SpecialPageFactory::getUsab...
jenkins-bot [Mon, 7 Jan 2013 17:53:58 +0000 (17:53 +0000)]
Merge "(bug 43684) Don't bother creating a new context in SpecialPageFactory::getUsablePages"

11 years agophp maintenance/language/rebuildLanguage.php --lang=en
Siebrand Mazeland [Mon, 7 Jan 2013 15:17:00 +0000 (16:17 +0100)]
php maintenance/language/rebuildLanguage.php --lang=en

Change-Id: Ibd542bdc9ca2531ab0a8a29c0ac471de0b902f30

11 years agoFollow-up I0e5d3cfb: Spelling consistency update
Siebrand Mazeland [Mon, 7 Jan 2013 15:15:19 +0000 (16:15 +0100)]
Follow-up I0e5d3cfb: Spelling consistency update

Change-Id: Id58e893a091025c4cb0a0d9d64ae0ff79193969c

11 years agoDisable protection in case there aren't any restriction types
Marius Hoch [Thu, 22 Nov 2012 21:04:40 +0000 (22:04 +0100)]
Disable protection in case there aren't any restriction types

This change disables the protection form and hides the protect
links in case there aren't any restriction types avialable.
Having no restriction types available let to a PHP notice and an
uggly, broken form. This became necessary as there are cases
in which no restriction types are avialable (caused by extensions)
eg. https://gerrit.wikimedia.org/r/34662

Change-Id: I0e5d3cfb299808ca14ead6baec0a18091acaa2b2

11 years ago(minor) Make ORMTable handle failed queries nicely.
daniel [Wed, 5 Dec 2012 16:10:31 +0000 (17:10 +0100)]
(minor) Make ORMTable handle failed queries nicely.

Database::select will return false if a query fails and the DB object
is set to "ignore errors" mode. ORMTable now detect this and throw
a DBQueryError, overriding the ignore errors mode.

This change also adds a dummy implementation for ORMTable to ORMTableTest,
so tests can be run on the base implementation.

Change-Id: I5d87295626c0800c38f807d19becb312ba7cc956

11 years agoAllow preferences that need not be rendered in Special:Preferences
Santhosh Thottingal [Fri, 7 Dec 2012 07:22:10 +0000 (12:52 +0530)]
Allow preferences that need not be rendered in Special:Preferences

Extensions can use their own interface for user preferences, with the
help of the action=options API.

For example, Universal Language Selector has a different UI to
allow anonymous and logged in users to set language related preferences.

Validation for the preference values is up to the extensions.

Change-Id: I18a5ffb5cc202c59ba76b86cfb63e49010cc1881