Extension:ThumbParser

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
ThumbParser
Release status: stable
Implementation User interface
Description Adds a Tab that links to credits
Author(s) Daniel Schuba (DaSchtalk)
Latest version 0.2 (2012-07-15)
License GPL
Download
README
Translate the ThumbParser extension if it is available at translatewiki.net
Check usage and version matrix.

Adds ParserFunktion #thumb that prints the thumb size that a user has defined. It takes three different parameters

  • {{#thumb:size}}
    • the thumbsize
  • {{#thumb:px}}
    • the thumbsize with px added at the end
  • {{#thumb:width}}
    • the thumbsize +10 with px added (size of a thumb with box)

Repository

Download

Download using Git

git clone https://github.com/DaSchTour/ThumbParser.git

Installation[edit]

Download the files from github. Put them in /extensions/ThumbParser and but the following to your LocalSettings.php

require_once( "$IP/extensions/ThumbParser/ThumbParser.php" );