From: Tim Starling Date: Sat, 28 May 2005 07:06:51 +0000 (+0000) Subject: warnings, category links X-Git-Tag: 1.5.0alpha2~66 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=66c1ec6bdc78e97cbd332115aa1bf37569f4b117;p=lhc%2Fweb%2Fwiklou.git warnings, category links --- diff --git a/skins/disabled/HTMLDump.php b/skins/disabled/HTMLDump.php index ae656992f0..7b96e2ff14 100644 --- a/skins/disabled/HTMLDump.php +++ b/skins/disabled/HTMLDump.php @@ -8,7 +8,7 @@ if( !defined( 'MEDIAWIKI' ) ) die(); /** */ -require_once('includes/SkinTemplate.php'); +require_once( 'includes/SkinTemplate.php' ); /** * Inherit main code from SkinTemplate, set the CSS and template filter. @@ -58,6 +58,10 @@ class SkinHTMLDump extends SkinTemplate { return "{$prefix}{$text}{$trail}"; } + if ( $nt->getNamespace() == NS_CATEGORY ) { + return $this->makeKnownLinkObj( $nt, $text, $query, $trail, $prefix ); + } + if ( $text == '' ) { $text = $nt->getPrefixedText(); } @@ -94,6 +98,7 @@ class HTMLDumpTemplate extends QuickTemplate { } function reallyExecute() { + wfSuppressWarnings(); ?> @@ -181,7 +186,6 @@ class HTMLDumpTemplate extends QuickTemplate { data['copyrightico']) { ?>
html('copyrightico') ?>