r90214 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90213‎ | r90214 | r90215 >
Date:16:54, 16 June 2011
Author:platonides
Status:ok
Tags:
Comment:
Revert r88988
Modified paths:
  • /trunk/phase3/includes/parser/ParserOptions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserOptions.php
@@ -60,8 +60,9 @@
6161 function getAllowExternalImages() { return $this->mAllowExternalImages; }
6262 function getAllowExternalImagesFrom() { return $this->mAllowExternalImagesFrom; }
6363 function getEnableImageWhitelist() { return $this->mEnableImageWhitelist; }
64 - function getEditSection() { $this->optionUsed('editsection'); return $this->mEditSection; }
65 - function getNumberHeadings() { $this->optionUsed('numberheadings'); return $this->mNumberHeadings; }
 64+ function getEditSection() { return $this->mEditSection; }
 65+ function getNumberHeadings() { $this->optionUsed('numberheadings');
 66+ return $this->mNumberHeadings; }
6667 function getAllowSpecialInclusion() { return $this->mAllowSpecialInclusion; }
6768 function getTidy() { return $this->mTidy; }
6869 function getInterfaceMessage() { return $this->mInterfaceMessage; }
@@ -75,13 +76,17 @@
7677 function getEnableLimitReport() { return $this->mEnableLimitReport; }
7778 function getCleanSignatures() { return $this->mCleanSignatures; }
7879 function getExternalLinkTarget() { return $this->mExternalLinkTarget; }
79 - function getMath() { $this->optionUsed('math'); return $this->mMath; }
80 - function getThumbSize() { $this->optionUsed('thumbsize'); return $this->mThumbSize; }
81 - function getStubThreshold() { $this->optionUsed('stubthreshold'); return $this->mStubThreshold; }
 80+ function getMath() { $this->optionUsed('math');
 81+ return $this->mMath; }
 82+ function getThumbSize() { $this->optionUsed('thumbsize');
 83+ return $this->mThumbSize; }
 84+ function getStubThreshold() { $this->optionUsed('stubthreshold');
 85+ return $this->mStubThreshold; }
8286
8387 function getIsPreview() { return $this->mIsPreview; }
8488 function getIsSectionPreview() { return $this->mIsSectionPreview; }
85 - function getIsPrintable() { $this->optionUsed('printable'); return $this->mIsPrintable; }
 89+ function getIsPrintable() { $this->optionUsed('printable');
 90+ return $this->mIsPrintable; }
8691 function getUser() { return $this->mUser; }
8792 function getPreSaveTransform() { return $this->mPreSaveTransform; }
8893

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r88988bug 29123: record use of the "editsection" option so that users who can't edi...vyznev18:51, 27 May 2011

Status & tagging log