Last modified: 2004-08-21 23:33:40 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 T2116, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 116 - Pages beginning with slash sometimes allowed
Pages beginning with slash sometimes allowed
Status: CLOSED DUPLICATE of bug 98
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-16 06:03 UTC by Timwi
Modified: 2004-08-21 23:33 UTC (History)
1 user (show)

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


Attachments

Description Timwi 2004-08-16 06:03:27 UTC
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=977535&group_id=34373&atid=411192
Originally submitted by Nobody/Anonymous - nobody  2004-06-22 17:04


For redirect pages that go to a page title that begins
with a '/', when the redirect page is viewed with
&redirect=no, the '/' is not shown in the link and
these redirects are seen as broken by
Special:Maintenance&subfunction=brokenredirects

An example of this is:
http://en.wikipedia.org/w/wiki.phtml?title=Gcwi_language&redirect=no

which displays a link to [[Gwi language]] (which does
not exist) instead of [[/Gwi language]]. The redirects
works if &redirect=yes

------------------------- Additional comments ------------------------
Date: 2004-06-22 19:17
Sender: SF user imsop

Actually, the problem is wider than you think: no link can
point at a page beginning with "/". The reason is that in a
namespace where subpages are legal (e.g.
[[Wikipedia:Sandbox]]) it will be treated as a subpage link
(e.g. to [[Wikipedia:Sandbox/Gwi language]]). In Wikipedia's
article namespace, subpages are disabled, so the software
removes the slash as being erroneous.

The bug is that you were able to create a page with such a
title in the first place. (And that the redirect *does*
work, even though the links don't; a consequence of the
rather ad hoc parser, I suspect).

Workaround: move the pages so they don't begin with slashes
- awkward, I know but they won't be the only ones - see
http://en.wikipedia.org/wiki/Wikipedia:List_of_pages_whose_correc
t_title_is_not_allowed_by_MediaWiki

This bug should stay open until someone blocks such pages
from being created accidentally.
-------------------------------------------------
Date: 2004-06-28 04:46
Sender: SF user vibber

This page title should not work under the current schema.
That is does is erroneous, as it can't be reached through
normal links:
http://en.wikipedia.org/wiki//Gwi_language

Renamed bug report to reflect the root problem.
-------------------------------------------------
Date: 2004-08-16 08:01
Sender: SF user timwi

This bug has been migrated to MediaZilla:
http://bugzilla.wikipedia.org/show_bug.cgi?id=98
Please leave additional comments or attachments there.
Comment 1 Rowan Collins [IMSoP] 2004-08-16 23:13:31 UTC
This bug was copied from SourceForge twice.

*** This bug has been marked as a duplicate of 98 ***

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


Navigation
Links