Open my Memotoo account and MediaWiki


What can this extension do?

This extension allows to display your Memotoo data (address book, calendar, bookmarks, tasks and notes) on your MediaWiki.


"<iframe src="

at the beginning and


at the ending.

  • Paste the html between "<memotoo>" and "</memotoo>" and insert it into you MediaWiki page.

For Example:

<memotoo>contactsEmbed.php?uid=xxxxxxxxxxx&q=xxxxxxxxxxx" width="600" height="500"
style="border:1px solid #999999" frameborder="0" scrolling="auto"></memotoo>

Download instructions

Copy and paste the extension code to a text editor and save the file as "memotoo.php", or download the file here

 * Display your Memotoo data (address book, calendar, bookmarks, ...) on your MediaWiki
 * @version 1.0
 * @author Thomas Pequet
 * @link

//Extension credits that show up on Special:Version
$wgExtensionCredits['parserhook'][] = array(
        'name' => ' and MediaWiki',
        'author' => 'Thomas Pequet',
        'url' => ',
        'version' => '1.0',
        'description' => 'Display your Memotoo data (address book, calendar, bookmarks, ...) on your MediaWiki',

$wgExtensionFunctions[] = 'wfMemotoo';

function wfMemotoo() {
        global $wgParser;
        $wgParser->setHook('memotoo', 'renderMemotoo');

function renderMemotoo($input) {
        $output = ;
        if (ereg("^agendaEmbed.php",trim($input)) || ereg("^contactsEmbed.php",trim($input)) || ereg("^contactsMapEmbed.php",trim($input)) || ereg("^favorisEmbed.php",trim($input)) || ereg("^postItEmbed.php",trim($input)) || ereg("^tasksEmbed.php",trim($input)))
                $output = '<iframe src="'.trim($input).'</iframe>';
        return $output;


  • Put the extension file in your extension folder.
  • Put the following code at the end of "LocalSettings.php":
#Extension: Memotoo

See also