Extension:ArticleMetaDescription
Appearance
Release status: stable |
|
|---|---|
| Implementation | Data extraction |
| Description | Adds SEO-friendly <meta description="..." /> tags containing a brief snippet of the article to article pages' HTML |
| Author(s) |
|
| Latest version | 1.4 |
| MediaWiki | 1.43+ |
| Licence | GNU General Public License 2.0 or later |
| Download | |
| Example | ShoutWiki |
| Translate the ArticleMetaDescription extension if it is available at translatewiki.net | |
The ArticleMetaDescription extension adds SEO-friendly <meta description="..." /> tags containing a brief snippet of the article to article pages' HTML.
It does so by taking the first paragraph of the article and ignoring templates, tables and other non-prose elements.
It is also possible to set a predefined description for the wiki's main page (the name of which is specified in MediaWiki:Mainpage) by defining the MediaWiki:Description interface message with the desired text.
Installation
- Download and move the extracted
ArticleMetaDescriptionfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleMetaDescription
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'ArticleMetaDescription' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
See also
| This extension is included in the following wiki farms/hosts and/or packages: |
