Extension:GoogleDocCreator

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
GoogleDocCreator
Release status: stable
Implementation Tag
Description Creates a Google Doc in your Drive and embeds it to a wiki page
Author(s) Nischay Nahata,Sanjay Thiyagarajan
Latest version 2.0 (2021-12-30)
MediaWiki 1.35+
Database changes No
Composer mediawiki/google-doc-creator
License GNU General Public License 2.0 or later
Download
  • $wgGoogleApiClientCredentialsPath
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the GoogleDocCreator extension if it is available at translatewiki.net

The GoogleDocCreator extension lets you create and insert a Google Docs into any wiki page.

Download

You can download the GoogleDocCreator code, in .zip format: https://github.com/wikimedia/mediawiki-extensions-GoogleDocCreator/archive/2.0.zip

You can also download the code directly via Git from the MediaWiki source code repository (see available tags). From a command line in the extensions directory, run the following:

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GoogleDocCreator

To view the code online, including version history for each file, go here: view GoogleDocCreator code

Installation

To install the extension, place the entire 'GoogleDocCreator' directory within your MediaWiki 'extensions' directory, then do the following line steps:

wfLoadExtension( 'GoogleDocCreator' );
$wgGoogleApiClientCredentialsPath = "$IP/extensions/GoogleDocCreator/credentials.json";
  • Run "composer update" in your main MediaWiki folder.

Use

Go to Special:GoogleDocCreator to use this extension.

Version history

  • 1.0 - August 8, 2018 - Initial version
  • 2.0 - December 30, 2021 - Dependence on GoogleDocTag extension removed; support for MW 1.29-1.34 removed; support for MW 1.35+ improved