On Jul 22, 2007, at 5:36 PM, Platonides wrote:
Fast an dirty way, put at the beginning of editSectionLink and editSectionLinkForOther (at Linker.php)
global $wgUser; if (!$wgUser->isLoggedIn()) return "";
is editSectionLinfForOther something that can be overridden in skins?
I know nothing of PHP, but I see a comment in Linker.php saying that Skin is a descendent of Linker. User defined skins inherit from SkinTemplate which in turns inherit from Skin, so if PHP inheritance works as I expect it should be possible to override it.
I'm asking because of my other question on restyling buttons: here is where the [edit] link is produced.
Thanks,
Maurizio