Extension:ArticleMetaDescription

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ArticleMetaDescription
Release status: stableCategory:Stable extensions
Implementation Data extractionCategory:Data extraction extensions
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+Category:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
Example ShoutWiki
Quarterly downloads 11 (Ranked 103rd)
Public wikis using 6,846 (Ranked 27th)
Translate the ArticleMetaDescription extension if it is available at translatewiki.net
Category:All extensions

ArticleMetaDescription extension adds SEO-friendly <meta description="..." /> tags containing a brief snippet of the article to article pages' HTML.

Additionally said description for the Main Page only can be overridden by editing the MediaWiki:Description interface message.

Installation

  • Download and move the extracted ArticleMetaDescription folder to your extensions/ 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

ArticleMetaDescription automatically takes the first paragraph of the article and puts it into the <meta description="..." /> tag inside the page header section. All templates (infoboxes, tables etc.) are ignored by default.

It's possible to set predefined description for the wiki's main page (the name of which is specified in MediaWiki:Mainpage) by putting desired text into the MediaWiki:Description message.

See also

Category:HTML head extensions Category:Search engine optimization extensions
Category:All extensions Category:Data extraction extensions Category:Extensions in Wikimedia version control Category:Extensions included in Fandom Category:Extensions included in ShoutWiki Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:HTML head extensions Category:OutputPageBeforeHTML extensions Category:Search engine optimization extensions Category:Stable extensions