Help:Open Specific Links in external window

From SacredWiki
Revision as of 16:44, 28 October 2008 by Schot (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
PD Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions. PD

Introduction

Sometimes it becomes necessary to have certain links in your wiki to be opened in an external windows leaving the current window as is. This help is for such special situation only. If your wiki is completely locked for editing , and you need complete freedom for embedding html use [$wgRawHtml = true;] in your Localsettings.php! Note: This might is a very simple process, have been inspired by

  1. Manual:Opening_external_links_in_a_new_window

Method

  1. Follow Extension:Secure_HTML to install Secure_HTML extension
  2. go to http://www.yoursite.org/yourwiki/index.php/Special:SecureHTMLInput in your site
  3. paste the following html code.
<html>
<body>
<a href="http://www.yoursite.com" target="_blank">title</a>
</body>
</html>
Note: Please replace the address with link, file or external site address.
  1. Submit to get the hashed code.(Please refer the extension page given above for instruction for this)
  2. Paste this into a seperate page in your wiki, This page can be embedded into any other page.

There you have it, A specific link that opens in another page.

Note: This is just a process, just mixed and matched data.
Hope i have not infringed on any license
If i have please feel free to delete this page.
I had created this page, as i found it hard to do this
in one of our internal sites. This help might help some one, someday.