Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ PageLang Public archive

Defines a variable that contains the current page content language

License

Notifications You must be signed in to change notification settings

thpatch/PageLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This ancient MediaWiki extension provides two magic words:

  • {{pagelang}} returning the page content language
  • {{intlang}} returning the interface language

As of MediaWiki 1.29, the functionality of {{pagelang}} is provided as part of MediaWiki core in the form of {{PAGELANGUAGE}}, which makes this separate extension obsolete.

(Also, as of MediaWiki 1.35, ParserGetVariableValueSwitch hooks must manually cache their returned value. This is incredibly silly, and provided yet another good reason to just let this extension die.)

About

Defines a variable that contains the current page content language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages