User:Lysander/RedirectWarning

From BoyWiki

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.