Closed Bug 871677 Opened 11 years ago Closed 10 years ago

Allow filling out page move ($move) page fields from query terms

Categories

(developer.mozilla.org Graveyard :: General, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

References

Details

(Whiteboard: [specification][type:feature])

What problems would this solve? =============================== With the enormous migration work we're doing, it would be helpful if we could write KumaScript code to automatically construct links that we can click for large sets of pages to move them to their new homes. Who would use this? =================== Just me and Jean-Yves, probably. What would users see? ===================== Nothing. What would users do? What would happen as a result? =================================================== We'd write script that would fairly intelligently scan through the pages in certain subtrees and create links we can click to get pre-filled $move pages to handle moving them to where they belong in our new hierarchy. If we can specify the title and the new slug, so that those are already set when the page is loaded, then instead of having to type and make sure we type correctly this information, we can just click the save button (sometimes double-checking but generally this should be much faster than doing it entirely by hand). Is there anything else we should know? ====================================== This would save us enormous amounts of time as we work on migration, so the sooner we can do this the better, if it's not too hard.
I think we cannot automate this in the described way. I shared a spreadsheet with action plans with our content hierarchies and we will go through it in more details as we process more and the list gets smaller. Hopefully at some point we will have cleaned up our information architecture and have content sections set up. This feature does not sound cheap in terms of development time from our devs to me right now. Sheppy, can you clarify how this could help us right now or otherwise wontfix this?
Flags: needinfo?(eshepherd)
In the past, I've written limited-use macros that searched the site for various things, generating lists of pages that clearly need to be moved. For example, finding pages tagged a certain way that obviously will need to be moved into the /docs/Web/API tree. These lists include a button that takes you to the page plus $move to get you to the "move page" screen for the page. I was thinking that being able to include query terms to automatically fill out the title and slug fields for the moved page would save a lot of time.
Flags: needinfo?(eshepherd)
Mass page moves via kumascript sounds like a really, really bad idea. Could be exploited and ruin the site.
This is no longer necessary now that page moving is stable, anyway.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.