Extension:GitHubCommit

The Extension GitHub Commit Lister tag displays commit messages inside an MediaWiki page. You can define an template var to define the output.

= Install =

open LocalSettings.php and add this line somewhere (at the end)

Now you can fetch github-commit messages: (in this example the last 10 committs)



= Usage =

show only the last commit: 

show only 2 commit (without the very last one): 

Modify the date format: 

= Configuration =

You can define the output and you can use predefined variables which are replaced by the commit data (list below)

List of Vars

 * %commit_url%
 * %commit_committer_email%
 * %commit_committer_date%
 * %commit_committer_name%
 * %commit_message%
 * %commit_tree_url%
 * %commit_tree_sha%
 * %commit_sha%
 * %commit_author_email%
 * %commit_author_date%
 * %commit_author_name%