Links created by Linker::makeExternalLink didn't include rel=nofollow

The links created by Linker::makeExternalLink didn't obey $wgNoFollowLinks
(and $wgNoFollowNsExceptions, $wgNoFollowDomainExceptions). To
fix this I made the function call Parser::getExternalLinkRel which
I implemented earlier.

Fixes bug 41983.

Change-Id: I2ff35f89502db2e1f8266f3a943e38c0ea67aced
Fix ApiCreateAccountTest for $wgEnableEmail = false;

1) ApiCreateAccountTest::testInvalidEmail
Failed asserting that exception of type "UsageException" is thrown.

Also explicit log out the user

Change-Id: I1d90c2b78bbcef494dc91822feeba37eebb8ca20
Pass database connection to SpecialWatchlist::countItems

This avoids getting two connection to the 'watchlist' group.

Change-Id: I36cefc7d54cb6ed6c58a6f16932809b72a573d98
Additional tests to catch Parsoid regressions.

Change-Id: I5927ec25d978c9399b1d515a56c6fd39546f3d90
Minor tweaks to installer text

- use "open wiki" (explicit meaning) rather than "traditional wiki" (implicit meaning)
- tweak sentence that explains what the "traditional wiki" is to work with whatever label is used
- "Traditionally" --> "Usually" (less dogmatic)
- use the system message for the "back" button, to match the "next" button

Change-Id: I92b599965c6ed7e405951a37f2d3cbc8710aff16
Make redirect update in refreshLinks.php bypass the redirect table

This makes this script actually useful when updating namespaces by
making sure the target registred in the "redirect" is the correct one.

Consider the following example:

- Create a redirect page pointing to a page "Extra:Target"
- Add $wgExtraNamespaces[100] = 'Extra'; in LocalSettings.php
- run refreshLinks.php

Previously the redirect target of that page was not updated and still
pointing to (0, "Extra:Target") which no longer a valid title.
Now it will be updated correctly to point to (100, "Target").

The value of the page_is_redirect field will also be updated to be
sure it has the correct value, which might be wrong when the target
becomes valid or invalid, e.g. by changing $wgInvalidRedirectTargets.

Change-Id: I458ca63550df56ca96b35749daf4e7b866ab9d93
Fix typo in exception message

Also capitalise first letter and use single quotes for consistency.

Change-Id: Ic09699bd675845334cdd53f39fb9c0f1ab3b61e2
Merge "Minor tweaks to installer text"
Merge "Fix typo in exception message"
mcc can now set memcached debug mode and has help

This patch let us set the debug mode on the memcached connection. Simply
pass --debug as an argument.  I have also added basic usage
documentation with --help, listing the interacting commands as well.

Example output:

$ php mcc.php --help
Usage:
	mcc.php [--debug]
	mcc.php --help

MemCached Command (mcc) is an interactive command tool that let you
interact
with the MediaWiki memcached cache.

Options:
	--debug Set debug mode on the memcached connection.
	--help  This help screen.

Interactive commands:
	get    : grabs something
	getsock: lists sockets
	set    : changes something
	delete : deletes something
	history: show command line history
	server : show current memcached server
	dumpmcc: shows the whole thing
	exit   : exit mcc
	quit   : exit mcc
	help   : help about a command

$

Change-Id: Ib4603eecbd6a8e6f3ba8bf3cf350c0e3df652d3b
Merge "Additional tests to catch Parsoid regressions."
Made upload stash cleanup script scan the temp dir for old files.

Change-Id: I490d66770182b91b23db62728f78cb117d28e1a2
Localisation updates from http://translatewiki.net.

Change-Id: I48ac66945d3f0b66176c5f19c5b703f0fd14989b
(bug 43942) Skip screen sheets with media queries when printing

* Add test suite, with regression tests as well as tests for the fix.

Change-Id: I66d40673cc610370b66af0129412bc6495673f8d
Made Block::purgeExpired() check for read-only mode.

Change-Id: Ida4f82b8e17a0f7ba872e46fd8a4c87831e5254f
Added a read-only check to runJobs.php to avoid log spam.

Change-Id: I049fe087d7e9c59383de8efb34e40d311804951a
[FileBackend] Added work-around for lack of temp url support in rgw.

* The S3 side of rgw can be configured for use with just temp URLs.
  This works around http://tracker.newdream.net/issues/3454.

Change-Id: Id0ee68da10b38e1d0a0ba7ebba26fccc8d32e2d4
Merge "Added a read-only check to runJobs.php to avoid log spam."
Moved $function definition up to make IDE happy.

Change-Id: Ie42ba484c8c2f65a2ae233f0176a286578555cb2
Add guard to Resources.php

Prevent direct calling of this file, just as we do in many other
places. Resources.php threw a fatal when called directly.

Change-Id: I10f5c013e81beaeb48d48e3eeaf1041d7236e9e9