Extension:MetaDescriptionTag/ru

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

Использование
После инсталляции пользователи твоей Вики смогут добавлять описания на страницах с помощью следующего викитекста:

&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:

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