Extension:Snap! Project Embed

(Redirected from Extension:SnapProjectEmbed)
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: stable
SnapProjectEmbed example.png
Implementation Parser function
Description An extension to embed Snap! Projects into MediaWiki pages
  • R4356th
  • GrahamSH-LLK
Latest version 3.0.0
MediaWiki 1.35+
PHP 7.0+
Database changes No
License GNU General Public License 3.0 or later
Example Snap! Wiki
snap, snap-project

The Snap! Project Embed extension adds a system for embedding Snap! projects. It uses <snap> tags.


  • Download, extract and place the file(s) in a directory called SnapProjectEmbed in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'SnapProjectEmbed' );
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


  • Loading a project with Snap!'s default width and height: <snap project="project-name" user="user" />
  • Loading a project with custom width and height:
  • <snap project="project-name" user="user" width="width" height="height" />
  • Loading a project without showing the title and author of the project (defaults to true): <snap project="project-name" user="user" width="width" taa="false" />
  • Loading a project without the edit button (defaults to true): <snap project="project-name" user="user" pause="false" />
  • Loading a project without the pause button (defaults to true): <snap project="project-name" user="user" pause="false" />

You can also use the extension like this- <snap project="project-name" user="user"></snap>. Additionally, instead of using the <snap> tag, you can also use the <snap-project> tag.

If you get a error message, you probably forgot the project name or the username. Error: Username Missing means that you forgot the username, and Error: Project Name Missing means that the project name is missing.


The development of Snap! Project Embed occurs on the main branch. Once a new version is ready to be released, the new code is pushed to the stable branch. These two branches always have support for the latest LTS version of MediaWiki and newer versions.

See alsoEdit