Page MenuHomePhabricator

Allow controlling whether the new section button will appear or not from the pages code
Closed, ResolvedPublic

Description

Author: rotemliss

Description:
You should allow things like "FORCE_NEWSECTION" and "NO_NEWSECTOIN", for
there are talk pages which are not in the "Talk" namespaces (for example, the
Village Pump), and there are talk pages in the "Talk" which are archive, and we
don't want new messages to be written in.


Version: 1.6.x
Severity: enhancement

Details

Reference
bz4876

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:04 PM
bzimport set Reference to bz4876.
bzimport added a subscriber: Unknown Object (MLST).

I can't imagine any reason to turn it _off_ on talk pages; just don't click it.
Turning it _on_ for some specialized page types might be useful.

rotemliss wrote:

(In reply to comment #1)

I can't imagine any reason to turn it _off_ on talk pages; just don't click it.
Turning it _on_ for some specialized page types might be useful.

You may know you shouldn't click it, but other users may not. For example, a
week ago someone asked me a question in one of my archive talk pages, and I saw
it only yesterday.

So? They can also click "edit" and change the page around completely.

rotemliss wrote:

Patch – work in progress

That's my initial work, help is wanted. (I'm not sure my suggestion is
logically possible.)

Attached:

robchur wrote:

Added a NEWSECTIONLINK magic word in SVN trunk, r14009. Modifies the
ParserOutput object to pass flags to the OutputPage, and so to the skin.

robchur wrote:

*** Bug 4448 has been marked as a duplicate of this bug. ***