Page MenuHomePhabricator

Suppress section edit links and table of contents when rendering interface text
Open, MediumPublic


When editing a page, headers set at MediaWiki:edittools and MediaWiki:yourdiff
show an edit link.

They are incorrect because:
a) You can't edit the interface this way
b) It show an edit link to the current editting article, section 1 (section
numbering in the ''interface template'')

They should disappear

Note: This bug seems recent, it has probably been introduced in a recent parser

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz6411.
bzimport added a subscriber: Unknown Object (MLST).

This doesn't seem to have ever been thoroughly fixed. MediaWiki:edittools isn't showing section edit links, but it showing the ToC if it has enough headings; some other messages apparently show the edit links, though (see bug 48639).

  • Bug 48639 has been marked as a duplicate of this bug. ***
  • Bug 28157 has been marked as a duplicate of this bug. ***

This was apparently partially fixed in bug 36975? CC-ing code committers from that bug.

nick.white wrote:

The fix in bug 36975 certainly works fine for my issue; edit links being shown from msgWiki() and similar calls.