MediaWiki.php: Make getUrlDomainDistance() actually static
authorRoan Kattouw <roan.kattouw@gmail.com>
Fri, 14 Oct 2016 21:15:46 +0000 (14:15 -0700)
committerCatrope <roan@wikimedia.org>
Fri, 14 Oct 2016 21:17:43 +0000 (21:17 +0000)
commite98dc4f3c2ec75a3d2ba91349d303c985df25d99
treef5e0ffb57b9af69f746e6415ebd01312c5f3b067
parentb503c026c86b1f335e47efed27f76bf5456ef7e2
MediaWiki.php: Make getUrlDomainDistance() actually static

It's only called once, and that call is static. It also doesn't use $this.

[error] /w/index.php?title=New_new_page&action=purge
ErrorException from line 610 of /vagrant/mediawiki/includes/MediaWiki.php: PHP Strict Standards: Non-static method MediaWiki::getUrlDomainDistance() should not be called statically

Change-Id: Ice66937a32193720c52df39bcea90659a8d9f653
includes/MediaWiki.php