Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Hooks\InternalParseBeforeLinks Class Reference

Public Member Functions

 __construct (Parser &$parser)
 
 setEnabledSpecialPage ($enabledSpecialPage)
 
 process (&$text)
 

Detailed Description

Hook: InternalParseBeforeLinks is used to process the expanded wiki code after <nowiki>, HTML-comments, and templates have been treated.

This method will be called before an article is displayed or previewed. For display and preview we strip out the semantic properties and append them at the end of the article.

Note
MW 1.20+ see InternalParseBeforeSanitize
See also
http://www.mediawiki.org/wiki/Manual:Hooks/InternalParseBeforeLinks

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Hooks\InternalParseBeforeLinks::__construct ( Parser &  $parser)
Since
1.9
Parameters
Parser$parser

Member Function Documentation

SMW\MediaWiki\Hooks\InternalParseBeforeLinks::process ( $text)
Since
1.9
Parameters
string$text
Returns
true
SMW\MediaWiki\Hooks\InternalParseBeforeLinks::setEnabledSpecialPage (   $enabledSpecialPage)
Since
2.5
Parameters
array | boolean$enabledSpecialPage

The documentation for this class was generated from the following file: