dahlgren
Hello!
I'd like to request a feature (or plugin?) to take care of extracting lengthy sections into their own pages. I often find myself doing this manually, as topics grow and evolve over time. The desired feature would enable me to indicate a topic to extract (via button, or some other mechanism) and let the algorithm do the rest. An example implementation could be:
* Given a section, S
* Create a new page with the current scope named S (assume no naming conflicts)
* Copy content (including sub-sections) from S to the new page
* Remap top-level header on S to a size '6'
* Remap all sub-headers based on the scale from above (if the header went from 4 to 6, then add +2 to all sub-headers)
* If nothing went wrong, remove S from original page (We do this last in case something failed above)
This would be a great aid in keeping an evolving wiki organized, and it could potentially be automated if there was a need to do so.
Thanks!
dahlgren
It's been mentioned that a link should be created to the new page (to avoid an orphaned page). After a bit of discussion, we've determined that one (seemingly good) way to create this link would be:
* Again, given a section, S
* Preserve original header for S
* After content has been moved, insert in section S (under header): [[.:S|See main article S]]
Comments?
ryan-chappelle
After talking to you via the IRC channel where this request was raised, I'm thinking about it and it seems to me a feature like this would be very valuable for spreading-content wikis (think "knowledge base"-like platforms) and data-roll based platforms (where content is created or assisted via scripts). So I'll have to say I'm interested in seeing something like this happen or contributing to its development.
The first idea I have is that this may as well be an Action+Admin complement, but after conversations, an Admin component would limit page sectionizing to managers and superusers (not necessarily desirable). A ?do=xxxxx action that implements a "separation form" seems more doable.
I'll be checking the conversations around this and let's hope there's enough interest for this kind of feature.