Last modified: 2005-10-12 19:56:14 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 T4173, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2173 - Fatal error when removing an article with an whitespace title from the watchlist
Fatal error when removing an article with an whitespace title from the watchlist
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-14 18:37 UTC by Med
Modified: 2005-10-12 19:56 UTC (History)
0 users

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


Attachments
screenshot of the watchlist with the empty title that produces a fata error (8.72 KB, image/png)
2005-05-14 18:39 UTC, Med
Details

Description Med 2005-05-14 18:37:52 UTC
In my watchlist there is an article with an empty title (probably not empty as it is 
between Zététique and École nationale des ponts et chaussées, but not displayable at 
least). When i try to remove it  
using http://fr.wikipedia.org/w/index.php?title=Special:Watchlist&magic=yes i get: 
"Fatal error: Call to a member function on a non-object 
in /usr/local/apache/common-local/php-1.4/includes/SpecialWatchlist.php on line 45". 
 
Thanks. 
 
Med
Comment 1 Med 2005-05-14 18:39:44 UTC
Created attachment 535 [details]
screenshot of the watchlist with the empty title that produces a fata error
Comment 2 Brion Vibber 2005-06-02 00:27:52 UTC
It's supposed to gracefully avoid dying when given invalid titles, but the check was outdated / 
bogus and itself caused an error. That's fixed. (Invalid junk may still be in the database 
though.)
Comment 3 lɛʁi לערי ריינהארט 2005-10-12 18:05:57 UTC
please see
http://fr.wikipedia.org/wiki/Special:Allpages/Z%C3%A9t%C3%A9tique
Tous les articles: [[fr:il_(typographie)]] [[fr: ]] [[fr:£]]

the second title is whitespace http://fr.wikipedia.org/wiki/%C2%A0 redirecting
to [[Espace_typographique]]

Regards Reinhardt [[user:gangleri]]
Comment 4 lɛʁi לערי ריינהארט 2005-10-12 19:56:14 UTC
actual behaviour / testcase

a) add to your watchlist
http://fr.wikipedia.org/w/index.php?title=%C2%A0&redirect=no
b) remove from your watchlist

Liste de suivi
Un article de Wikipédia, l'encyclopédie libre.
(pour l'utilisateur « NN »)

Les articles sélectionnés sont retirés de votre liste de suivi...

()done.

note: () is empty because of whitespace title

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


Navigation
Links