Last modified: 2011-03-13 18:05:25 UTC
Can we get a magic word like __NONEWSECTIONLINK__ which will remove the New Section (formerly +) tab at the top of a talk page?
Created attachment 4830 [details] 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: 1) OutputPage sets the link to false, 2) Parser checks it: 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.
That's certainly what I was thinking of.
My patch currently breaks MW and causes an exception. Debugging.
Don't see the need or desirability for this.