Jump to content

Extension talk:GoogleDocTag/Archive

Add topic
From mediawiki.org

Patch

[edit]

Rhe structure of the URL is not the same anymore!

think i fixed that :s removed the 'a' from $literal
new line 31 of Alternate version of GoogleDocViewer.php with spreadsheet support
$literal = isset($args['literal']) ? $args['literal'] .'/': '';
new line 49 of Alternate version of GoogleDocViewer.php with spreadsheet support
'<iframe src=https://docs.google.com/'.$literal. $type .'/'.$mode.'?id='.$id.'&embedded=true width='.$width.' height='.$height.'></iframe>';
--Immeëmosol 23:04, 19 January 2012 (UTC)Reply

For spreadsheets with more than one sheet, removing the following code "&single=true&gid=0" from that case appears to make all the sheets show up. However, it doesn't seem to be possible to embed a spreadsheet in such a way that the sheet is editable within the wiki.

I added a version that works with the new Google Drive docs as of 2/27/2013 as per the main page details. Yes, it's ugly. Yes, it'll probably break soon. But at least for now it works.

Edit: it sort of works. It truncates everything in the main frame of the page, i.e. there is no main frame HTML after it.

Attempting use, docs not showing

[edit]

Velochicdunord2 (talk) 19:01, 23 May 2015 (UTC)Reply

Installation: 1.23
Site; wiki.redmountainmalers.org
Page: wiki.redmountainmakers.org/wiki/Equipment_registry

The tag appears to be setting up the space for the doc (in this case, a Google Form for input of equipment data into a Google sheet) but the form isn't showing.

Didn't put in full working links as I've recently had to recreate my account (didn't use it for a long time) and I don't want to anger the link bot. :)

Installing GoogleDocTag makes site inaccessible

[edit]

I installed GoogleDocTag to the extensions directory of mediawiki 1.30 and added the line wfLoadExtension( 'GoogleDocTag' ); at the bottom of LocalSettings.php. After that my site is not loading. Am I missing anything or this extesnions has any dependencies?

I just enabled the extension in my MediaWiki 1.30 installation and had no trouble. So something is different between your environment and mine. Maybe there is some conflict with another extension? Can you enable error reporting and give us a clue? Thanks! --Sophivorus (talk) 02:56, 12 April 2018 (UTC)Reply