Tom Doman wrote:
I am developing an extension for MediaWiki for which I have defined a 'PersonalUrls' hook. When creating the href for my personal URL, I use makeSpecialUrl from the Skin class which generates a relative path. However, I need to guarantee that my page is over https. Does the MediaWiki API set have a way for me to guarantee this?
Thanks, Tom
I suppose you could prepend with "https://" . $wgServer, but i think there's some argument for LocalSettings to make absolute URIs.