Use slug for URLs to wiki documents

VERIFIED FIXED in 2.3

Status

support.mozilla.org
Knowledge Base Software
P1
major
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: paulc, Assigned: paulc)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

8 years ago
Following an email thread and then an IRC conversation, we're using slugs in the URLs for the wiki now.

Some implications:
* unique composite key on ('locale', 'slug')
* wiki syntax still stays the same: [[Article name]]
* slug is versioned (belongs to the Revision model)

This also affects the way we do redirects.
(Assignee)

Updated

8 years ago
Target Milestone: 2.2.5 → 2.3
(In reply to comment #0)
> * slug is versioned (belongs to the Revision model)

This is wrong. Slug is just another version of the title, and any behavior related to the title also applies to the slug.
(Assignee)

Updated

8 years ago
Assignee: nobody → paulc
(Assignee)

Comment 2

8 years ago
This has been done for a while, heh.

http://github.com/jsocol/kitsune/commit/28997476c599c126aed3525e62978b4250d11b2d

For QA: just check that URLs to wiki documents look like this:
/<locale>/kb/document-title
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.