User:Lysander/RedirectWarning

From BoyWiki
Revision as of 02:46, 13 April 2015 by Lysander (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The RedirectWarning extension adds a special page, Special:RedirectWarning, that makes it possible to link indirectly to external sites via a page that warns, e.g., "You are about to leave FooWiki."

Installation

  • Download and place the file(s) in a directory called RedirectWarning in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/RedirectWarning/RedirectWarning.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.