Page MenuHomePhabricator

Enable __NEWSECTIONLINK__ to be able to be configured ON for a namespace through edit interface
Open, LowPublicFeature

Description

It would be useful if administrators were able to designate a content namespace where __NEWSECTIONLINK__ was able to be configured for the default through the editinterface.

Details

Reference
bz45683

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:16 AM
bzimport set Reference to bz45683.
bzimport added a subscriber: Unknown Object (MLST).

Clarification, I am not meaning that the text works to insert but the [+] tab is able to be set as default

Sorry, I don't quite understand what you mean...

I'm billinghurst-4, so I'll try to translate.

If you have a content namespace currently, you need to add manually add the NEWSECTIONLINK magic word to pages within that namespace in order to add the "+" functionality, where "+" leads to &action=edit&section=new.

The request here is to add a configuration option to make an entire namespace's default behavior be to include the "+" link. I guess this would be done with an array in LocalSettings.php.

In addition, I believe the request here is that this configuration option be made available via the graphical user interface, but that's mostly outside the scope of this bug.

Apologies for the vagueness, and not capturing the right jargon in the moment of capture. I was thinking primarily of the ability for this to be set via the edit interface by administrators, and that clearly presumes that it is able to be set at all. [Thanks for the translation MZM.]

In one of the private wikis at WMF, we have a namespace where we accumulate data. Pretty well never delete, pretty well never reorganise the page. So to that we can be adding NEWSECTIONLINK to each page on creation, to use EDITNOTICE functionality is overkill, though possible. Having it as a default behaviour would be marvellous. Looking to see if it could set by ourselves was where I started this quest.

If the current situation is that it is not possible to set a namespace (obverse/even-numbered) to have s default "&action=edit&section=new" [+] tab, then that will have to be this bugzilla.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM

Why editinterface, why not a configuration variable on LocalSettings.php? The namespaces are also defined through code (LocalSettings.php and extensions), so it seems more logical to also define their use there.