Skip to content

GStefanowich/MW-UserWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages