Hi!
Thinking about Blogrolls I wonder why "Wikirolls" aren't common yet. Here's the basic principle to include Wikirolls into MediaWiki.
Create new columns in table interwiki:
ALTER TABLE interwiki ADD iw_name varchar(255) NOT NULL default '', ADD iw_example varchar(255) NOT NULL default '', ADD iw_wikiroll BOOL NOT NULL;
Update Wikis you want to occur in your wikiroll:
UPDATE interwiki SET iw_name='MeatBall Wiki', iw_example='MeatballWiki', iw_wikiroll=1 WHERE iw_prefix='MeatBall';
Add new Wikis you want to occur in your wikiroll:
INSERT INTO interwiki SET iw_prefix='my', iw_name='My Wiki', iw_url='http://www.mywiki.net/index.php/$1', iw_example='Welcome', iw_wikiroll=1 ;
Get a list of your wikiroll to show in your wiki:
SELECT iw_name, iw_prefix, iw_example FROM interwiki WHERE iw_wikiroll=1;
code to transform to wiki table syntax has to be written
Get a list of your wikiroll for OPML output:
SELECT iw_name, iw_url FROM interwiki WHERE iw_wikiroll=1;
code to transform to opml has to be written
Greetings, Jakob
Jakob wrote:
Hi!
Thinking about Blogrolls I wonder why "Wikirolls" aren't common yet. Here's the basic principle to include Wikirolls into MediaWiki.
<snip>
Hello,
Firstly what is a blogroll ? :o)
Is that a kind of list of other related wikis ? If so, I dont think there is any wiki.encyclopedia-universalis.com we can link to ;o)
wikitech-l@lists.wikimedia.org