Jump to content
MediaWiki

Parsing/Parser Hooks Stats

From mediawiki.org
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date.

This page collates information about extensions deployed on the Wikimedia cluster that use parser hooks.

Parser Hook Extensions (deployed on the Wikimedia cluster) using the hook
ParserFirstCallInit Babel , Calendar , CategoryTree , CharInsert , Cite , FlaggedRevs , FundraiserLandingPage , GeoCrumbs , GeoData , Graph , ImageMap , InputBox , Insider , Intersection , Josa , Kartographer , LabeledSectionTransclusion , LiquidThreads , Listings , MapSources , MassMessage , Math , PageAssessments , ParserFunctions , Poem , ProofreadPage , Quiz , RelatedArticles , RSS , Score , Scribunto , SemanticForms , Semantic MediaWiki , SemanticResultFormats , SubPageList3 , SyntaxHighlight GeSHi , TemplateData , Timeline , Translate , Validator , Wikidata , WikidataPageBanner , Wikihiero , WikimediaIncubator
ParserAfterParse Cite , Graph , Kartographer , Math , Wikidata
ParserBeforeTidy Cite , GeoCrumbs , RelatedSites
ParserAfterTidy Math , Semantic MediaWiki
ParserBeforeStrip Translate
ParserAfterStrip
InternalParseBeforeLinks Semantic MediaWiki
InternalParseBeforeSanitize
ParserClearState Cite , ParserFunctions , Quiz , Scribunto , Wikidata
BeforeParserFetchFileAndTitle FlaggedRevs
ParserMakeImageParams PageImages
ParserModifyImageHTML PageImages
BeforeParserFetchTemplateAndtitle FlaggedRevs
ParserGetVariableValueSwitch FlaggedRevs , SiteMatrix , Wikidata , WikimediaIncubator
ParserGetVariableValueVarCache CiteThisPage
ParserGetVariableValueTs CiteThisPage
ParserLimitReportFormat Scribunto
ParserLimitReportPrepare Scribunto , Wikidata
ParserLimitReport Scribunto , Wikidata
BeforeParserrenderImageGallery
BeforeParserMakeImageLinkObj
ParserSectionCreate
ParserTestParser
ParserCloned Cite , Scribunto

This table is generated with the script below:

cdextensions
echo'{| class="wikitable"'
echo"|-"
echo"! Parser Hook || Extensions (deployed on the Wikimedia cluster) using the hook"
forhookinParserFirstCallInitParserAfterParseParserBeforeTidyParserAfterTidyParserBeforeStripParserAfterStripInternalParseBeforeLinksInternalParseBeforeSanitizeParserClearStateBeforeParserFetchFileAndTitleParserMakeImageParamsParserModifyImageHTMLBeforeParserFetchTemplateAndtitleParserGetVariableValueSwitchParserGetVariableValueVarCacheParserGetVariableValueTsParserLimitReportFormatParserLimitReportPrepareParserLimitReportParserMakeImageParamsBeforeParserrenderImageGalleryBeforeParserMakeImageLinkObjParserSectionCreateParserTestParserParserCloned
do
echo"|-"
exts=`find.-typef-execgrep-l-i$hook{}\;|egrep'php|json'|sed's/^\.\///g;s/\/.*//g;'|uniq|sort`
echo"|{{ll|Manual:Hooks/$hook|$hook}} || `echo $exts | sed 's/\(\w\w*\)/{{ll|Extension:1円|nsp=0}}/g;s/ /, /g;'`"
done
echo"|}"
[edit ]

See Parsoid/Todo:PHP parser integration for interactions between extensions and the parser. That information needs to be updated and we need to verify if that API needs to be supported in Parsoid in some way.

AltStyle によって変換されたページ (->オリジナル) /