Widget:AutomaticRedirect

From neicext
Jump to navigation Jump to search

This widget can be used to redirect users to an external url.

Caution: If you use delay=0 you will no longer be able to view the page. To roll back this change, visit the page Edit url directly, eg:

https://wiki.neic.no/w/ext/index.php?action=edit&title=MyPageTitle

Author: Joel Hedlund, NeIC

Installation

  1. Install the Widgets mediawiki extension.
  2. Copy this page to Widget:ExternalRedirect on your wiki.
  3. Include this widget on pages that you want to redirect from.

Usage

{{#widget:AutomaticRedirect
 | url = Where you want to redirect.
 | delay = Number of seconds to delay before redirecting.
 }}