Revert r88988
authorPlatonides <platonides@users.mediawiki.org>
Thu, 16 Jun 2011 16:54:06 +0000 (16:54 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 16 Jun 2011 16:54:06 +0000 (16:54 +0000)
includes/parser/ParserOptions.php

index 8dd545b..3b9b2d7 100644 (file)
@@ -60,8 +60,9 @@ class ParserOptions {
        function getAllowExternalImages()           { return $this->mAllowExternalImages; }
        function getAllowExternalImagesFrom()       { return $this->mAllowExternalImagesFrom; }
        function getEnableImageWhitelist()          { return $this->mEnableImageWhitelist; }
-       function getEditSection()                   { $this->optionUsed('editsection'); return $this->mEditSection; }
-       function getNumberHeadings()                { $this->optionUsed('numberheadings'); return $this->mNumberHeadings; }
+       function getEditSection()                   { return $this->mEditSection; }
+       function getNumberHeadings()                { $this->optionUsed('numberheadings');
+                                                                                                 return $this->mNumberHeadings; }
        function getAllowSpecialInclusion()         { return $this->mAllowSpecialInclusion; }
        function getTidy()                          { return $this->mTidy; }
        function getInterfaceMessage()              { return $this->mInterfaceMessage; }
@@ -75,13 +76,17 @@ class ParserOptions {
        function getEnableLimitReport()             { return $this->mEnableLimitReport; }
        function getCleanSignatures()               { return $this->mCleanSignatures; }
        function getExternalLinkTarget()            { return $this->mExternalLinkTarget; }
-       function getMath()                          { $this->optionUsed('math'); return $this->mMath; }
-       function getThumbSize()                     { $this->optionUsed('thumbsize'); return $this->mThumbSize; }
-       function getStubThreshold()                 { $this->optionUsed('stubthreshold'); return $this->mStubThreshold; }
+       function getMath()                          { $this->optionUsed('math');
+                                                                                                 return $this->mMath; }
+       function getThumbSize()                     { $this->optionUsed('thumbsize');
+                                                                                                 return $this->mThumbSize; }
+       function getStubThreshold()                 { $this->optionUsed('stubthreshold');
+                                                                                                 return $this->mStubThreshold; }
 
        function getIsPreview()                     { return $this->mIsPreview; }
        function getIsSectionPreview()              { return $this->mIsSectionPreview; }
-       function getIsPrintable()                   { $this->optionUsed('printable'); return $this->mIsPrintable; }
+       function getIsPrintable()                   { $this->optionUsed('printable');
+                                                                                                 return $this->mIsPrintable; }
        function getUser()                          { return $this->mUser; }
        function getPreSaveTransform()              { return $this->mPreSaveTransform; }