Closed
Bug 949042
Opened 11 years ago
Closed 11 years ago
Page move: Article lookup inserts wrong new slug
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fs, Unassigned)
References
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. I want to move a page:
Web/JavaScript/Reference/rest_parameters -->
Web/JavaScript/Reference/Functions_and_function_scope/rest_parameters
2. I use the article lookup to find the page I like to move "rest_parameters" to. In this case the page is "Functions_and_function_scope". So, I type "Functions and function scope" using "Lookup by Document Title".
3. Document title lookup finds my page "Web/JavaScript/Reference/Functions_and_function_scope/" which I confirm, so that it inserts it to the field.
What happened?
==============
Document title lookup inserts the following into the field "New Slug:"
Web/JavaScript/Reference/Functions_and_function_scope/Web/JavaScript/Reference/rest_parameters
Basically the page I looked up + the complete old slug.
What should have happened?
==========================
Document title lookup should suggest the following new slug:
Web/JavaScript/Reference/Functions_and_function_scope/rest_parameters
Is there anything else we should know?
======================================
I think a fix needs to happen here:
https://github.com/mozilla/kuma/blob/master/media/js/wiki-move.js
Comment 1•11 years ago
|
||
http://screencast.com/t/iY4arFe4 is what I see.
My JS only has the ability to use what's in the original zone field, so I don't see how this is possible.
Reporter | ||
Comment 2•11 years ago
|
||
Here is what I see http://www.screencast.com/t/cDuycQCUUZ
Comment 3•11 years ago
|
||
I was able to reproduce this finally -- looking at it now.
Comment 4•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/08fd87855b984cdc3701405e857809ccca13c357
fix bug 949042 - Ensure only the 'specific slug' is proposed for page move
https://github.com/mozilla/kuma/commit/97071f5e1e32f36e589b9271c038fb6ac4687130
Merge pull request #2018 from darkwing/page-move-slug-949042
fix bug 949042 - Ensure only the 'specific slug' is proposed for page move
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•5 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
•