Extension:MetaDescriptionTag/zh

The MetaDescriptionTag allows users to add a description into a page's.

Usage
Once installed, editors of your wiki can add a description tag by adding the following to the article text:

Where  would be replaced by the desired meta description.

For example, the above would become:

Usage through a template
Say for example you want use a template to set the meta description to something like:

Create a template called (for example) "Template:Metadesc". Add the following content:

In the article to which you set the meta description, add:

Changelog
This is re-write to make it compatible with more modern MediaWiki practices and make sure it works nicely with MediaWiki 1.27+: Fix i18n to work with v1.16+, sanitize output using htmlspecialchars. Change syntax to some content to support template variable substitution. Initial release.
 * 0.4.0
 * Extension Registration (extension.json)
 * json i18n files - An actual README file! :-)
 * Switching to semantic versioning.
 * 0.3
 * 0.2
 * 0.1