Last modified: 2013-05-22 18:23:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11239, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9239 - edit sections by name and allow to create sections with previously nonexistent names
edit sections by name and allow to create sections with previously nonexisten...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 14877 15575 (view as bug list)
Depends on:
Blocks: section-editing
  Show dependency treegraph
 
Reported: 2007-03-09 17:08 UTC by Bernhard Fastenrath
Modified: 2013-05-22 18:23 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bernhard Fastenrath 2007-03-09 17:08:11 UTC
Allow to edit sections by name (instead of by number) and allow to create
sections with previously nonexistent names as first or last sub-section of
existing sections.

This would, for example, allow to link to generic section names on talk pages.

A template like http://en.wikiversity.org/wiki/Template:Comments could link
to a nonexistent section and the section would be created on demand.

Allowing to create nonexistent sections as sub-sections would allow to put all
responses through "Template:Comments" under a common header.
Comment 1 Bernhard Fastenrath 2007-03-09 17:12:35 UTC
Bug #9240: A parser function to query the name of enclosing sections (like
{{#section-name:<section level>}})
would be useful in connection with this feature.

Comment 2 Filip Maljkovic [Dungodung] 2007-03-10 01:00:23 UTC
Just out of curiosity, where would the newly created (sub)sections be placed?
Presumably at the end of a page. But that might not be the convenient/desired place.
Comment 3 Bernhard Fastenrath 2007-03-10 09:53:31 UTC
see Bug #9242.
Comment 4 Rob Church 2007-06-06 03:36:39 UTC
I'm not sure I see a clear use case for this. I also see some possible problems with respect to complex section names, non-unique section names, and I don't see how this would be presented to the user.
Comment 5 charitwo 2008-07-21 08:00:28 UTC
*** Bug 14877 has been marked as a duplicate of this bug. ***
Comment 6 Xudong Yang 2008-07-21 08:08:33 UTC
(In reply to comment #4)
> I'm not sure I see a clear use case for this. I also see some possible problems
> with respect to complex section names, non-unique section names, and I don't
> see how this would be presented to the user.

Complex section names isn't really a problem as far as I'm concerned, as long as there exists a way to simplify them (which is always true since we do the same for section <a name=" anchors). As for non-unique section names, we could again use the way section anchors handle it (use section_name_2, section_name_3, section_name_n... etc.).
Comment 7 Chad H. 2009-05-06 20:52:32 UTC
*** Bug 15575 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links