MediaWiki:Disclaimers; Also means that if any of the footer links are
disabled in the wiki's default language (by setting to "-"), they'll also
be disabled in other languages too (e.g. if the user specifies uselang=fr).
+* (bug 8999) User.php gives "undefined user editcount" PHP notice.
+
== Languages updated ==
/* Return the edit count for the user. This is where User::edits should have been */
function getEditCount() {
if ($this->mId) {
- if ($this->mEditCount === null ) {
+ if ( !isset( $this->mEditCount ) ) {
/* Populate the count, if it has not been populated yet */
$this->mEditCount = User::edits($this->mId);
}