'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LinkPreview',
'rawdescription' =>
- _m('UI extensions previewing thumbnails from links.'));
+ // TRANS: Plugin description.
+ _m('UI extension for previewing thumbnails from links.'));
return true;
}
return true;
}
- /**
- * Autoloader
- *
- * Loads our classes if they're requested.
- *
- * @param string $cls Class requested
- *
- * @return boolean hook return
- */
- function onAutoload($cls)
- {
- $lower = strtolower($cls);
- switch ($lower)
- {
- case 'oembedproxyaction':
- require_once dirname(__FILE__) . '/' . $lower . '.php';
- return false;
- default:
- return true;
- }
- }
-
/**
* Hook for RouterInitialized event.
*