https://bugzilla.wikimedia.org/show_bug.cgi?id=47292

Daniel Renfro <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Daniel Renfro <[email protected]> ---
I guess I never knew that Mediawiki supported relative-URLs. After digging
through  the WebRequest class and having a closer look at wfExpandURL() it
seems obvious. I never realized you could set $wgServer, I just assumed it was
always dynamically generated. 

In my case, since I only want to force HTTPS for a single page
(Special:UserLogin,) my extension just does a str_replace() on $wgServer at the
right time under the right conditions. I can see the usefulness in setting
$wgServer to a relative URL in LocalSettings, however.

I've closed this as INVALID since it's not really a bug, and written a bit of
documentation:
http://www.mediawiki.org/w/index.php?title=Manual%3A%24wgServer&diff=674744&oldid=664348

Thanks Roan, Timo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to