Extension:AutoSetPageLang

From mediawiki.org
MediaWiki extensions manual
AutoSetPageLang
Release status: unmaintained
Author(s) Pierre Boutet (Pyro853talk)
Latest version 1.1.1
MediaWiki >= 1.28.0
Composer wikifab/auto-set-page-lang
License MIT License
Download
  • $wgAutoSetPageLangAutoMarkTranslate
  • $wgAutoSetPageLangAllowedNamespaces
  • $wgAutoSetPageLangAutoMarkNamespaces
  • $wgAutoSetPageLangAutoUpdateNamespaces
  • $wgAutoSetPageLangAddNoIncludeTagsNamespaces
  • $wgAutoSetPageLangTranslateOnCompleteOnly

The AutoSetPageLang automatically sets the page lang attribute at page creation, using current language of user that created the page.

Installation[edit]

  • Download and place the file(s) in a directory called AutoSetPageLang in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AutoSetPageLang' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.