Last modified: 2010-04-03 19:22:38 UTC
Edit section links are not shown when you do not have permission to edit a page, and are if you do. Transcluded sections are treated as being part of the page being viewed, depsite linking to the transcluded page's edit action. It would be nice if these could be hidden if the user does not have permission to edit the page linked, and shown if the user does (regardless the page being editable or not). Barring such an expensive tricky feature, perhaps a simple check where redlink=1 is performed, for section starting with T- to do the same thing (redirect to view): if ( $wgRequest->getBool( 'redlink' ) || preg_match( '/^T\-/', $section )) {
IIRC the main problem is that there's not a good way to put the total of all possible permission states into the parser cache key...
*** This bug has been marked as a duplicate of bug 6089 ***