Closed Bug 1002043 Opened 11 years ago Closed 10 years ago

[Page Move] Cannot create wiki pages for objects with names that have two consecutive underscores

Categories

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

All
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: teoli, Unassigned)

Details

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

What did you do?
================
1. Go to https://developer.mozilla.org/fr/docs/JavaScript/Reference/Objets_globaux/Object/defineGetter$move
2.Β Try to use JavaScript/Reference/Objets_globaux/Object/__defineGetter__ as the new slug

What happened?
==============
Some js collapse the two '_' into one

What should have happened?
==========================
Two '_' should have been stayed as it is the right slug according our convention.

Is there anything else we should know?
======================================
The problem is likely in the js front-end, as it happens before the submit.
Component: General → Editing
No longer blocks: 971681
Since this appears to be front-end/JS issue, removing it from list of page-move blockers.
So this should be retriaged so that it gets fixed.
Flags: needinfo?(mars)
David, what's your take on this?  Is it in CKEditor, or in our own code?
Severity: normal → major
Flags: needinfo?(mars) → needinfo?(dwalsh)
Summary: [Page Move] Two consecutives underscore are collapsed in one editor → [Page Move] Cannot create wiki pages for objects with names that have two consecutive underscores
OK, I know what this is and can fix.  Will jump on it ASAP.
Flags: needinfo?(dwalsh)
https://github.com/mozilla/kuma/pull/2497
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/6e679357e167eaf9849cb57ecf1831065bddd614
fix bug 1002043 - Allow consecutive underscores in slugs

https://github.com/mozilla/kuma/commit/cfeda452bdbf98090623c030b5ac7cf7c4cf27d1
Merge pull request #2497 from darkwing/double-underscore-1002043

fix bug 1002043 - Allow consecutive underscores in slugs
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.