什么mediawiki需要挂钩来编写插件,它将在<body>中添加html

This question is addressed only to people having some experience in programming MediaWiki plugins.

I want to put some header at top of page with use plugin and html. I need to put some html code as the first tag after <body> opens to not but not know which hook or method should I use to achieve goal - Mediawiki has too much hooks to choose please suggest one.

http://www.mediawiki.org/wiki/Manual:Hooks

Result after plugin run should look like this:

<< Custom header>>
-----
<< Unchanged Mediawiki page >>

Could you help with this trivial problem?

One possible solution is to inject some JavaScript to create HTML but it is artificial and it will not work with Google Search Bot.

I think that many people want to put something on the top of their MediaWiki-s but without writing and maintain yet another skin or branching Mediawiki and it is supported today.

But if you think hooks is what you want, I'd go with ParserBeforeTidy. The hooks list is long but divided into sections, and "Page Rendering" is section you want to check. Parser(Before/After)Tidy are called on fully generated page, so they offer the highest degree of customization (which may be undesired, though).