Closed
Bug 785214
Opened 12 years ago
Closed 12 years ago
Detect when a to-be-renamed page has children, and use page-move
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbennett, Assigned: jbennett)
References
Details
(Whiteboard: s=2012-09-05 p=1)
Changing a page's slug already is a "page move", implicitly, because it leaves behind a redirect. But we shouldn't be allowing that when the page has children; attempts to change slug in a way that implicitly "moves" the page should instead kick over to the tree-moving interface.
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Docs Platform → Editing
Comment 1•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/8e56993948de61835a958b97bfadcee7bb6bd027 Fix bug 785214 -- detect existence of children Adds a method for detecting whether a document has at least one child (which will eventually kick over to the tree-move interface). Also adds a basic method for detecting potential circular trees of documents, which has uses in this and other parts of page-moving.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•