r12517 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12516‎ | r12517 | r12518 >
Date:15:13, 8 January 2006
Author:avar
Status:old
Tags:
Comment:
* Added a Parser::getTags() accessor to get a list of parser extension tags,
for Special:Version
* Documentation
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3667,7 +3667,7 @@
36683668 $this->mOutput->mCacheTime = -1;
36693669 }
36703670
3671 - /**
 3671+ /**#@+
36723672 * Callback from the Sanitizer for expanding items found in HTML attribute
36733673 * values, so they can be safely tested and escaped.
36743674 * @param string $text
@@ -3686,10 +3686,21 @@
36873687 $text = $this->unstripNoWiki( $text, $this->mStripState );
36883688 return $text;
36893689 }
 3690+ /**#@-*/
36903691
 3692+ /**#@+
 3693+ * Accessor/mutator
 3694+ */
36913695 function Title( $x = NULL ) { return wfSetVar( $this->mTitle, $x ); }
36923696 function Options( $x = NULL ) { return wfSetVar( $this->mOptions, $x ); }
36933697 function OutputType( $x = NULL ) { return wfSetVar( $this->mOutputType, $x ); }
 3698+ /**#@-*/
 3699+
 3700+ /**#@+
 3701+ * Accessor
 3702+ */
 3703+ function getTags() { return array_keys( $this->mTagHooks ); }
 3704+ /**#@-*/
36943705 }
36953706
36963707 /**

Status & tagging log