Template talk:SteamLink: Difference between revisions
Jump to navigation
Jump to search
(why plastic warfare?) |
mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
*Why through your site (plastic-warfare.com) and not directly to Steam?--[[User:RP|RP]] 16:36, 13 May 2006 (PDT) | *Why through your site (plastic-warfare.com) and not directly to Steam?--[[User:RP|RP]] 16:36, 13 May 2006 (PDT) | ||
:Because wiki doesn't support steam:// linking—'''[[User:Ts2do|ts2do]]''' 16:38, 13 May 2006 (PDT) | |||
::Once they upgrade to 1.5 or later all they need to do is add this to their LocalSettings.inc.php line: | |||
<pre>$wgUrlProtocols = 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/|news:|mailto:|steam:\/\/';</pre> --[[User:AndrewNeo|AndrewNeo]] 18:20, 13 May 2006 (PDT) | |||
Well...this is a workaround—'''[[User:Ts2do|ts2do]]''' 18:24, 13 May 2006 (PDT) | |||
Here's the code for the new redirect—'''[[User:Ts2do|ts2do]]''' 18:11, 26 Sep 2006 (PDT) | |||
<pre><script language="JavaScript" type="text/javascript"> | |||
<!-- | |||
var s = window.location.href.substr(window.location.href.indexOf("?")+1); | |||
if(s.length!=0) | |||
{ | |||
document.location = s; | |||
setTimeout("history.back()",0); | |||
} | |||
//--> | |||
</script></pre> |
Latest revision as of 18:53, 26 September 2006
- Why through your site (plastic-warfare.com) and not directly to Steam?--RP 16:36, 13 May 2006 (PDT)
- Because wiki doesn't support steam:// linking—ts2do 16:38, 13 May 2006 (PDT)
- Once they upgrade to 1.5 or later all they need to do is add this to their LocalSettings.inc.php line:
$wgUrlProtocols = 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/|news:|mailto:|steam:\/\/';
--AndrewNeo 18:20, 13 May 2006 (PDT)
Well...this is a workaround—ts2do 18:24, 13 May 2006 (PDT)
Here's the code for the new redirect—ts2do 18:11, 26 Sep 2006 (PDT)
<script language="JavaScript" type="text/javascript"> <!-- var s = window.location.href.substr(window.location.href.indexOf("?")+1); if(s.length!=0) { document.location = s; setTimeout("history.back()",0); } //--> </script>