Extension:MetaDescriptionTag/ja

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

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

&lt;metadesc&gt;PageDescription&lt;/metadesc&gt;

Where  would be replaced by the desired meta description.

For example, the above would become:

&lt;meta name="description" content="PageDescription" /&gt;

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

Extract from the article ARTICLETITLE

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

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

更新履歴
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