Extension talk:TalkRight

Nifty. I just installed this and it appears to work. What more can you ask for? :) --pfctdayelise 11:46, 1 August 2006 (UTC)

Bug: the extension uses the userCan hook, but returns always false (more accurately, doesn't return anything). this causes further processing to stop, thus preventing other extensions from working. it should return false when user is not allowed and true otherwise Ittayd 10:30, 11 January 2007 (UTC)


 * Patched. Now should work. Platonides 13:10, 20 March 2007 (UTC)

Large bug: this extension makes it impossible to protect talk pages. If a user has the  right, then   will say that they can edit talk pages, whether they're protected or not. The  hook should only ever set   to  ... setting it to   will break things like page protection, setting it to   can break other extensions that have   hooks by clobbering their results... it should set it to   if we want to restrict access, and leave it unchanged if we want to allow it, or don't care. I've taken the liberty of fixing this, since it smells like a security hole... Phlip 11:07, 26 March 2007 (UTC)

Mediawiki 1.9.0 tweaks
Hi there, I found I had to change a couple of things to make this work in MediaWiki 1.9.0. require_once("./extensions/talkright.php"); instead of include_once("extensions/talkright.php");
 * 1) In alternateEdit replace  "mRights" with  "getRights"
 * 2) In LocalSettings.php use

Does anyone have examples of what Extension:Talkright looks like when implemented?
I already have a few wikis setup where the global default in LocalSettings.php is that articles are only editable by admins, and therefor all talk pages are open for anyone else. That way we can publish our agency's "rules" and keep them sacrosanct on article pages, but allow discussions about them in the discussion/talk page behind each article (http://en.citizendium.org/ uses "draft" sub-pages to accomplish this goal). The goal is to consider those discussions when next updating the rules / articles pages. Thanks! -- Peter Blaise peterblaise 14:26, 17 July 2007 (UTC)