Opinions Tab

4 views
Skip to first unread message

Lennie Jarratt

unread,
May 8, 2010, 2:03:32 AM5/8/10
to wikine...@googlegroups.com

How does Wikinews put the Opinions tab on pages like http://en.wikinews.org/wiki/Wings_beat_Sharks_7-1?

I would like to add that to a Mediwiki install.  Is it an extension or just a tab added with a namespace into the skin.

Thanks for any help.

Lennie

Jon Davis

unread,
May 8, 2010, 2:18:44 AM5/8/10
to wikine...@googlegroups.com
Lennie,
Take a look at:  http://en.wikinews.org/wiki/MediaWiki:Comments.js

It is included from MediaWiki:Common.js via the line:
  importScript("MediaWiki:Comments.js");

It isn't exactly "user friendly" in terms of setting it up.  It also is obviously not as simple as an extension.  Along with the javascript you do need to add a Namespace to the wiki.  Instructions on that (if you need it):

http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces

Hope that helps
-Jon
--
Jon
[[User:ShakataGaNai]] / KJ6FNQ
http://snowulf.com/
"This email should not be used to sue me" -- Bawolff
Reply all
Reply to author
Forward
0 new messages