Main Page
From CenterfocusWiki
Line 26: | Line 26: | ||
- http://83.169.17.207/mediawiki/MediaWiki:Common.css und http://83.169.17.207/mediawiki/MediaWiki:Common.css bearbeitet | - http://83.169.17.207/mediawiki/MediaWiki:Common.css und http://83.169.17.207/mediawiki/MediaWiki:Common.css bearbeitet | ||
- | - External Links should be opened in browser target _top. Unfortunately | + | - External Links should be opened in browser target '_top'. Unfortunately |
$wgExternalLinkTarget='_top'; has no effect . Alternative solution: adapt 'mediawiki/includes/Linker.php', 'function makeExternalLink': | $wgExternalLinkTarget='_top'; has no effect . Alternative solution: adapt 'mediawiki/includes/Linker.php', 'function makeExternalLink': | ||
$pos = strpos($url, "centerfocus.de"); | $pos = strpos($url, "centerfocus.de"); |
Revision as of 18:57, 12 January 2011
MediaWiki has been successfully installed.
Consult the User's Guide for information on using the wiki software.
Getting started
Gelöscht:
DNS Eintrag Typ A 'ns.centerfocus.de'
-in die wikidb in Tabelle 'interwiki' den Eintrag ('cf' 'http://www.centerfocus.de/$1' 1,0 ) eingefügt - dient zur Linkabkürzung im Wiki : http://www.centerfocus.de/ wird durch cf abgekuerzt.
-in skins/MonoBook.php im div 'p-tb' login-Eintrag hinzugefuegt:
<div class="portlet" id="p-tb"> <h5><?php $this->msg('toolbox') ?></h5> <div class="pBody"> <ul> <li> <a href="/mediawiki/index.php/Special:Userlogin">Login</a></li>
- http://83.169.17.207/mediawiki/MediaWiki:Common.css und http://83.169.17.207/mediawiki/MediaWiki:Common.css bearbeitet
- External Links should be opened in browser target '_top'. Unfortunately $wgExternalLinkTarget='_top'; has no effect . Alternative solution: adapt 'mediawiki/includes/Linker.php', 'function makeExternalLink':
$pos = strpos($url, "centerfocus.de"); $posip = strpos($url,"83.169.17.207"); if ($pos === false || $posip===false ) { return '<a href="'.$url.'"'.$style.' target="_top">'.$text.'</a>'; } else { return '<a href="'.$url.'"'.$style.' >'.$text.'</a>'; }