Extension:GoogleDocs4MW

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
GoogleDocs4MW

Release status: stable

Implementation Tag
Description Adds <googlespreadsheet> tag for Google Docs' spreadsheets display
Author(s) Jack Phoenix
Last version 1.1
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
Hooks used
ParserFirstCallInit
Check usage and version matrix

GoogleDocs4MW extension allows to embed Google Docs' spreadsheets on the wiki via the <googlespreadsheet> tag.

Supported parameters are width (500 by default), height (300 by default) and style (width:100% by default). Usage example with all the parameters: <googlespreadsheet width="600" height="200" style="width: 50%">Google Docs' key goes here</googlespreadsheet>

This extension was inspired by the Wikia extension with the same name, but this extension was written back when Wikia wasn't open source.

Installation [edit]

  1. Download the file and place it in $IP/extensions/GoogleDocs4MW/
  2. Add the line
    require_once("$IP/extensions/GoogleDocs4MW/GoogleDocs4MW.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version