Last modified: 2008-05-29 16:55:36 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 T6917, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4917 - Perform %nn character, precombined character and other normalisations before rendering a redirect
Perform %nn character, precombined character and other normalisations before ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/user:G...
:
Depends on: 1527
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-08 13:51 UTC by lɛʁi לערי ריינהארט
Modified: 2008-05-29 16:55 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-02-08 13:51:41 UTC
Hallo!

I found this url at bug 927 comment 5
Bug 927: Text in the same line as #redirect not rendered, except for category tags

*request*
Please reorder the code and make all relevant normalisations *before* rendering
the redirect page.

More test cases are available at
http://en.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/00927/%2C and it's
revision history.

More combination test case with precombined characters from
Bug 3860: links generated with precombined characters show red despite the fact
that the normalised links exist
are available at
http://en.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/00927/%D7%90%D6%B7

You can find an overview at [[user:Gangleri/tests/bugzilla/00927]].

best regards reinhardt [[user:gangleri]]
Comment 1 Brion Vibber 2006-02-08 22:37:27 UTC
Description doesn't appear to have anything to do with the test case.
Description doesn't appear to have anything to do with the dependency.
Comment 2 lɛʁi לערי ריינהארט 2006-02-09 05:21:40 UTC
This bug is about redirects using %nn characters as you can see at
http://en.wikipedia.org/w/index.php?title=User:Gangleri/tests/bugzilla/00927/%2C&action=edit

This will *fail*:
#REDIRECT [[Winston-Salem%2C_North_Carolina]] {{R from misspelling}}

This is *OK*
#REDIRECT [[Winston-Salem,_North_Carolina]] {{R from misspelling}}

http://en.wikipedia.org/w/index.php?title=User:Gangleri/tests/bugzilla/00927/%D7%90%D6%B7&oldid=38759916
*fails* because of
Bug 1527: *first* perform Unicode normalisation and check for existence of pages
*after* the normalisation

REOPENing bug
Comment 3 Brion Vibber 2006-02-09 06:43:26 UTC
It's another junk page with multiple paragraphs of drivel on it.
Please create minimal, standalone test cases that test *only*
the thing you're trying to get us to look at. Having to tear
through a jungle or irrelevant junk text is extremely time
consuming; you file a lot of these things and it would be very
helpful if you could keep each one small and relevant.
Comment 4 lɛʁi לערי ריינהארט 2006-02-09 09:40:41 UTC
Hallo Brion!

Please go and edit
http://test.wikipedia.org/wiki/user:Gangleri/tests/bugzilla/04917/example_using_%22%2C%22
Please replace "%2C" with ",". This will "fix" the redirect.

*request*
The target link should be normalised. Then the existence should be checked. Then
the special "REDIRECT rendering" should be applied.

----

re: dependency on bug 1527

Please go and edit
http://test.wikipedia.org/wiki/user:Gangleri/tests/bugzilla/04917/example_using_%22%D7%90%D6%B7%22
Please replace ‎אַ with
אַ
This will "fix" the redirect.

best regards reinhardt [[user:gangleri]]
Comment 5 Antoine "hashar" Musso (WMF) 2006-05-10 19:30:40 UTC
Test case:

Create a page ''Bug4917'' containing:

* [[Bug4917/redirect]]
* [[Bug4917,thebug]]

Edit [[Bug4917,thebug]] and enter some text.

Edit [[Bug4917/redirect]] and enter:
#REDIRECT [[Bug4917%2Cthebug]]

Save and go to [[Bug4917]], clicking on [[Bug4917/redirect]] show the page
but redirect is not followed.
Comment 6 Tim Starling 2006-12-15 13:24:08 UTC
% is a valid title character. There is a double-unescaping bug in apache which
may occasionally make it appear as if %2C is a valid substitute for "," in link
syntax, but it is not. %2C means %2C. 
Comment 7 Brion Vibber 2006-12-15 19:14:36 UTC
Percent codes are decoded in inline wikilinks (in part for backwards-compatibility
with interlanguage links from the olden days).

% is a valid title character, but %[0-9a-f]{2} is blacklisted to prevent
unreachable titles.
Comment 8 Brion Vibber 2008-05-29 16:55:36 UTC
Seems to have been fixed some time ago.

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


Navigation
Links