lhc/web/wiklou.git
11 years agoMerge "Fixed some spacing in maintenance folder"
jenkins-bot [Thu, 18 Apr 2013 20:16:25 +0000 (20:16 +0000)]
Merge "Fixed some spacing in maintenance folder"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 18 Apr 2013 19:20:30 +0000 (19:20 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idb721fab7d2bd80ccd07a02365407763585865c0

11 years agoFixed some spacing in maintenance folder
umherirrender [Thu, 18 Apr 2013 18:48:44 +0000 (20:48 +0200)]
Fixed some spacing in maintenance folder

Added spaces before if, foreach
Added some braces for one line statements

Change-Id: I9657f72996358f8c1c154cea1ea97970d973723c

11 years agoPass a limit to BackLinkCache::getNumLinks() in some places to avoid OOMs.
Aaron Schulz [Thu, 18 Apr 2013 18:29:20 +0000 (11:29 -0700)]
Pass a limit to BackLinkCache::getNumLinks() in some places to avoid OOMs.

Change-Id: Idf1042c083837a9e4a380bb20ecdf3043ea9ab09

11 years agoMerge "Normalise user names passed to Special:BlockList"
jenkins-bot [Thu, 18 Apr 2013 17:16:37 +0000 (17:16 +0000)]
Merge "Normalise user names passed to Special:BlockList"

11 years agoNormalise user names passed to Special:BlockList
Alexandre Emsenhuber [Sun, 14 Apr 2013 20:11:51 +0000 (22:11 +0200)]
Normalise user names passed to Special:BlockList

Special:BlockList now handles correctly user names with spaces when passed as subpage

bug: 47218
Change-Id: I3a52c454c64fdc599c7abcdca05b182e09640c59

11 years agoUse a combined const, instead of string concat in Exif.php
umherirrender [Sun, 14 Apr 2013 19:00:28 +0000 (21:00 +0200)]
Use a combined const, instead of string concat in Exif.php

Fix some spacing while at it

Change-Id: I47ff4aef5125dae6308720680641f617b5795a41

11 years agoMerge "Modifying ArticleEditUpdateNewTalk hook so that it passes the recipient"
jenkins-bot [Thu, 18 Apr 2013 13:21:43 +0000 (13:21 +0000)]
Merge "Modifying ArticleEditUpdateNewTalk hook so that it passes the recipient"

11 years agoMerge "Add non DBMS depending SQL tests for DatabaseBase"
jenkins-bot [Thu, 18 Apr 2013 08:42:02 +0000 (08:42 +0000)]
Merge "Add non DBMS depending SQL tests for DatabaseBase"

11 years agoCleaned up test cleanup for FileBackend and avoid use of @.
Aaron Schulz [Wed, 17 Apr 2013 18:20:50 +0000 (11:20 -0700)]
Cleaned up test cleanup for FileBackend and avoid use of @.

Change-Id: Ie9f0090f626384a90b0139b9f8c2d94bf0bb8f23

11 years agoMerge "Make UserCache only look up a user once."
Aaron Schulz [Thu, 18 Apr 2013 04:13:33 +0000 (04:13 +0000)]
Merge "Make UserCache only look up a user once."

11 years ago[JobQueue] Simplified a bit of code in JobQueueRedis.
Aaron Schulz [Thu, 4 Apr 2013 05:19:35 +0000 (22:19 -0700)]
[JobQueue] Simplified a bit of code in JobQueueRedis.

Change-Id: Ia0329a9721b126a3573cfee0d67c9a54c911196f

11 years agoMerge "Do not bother with ForkController for procs=1."
jenkins-bot [Thu, 18 Apr 2013 00:52:10 +0000 (00:52 +0000)]
Merge "Do not bother with ForkController for procs=1."

11 years agoMerge "Fixed spacing in skins folder"
jenkins-bot [Thu, 18 Apr 2013 00:06:48 +0000 (00:06 +0000)]
Merge "Fixed spacing in skins folder"

11 years agoMerge "Got rid of some global $wgContLang usage in SpecialAllpages"
jenkins-bot [Thu, 18 Apr 2013 00:03:40 +0000 (00:03 +0000)]
Merge "Got rid of some global $wgContLang usage in SpecialAllpages"

11 years agoMerge "Fixes to Special:ConfirmEmail form"
jenkins-bot [Thu, 18 Apr 2013 00:00:49 +0000 (00:00 +0000)]
Merge "Fixes to Special:ConfirmEmail form"

11 years agoMerge "Fixed spacing in languages folder"
jenkins-bot [Wed, 17 Apr 2013 23:58:08 +0000 (23:58 +0000)]
Merge "Fixed spacing in languages folder"

11 years agoMerge "else if -> elseif"
jenkins-bot [Wed, 17 Apr 2013 23:54:30 +0000 (23:54 +0000)]
Merge "else if -> elseif"

11 years agoMerge "Add missing braces to for in wfGetCallerTest"
jenkins-bot [Wed, 17 Apr 2013 23:51:17 +0000 (23:51 +0000)]
Merge "Add missing braces to for in wfGetCallerTest"

11 years agoMerge "Fix HTML output of TablePager"
jenkins-bot [Wed, 17 Apr 2013 23:48:26 +0000 (23:48 +0000)]
Merge "Fix HTML output of TablePager"

11 years agoMerge "Fixes to Special:BookSources form"
jenkins-bot [Wed, 17 Apr 2013 23:45:14 +0000 (23:45 +0000)]
Merge "Fixes to Special:BookSources form"

11 years agoMake UserCache only look up a user once.
Brian Wolff [Wed, 17 Apr 2013 21:23:11 +0000 (18:23 -0300)]
Make UserCache only look up a user once.

I noticed on special:listfiles/username, UserCache was doing queries
like select user_whatever from user where user_id in ( '1', '1', ...)
with the same user id 50 times (one for each result returned in the
special page). That seemed a little insane, so put the list of
users to query through a array_unique. (Quite likely the db would
optimize that query to not literally look up the same user 50 times,
but nonetheless it seems better to filter the list before then)

Change-Id: I80c8a359d0f7a53b2420ebcda641e594dd3c56e9

11 years agoDo not bother with ForkController for procs=1.
Aaron Schulz [Wed, 17 Apr 2013 21:23:05 +0000 (14:23 -0700)]
Do not bother with ForkController for procs=1.

Change-Id: I84d4dd5369c5640b849d2fb58e01b8565b2abd65

11 years agoMerge "Make concurrent runs of FileBackendTest independent"
Aaron Schulz [Wed, 17 Apr 2013 20:38:19 +0000 (20:38 +0000)]
Merge "Make concurrent runs of FileBackendTest independent"

11 years agoMerge "Add gender to 'passwordreset-emailerror-capture' message"
jenkins-bot [Wed, 17 Apr 2013 19:55:35 +0000 (19:55 +0000)]
Merge "Add gender to 'passwordreset-emailerror-capture' message"

11 years agoGot rid of some global $wgContLang usage in SpecialAllpages
Daniel Werner [Thu, 14 Mar 2013 17:02:17 +0000 (18:02 +0100)]
Got rid of some global $wgContLang usage in SpecialAllpages

Using $this->getContext()->getLanguage() instead now. In SpecialAllpages::showline
the global is still being used and a comment added. It could be argued about whether
the content language or the user language should be used in that place.

Also added some missing documentation to Language::getNamespaces.

Change-Id: If511e2d9edb0f0092f3ca0ceadabd7fdb72f6c06

11 years agoAdd gender to 'passwordreset-emailerror-capture' message
Alexandre Emsenhuber [Fri, 12 Apr 2013 07:47:56 +0000 (09:47 +0200)]
Add gender to 'passwordreset-emailerror-capture' message

Bug: 46646
Change-Id: Ib775597d7d5b5afd84717fc7064a73721bc1a01c

11 years agoMake concurrent runs of FileBackendTest independent
Brian Wolff [Wed, 17 Apr 2013 19:11:45 +0000 (16:11 -0300)]
Make concurrent runs of FileBackendTest independent

Make each run of the FileBackendTest be for a different "wiki"
so you could have multiple runs at the same time without them
interfering with each other.

There's been intermittent failures on jenkins for this test. I'm
not sure if its some race condition (which wouldn't really make
sense given each run should be independent I thought), but this
can't hurt.

Change-Id: I3b639f1c783efc140028c3acdce35ef3f58bf66f

11 years agoFixed spacing in languages folder
umherirrender [Wed, 17 Apr 2013 19:10:02 +0000 (21:10 +0200)]
Fixed spacing in languages folder

Added spaces before if
Added some braces for one line statements

Change-Id: I980771894369499646532b13b801db6447381773

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 17 Apr 2013 18:56:11 +0000 (18:56 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I29386c98e8d9308a6cbebe8b654834996ac36b0c

11 years agoAdd missing braces to for in wfGetCallerTest
umherirrender [Wed, 17 Apr 2013 18:11:34 +0000 (20:11 +0200)]
Add missing braces to for in wfGetCallerTest

Change-Id: I14b7abb90e2574022c792a6874390eee87d48708

11 years agoMerge "Set up the profiler in CLI mode."
Aaron Schulz [Wed, 17 Apr 2013 17:58:57 +0000 (17:58 +0000)]
Merge "Set up the profiler in CLI mode."

11 years agoMerge "[FileBackend] Simplified the shard list iterator to use AppendIterator and...
Aaron Schulz [Wed, 17 Apr 2013 17:58:30 +0000 (17:58 +0000)]
Merge "[FileBackend] Simplified the shard list iterator to use AppendIterator and FilterIterator."

11 years agoMerge "Reduced DB contention in User::saveOptions()."
Aaron Schulz [Wed, 17 Apr 2013 17:58:03 +0000 (17:58 +0000)]
Merge "Reduced DB contention in User::saveOptions()."

11 years agoMerge "Small doc fix to JobQueueRedis."
Aaron Schulz [Wed, 17 Apr 2013 17:35:25 +0000 (17:35 +0000)]
Merge "Small doc fix to JobQueueRedis."

11 years agoMerge "Set 'skin' template parameter rather than override parent method"
jenkins-bot [Wed, 17 Apr 2013 17:11:17 +0000 (17:11 +0000)]
Merge "Set 'skin' template parameter rather than override parent method"

11 years ago[FileBackend] Simplified the shard list iterator to use AppendIterator and FilterIter...
Aaron Schulz [Sun, 31 Mar 2013 11:01:11 +0000 (04:01 -0700)]
[FileBackend] Simplified the shard list iterator to use AppendIterator and FilterIterator.

Change-Id: I22f79447b1edec4fa6d7fc06d67f3f831a484f16

11 years agoReduced DB contention in User::saveOptions().
Aaron Schulz [Tue, 16 Apr 2013 19:43:04 +0000 (12:43 -0700)]
Reduced DB contention in User::saveOptions().

Change-Id: Ic91501cd6476dae54b54b85f2f06c25bd2577c9b

11 years agoSmall doc fix to JobQueueRedis.
Aaron Schulz [Wed, 17 Apr 2013 00:41:41 +0000 (17:41 -0700)]
Small doc fix to JobQueueRedis.

Change-Id: I217b3642c67338f7d45995d81e5e18887242479a

11 years agoSet up the profiler in CLI mode.
Aaron Schulz [Wed, 17 Apr 2013 01:20:00 +0000 (18:20 -0700)]
Set up the profiler in CLI mode.

Change-Id: I7f36786573870b66b4f1e93c2fc2e444f1ae1252

11 years agoelse if -> elseif
umherirrender [Wed, 17 Apr 2013 14:52:47 +0000 (16:52 +0200)]
else if -> elseif

Also fixed some spacing while at it
Added some braces for one line statements

Change-Id: Iebfa2b17091509daabc76248121c7763e2295d20

11 years agoMove release notes from 1.21 to 1.22
Kevin Israel [Wed, 17 Apr 2013 02:56:36 +0000 (22:56 -0400)]
Move release notes from 1.21 to 1.22

Several change sets that added entries to RELEASE-NOTES-1.21 were
actually submitted after the REL1_21 branch point. Those change
sets that are unlikely to be backported to 1.21 (i.e. not yet
backported) are listed here.

* I0f2d81dd (bug 23393) (bug 45803)
* I226349aa
* I3faa9c3e (bug 23343)
* I6e7f4cf6
* I719d84c5
* I97b04673
* Ia98f54f4
* Idab489fc (bug 25325)
* Ifaf40c66 (bug 46680)

This patch moves the release notes to the RELEASE-NOTES-1.22 file.

Change-Id: I6a51e3ee07fe7622b9c708c78563795d7a1118fc

11 years agoRebuild MessagesEn.php
Siebrand Mazeland [Wed, 17 Apr 2013 09:11:38 +0000 (11:11 +0200)]
Rebuild MessagesEn.php

php maintenance\language\rebuildLanguage.php --lang=en

Change-Id: I6a51f75b393e7c85b93a79bc1f09c57ad7e79f93

11 years agoClean up old way to disable variants (using a special name 'disable')
Liangent [Wed, 17 Apr 2013 04:01:16 +0000 (12:01 +0800)]
Clean up old way to disable variants (using a special name 'disable')

$wgDisabledVariants is the preferred setting now since 1.16. For some
reason, the 'disable' magic name hasn't been cleaned up completely and
only affects skinning.

Someone may want to run rebuildLanguage.php later because messages.inc
is modified here. I didn't run it because it introduces too many
unrelated edits messing up this patch.

Change-Id: Ifb005e7cc9efd0b4a4f87fd491a71c8d5e1a5748

11 years agoSet 'skin' template parameter rather than override parent method
Ori Livneh [Wed, 17 Apr 2013 03:51:18 +0000 (20:51 -0700)]
Set 'skin' template parameter rather than override parent method

BaseTemplate's getSkin() method is perfectly adequate if you simply set a
skin value where it expects it. Doing so obviates the need to reimplement
getSkin() in UserloginTemplateVForm and UsercreateTemplateVForm.

Change-Id: Icd22de2218fc96cb67c11d0c1763b607743fe3b6

11 years agoSupport HTTP timeout detection in curl backend
Chad Horohoe [Tue, 16 Apr 2013 23:07:12 +0000 (19:07 -0400)]
Support HTTP timeout detection in curl backend

We already do this for the pure-PHP backend, and it's easy to
catch this single error and pass a more specific message

Change-Id: I8a81dd90b691c35c51a19f8790f06578dd067613

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 16 Apr 2013 19:19:33 +0000 (19:19 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ibba6af6cc653791657989c97d74ed2a6a4c25014

11 years agoUse onTransactionIdle() for page invalidations when not using the job queue.
Aaron Schulz [Tue, 16 Apr 2013 17:16:10 +0000 (10:16 -0700)]
Use onTransactionIdle() for page invalidations when not using the job queue.

* This will do the page_touched UPDATE in autocommit mode to avoid
  locking a bunch of titles for some unknown amount of time that
  depends on how big the transaction is.

Change-Id: I6ec16a73c11fbf19c24d2b7fe7d01f91b9dcf33a

11 years agoAdd non DBMS depending SQL tests for DatabaseBase
umherirrender [Sat, 13 Apr 2013 14:40:04 +0000 (16:40 +0200)]
Add non DBMS depending SQL tests for DatabaseBase

Created a DatabaseTestHelper class, which extends DatabaseBase and
implements STUBs for the interface methods and abstract methods

Change-Id: I9965b3604e78b2722077a35a7b4ce62a5bcb370e

11 years agoSome tweaks to the database commit callback docs.
Aaron Schulz [Tue, 16 Apr 2013 07:28:45 +0000 (00:28 -0700)]
Some tweaks to the database commit callback docs.

Change-Id: Ifc1687f5393046d000a49aa7850c6454d03154b8

11 years agoAccount for $wgSquidMaxage in OutputPage::checkLastModified().
Aaron Schulz [Tue, 9 Apr 2013 20:55:36 +0000 (13:55 -0700)]
Account for $wgSquidMaxage in OutputPage::checkLastModified().

* This deals with the fact that seldom edited pages can end up cached
  with very stale resource (JS/CSS) references since the response to
  IMS GET requests will be 304 Not Modified if page_touched is ancient.
  When squid revalidates its stale cache it will keep getting 304s and
  renewing the TTL on the stale cache.

Bug: 44570
Change-Id: I3889f300012aeabd37e228653279ad19b296e4ae

11 years agoMerge "Cleanup and performance tweaks for BacklinkCache."
jenkins-bot [Tue, 16 Apr 2013 06:50:19 +0000 (06:50 +0000)]
Merge "Cleanup and performance tweaks for BacklinkCache."

11 years agoPushed updateCategoryCounts() to transaction end to reduce contention.
Aaron Schulz [Thu, 11 Apr 2013 21:02:12 +0000 (14:02 -0700)]
Pushed updateCategoryCounts() to transaction end to reduce contention.

* This can really be a problem if locks are held during file related operations.

Change-Id: I00107ffc9951915d3af6002b258b3dae2de5fa92

11 years ago[Database] Added onTransactionPreCommitOrIdle() function.
Aaron Schulz [Thu, 11 Apr 2013 06:54:14 +0000 (23:54 -0700)]
[Database] Added onTransactionPreCommitOrIdle() function.

* Also fixed case where onTransactionIdle() could start uncommitted
  transactions if there was no transanction and DBO_TRX was set.

Change-Id: I0bf6171fac692cf3d6e04011321bed075f58724b

11 years agoMerge "Set Agora font stack to mw-ui-container in Vector"
jenkins-bot [Mon, 15 Apr 2013 22:24:36 +0000 (22:24 +0000)]
Merge "Set Agora font stack to mw-ui-container in Vector"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 15 Apr 2013 21:11:56 +0000 (21:11 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Disable external entities in Import"
csteipp [Mon, 15 Apr 2013 20:56:14 +0000 (20:56 +0000)]
Merge "Disable external entities in Import"

11 years agoMerge "Add git HEAD date to Special:Version for core and extensions"
jenkins-bot [Mon, 15 Apr 2013 20:55:10 +0000 (20:55 +0000)]
Merge "Add git HEAD date to Special:Version for core and extensions"

11 years agoMerge "Disable external entities in XMLReader"
csteipp [Mon, 15 Apr 2013 20:55:07 +0000 (20:55 +0000)]
Merge "Disable external entities in XMLReader"

11 years agoMerge "Sanitize $limitReport before outputting"
csteipp [Mon, 15 Apr 2013 20:54:19 +0000 (20:54 +0000)]
Merge "Sanitize $limitReport before outputting"

11 years agoDisable external entities in Import
csteipp [Mon, 15 Apr 2013 20:47:10 +0000 (13:47 -0700)]
Disable external entities in Import

Temporarily disable loading entities in XMLReader when calling read()
during import.

bug: 47251

Change-Id: I0b39386e6cf4ec0244aab8ebc4095922511e2964

11 years agoDisable external entities in XMLReader
csteipp [Mon, 15 Apr 2013 20:44:23 +0000 (13:44 -0700)]
Disable external entities in XMLReader

Temporarily disable loading entities in XMLReader when calling read()
with libxml_disable_entity_loader(true).

bug: 46859

Change-Id: I0b2ef270f15c7b4da17edee680bf7e2410919915

11 years agoSanitize $limitReport before outputting
csteipp [Mon, 15 Apr 2013 20:42:02 +0000 (13:42 -0700)]
Sanitize $limitReport before outputting

Prevents possible injection of "-->" and other HTML by extensions using
the ParserLimitReport hook.

bug: 46084
Change-Id: Id97b6668da6df3e5e4c0acefffa00c82cac3c44a

11 years agoAdd git HEAD date to Special:Version for core and extensions
DaSch [Wed, 1 Aug 2012 20:49:17 +0000 (22:49 +0200)]
Add git HEAD date to Special:Version for core and extensions

The patch adds the localised commit date of i) core and ii) extensions
in the Special:Version page tables. It requires the Git version control
system being installed, which is checked during the installation.

Introduces a new parameter for the git binary in DefaultSettings.php:
$wgGitBin = '/usr/bin/git';

Patch authored by DaSch <dasch@daschmedia.de> and updated and fixed
by Wikinaut<mail@tgries.de>.

Bug: 38783
Change-Id: I0931400ecacf91ed2ab4fc7aa46dceac17661768

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 15 Apr 2013 20:43:19 +0000 (20:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie18fd3023c90008b80d8bf3eb888dce4d872fd90

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

11 years agoFixed spacing in skins folder
umherirrender [Mon, 15 Apr 2013 19:38:16 +0000 (21:38 +0200)]
Fixed spacing in skins folder

Added spaces inside function calls
Added spaces before if, foreach
Replaced endif, endforeach with curly braces
Added some braces for one line statements

Change-Id: If934d5343ae28b1b54451754cb78358b213ea71c

11 years agoMerge "Moved JobQueueDB::recycleAndDeleteStaleJobs() function below overriden ones."
Brion VIBBER [Mon, 15 Apr 2013 18:15:41 +0000 (18:15 +0000)]
Merge "Moved JobQueueDB::recycleAndDeleteStaleJobs() function below overriden ones."

11 years agoMerge "(bug 42607) $.tablesorter: require separators when detecting dates"
jenkins-bot [Mon, 15 Apr 2013 17:09:42 +0000 (17:09 +0000)]
Merge "(bug 42607) $.tablesorter: require separators when detecting dates"

11 years agoMerge "5 new tests (3 Parsoid serializer, 2 parser) & fixed 4 tests."
GWicke [Mon, 15 Apr 2013 16:46:32 +0000 (16:46 +0000)]
Merge "5 new tests (3 Parsoid serializer, 2 parser) & fixed 4 tests."

11 years agoGet rid of wfScript in MediaWikiSite::normalizePageName
Tobias Gritschacher [Mon, 15 Apr 2013 09:50:07 +0000 (11:50 +0200)]
Get rid of wfScript in MediaWikiSite::normalizePageName

wfScript should not be used to construct URLs for calls to other wikis

Bug: 47242
Change-Id: Id5aaa58f10d513e082b217aeb8d88b8228341a48

11 years agoRemoved old cache update b/c code from 2007.
Aaron Schulz [Thu, 11 Apr 2013 18:12:52 +0000 (11:12 -0700)]
Removed old cache update b/c code from 2007.

Change-Id: Ia19062cb48f7748501c061544b2949bf3beaba4d

11 years agoModifying ArticleEditUpdateNewTalk hook so that it passes the recipient
kaldari [Sun, 14 Apr 2013 22:30:24 +0000 (15:30 -0700)]
Modifying ArticleEditUpdateNewTalk hook so that it passes the recipient

The recipient is the user who's talk page was edited. Extensions may
want to send or not send the notification based on some aspect of the
user, for example a preference.

Bug: 46550
Change-Id: Ifc8fbaf8fdc96f9c18c2a889d2e854e49b3a7010

11 years agoMerge "Fixed incorrect parameter passed to LoginForm::userBlockedMessage()"
jenkins-bot [Sun, 14 Apr 2013 22:04:25 +0000 (22:04 +0000)]
Merge "Fixed incorrect parameter passed to LoginForm::userBlockedMessage()"

11 years agoMerge "Added spaces before and removed spaces after 'array'"
jenkins-bot [Sun, 14 Apr 2013 22:01:51 +0000 (22:01 +0000)]
Merge "Added spaces before and removed spaces after 'array'"

11 years agoFixed incorrect parameter passed to LoginForm::userBlockedMessage()
Alexandre Emsenhuber [Sun, 14 Apr 2013 20:43:58 +0000 (22:43 +0200)]
Fixed incorrect parameter passed to LoginForm::userBlockedMessage()

The error is Catchable fatal error: Argument 1 passed to
LoginForm::userBlockedMessage() must be an instance of Block, null given.

The problem is that User::$mBlock is not always the correct block, when
checking that a blocked logged-in user can create an account.

bug: 47138
Change-Id: I43f35cfa342737f05a08a693a86949c14348321f

11 years agoAdded spaces before and removed spaces after 'array'
umherirrender [Sun, 14 Apr 2013 19:57:46 +0000 (21:57 +0200)]
Added spaces before and removed spaces after 'array'

Fix some other spacing while at it

Change-Id: I13f81533eaf40e06c13cf377c0f08ef5cef01d00

11 years agoMerge "Use a provider for Xff blocking tests"
jenkins-bot [Sun, 14 Apr 2013 19:49:05 +0000 (19:49 +0000)]
Merge "Use a provider for Xff blocking tests"

11 years agoUpdate/add documentation
Siebrand Mazeland [Sun, 14 Apr 2013 19:18:38 +0000 (21:18 +0200)]
Update/add documentation

Change-Id: I897d5833cdaf7dc2d3bca5bb5551958611f22bd9

11 years agoUse a provider for Xff blocking tests
csteipp [Sat, 30 Mar 2013 17:05:15 +0000 (10:05 -0700)]
Use a provider for Xff blocking tests

Move the block insertion to addDBData(), and use a provider to
itterate through the test strings.

This seems like the more correct way to run these tests, although it
still seems hacky, since the db isn't cleaned up after each test.

Change-Id: Ib22ce69797ec03a61b0cc330e8572865290ebd31

11 years agoMerge "Added/Removed spaces around string concatenation"
jenkins-bot [Sun, 14 Apr 2013 08:41:20 +0000 (08:41 +0000)]
Merge "Added/Removed spaces around string concatenation"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 13 Apr 2013 20:31:14 +0000 (20:31 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I019d72ecef04cd1851c951d76818afb81ae3f763

11 years agoMerge "JSHint: Re-order jshintrc options to split common from project settings"
jenkins-bot [Sat, 13 Apr 2013 19:14:19 +0000 (19:14 +0000)]
Merge "JSHint: Re-order jshintrc options to split common from project settings"

11 years agoAdded/Removed spaces around string concatenation
umherirrender [Sat, 13 Apr 2013 11:36:24 +0000 (13:36 +0200)]
Added/Removed spaces around string concatenation

And added/removed spaces around some other tokens,
like +, -, *, /, <, >, =, !

Fixed windows newline style

Change-Id: I0b9c8c408f3f6bfc0d685a074d7ec468fb848fc8

11 years agoJSHint: Re-order jshintrc options to split common from project settings
Timo Tijhof [Sat, 13 Apr 2013 06:47:00 +0000 (08:47 +0200)]
JSHint: Re-order jshintrc options to split common from project settings

There are certain options required by our coding conventions.
The others are specifically overriding it for core. Either
because we have certain code that needs laxing or because we
can be stricter.

Comments can be used in jshintrc since a while now. Though
they are invalid JSON, many parsers (including JSHint) allow
them for documentation purposes.

Change-Id: I43ace21208121e866900b2cbe1efbcebadd2946a

11 years agoMerge "Various code and doc cleanups to ChronologyProtector."
jenkins-bot [Sat, 13 Apr 2013 01:26:59 +0000 (01:26 +0000)]
Merge "Various code and doc cleanups to ChronologyProtector."

11 years agoSet Agora font stack to mw-ui-container in Vector
S Page [Fri, 12 Apr 2013 23:37:05 +0000 (16:37 -0700)]
Set Agora font stack to mw-ui-container in Vector

We moved the language links outside the new compact vertical form
layout, hence also need to apply the font stack to mw-ui-container when
using Vector skin.

Also
* a comment-only CSS change
* set relative_assets = true in Compass sourcefiles configuration

Bug: 47187
Change-Id: Id064dc8ada5c43c33e17d1e66d327ba05e918657

11 years agoMerge "Fix sequence issue with /signup URL form"
Matthew Flaschen [Fri, 12 Apr 2013 23:19:35 +0000 (23:19 +0000)]
Merge "Fix sequence issue with /signup URL form"

11 years agoSome comments for Preferences.php
kaldari [Fri, 12 Apr 2013 21:01:30 +0000 (14:01 -0700)]
Some comments for Preferences.php

Change-Id: I65d448acf1a53c95efe94587b695718f3231f538

11 years agoMerge "Update/fix docs"
jenkins-bot [Fri, 12 Apr 2013 20:28:38 +0000 (20:28 +0000)]
Merge "Update/fix docs"

11 years agoUpdate/fix docs
Siebrand Mazeland [Mon, 1 Apr 2013 18:24:26 +0000 (20:24 +0200)]
Update/fix docs

Change-Id: Ifa3cfc6fe38ea45e70b50683c36e7cbf3bb4ef82

11 years agoFix sequence issue with /signup URL form
Matthew Flaschen [Fri, 12 Apr 2013 05:10:53 +0000 (01:10 -0400)]
Fix sequence issue with /signup URL form

/signup subpage affects form display and title (just like ?type=signup),
so check for it earlier in execute().
Also rename execute()'s $par parameter to $subPage to match SubPage.php.

Change-Id: Ida615a1039bfa1d8328f5fda24c4e3da66b9d162

11 years agoMerge "Update limit/urlwidth param doc of prop=imageinfo"
jenkins-bot [Fri, 12 Apr 2013 19:25:22 +0000 (19:25 +0000)]
Merge "Update limit/urlwidth param doc of prop=imageinfo"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 12 Apr 2013 18:41:21 +0000 (18:41 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMade $wgMaxBacklinksInvalidate actually work.
Aaron Schulz [Fri, 12 Apr 2013 17:47:31 +0000 (10:47 -0700)]
Made $wgMaxBacklinksInvalidate actually work.

* The check never worked before due to the 200 limit passed to getNumLinks().

Change-Id: I009c757c6437f22544a8d7d09d3534950c32c887

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 12 Apr 2013 17:43:42 +0000 (17:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie707fb7d84d7ceb47089a618707a05c45c29e7f1

11 years agoFixes to Special:ConfirmEmail form
Alexandre Emsenhuber [Fri, 12 Apr 2013 17:37:54 +0000 (19:37 +0200)]
Fixes to Special:ConfirmEmail form

- Use Html class instead of Xml or raw strings where possible
- Add line breaks to the output for better readability

Change-Id: I93ddb3a5ecaa97c1b16c19b170e51b8cf9723d4d

11 years agoMerge "Support for linking directly to sections in ApiFeedWatchlist. It works only...
jenkins-bot [Fri, 12 Apr 2013 15:02:41 +0000 (15:02 +0000)]
Merge "Support for linking directly to sections in ApiFeedWatchlist.  It works only if a section name is present in item's comment."

11 years agoUse wfAppendQuery to append a query
umherirrender [Thu, 11 Apr 2013 18:22:11 +0000 (20:22 +0200)]
Use wfAppendQuery to append a query

Also pass a array to wfAppendQuery, which than does the urlencoding.

Prefer a wfScript() over the global or string

Change-Id: Icada534cb4c99c9441938a2e8dcbc11a142360c6

11 years agoMerge "Add devunt to CREDITS as patch contributor"
jenkins-bot [Fri, 12 Apr 2013 00:54:25 +0000 (00:54 +0000)]
Merge "Add devunt to CREDITS as patch contributor"