Jump to content

Help:Open Specific Links in external window

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Starting

Sometimes it is necessary to have some links in your wiki to be opened in another window 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 freedom for embedding HTML use [$wgRawHtml = true;] in your Localsettings.php

Note: This might be a very simple process, have been inspired by Manual:$wgExternalLinkTarget.

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 another 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.