We recently upgraded from 1.26.3 to 1.27.0 and recently noticed page's with apostrophe's in the title have been broken and we receive the following error:
Fatal error: Call to a member function getLocalURL() on null in /home/crygaia/public_html/wiki/w/includes/skins/Skin.php on line 1051
Opening up the file in question gives this section:
static function makeSpecialUrl( $name, $urlaction = '', $proto = null ) {
$title = SpecialPage::getSafeTitleFor( $name );
if ( is_null( $proto ) ) {
return $title->getLocalURL( $urlaction );
} else {
return $title->getFullURL( $urlaction, false, $proto );
}
}
I don't see anything particularly wrong with it, so I'm confused as to why this is suddenly happening. You can see an example here. Any help would be appreciated.