Closed
Bug 764944
Opened 13 years ago
Closed 13 years ago
Kuma: Link editor - Search result list article titles should have entities converted to the actual characters
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Assigned: davidwalsh)
Details
(Whiteboard: u=contributor c=wiki s=2012-07-03 p=1 t=2012-07-09)
When drawing items in the search results list in the link dialog, I'm seeing entities (that is, > instead of >, for example). These should be drawn correctly.
| Assignee | ||
Comment 1•13 years ago
|
||
Oddly enough, I can't duplicate this issue unless I put "<" and "gt;" in the article title. If I use the characters, they render just fine:
http://content.screencast.com/users/davidwalsh83/folders/Jing/media/f3d7aa13-27b7-46bf-95f2-02b850d49faf/00000018.png
Can you point me to a live example sheppy?
Updated•13 years ago
|
Whiteboard: u=contributor c=wiki s=2012-07-03 p=
| Assignee | ||
Comment 2•13 years ago
|
||
Sheppy: did MindTouch used to make you add your own entities within titles instead of using the characters themselves? i.e. you wanted the page title to be "<A> Element", so Mindtouch made you enter "<A> Element"?
| Reporter | ||
Comment 3•13 years ago
|
||
No, we just typed the characters themselves.
| Assignee | ||
Comment 4•13 years ago
|
||
Sheppy:
http://screencast.com/t/rZof7Bxhlxz
I have a document with "<" and ">" characters in the title and they:
1. Come from the server correctly (you can see the JSON in the console)
2. Display in the autocompleter correctly.
I'd like to resolve this as WORKSFORME.
| Assignee | ||
Comment 5•13 years ago
|
||
After speaking with sheppy, and searching developer-new with the term "Element", we believe this is a legacy redirect issue. Sheppy mentioned in the meeting that the standard for redirects was actually "#Redirect _____", so we may need to tweak this regex to fix the problem:
https://github.com/mozilla/kuma/blob/master/apps/wiki/views.py#L1061
Will confirm with Sheppy.
| Assignee | ||
Comment 6•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dwalsh
| Reporter | ||
Comment 7•13 years ago
|
||
The syntax for redirects on MindTouch is:
#REDIRECT [[path/to/new/page]]
Comment 8•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/efb7dae345b3cf135fb697308bb31bc51858a06d
fix bug 764944 - Adding '#' to legacy redirect regex to prevent more redirects from displaying in dropdown
https://github.com/mozilla/kuma/commit/8b9878ece002a9cfd649ca42532079f7765acb34
Merge pull request #295 from darkwing/article-title-redirect-764944
fix bug 764944 - Adding '#' to legacy redirect regex to prevent more redirects from displaying in dropdown
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
Whiteboard: u=contributor c=wiki s=2012-07-03 p= → u=contributor c=wiki s=2012-07-03 p=1
Updated•13 years ago
|
Whiteboard: u=contributor c=wiki s=2012-07-03 p=1 → u=contributor c=wiki s=2012-07-03 p=1 t=2012-07-09
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Website → Landing pages
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•