Closed
Bug 565801
Opened 15 years ago
Closed 15 years ago
[k] Internal links should check page exists
Categories
(support.mozilla.org :: Forum, task, P4)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
2.2
People
(Reporter: paulc, Assigned: paulc)
References
()
Details
Follow-up from a github discussion over bug 561524, we'd like to make the internal link hook smarter by checking if the KB page exists, and include an edit-link instead, if it doesn't.
Assignee | ||
Comment 2•15 years ago
|
||
Up for grabs if anyone else wants it.
Updated•15 years ago
|
Target Milestone: 2.1 → 2.2
Assignee | ||
Comment 3•15 years ago
|
||
http://github.com/jsocol/kitsune/commit/dbe6e48cac03362e6c93c00e67876ec5becdc57e (and previous commit)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•15 years ago
|
||
Testing this:
* If the wiki page exists (e.g. "Installing Firefox"), the resulting link should take you to the KB page (e.g. /<locale>/kb/Installing+Firefox)
* If the wiki page does not exist (e.g. "Does Not Exist"), the resulting link should take you to the edit page (e.g. "/tiki-editpage.php?page=Does+Not+Exist")
Comment 5•15 years ago
|
||
(In reply to comment #4)
> * If the wiki page does not exist (e.g. "Does Not Exist"), the resulting link
> should take you to the edit page (e.g.
> "/tiki-editpage.php?page=Does+Not+Exist")
Technically, it should take you to the creation page.
Comment 6•15 years ago
|
||
I'm not seeing the creation page when altering the page name:
https://support-stage.mozilla.com/en-US/forum/1/572911?s=not+a+page&as=s
Changing the forum number brings up the 'error incorrect thread' page:
https://support-stage.mozilla.com/en-US/forum/1/572948371?s=not+a+page&as=s
Comment 7•15 years ago
|
||
Verified using page paths for valid and invalid pages inside question/answer
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•