Last modified: 2013-06-18 15:24:52 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 T23796, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21796 - Pages with name ending with '/.' are not accessible
Pages with name ending with '/.' are not accessible
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pl.wikipedia.org/w/index.php?t...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-08 14:14 UTC by Beau
Modified: 2013-06-18 15:24 UTC (History)
4 users (show)

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


Attachments
Fix displaying list of deleted pages (586 bytes, patch)
2011-08-27 09:28 UTC, Beau
Details

Description Beau 2009-12-08 14:14:46 UTC
When I try searching for deleted pages on pl.wikipedia with prefix 'User:Beau' I got blank page as a result (MediaWiki dies?).
Comment 1 Raimond Spekking 2010-01-09 09:31:45 UTC
Does this happen still? Or solved in the meantime?
Comment 2 Beau 2010-01-09 11:02:30 UTC
I still receive 'HTTP/1.0 500 Internal Server Error'.
Comment 3 Beau 2011-02-22 16:58:55 UTC
Now it does not show a blank page, but an error message:

PHP fatal error in /usr/local/apache/common-local/php-1.17/includes/specials/SpecialUndelete.php line 746: 
Call to a member function getPrefixedText() on a non-object

It would be nice if 14 months old fatals were fixed somewhen...
Comment 4 Beau 2011-08-18 12:55:59 UTC
No one was interested so I took a look myself out of curiosity. With an aid of toolserver I was able to find the issue. There was a page named 'Wikipedysta:Beau/.' it was later deleted. Now such titles are invalid, so the page itself is no longer accessible. 

I can see link to it using Special:Log:
https://secure.wikimedia.org/wikipedia/pl/w/index.php?title=Specjalna:Rejestr&dir=prev&offset=20080119212153&user=Beau&limit=1
and Special:DeletedContributions:
https://secure.wikimedia.org/wikipedia/pl/w/index.php?title=Specjalna:Usuni%C4%99ty_wk%C5%82ad&dir=prev&offset=20071202113605&target=Beau&limit=1
Comment 5 Beau 2011-08-27 09:28:11 UTC
Created attachment 8981 [details]
Fix displaying list of deleted pages

I have created a patch, which replaces makeTitleSafe with makeTitle. It allows to display deleted pages corretly without dereferencing null pointer. However, it is still impossible to view or undelete a page with an invalid title.
Comment 6 Marcin Cieślak 2012-04-02 15:40:12 UTC
How do you think MediaWiki should behave when encountering a now-illegal page name in the database? I try to reproduce the problem (I have renamed one page by hand in the database) and this page is actually inaccessible by normal means (one gets redirected from [[User:WikiAdmin/.]] to [[User:WikiAdmin/]] all the time; it gets listed in [[Special:PrefixIndex]] only.
Comment 7 Beau 2012-04-02 15:46:13 UTC
This page was normally accessible by using index.php?title= as entry point and encoding . as %2E in the title parameter. 

The change of page title validation should have been accompanied by a maintenance script, which sanitizes in some deterministic way existing titles in the database. I don't think there is a point in extending Special:Undelete to handle such rare cases with a rename & restore feature.
Comment 8 Brion Vibber 2012-04-03 16:29:05 UTC
Applied thingy in gerrit.

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


Navigation
Links