Author: herd
Description:
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 )) {
Version: unspecified
Severity: enhancement