Extension:Google Calendar
|
|
WARNING: the code or configuration described here poses a major security risk.
Problem: Vulnerable to Cross-site scripting attacks, because it passes user input directly to the browser. This may lead to user accounts being hijacked, among other things. |
|
Google Calendar Release status: unknown |
|
|---|---|
| Implementation | Tag |
| Description | Add Google Calendar to your Wiki. |
| Author(s) | Bastian Schaefer |
| MediaWiki | 1.13 (should also work with previous versions) |
| License | No license specified |
| Download | |
|
Check usage (experimental) |
|
Contents |
[edit] What can this extension do?
This extension allows to display a Google Calendar in your MediaWiki. The appearance of the calendar can be adjusted by using https://www.google.com/calendar/embedhelper.
[edit] Usage
- Go to https://www.google.com/calendar/embedhelper and configure your calendar.
- Copy the HTML which was generated by the "Google Embeddable Calendar Helper" WITHOUT
"<iframe src="http://www.google.com/calendar/embed"
at the beginning and
"</iframe>"
at the ending.
- Paste the html between "<googlecalendar>" and "</googlecalendar>" and insert it into you MediaWiki page.
For Example:
<googlecalendar>?height=600&wkst=1&bgcolor=%23FFFFFF& src=examplemailadresswhichishopefullynotinuse%40gmail.com& color=%232952A3& ctz=Pacific%2FApia" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></googlecalendar>
[edit] Download instructions
Go to http://www.bastianschaefer.org/PHP/MediaWikiExtensions#toc1 (inaccessible as of 08 August 2011, archived here), copy and paste the extension code to a text editor and save the file as "googleCalendar.php".
[edit] Installation
- Put the extension file in your extension folder.
- Put the following code at the end of "LocalSettings.php":
#Extension: googleCalendar
require_once('extensions/googleCalendar.php');
[edit] Examples
If you use this extension, you can add a link to your MediaWiki calendar site here.
