Page MenuHomePhabricator

Create new subsections within an existing section via a URL parameter
Open, LowPublicFeature

Description

Feature summary I would like the ability to create new subsections through a link just like you can with regular sections.

Use case(s) The implementation would work like this: https://[Wiki]/w/index.php?title=[Page]&action=edit&section=newsubsection&subsectionlocation=[this could be either top or bottom depending on if you wanted to insert above or below the other subsections]&subsectionparent=[this would be the section id or name of the section the subsection would be placed in]

Benefits (why should this be implemented?): For example you could add link to add under a section to add subsection, this could be used for articles, or for pages like AN. Also very useful for Templates.

Event Timeline

Ilovemydoodle2 updated the task description. (Show Details)
Ilovemydoodle2 updated the task description. (Show Details)
Ilovemydoodle2 updated the task description. (Show Details)
Ilovemydoodle2 renamed this task from Create subsections to Create new subsections.Jun 14 2022, 4:49 PM

Hi, do you have a specific example when this is needed (URL welcome)? Do you know if other people are also interested in this?

Hi, do you have a specific example when this is needed (URL welcome)? Do you know if other people are also interested in this?

For example, I was working on a Template where there would be an option for an Administrator to "confirm" that an action was taken by an Administrator, to do this the Template would add a new section to a particular page that would log this, that was protected so only Administrators could edit, this Template would also need to add subsections if the Administrator in question changed their action.

Aklapper renamed this task from Create new subsections to Create new subsections within an existing section via a URL parameter.Jun 15 2022, 9:11 PM
Aklapper triaged this task as Low priority.