From 66c1ec6bdc78e97cbd332115aa1bf37569f4b117 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 28 May 2005 07:06:51 +0000 Subject: [PATCH] warnings, category links --- skins/disabled/HTMLDump.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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') ?>