Closed Bug 592100 Opened 14 years ago Closed 14 years ago

Use slug for URLs to wiki documents

Categories

(support.mozilla.org :: Knowledge Base Software, task, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: paulc)

Details

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.
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: nobody → paulc
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
Closed: 14 years ago
Resolution: --- → FIXED
Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.