lhc/web/wiklou.git
11 years agoFix documentation in Linker::formatTemplates.
Tyler Anthony Romeo [Tue, 15 Jan 2013 20:35:41 +0000 (15:35 -0500)]
Fix documentation in Linker::formatTemplates.

Follow up to 265404d93cd99bf067064f947f5fc361f54466d7.
Make it clear that when a string is passed to the function,
it has to be already escaped. Also added Message as a
possible parameter type.

Change-Id: I4fb309d0dfcdf61b92c42db4b7ca2ea651d5f071

11 years agoMerge "API Cleanup: renamed '_badcontinue'->'badcontinue', one die()"
jenkins-bot [Tue, 15 Jan 2013 20:19:33 +0000 (20:19 +0000)]
Merge "API Cleanup: renamed '_badcontinue'->'badcontinue', one die()"

11 years agoMerge "[JobQueue] Optimized JobQueueGroup::pop()."
Demon [Tue, 15 Jan 2013 19:28:45 +0000 (19:28 +0000)]
Merge "[JobQueue] Optimized JobQueueGroup::pop()."

11 years agoMerge "(bug 43981) disable live preview on user .js/.css pages"
jenkins-bot [Tue, 15 Jan 2013 19:21:14 +0000 (19:21 +0000)]
Merge "(bug 43981) disable live preview on user .js/.css pages"

11 years agoMerge "Revert "Live preview no longer experimental""
Krinkle [Tue, 15 Jan 2013 18:51:28 +0000 (18:51 +0000)]
Merge "Revert "Live preview no longer experimental""

11 years agoRevert "Live preview no longer experimental"
Krinkle [Tue, 15 Jan 2013 18:51:21 +0000 (18:51 +0000)]
Revert "Live preview no longer experimental"

It is very much still experimental. The only thing it is capable of right now is rendering wikitext in the page and some basic skin enhancements (sidebar links and templates-used list).

By far it is not complete and lacks many things (such as interactive features like tablesorter and mw-collapsible. And things like preview-javascript on js user pages doesn't work etc.

This reverts commit 006916cd3f47bc07ce54830ab35520b69f2e87c1

11 years ago(bug 43981) disable live preview on user .js/.css pages
MatmaRex [Tue, 15 Jan 2013 18:14:53 +0000 (19:14 +0100)]
(bug 43981) disable live preview on user .js/.css pages

Disable live preview on user .js/.css pages, as there's no sane way of
"previewing" the scripts or styles without reloading the page.

Change-Id: I8750448c827eb965509158bb4a0cd8b0cf3c7a67

11 years agoMerge "(bug 43996) Add support for RC_EXTERNAL type in api"
Reedy [Tue, 15 Jan 2013 15:52:14 +0000 (15:52 +0000)]
Merge "(bug 43996) Add support for RC_EXTERNAL type in api"

11 years ago(bug 43996) Add support for RC_EXTERNAL type in api
aude [Mon, 14 Jan 2013 23:51:33 +0000 (23:51 +0000)]
(bug 43996) Add support for RC_EXTERNAL type in api

- this is for recentchanges
- can be used to filter changes injected from external sources,
such as wikidata and other sources that use this type
Change-Id: I8bd19a8a80b0422ab01d21da1702fc090ffa27d2

11 years agoCleanup HTML of imagepage: avoid empty <ul></ul>
raymond [Wed, 9 Jan 2013 13:30:25 +0000 (14:30 +0100)]
Cleanup HTML of imagepage: avoid empty <ul></ul>

This happens when a redirect without usages exists
While I am in this section: Use modern Html() function

Change-Id: I1af206ab3a83fb0d09773314bb30db01f557ba07

11 years agoMerge "SpecialEditWatchlist: Don't re-escape html option values."
IAlex [Tue, 15 Jan 2013 07:22:02 +0000 (07:22 +0000)]
Merge "SpecialEditWatchlist: Don't re-escape html option values."

11 years agoAPI Cleanup: renamed '_badcontinue'->'badcontinue', one die()
Yuri Astrakhan [Tue, 15 Jan 2013 02:19:16 +0000 (21:19 -0500)]
API Cleanup: renamed '_badcontinue'->'badcontinue', one die()

* If a query module has 'continue' parameter, it will auto-report
that it has 'badcontinue' error.
* Added APIQueryBase::DieUsageContinueIf( $condition ) that shows
correct badcontinue error if $condition is true.

Change-Id: I9c48bda6de0cde3c117ad24460bddf6980279633

11 years ago[JobQueue] Optimized JobQueueGroup::pop().
Aaron Schulz [Mon, 14 Jan 2013 22:06:11 +0000 (14:06 -0800)]
[JobQueue] Optimized JobQueueGroup::pop().

* This also simplifies MediaWiki::doJobs().

Change-Id: I58ee2313453c64d4e8d91f3a65181aaa9c2e847f

11 years agoMerge "Test (escaped) HTML entities in text content and attributes"
Subramanya Sastry [Tue, 15 Jan 2013 00:13:26 +0000 (00:13 +0000)]
Merge "Test (escaped) HTML entities in text content and attributes"

11 years agoTest (escaped) HTML entities in text content and attributes
Gabriel Wicke [Mon, 14 Jan 2013 23:15:52 +0000 (15:15 -0800)]
Test (escaped) HTML entities in text content and attributes

Change-Id: Id4414ff177c7eb08dc43ccfa97993895b93710ca

11 years agoMerge "Fixed empty return values in MemcLockManager."
Demon [Mon, 14 Jan 2013 22:11:19 +0000 (22:11 +0000)]
Merge "Fixed empty return values in MemcLockManager."

11 years agoSpecialEditWatchlist: Don't re-escape html option values.
Timo Tijhof [Mon, 14 Jan 2013 21:43:02 +0000 (22:43 +0100)]
SpecialEditWatchlist: Don't re-escape html option values.

HTMLForm class already escapes them. The values here should be
actual values that can be used directly internally without any
sort of encoding or escaping.

It was working fine because HTMLForm used this array two-way, so
it was also checking against the "wrong" values upon submission.

For the same reason, removing it here will not affect anything.

It does however fix the problem where it is hard to filter these
options in javascript because the values don't match.

Change-Id: Ieb0d4955febaccda2bdca58b316883337831ebfa

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 14 Jan 2013 21:34:31 +0000 (21:34 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id77a9b577c9e77205066ae235161fc2fbf4d7212

11 years agoMerge "Minor cleanup"
jenkins-bot [Mon, 14 Jan 2013 20:15:14 +0000 (20:15 +0000)]
Merge "Minor cleanup"

11 years agoFixed empty return values in MemcLockManager.
Aaron Schulz [Mon, 14 Jan 2013 19:33:50 +0000 (11:33 -0800)]
Fixed empty return values in MemcLockManager.

Change-Id: I50489620f08c577095934ff85cf6dcad4c99ae8d

11 years agoMerge "fixed timestamp validation for api"
jenkins-bot [Mon, 14 Jan 2013 18:56:01 +0000 (18:56 +0000)]
Merge "fixed timestamp validation for api"

11 years agoMerge "Removed useless keys() function from BagOStuff."
Demon [Mon, 14 Jan 2013 11:48:31 +0000 (11:48 +0000)]
Merge "Removed useless keys() function from BagOStuff."

11 years agoMerge "Fix spelling mistake"
IAlex [Mon, 14 Jan 2013 08:28:26 +0000 (08:28 +0000)]
Merge "Fix spelling mistake"

11 years agoFix spelling mistake
Niklas Laxström [Mon, 14 Jan 2013 07:19:29 +0000 (07:19 +0000)]
Fix spelling mistake

Change-Id: I946d0bf5d335a432f453c7a3080686e9500ca2f0

11 years agoImplement wall clock time limits for shell commands
Tim Starling [Sun, 13 Jan 2013 22:48:03 +0000 (09:48 +1100)]
Implement wall clock time limits for shell commands

* Use the "timeout" command to implement wall clock time limits.
* Write a message to stderr when the time limit is exceeded, for
consistency with ulimit
* Configure with $wgMaxShellWallClockTime
* If "time" is specified in $limits, use that as the wall clock limit in
preference to the global variable, to support legacy callers which
usually want to disable the limits.
* Remove the requirement for ulimit5.sh to be executable since this is
not necessary when you specify the interpreter. Should avoid subtle
problems when the executable bit is accidentally stripped.
* Move the interpretation of 0/-1/false limits to the shell script, so
that e.g. wall clock time can be limited even if memory is unlimited.

Change-Id: Id9f2fea7c3b027565bdc33b88a1a7d4cdfe43a6c

11 years agoMerge "Fix erroneous check in refreshLinks.php"
jenkins-bot [Sun, 13 Jan 2013 22:01:27 +0000 (22:01 +0000)]
Merge "Fix erroneous check in refreshLinks.php"

11 years agoMerge "Set RAII $scope variable in DB job queue."
IAlex [Sun, 13 Jan 2013 21:29:59 +0000 (21:29 +0000)]
Merge "Set RAII $scope variable in DB job queue."

11 years agoFix erroneous check in refreshLinks.php
Alexandre Emsenhuber [Sun, 13 Jan 2013 21:13:55 +0000 (22:13 +0100)]
Fix erroneous check in refreshLinks.php

Obviously null === false will never return true,
and what we actually want here is to check whether
we have a content or not.

Change-Id: Id78897e80ba2553c925e10d67c0fce2186aa11fd

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 13 Jan 2013 20:44:41 +0000 (20:44 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Don't apply IP blocks to users with "ipblock-exempt" rights when creating...
jenkins-bot [Sun, 13 Jan 2013 20:31:47 +0000 (20:31 +0000)]
Merge "Don't apply IP blocks to users with "ipblock-exempt" rights when creating an account"

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

Change-Id: I83bb4e1a9f603fff8daf9fb1befaad916d560f52

11 years agoSet RAII $scope variable in DB job queue.
Aaron Schulz [Sun, 13 Jan 2013 19:22:56 +0000 (11:22 -0800)]
Set RAII $scope variable in DB job queue.

Change-Id: I03e1396b4485be62a5bb927f987c6b4816d90d47

11 years agoMerge "Bug 43919 - showJobs.php broken"
IAlex [Sun, 13 Jan 2013 18:48:00 +0000 (18:48 +0000)]
Merge "Bug 43919 - showJobs.php broken"

11 years agoMerge "(bug 40124) allow arbitrary user preferences prefixed with 'userjs-'"
jenkins-bot [Sun, 13 Jan 2013 18:13:50 +0000 (18:13 +0000)]
Merge "(bug 40124) allow arbitrary user preferences prefixed with 'userjs-'"

11 years ago(bug 40124) allow arbitrary user preferences prefixed with 'userjs-'
MatmaRex [Fri, 7 Dec 2012 21:10:12 +0000 (22:10 +0100)]
(bug 40124) allow arbitrary user preferences prefixed with 'userjs-'

Before change I98df55f2 it was possible to set arbitrary preferences (ie.
with anything as the key) using the action=options API. That change
removed this ability by enforcing full validation of the preferences, also
introducing several regressions which were fixed by follow-ups.

Per the discussion on bug 40124, this changeset aims to restore this
ability, but in a slightly restricted way: arbitrary preferences' names
must start with userjs- prefix, to avoid any possibility of conflicting
with new MediaWiki versions or extensions.

The contents of these preferences is not escaped, sanitized nor validated
in any way; script authors are expected to sanitize them themselves to
prevent XSS attacks and other security vulnerabilities.

This commit also adds the User::getOptionsKinds() method (to determine
whether given preference keys are used by MediaWiki itself or an extension,
intended to be used via the API, or entirely unknown) and enhances the
User::resetOptions() method to allow for resetting only preferences of
chosen kinds.

These changes allow for fixing of Special:Preferences not to clear those
additional fields when saving user settings.

Change-Id: I5f9ba5b0dfe7c2ea5458d836f03429cf6d93969d

11 years agoMerge "Reorganise the functions doing wfProfileOut and returning on all if branches."
jenkins-bot [Sun, 13 Jan 2013 17:10:59 +0000 (17:10 +0000)]
Merge "Reorganise the functions doing wfProfileOut and returning on all if branches."

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 agoReorganise the functions doing wfProfileOut and returning on all if branches.
Platonides [Wed, 9 Jan 2013 13:25:49 +0000 (14:25 +0100)]
Reorganise the functions doing wfProfileOut and returning on all if branches.

Makes life easier for static analysis, since they don't need to
handle if the end of a function where a wfProfileOut was not called
was reachable or not.

It is recommended to review this change ignoring whitespaces
(specially for includes/parser/Tidy.php)

Also documented the rationale for the elseif chain in UploadBase::detectVirus()

Change-Id: Ic4f65937fa9e6f926d8fcfd670e3b0e99e06eefc

11 years agoBug 43919 - showJobs.php broken
Reedy [Sun, 13 Jan 2013 16:15:23 +0000 (16:15 +0000)]
Bug 43919 - showJobs.php broken

Change-Id: I99afd66a3ad1700f1cdac4edea31edf740ec1656

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 agoDon't apply IP blocks to users with "ipblock-exempt" rights when creating an account
Alexandre Emsenhuber [Sat, 12 Jan 2013 18:21:04 +0000 (19:21 +0100)]
Don't apply IP blocks to users with "ipblock-exempt" rights when creating an account

So that this check is consistent with the one in User::getBlockedStatus().

Change-Id: Ibcadb15b87794cfe59fc42d862728e5fd46c3413

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 agoMinor cleanup
Yuri Astrakhan [Sat, 12 Jan 2013 06:50:48 +0000 (01:50 -0500)]
Minor cleanup

Fixed spacing, eol chars, "string" --> 'string'

Change-Id: I630247c6c5b469efb67ec9de32e8533ae88e59fb

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