Last modified: 2008-08-02 02:40:10 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 T4333, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2333 - Redirect graphic not shown in preview
Redirect graphic not shown in preview
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Lowest trivial with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: 11693 13769 14484 14886 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-06-05 12:36 UTC by Erik Johansson
Modified: 2008-08-02 02:40 UTC (History)
6 users (show)

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


Description Erik Johansson 2005-06-05 12:36:47 UTC
When you editing a REDIRECT page, the preview will not show you the graphics for
redirection, but borken wiki formatation.
Comment 1 lɛʁi לערי ריינהארט 2005-06-05 13:00:23 UTC
works for me with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Comment 2 Erik Johansson 2005-06-23 06:09:35 UTC
Are you sure it works, I've tried on a couple of computers and it's the same.
That is it will not *verify* that what you have written is a redirection.

You will get the same list as if you wrote

# a numbered thingy [[link here]]

that is it will be formated as a numberedlist. This is not what it should look
like instead the preview should look like this:
Comment 3 Rowan Collins [IMSoP] 2005-06-23 13:55:06 UTC
If I remember rightly, trhe redirect graphic/message is added in Article.php
when the page is discovered to be a redirect but &redirect=no is in effect. I
always thought it would make more sense if it was in Parser.php so that whenever
a page was displayed that should be a redirect, it would appear with the symbol,
allowing you to check your syntax with a preview. But yes, I should have just
fixed it myself if I was that bothered :/
Comment 4 lɛʁi לערי ריינהארט 2005-06-25 01:45:45 UTC
sorry for comment 1
I did not pay attention to *preview*.

Regards Reinhardt [[user:gangleri]]
Comment 5 lɛʁi לערי ריינהארט 2006-02-05 20:07:25 UTC

shows a redirect to an image in the syntax
#REDIRECT [[image:foo]]
and *not*
#REDIRECT [[:image:foo]]

best regards Reinhardt [[user:gangleri]]
Comment 6 lɛʁi לערי ריינהארט 2006-02-09 09:56:22 UTC
bug 4873 comment 2 mentions lack of redirect graphic in diff
Bug 4873: Next and previous revision links hidden on old-revision view of
redirect text
Comment 7 Dan Jacobson 2007-08-30 22:03:48 UTC
(In reply to comment #2)
Yes how silly. On preview it interprets the # as a numbered list, despite the correct REDIRECT formatting.
One has to go double check that he is sure he got the formatting correct, despite the just plain wrong
preview, and then muster his courage to hit the Save button anyway.

Yes, sorry to need to complicate the PHP code more, but still: looks bad, feels bad.
Comment 8 Rob Church 2007-10-17 23:15:10 UTC
*** Bug 11693 has been marked as a duplicate of this bug. ***
Comment 9 Meno25 2008-04-17 00:02:01 UTC
*** Bug 13769 has been marked as a duplicate of this bug. ***
Comment 10 Brion Vibber 2008-06-09 15:59:24 UTC
*** Bug 14484 has been marked as a duplicate of this bug. ***
Comment 11 Chad H. 2008-07-22 13:19:21 UTC
*** Bug 14886 has been marked as a duplicate of this bug. ***
Comment 12 Chad H. 2008-08-02 02:40:10 UTC
Done in r38409.

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