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

11 years agoAdd devunt to CREDITS as patch contributor
JuneHyeon Bae [Sat, 16 Mar 2013 15:33:29 +0000 (00:33 +0900)]
Add devunt to CREDITS as patch contributor

Contributions to core are in Gerrit changes I316685262, I42be68c6a, and I45d04691a.

Change-Id: Ic917af8e0c7c9f49528a7309e22c0a60505ba5e8

11 years ago5 new tests (3 Parsoid serializer, 2 parser) & fixed 4 tests.
Subramanya Sastry [Tue, 2 Apr 2013 16:42:51 +0000 (11:42 -0500)]
5 new tests (3 Parsoid serializer, 2 parser) & fixed 4 tests.

* Updated html output of two parsoid-centric tests to reflect
  changes in parsoid output.
* Updated 'disabled parsoid' options on two tests to 'parsoid'.
* Added three more tests for the Parsoid serializer.
* Added two tests documenting differences in PHP and Parsoid
  output for overlapping HTML tags (sometimes seen on wikipedia
  pages).

Change-Id: Id72fc5de5a09490028b64a522db3461970008960

11 years agoMerge "Revised design of Special:Userlogin"
jenkins-bot [Thu, 11 Apr 2013 23:31:51 +0000 (23:31 +0000)]
Merge "Revised design of Special:Userlogin"

11 years agoVarious code and doc cleanups to ChronologyProtector.
Aaron Schulz [Thu, 11 Apr 2013 23:20:57 +0000 (16:20 -0700)]
Various code and doc cleanups to ChronologyProtector.

Change-Id: I4d76e4c627e399f733d078c5cc97020f363094c4

11 years agoMerge "Add ChronologyProtector to ExternalLBs"
jenkins-bot [Thu, 11 Apr 2013 22:40:37 +0000 (22:40 +0000)]
Merge "Add ChronologyProtector to ExternalLBs"

11 years agoRevised design of Special:Userlogin
S Page [Tue, 5 Mar 2013 03:13:39 +0000 (19:13 -0800)]
Revised design of Special:Userlogin

If a global variable is set or if you add ?useNew=1 to the query string,
Special:Userlogin loads a different login template (UserloginVForm.php)
with the new Vertical Form appearance and different messaging.
Otherwise the current unchanged template renders so that wikis can cut
over to the new look when ready (with messages and links). Once they do
so, the variable and flag will be retired.

The new template applies mw-ui-vform and mw-ui-button styles defined in
a new 'mediawiki.ui' CSS module in core to create a compact vertical
form.  The mw-ui styles specify a Helvetica font stack (that we tested
in the Account creation experiment) in the form area, but NOT if the
user is using some other skin than Vector.

The CSS code is developed using Sass. The patch includes the
Sass scss files, along with a Makefile that uses their Compass build
configuration (config.rb).

The redesigned Special:Userlogin also:

* Displays a "secure login" link if HTTPS is available.
* Loads additional CSS for its form features (e.g. more attractive
  errorbox, "Join wiki" messaging).
* Defines new "userlogin-xx" messages; many are the same as
  existing messages but without ':' on the end.
* Uses a distinct title for Login instead of generic "Log in /
  Create account".
* Removes the [mailmypassword] code branch from its login template as it
  is never executed.

Bug: 44628
Change-Id: I489042c50aa060c90ca18b05097dbe25c4ae6395

11 years agoMerge "Moved ChronologyProtector to its own file."
Brion VIBBER [Thu, 11 Apr 2013 21:47:48 +0000 (21:47 +0000)]
Merge "Moved ChronologyProtector to its own file."

11 years agoMerge "Fixed use of __METHOD__ in a closure."
jenkins-bot [Thu, 11 Apr 2013 21:31:44 +0000 (21:31 +0000)]
Merge "Fixed use of __METHOD__ in a closure."

11 years agoMerge "phpcs: Fix Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore violations"
jenkins-bot [Thu, 11 Apr 2013 21:20:58 +0000 (21:20 +0000)]
Merge "phpcs: Fix Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore violations"

11 years agoMoved ChronologyProtector to its own file.
Aaron Schulz [Thu, 11 Apr 2013 21:08:45 +0000 (14:08 -0700)]
Moved ChronologyProtector to its own file.

Change-Id: I01bf0206322454e36633921887d10356a48ab5cb

11 years agoFixed use of __METHOD__ in a closure.
Aaron Schulz [Thu, 11 Apr 2013 21:04:23 +0000 (14:04 -0700)]
Fixed use of __METHOD__ in a closure.

Change-Id: I41dc0ba4aff39d5a65cd1ccb3fba6c102974e6c2

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 11 Apr 2013 20:29:10 +0000 (20:29 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Disable Special:PasswordReset when $wgEnableEmail is false"
jenkins-bot [Thu, 11 Apr 2013 20:02:08 +0000 (20:02 +0000)]
Merge "Disable Special:PasswordReset when $wgEnableEmail is false"

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

Change-Id: I6c19864b175b2cbb84273326a981467af2db8610

11 years agoDisable Special:PasswordReset when $wgEnableEmail is false
JuneHyeon Bae [Tue, 12 Mar 2013 06:10:17 +0000 (15:10 +0900)]
Disable Special:PasswordReset when $wgEnableEmail is false

Previously one could still navigate to the page by entering its URL directly,
and from there be able to request a password reset e-mail for any user who has
an e-mail address configured. This patch adds a check for $wgEnableEmail in the
SpecialPage code, replacing the interface with an error message when e-mail is
not enabled.

Change-Id: I42be68c6a068aafdf45623eb35bb21aa684f54f6

11 years agoMerge "Minor fix to redis queue docs."
jenkins-bot [Thu, 11 Apr 2013 19:50:21 +0000 (19:50 +0000)]
Merge "Minor fix to redis queue docs."

11 years agoMerge "Consistency tweak: Wrap variable names into <code></code>"
Yuvipanda [Thu, 11 Apr 2013 19:27:21 +0000 (19:27 +0000)]
Merge "Consistency tweak: Wrap variable names into <code></code>"

11 years agoMinor fix to redis queue docs.
Aaron Schulz [Thu, 11 Apr 2013 18:50:19 +0000 (11:50 -0700)]
Minor fix to redis queue docs.

Change-Id: I27394ddc8187ab3e9c275e2d72911318cc496604

11 years agoMerge "Added a quick test for getAllQueuedJobs()."
jenkins-bot [Thu, 11 Apr 2013 17:25:43 +0000 (17:25 +0000)]
Merge "Added a quick test for getAllQueuedJobs()."

11 years agoUpdate limit/urlwidth param doc of prop=imageinfo
umherirrender [Thu, 4 Apr 2013 15:34:22 +0000 (17:34 +0200)]
Update limit/urlwidth param doc of prop=imageinfo

Follow up Id0ec6a and to clarify things like bug 46782

Change-Id: I2215d022a47cd8ceeadd2f5d38064495f3197772

11 years agoMerge "Remove externaledit/externaldiff preference"
jenkins-bot [Thu, 11 Apr 2013 16:15:27 +0000 (16:15 +0000)]
Merge "Remove externaledit/externaldiff preference"

11 years agoUpdate documentation and styling
Siebrand Mazeland [Mon, 8 Apr 2013 12:09:48 +0000 (14:09 +0200)]
Update documentation and styling

Remove some trailing whitespace, break long lines, make PHPDoc consistent
and update it in places.

Change-Id: I340b43a47e121a44ebd4aaa2a45dff12e945e645

11 years agoAdd ChronologyProtector to ExternalLBs
Matthias Mullie [Thu, 11 Apr 2013 13:22:40 +0000 (15:22 +0200)]
Add ChronologyProtector to ExternalLBs

Change-Id: Ic6c4e86b520f7899172e3ab43e81c4d1d9637d82

11 years agoRemove externaledit/externaldiff preference
Chad Horohoe [Thu, 11 Apr 2013 13:20:36 +0000 (09:20 -0400)]
Remove externaledit/externaldiff preference

Change-Id: Ic3791d188688f556753ab5556a4d9733bbf2e85e

11 years agogiven name correction in CREDITS
Wikinaut [Thu, 11 Apr 2013 10:39:14 +0000 (12:39 +0200)]
given name correction in CREDITS

Change-Id: I1afdad0129980a988e5626351cff94c38d01688f

11 years agophpcs: Fix Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore violations
Timo Tijhof [Thu, 11 Apr 2013 05:29:05 +0000 (07:29 +0200)]
phpcs: Fix Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore violations

ERROR: Closing brace must be on a line by itself
Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore

- For non-empty scopes it means the closing brace must be on a separate
  line. This is already the case in most classes in some cases the "lazy
  closing" is still used.
  array(
   'x' ); // Moved } to next line
  function () { return 'x'; } // Moved } to next line
  case 1:
    stuff; break; // Moved break to next line
- For empty function it serves as a visual distinction between there not
  being a scope block / function body and there being an empty function
  body.
  function foo(); // No body
  function foo() {} // Empty body - violation
  function bar() { // Empty body corrected
  }

Change-Id: I0310ec379c6d41cc7d483671994d027a49f32164

11 years agoAdd @since line for User::groupHasPermission()
Kevin Israel [Thu, 11 Apr 2013 02:18:43 +0000 (22:18 -0400)]
Add @since line for User::groupHasPermission()

Change-Id: Ibcd20a3921058a010334e0e0983e2d9541aea734
Follows-up: I41edb091fa35c8c68b6f95cc5fd208ea99418cdb

11 years agoMerge "Minor coding style whitespace cleanup"
jenkins-bot [Wed, 10 Apr 2013 22:35:11 +0000 (22:35 +0000)]
Merge "Minor coding style whitespace cleanup"

11 years agoMinor coding style whitespace cleanup
Amir E. Aharoni [Thu, 14 Mar 2013 22:23:30 +0000 (00:23 +0200)]
Minor coding style whitespace cleanup

Change-Id: Ic066eda3a1a2db51b2a953a81829ce7f92568125

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

Change-Id: Id27f47305ed695264d422df9fa51d6492b838b88