|
MediaWiki master
|
Metadata needed to render highlighted code. More...
Inherited by MediaWiki\Content\CodeHighlighterMetadata.
Public Member Functions | |
| addToOutputPage (OutputPage $outputPage) | |
| Add this metadata to an OutputPage. | |
| addToParserOutput (ParserOutput $parserOutput) | |
| Add this metadata to a ParserOutput. | |
Metadata needed to render highlighted code.
Implementations should apply all metadata they carry to the supplied output object, so callers do not need to know about each individual metadata type.
Definition at line 17 of file ICodeHighlighterMetadata.php.
| MediaWiki\Content\ICodeHighlighterMetadata::addToOutputPage | ( | OutputPage | $outputPage | ) |
Add this metadata to an OutputPage.
| OutputPage | $outputPage |
Implemented in MediaWiki\Content\CodeHighlighterMetadata.
| MediaWiki\Content\ICodeHighlighterMetadata::addToParserOutput | ( | ParserOutput | $parserOutput | ) |
Add this metadata to a ParserOutput.
| ParserOutput | $parserOutput |
Implemented in MediaWiki\Content\CodeHighlighterMetadata.