From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status stable

ImplementationTemplate:Extension#type Parser function
DescriptionTemplate:Extension#description Allows to embed files from GitHub
Author(s)Template:Extension#username Jeroen De Dauwtalk
Latest versionTemplate:Extension#version 1.4.2 (2017-09-28)
MediaWikiTemplate:Extension#mediawiki 1.27+
PHPTemplate:Extension#php 7.0+
Database changesTemplate:Extension#needs-updatephp No
ComposerComposer jeroen/mediawiki-github
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Release notes

Translate the GitHub extension if it is available at translatewiki.net

Check usage and version matrix.

The GitHub extension adds a {{#github:}} parser function that allows you to embed files from GitHub. It supports markdown rendering, syntax highlighting and caching.

See the documentation on GitHub for installation and usage instructions.

See also[edit]

  • Extension:Git2Pages which executes git commands to clone a repository locally and then reads files from disk
  • Git-remote-mediawiki which is a command-line tool to export to / import from a git repository