From: Domas Mituzas Date: Mon, 23 Jan 2006 19:05:09 +0000 (+0000) Subject: whitespace, use member variable instead of function X-Git-Tag: 1.6.0~438 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=b12afe92bd0453d5b37686e6bcd8dfdd6d001310;p=lhc%2Fweb%2Fwiklou.git whitespace, use member variable instead of function --- diff --git a/includes/Parser.php b/includes/Parser.php index 75ccde8fed..8a75a24adf 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -237,7 +237,7 @@ class Parser $text = Sanitizer::normalizeCharReferences( $text ); - if ($wgUseTidy and $this->mOptions->getTidy()) { + if ($wgUseTidy and $this->mOptions->mTidy) { $text = Parser::tidy($text); } @@ -3837,7 +3837,7 @@ class ParserOptions var $mEditSection; # Create "edit section" links var $mNumberHeadings; # Automatically number headings var $mAllowSpecialInclusion; # Allow inclusion of special pages - var $mTidy; # Ask for tidy cleanup + var $mTidy; # Ask for tidy cleanup function getUseTeX() { return $this->mUseTeX; } function getUseDynamicDates() { return $this->mUseDynamicDates; } @@ -3849,7 +3849,7 @@ class ParserOptions function getEditSection() { return $this->mEditSection; } function getNumberHeadings() { return $this->mNumberHeadings; } function getAllowSpecialInclusion() { return $this->mAllowSpecialInclusion; } - function getTidy() { return $this->mTidy; } + function getTidy() { return $this->mTidy; } function setUseTeX( $x ) { return wfSetVar( $this->mUseTeX, $x ); } function setUseDynamicDates( $x ) { return wfSetVar( $this->mUseDynamicDates, $x ); } @@ -3860,7 +3860,7 @@ class ParserOptions function setEditSection( $x ) { return wfSetVar( $this->mEditSection, $x ); } function setNumberHeadings( $x ) { return wfSetVar( $this->mNumberHeadings, $x ); } function setAllowSpecialInclusion( $x ) { return wfSetVar( $this->mAllowSpecialInclusion, $x ); } - function setTidy( $x ) { return wfSetVar( $this->mTidy, $x); } + function setTidy( $x ) { return wfSetVar( $this->mTidy, $x); } function setSkin( &$x ) { $this->mSkin =& $x; } function ParserOptions() { @@ -3979,4 +3979,4 @@ function wfEscapeHTMLTagsOnly( $in ) { $in ); } -?> \ No newline at end of file +?>