Extension:GoogleDocTag

Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
GoogleDocTag
Release status: betaCategory:Beta status extensions
Implementation Tag Category:Tag extensions
Description Introduces <gdoc> tags for inserting Google Docs
Author(s) Redeko (Redekopmarktalk)
Maintainer(s) Sophivorus
Latest version 0.6 (2018-09-01)
MediaWiki 1.29+Category:Extensions with manual MediaWiki version
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
<gdoc><googledoc>
Quarterly downloads 1 (Ranked 95th)
Translate the GoogleDocTag extension if it is available at translatewiki.net
Category:All extensions
If you are using version 0.5 or earlier of this extensions you are advised to immediately upgrade to the recent version of this extension to mitigate a security vulnerability.

The GoogleDocTag extension inserts Google Docs into any wiki page.

Installation

  • Download and move the extracted GoogleDocTag folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GoogleDocTag
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'GoogleDocTag' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Use

The most simple code is: <gdoc id="your-google-doc-id" />, which inserts the Google Doc into the page.

The tags also accept parameters "width" and "height" for setting the width and height of the displayed document. The defaults are 100% for width, and 1000px for height. An example using both width and height is: <gdoc id="your-google-doc-id" width="800" height="600" />

<googledoc> can also be used in place of <gdoc>.

See also

Category:Google extensions Category:Spreadsheets extensions Category:Document viewer extensions
Category:All extensions Category:Beta status extensions Category:Document viewer extensions Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:Google extensions Category:ParserFirstCallInit extensions Category:Spreadsheets extensions Category:Tag extensions