don't overwrite $item['single-id'] in makeListItem in SkinTemplate

This makes it possible to use it with links that are supposed to use
custom ids, but stock tooltips.

Change-Id: I2e3ed92bd23dbaebf0c404979343b463c8c357cf
Avoid using $wgUser in TitlePermissionTest

Change-Id: I2432cd66c11d68213f96ef96f972fc10d9dfa504
Add wfSuppressWarnings(); to CologneBlue.

Change-Id: Ie5754f854ca4a59fecb42fa4b32859e6b9a0db7c
Fixed dependencies for jquery.collapsibleTabs

Added jquery.delayedBind as dependency for jquery.collapsibleTabs
as it's used on line 29.

This wasn't causing errors (at least I'm not aware of it causing errors),
but still it's better to have all dependencies declared.

Change-Id: Iaff2ee952822d1be9a91fc7b8634a63ac61f8252
(bug 40857) fix non-array sidebar links handling in CologneBlue

Thanks to Daniel Friesen for explanation on why a non-array can appear
there.

Change-Id: Ib51c640b9cb10a8acc8fe4033f71463e36770dbe
Unit test for User::getEditCount

Rather trivial test for User::getEditCount as suggested by
Siebrand in https://gerrit.wikimedia.org/r/26457

This required adding the User in the test to DB, as the data
is written to and read from the DB.

Change-Id: Ic4e55c01247158315b759654b34fdbdf9a61db01
(bug 41171) Refactor User::edits() and User::incEditCount()

User::edits() lets you fetch a cached number of edits from a slave database.
in case the field is not yet filed, we initialize if by hitting the `revision`
table and saving the result in user_editcount.

User::incEditCount() updates the edit countr and also does a lazy
initialization, if needed.

As both methods use the same $dbw->update() statement for this, I've
created a new, protected initEditCount() function which can take care of that.

Change-Id: If111270a84d4278bc4ea14d32ae602069f7c276f
(Bug 41178) Fix fatal in EditPage::displayPermissionsError.

EditPage::displayPermissionsError did not check whether getContentObject
returns false.

While we are at it, making getEditText more robust.

Change-Id: I7d6297530f57949d4a66c663490449cbdb4acad8
(Bug 41179)  Missing content in EditPage::showDiff

Fixing another instance where the page content may be null.

Change-Id: I2f377937892dcfa5389f768edfb6033d2e6196b4
Fixup some returns, documentation

Remove unused globals

Fix indenting

Change-Id: Icb9fad6ae5407260d56c790bf22d556436c32ea5
Make EditPage robust against null content.

This adds some checks to avoid fatal errors due to access
to non-objects.

Change-Id: Ib0e867a9aed50226fa8c6f3af655cd11e7fb83ed
(bug 41156) Add id to the toolbox page info link

Change-Id: I4295d88f17aa468370af432e0b980e56c4581084
Merge "(Bug 41178) Fix fatal in EditPage::displayPermissionsError."
Merge "(Bug 41179)  Missing content in EditPage::showDiff"
[FileBackend] Cleaned up path normalization for caching.

Change-Id: I50a9f80ce6268526043485bb662557667442cffb
Merge "Make EditPage robust against null content."
Localisation updates from http://translatewiki.net.

Change-Id: Iab323e87d18f24f31808cff0d9e0510cb79e4260
Merge "Localisation updates from http://translatewiki.net."
Removed outdated FileRepo docs.

Change-Id: I020960028be12b87fe572eb3f56e4b33f517c495
Merge "[FileBackend] Cleaned up path normalization for caching."