This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.
Release status: unmaintained
|Description||Show twitter widget in mediawiki, using Ralph's MyTwit class.|
|Author(s)||Ralph Slooten, 페네트- (페네트-talk)|
|Latest version||1.0 (2016-07-14)|
|Example||Wikichan web page|
|Check usage and version matrix.|
MyTwitter is a Mediawiki extension to embed a Twitter comments into a web page, using Ralph Slooten's MyTwit class. This extension needs Twitter's Oauth and curl commands. License is MIT-style license (http://opensource.org/licenses/MIT).
MyTwit is a PHP class used to embed a Twitter user's public comments into a web page. It keeps it's own cache, and (by default) updates only every 10 minutes when the page is loaded to prevent overloading twitter (and possibly getting banned). As of version 0.5, it uses an in-built Oauth and curl to fetch feeds.
- Optionally, you may download using git:
cd /path/to/your/wiki/ cd extensions/ git clone https://github.com/wiki-chan/MyTwitter.git
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'MyTwitter' );
- After install, you should install
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
On a Mediawiki page, use
<twitter/> tag. You can use
<twitter>ERRORMESSAGE</twitter> for showing an error message in case of errors. The built-in css code works only on the Main page.