BUG MySQLDatabase performs queries on wrong DB connection when using connection $name != 'default'
Merge pull request #3465 from tractorcow/pulls/3.1/fix-query

BUG MySQLDatabase performs queries on wrong DB connection when using connection $name != default
showqueries output incorrectly shows "ms" instead of "s"
Merge pull request #3466 from halkyon/showqueries_label

showqueries output incorrectly shows "ms" instead of "s"
BUG CSSContentParser fails if CLI tidy doesn't output anything.

In cases where CLI tidy fails to recognise HTML with errors or
unknown HTML5 elements, it doesn't output any content and
CSSContentParser fails.

This adds the --force-output parameter so that it always outputs
the input content, even if it wasn't completely fixed by tidy.

It seems that tidy class in PHP already does this, so this just
fixes the CLI use of tidy in CSSContentParser to be consistent.

This fix can be observed on the HHVM travis builds, as tidy isn't
compiled into HHVM as an extension.
DataList spelling error

Minor spelling error in DataList
Merge pull request #3469 from stevie-mayhew/patch-1

DataList spelling error
Update templates.md

Remove link to page which wasn't continued since 2.4.
Merge pull request #3470 from spekulatius/patch-2

Update templates.md
Merge pull request #3468 from halkyon/tidy_fixes

BUG CSSContentParser fails if CLI tidy doesn't output anything.