Page MenuHomePhabricator

templatehooks.diff

Authored By
bzimport
Nov 21 2014, 8:15 PM
Size
506 B
Referenced Files
None
Subscribers
None

templatehooks.diff

Index: includes/parser/Parser.php
===================================================================
--- includes/parser/Parser.php (revision 45863)
+++ includes/parser/Parser.php (working copy)
@@ -3054,6 +3054,8 @@
if ( $isLocalObj ) {
$ret = array( 'object' => $text );
} else {
+ wfRunHooks( 'ParserBeforeStrip', array( &$this, &$text, &$this->mStripState ) );
+ wfRunHooks( 'ParserAfterStrip', array( &$this, &$text, &$this->mStripState ) );
$ret = array( 'text' => $text );
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1535
Default Alt Text
templatehooks.diff (506 B)

Event Timeline