Extension:Add HTML Meta and Title

The Add HTML Meta and Title extension allows for easier SEO (search engine optimization) with MediaWiki.

Usage
When you enter the following in a wiki page: 

...or the shorter... 

...these words are added to the HTML title and meta headers. This makes SEO (search engine optimization) with MediaWiki easier.

For example, the above would become: (This is a new meta tag - existing metas are left untouched.)

Code structure
This extension uses two MediaWiki hooks: OutputPageBeforeHTML (for the meta tag) and BeforePageDisplay (for the title tag).

This extension is based in part on the extension MetaKeywordsTag.

v0.6.0

 * added Google's site verification tag

v0.5.1

 * modified to work with MW versions 1.1.2 and up (Revision by Mic)

v0.4

 * have put  in the parseSEO function because I got some nasty PHP notice for an unitialised variable...

v0.2

 * added htmlspecialchars as a filter to the text that is displayed in the title and meta - anything else needed  to prevent malicious people? I think no. (If you are an English speaker you may want to use the htmlentities PHP function, which is more restrictive)

v0.1

 * Initital version - everything works.