Author: zach+bugs
Description:
Hello,
I wrote a hook for SkinTemplateTabs that would add the comment tab, which is currently done using javascript. This would also use the new Comments namespace we had setup in bug 11471.
What the hook does is:
- On pages in the Comments namespace, it removes the tab for the Comments_talk page, and adds tabs for the Talk and Main namespace
- On pages in the Talk and Main namespace, it adds a tab for the Comments page.
The advantage to this is that it would also appear for visitors who cannot or do not use javascript. It would require some CSS changes to work with the monobook skin, which is filed separately as bug 11571. The changes would group the comments tab with the main and talk tabs instead of the edit/history/etc tabs.
More of the technical information is at http://www.mediawiki.org/wiki/User:Zachary/CommentPages, including source and setup.
Version: unspecified
Severity: enhancement
URL: http://en.wikinews.org/wiki/Wikinews:Water_cooler/technical#Comment_tab_extension