Closed Bug 965227 Opened 10 years ago Closed 6 years ago

Lower-case slug prevents zone css to be used

Categories

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

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: teoli, Unassigned)

References

Details

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

What did you do?
================
1. Go to https://developer.mozilla.org/fr/docs/persona/Browser_compatibility


What happened?
==============
The Zone CSS is not used. Though the links on the side are displayed, the special CSS for the zone isn't. Other siblings work correctly

What should have happened?
==========================
Same CSS as the siblings

Is there anything else we should know?
======================================
It is likely because the slug has the erroneous 'p' instead of 'P' for Persona.

I can't fix it myself (move doesn't agree and we can't change the slug in the admin tools).

We have numerous pages with casing errors, we need a way to fix them.
A second url w/ the same problem: https://developer.mozilla.org/fr/docs/persona/branding
I'm lost JYP; the following stylesheet is in the page:

https://developer.mozilla.org/fr/Persona$styles

What am I missing?
There is a problem on the pages but not what Jean-Yves explained. (Sorry, I was maybe not very clear on IRC)

When Jean-Yves changed the French translation of Persona to a Zone, all pages got moved to https://developer.mozilla.org/fr/Persona/*******

But these 2 pages are not on the same hierarchy
https://developer.mozilla.org/fr/docs/persona/Browser_compatibility
https://developer.mozilla.org/fr/docs/persona/branding
They have a /docs/ in their URL and a lowercase "persona".
They didn't physically moved in the DB. Only the URL is changed by the zoning. The zone is case-sensitive, our slugs not.

So the URL of these pages are not changed.

Les should be able to help us diagnose the bug (either in the page move code, which is case-insensitive, either in the zone code, which is)
Flags: needinfo?(lorchard)
Not sure what might cause this, off the top of my head. But, we should get it into the bug priority list so someone (not necessarily me) can take a look
Flags: needinfo?(lorchard)
Fixed by dropping zones, zone styling (bug 1462475)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.