Page MenuHomePhabricator

Allow to add sections as sub-pages (e.g. __ADD_SECTIONS_AS_SUB_PAGES__)
Closed, DeclinedPublic

Description

Author: Bernhard.Fastenrath

Description:
Adding sections as sub-pages (e.g. per ADD_SECTIONS_AS_SUB_PAGES)
would allow to create pages that would consist mostly of structure information
and all content in sub-pages.

see http://en.wikiversity.org/wiki/Wikiversity:Colloquium#Course_categorization
for a conceivable application.

The feature would also address #6942.

This feature request is related to #9239 and #9240.


Version: unspecified
Severity: enhancement

Details

Reference
bz9242

Event Timeline

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

Bernhard.Fastenrath wrote:

The feature would also address Bug #6942.

This feature request is related to Bug #9239 and Bug #9240.

Bernhard.Fastenrath wrote:

The feature could enable a per-section talk button leading to the talk pages of
the individual sections.

ayg wrote:

Can't something like this already be done easily with templates? A heading that's included via
template will have an edit link going back to the template, so if you have a page containing

{{:Foo}}
{{:Bar}}
{{:Baz}}

and those consist of

Foo

(text of the page goes here)

then you'll get basically what you want. I don't see any difference at all from what you
request, actually, except that the second-level heading has to be part of the target page rather
than being auto-generated.

Bernhard.Fastenrath wrote:

Sure, it is already possible. I meant to change and extend the meaning of
&action=edit&section=new.

Together with Bug #9239 this could allow:
&action=edit&section=new&under=Top-level%20Section&as=last&name=New%20Section.

under: Specifies the name of the section under which the new section will be added.
as: Specifies the place of addition (first or last)
name: Name of the new section

A page that is not meant to contain text could then create sub-pages for each
new section
automatically. (Optionally the new sub-page could also be created from a template.)

In a talk page this would allow to file each new section in an archive category
(e.g. as per Bug #9107)
and to just remove threads from the talk page by removing their references. The
threads would then
remain in unmodified form in the archive, without any archival procedure (which
is often the cause
of broken references).