Difference between revisions of "Configuration Notes"
From Richard's Wiki
(New page: == Opening external links in a new window == The [[http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window#How_to_make_external_links_open_in_a_new_window Wikimedia lin...) |
(No difference)
|
Revision as of 20:55, 12 November 2008
Opening external links in a new window
The [Wikimedia link] is useful information. Probably the easiest way is:
Version > 1.5.0
- Open includes/Linker.php
- Find "function getExternalLinkAttributes"
- After
$r = ($class != ) ? " class='$class'" : " class='external'"; insert the following code $r .= " target=\"_blank\"";