(strtoupper($string) == "#REDIRECT") && ($string <> "#REDIRECT")
Closed, InvalidPublic


Author: gangleri

Dear friends, It seams that there are some pages
using "#redirect" (all lowercase leters) instead
of "#REDIRECT" (all capital leters).

It seems to me that these pages are not redirected. Probably
it is written in the documentation somewhere to use capital
letters ONLY. The problem maight be that there are still
pages using $string s where

(strtoupper($string) == "#REDIRECT") && ($string

is TRUE .

Probably the best way to find these pages would be a script.

Regards Reinhardt

Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
URL: http://en.wikipedia.org/wiki/V%C7%ABlsunga_saga

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz661.
bzimport created this task.Via LegacyOct 7 2004, 11:29 PM
bzimport added a comment.Via ConduitOct 7 2004, 11:40 PM

rowan.collins wrote:

This *shouldn't* be a problem. The "#redirect" magic word is set to be case
insensitive in Language.php And indeed, it works for me: e.g.

Can you give an example of this not working? The supplied URL appears to be
incorrect / unreachable, should it point to somewhere other than en.wikipedia?
It may be that one of the languageXX.php files has accidentally set this to be
case sensitive...

bzimport added a comment.Via ConduitOct 7 2004, 11:56 PM

rowan.collins wrote:

Finally managed to load the page referenced. It was a double redirect, and was
working fine - it just dumped you on a page that happened to look very similar
because it, too, was a redirect.

Closing bug as invalid (misunderstanding on part of submitter).

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.