Extension:Livejournal User

From MediaWiki.org

Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Livejournal_User

Release status: stable

Implementation  Tag
Description Adds <lj user=""/> and <lj community=""/> tags to document.
Author(s)  http://jehy.ru/index.en.html (JehyTalk)
Last Version  0.1 (2008-11-12)
MediaWiki  1.6.x, 1.8.x, 1.9.x, 1.13.x or higher
License GPL
Download version 0.1
readme
Example  Profile with livejournal links in my wiki

check usage (experimental)

Simply adds <lj user=""/> and <lj community=""/> tags to your wiki.
There are two variants of working of this Extension: the one which completely repeats original livejournal link, and the one which works more according to wiki engine.

  • First variant

  • It replaces quite like with livejournal, and gets little icons from livejournal server. But usually we don't want to load any images from remote server, right?

  • Second variant

  • Uses icons which YOU upload to wiki. Unfortunately, it means that icon can't link to user profile (stupid wiki engine doesn't allow images with links. Seems like it will be implemented in mediawiki 1.14... Possibly).

To switch between them, you just need to set variable

$Livejournal_User_Remote_Images

to 1 or to 0.

[edit] Installation

  1. Extract the archive to $IP/extensions.
  1. Enable the extension by adding this line to your LocalSettings.php:
require_once($IP.'extensions/Livejournal_User.php');
$Livejournal_User_Remote_Images=1;# If you choose remote picture loading

[edit] See also