[Mediawiki-l] Determine if user logged in and then remove edit

Platonides Platonides at gmail.com
Sun Jul 22 21:36:59 UTC 2007


Fast an dirty way, put at the beginning of editSectionLink and 
editSectionLinkForOther (at Linker.php)

global $wgUser;
if (!$wgUser->isLoggedIn())
   return "";

(you will also need to disable the parser cache or take into account the 
loggedness)




More information about the MediaWiki-l mailing list