Last modified: 2013-06-07 15:16:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33228, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31228 - #redirect in comment creates numbered list item instead
#redirect in comment creates numbered list item instead
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-28 20:50 UTC by Sumana Harihareswara
Modified: 2013-06-07 15:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sumana Harihareswara 2011-09-28 20:50:30 UTC
I used the built-in WYSIWYG button to make a redirect in a LiquidThreads comment.  The wikitext that it output was:


#REDIRECT [[Target page name]]


so I added the argument:

#REDIRECT [[Main Page]]

and the resulting comment looked like this:

1. REDIRECT Main Page

where "Main Page" was a link.  I think it was misreading the # as a "start a numbered list here" marker.
Comment 1 Jesús Martínez Novo (Ciencia Al Poder) 2013-06-07 15:04:53 UTC
Hi Sumana.

This happens when redirects aren't parsed as redirects. For example, when you put a redirect on a page and you do a preview, you can see the exact same behavior.

I think LQT comments doesn't support redirects and this is by design.

What would you expect to happen if you put a redirect?

* Make the browser load the new page (I think this can be confusing, and dangerous, if this appears on a thread listing page / Special:NewMessages)

* Load the contents of another page? (Although this should probably be achieved by transcluding its contents like any other template, like {{:Page title}}.)

Closing this bug for now. Feel free to reopen if you or anybody else has a clear concept of what should happen when inserting a redirect on a LQT comment
Comment 2 Alex Monk 2013-06-07 15:16:42 UTC
Should probably modify WikiEditor to know when redirects are acceptable (so the button is marked as list item or redirect), but I don't think that's an LQT issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links