don't put edit links on sections from included templates.
authorRiver Tarnell <kateturner@users.mediawiki.org>
Tue, 21 Sep 2004 04:33:51 +0000 (04:33 +0000)
committerRiver Tarnell <kateturner@users.mediawiki.org>
Tue, 21 Sep 2004 04:33:51 +0000 (04:33 +0000)
commit2242d6ed62a8596f2e73af827046f54e3c910aef
treea593758fe21af199579e7003336db38b6744af64
parentfa794e9f0e411fe61a48c977a0f7c2583abce980
don't put edit links on sections from included templates.
template section headings have __MWTEMPLATESECTION__ added to them;
formatHeadings removes this and doesn't add the edit link for
such sections.  this is a rather hackish fix, but is probably
the best we can do with the current parser setup.

it would be nice (but not important) if this could be extended to
let users prevent edit links for certain sections.

fixes bug #266
includes/Parser.php