(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 set Reference to bz661.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Oct 7 2004, 11:29 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...

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