Last modified: 2009-10-16 12:16:09 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 T23141, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21141 - Add Magic Word to define new section insertion point
Add Magic Word to define new section insertion point
Status: RESOLVED DUPLICATE of bug 6793
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-14 20:24 UTC by Bill Johnson
Modified: 2009-10-16 12:16 UTC (History)
2 users (show)

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


Attachments

Description Bill Johnson 2009-10-14 20:24:02 UTC
When using the + tab on a discussion page, the new section is always added at the end of the article.  To allow adding (inserting) a section at a pre-defined place in an article, please add a magic word, such as "__ADDNEWSECTIONBELOW__" which will define the point BELOW WHICH the section will be inserted.  This will result in sections being ordered newest at top to oldest at bottom.  Also consider supporting "__ADDNEWSECTIONABOVE__" which will result in sections being inserted in order from oldest to newest (normal MediaWiki order).
Comment 1 Brion Vibber 2009-10-14 20:32:58 UTC
Hmmm... can you give some actual usage examples?

The main thing I'd think of would be for adding a new section above any Category or interlanguage links at the bottom of the page. This could in theory be handled by making the system smarter, so it skips those out for the final-section replacement.

On the other hand if folks also want some closing templates or something, then it would probably be necessary to indicate that you want to stop at that point.
Comment 2 Alexandre Emsenhuber [IAlex] 2009-10-14 20:37:34 UTC

*** This bug has been marked as a duplicate of bug 6793 ***

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


Navigation
Links