Author: lastword
Description:
Can we get a magic word like NONEWSECTIONLINK which will remove the New Section (formerly +) tab at the top of a talk page?
Version: unspecified
Severity: enhancement
• bzimport | |
Apr 19 2008, 8:08 PM |
F4807: diff.patch | |
Nov 21 2014, 10:08 PM |
Author: lastword
Description:
Can we get a magic word like NONEWSECTIONLINK which will remove the New Section (formerly +) tab at the top of a talk page?
Version: unspecified
Severity: enhancement
Created attachment 4830
Patch against current trunk
This patch should implement two things:
A) A new global $wgNewSectionOnTalk which defines if "New section" is applied to talk pages or not (default is true)
B) Allows the overriding of new sections with NONEWSECTIONLINK
So the logic is this:
2a) If it's a talk page and the global is true, then it enables the link
2b) If the NEWSECTIONLINK keyword is found, it enables it
2c) If the NONEWSECTIONLINK is found, it disables it again.
Needs some review, but I think I've got it mostly right.
Attached: