Documentation improvements in ChangeTags.php

- Variables in ChangeTags::addTags() can be null since it is
  their default value
- Make comment mark consistent

Change-Id: Icc8b2e81cf7213e6d81ce30ac0b4de57f640a638
Make the global objects documentation consistent in Setup.php

Change-Id: I7ba179ea2202586854194c4f20f403ed9fd60aa3
API: Fix queries for list=allusers&auactiveusers

The query introduced to support the auactiveusers is itself broken (it
counts every edit multiple times when combined with the group filters or
auprop=groups or auprop=rights, or for users with multiple rows in
ipblocks) and it breaks auprop=groups and auprop=rights.

Instead, let's filter using the same cached data used by
Special:ActiveUsers and do the actual counting of recent "edits" in a
subquery. And for parity with Special:ActiveUsers, let's skip
RC_EXTERNAL when doing the count.

Also, it turns out the "recenteditcount" property in the result is
really more like "recentactions" since it counts any action that shows
up in recentchanges; the discrepancy between that and "editcount" can be
confusing if someone is doing a lot of logged actions that don't create
dummy revisions. Let's rename that, but we'll have to keep the old
property around for a while for BC.

Bug: 64505
Bug: 64507
Bug: 67301
Change-Id: I461e92819188c311cbb3853bc6bfad45962c8d7b
Don't use isset() to check for null

$wgLocalTZoffset is defined in DefaultSettings.php so it is always set.

Change-Id: I86518176b30da4e13f6dbfde8f1c77c8ced58d9f
Function type hints for LinkHolderArray.php

Change-Id: I5e429baab774a790b3558732f9c87637adfbe4ce
Improve Database related documentation a bit

- $wgDBport is also for MSSQL
- "type" key of $wgDBservers is not only "mysql" and "postgres"
- Note that $wgDBssl, $wgDBcompress and $wgDebugDumpSql only
  work in certain cases and mention how to emulate them otherwise

Change-Id: Id863da8c87308d06e0070877ac0af26d03be4faf
Merge "Don't use isset() to check for null"
Merge "Documentation improvements in ChangeTags.php"
Merge "Make the global objects documentation consistent in Setup.php"
Merge "Improve Database related documentation a bit"
Setup.php: Move hacky skin requires higher up

Some of the setup code in some of the configurations apparently depends
on all extensions and skins being already required by the point
Setup.php is being loaded. We ran into issues with LocalisationCache.

Bug: 67318
Change-Id: Idde13c2e835a9969593a4716a62b392d4c1388d6
Merge "Function type hints for LinkHolderArray.php"
Merge "Setup.php: Move hacky skin requires higher up"
Removes 'languageshtml' property in mediawiki API's 'parse' action

Bug: 67149
Change-Id: Ib1dfa0d04380839bbe474cbb5c0a9b6af09b8371
mediawiki.searchSuggest: Enable for iPhone and iPod touch

* This removes iPhone and iPod touch from browser blacklist.
* Similar to f64a3c26c6 in WikiEditor.
* it requires iOS 6 or later to work.

Change-Id: I46913bb6d360d6b0994b0585c0064f16f1ed460b
Merge "Removes 'languageshtml' property in mediawiki API's 'parse' action"
API: Fix setnotificationtimestamp with no pages given

When newerthanrevid or torevid is used and no pages are given, do not
throw a fatal PHP error.

When no pages are given in other modes, do not return a database error.

Bug: 48071
Change-Id: I5abcdf0fa20486f1198d1cc111461b3088a311df
UserTest: Cover User::isIP and User::isValidUserName better

Change-Id: I4663c37871492c1415152b2af0fda4f6de4f212f
ApiOptionsTest: Simplify hook restoration

Change-Id: I2afc35b45caf9ddfd34fb0bba0839987b7fb2ed4
Fixed typo

unkown -> unknown

Change-Id: Ibbe73853258fd476d4e6f1b28dce27a20233f58f