From af7d7b1ad35cccd5f748dbf82886d1997b93ff80 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 13 Jan 2006 00:24:24 +0000 Subject: [PATCH] * Remove redundant 'echo' statements from MonoBook.php I think these got inserted in a search-and-replace after someone broke the entire site by using incorrect short open tags. --- RELEASE-NOTES | 1 + skins/MonoBook.php | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index fcf8d4fc05..b1e9bd85c9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -473,6 +473,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 4576) Missing '>' broke license selector's first option in IE, Opera * Override $wgLocaltimezone in parser tests for us outside Iceland and UK * Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT +* Remove redundant 'echo' statements from MonoBook.php === Caveats === diff --git a/skins/MonoBook.php b/skins/MonoBook.php index ed511e3fac..0317d18d52 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -64,20 +64,20 @@ class MonoBookTemplate extends QuickTemplate { data['jsvarurl' ]) { ?> - + - + data['pagecss' ]) { ?> - + data['usercss' ]) { ?> - + data['userjs' ]) { ?> - + data['userjsprev']) { ?> - + data['trackbackhtml']) print $this->data['trackbackhtml']; ?> @@ -173,18 +173,18 @@ class MonoBookTemplate extends QuickTemplate { if($this->data['notspecialpage']) { ?>
  • msg('whatlinkshere') ?>
  • + ?>">msg('whatlinkshere') ?> data['nav_urls']['recentchangeslinked'] ) { ?>
  • msg('recentchangeslinked') ?>
  • + ?>">msg('recentchangeslinked') ?> data['nav_urls']['trackbacklink'])) { ?> + ?>">msg('trackbacklink') ?> data['feeds']) { ?>
  • msg('printableversion') ?>
  • ">msg('printableversion') ?>data['nav_urls']['permalink']['href'])) { ?> ">msg('permalink') ?>data['nav_urls']['permalink']['href'] === '') { ?> - msg('permalink') ?>data['language_urls'] ) { ?>
    -
    msg('otherlanguages') ?>
    +
    msg('otherlanguages') ?>
      data['language_urls'] as $langlink) { ?> @@ -253,7 +253,7 @@ class MonoBookTemplate extends QuickTemplate { ); foreach( $footerlinks as $aLink ) { if( $this->data[$aLink] ) { -?>
    • html($aLink) ?>
    • +?>
    • html($aLink) ?>
    • @@ -261,7 +261,7 @@ class MonoBookTemplate extends QuickTemplate {
    -html('reporttime') ?> +html('reporttime') ?>