Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Words

A user-page magic word extension

Added Magic Words

Magic words require being in the User: namespace. If used in any other namespace, the magic words will return a blank value.

  • {{USERLANGUAGECODE}}
    • Shows the users language code set in their preferences, or the wikis default language
    • Disabled by default
  • {{USERFIRSTREVISIONSTAMP}}
    • Timestamp of the users first edit
  • {{USERGROUPS:all}}
    • Groups that the user is in, comma separated
    • all parameter takes a truthy input, when true will show implicit and explicit groups. Otherwise only explicit
  • {{USERREGISTRATIONSTAMP}}
    • Timestamp of when the user registered

Configuration

Each magic word can be enabled or disabled in the LocalSettings.php config

$wgUserWordsUserLanguageCode = true;
$wgUserWordsUserFirstRevisionStamp = true;
$wgUserWordsUserGroups = true;
$wgUserWordsUserRegistrationStamp = true;

About

MediaWiki extension that outputs Magic Words on User pages to get information about the user

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages