From f4cd703ccc12db00c296e57ff2e7aee7c926c88b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 25 Jun 2005 20:52:14 +0000 Subject: [PATCH] * (bug 2514) Reverting the change to setSubtitle(), now uses raw HTML again --- RELEASE-NOTES | 2 -- includes/OutputPage.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index adcdcde1c1..f45092b479 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -331,11 +331,9 @@ Various bugfixes, small features, and a few experimental things: * Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA) * (bug 2504) Updated the Finnish translation * (bug 2506) Updated the Nynorsk translation -* Everything given to setSubtitle() is now parsed for the full wikisyntax * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE documentation about edit and read whitelists. - === Caveats === Some output, particularly involving user-supplied inline HTML, may not diff --git a/includes/OutputPage.php b/includes/OutputPage.php index bb093cf3aa..43e9ba26da 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -170,7 +170,7 @@ class OutputPage { } function getHTMLTitle() { return $this->mHTMLtitle; } function getPageTitle() { return $this->mPagetitle; } - function setSubtitle( $str ) { $this->mSubtitle = $this->parse($str); } + function setSubtitle( $str ) { $this->mSubtitle = /*$this->parse(*/$str/*)*/; } // @bug 2514 function getSubtitle() { return $this->mSubtitle; } function isArticle() { return $this->mIsarticle; } function setPrintable() { $this->mPrintable = true; } -- 2.20.1