Fix E_NOTICE when the WikiLove extension is enabled

Reported by MediaWiki.org user Temptuousinsolence on [[mw:Skin talk:Truglass]]

Change-Id: Ibf6d796984458527af3c4d5da30edf869687d89e