From 5edddf8238e6b02ac7eafab09d56bf0323a8bc92 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Wed, 25 Aug 2004 19:18:34 +0000 Subject: [PATCH] Make ot=html default, as most user will probably use that view. ENH#185 --- includes/SpecialAllmessages.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/SpecialAllmessages.php b/includes/SpecialAllmessages.php index dd059028eb..1a787bc6ab 100644 --- a/includes/SpecialAllmessages.php +++ b/includes/SpecialAllmessages.php @@ -25,13 +25,13 @@ wfProfileOut( "$fname-setup" ); wfProfileIn( "$fname-output" ); - if ($ot == 'html') { + if ($ot == 'php') { + $navText .= makePhp($messages); + $wgOut->addHTML('PHP | HTML
'.htmlspecialchars($navText).'
'); + } else { $wgOut->addHTML( 'PHP | HTML' ); $wgOut->addWikiText( $navText ); $wgOut->addHTML( makeHTMLText( $messages ) ); - } else { - $navText .= makePhp($messages); - $wgOut->addHTML('PHP | HTML
'.htmlspecialchars($navText).'
'); } wfProfileOut( "$fname-output" ); -- 2.20.1