Last modified: 2010-05-15 15:28:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 908 - links to Special: pages should check for existence, and display appropriately
links to Special: pages should check for existence, and display appropriately
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-11-18 15:19 UTC by lɛʁi לערי ריינהארט
Modified: 2010-05-15 15:28 UTC (History)
3 users (show)

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


Description lɛʁi לערי ריינהארט 2004-11-18 15:19:18 UTC
At [[en:User:Gangleri/tests/special/unknown#bugzilla:908]] you can 
see links to [[special:versions]] and [[special:unknown]].

Both links are blue and direct to "No such special page". This 
seems to be a special behaviour for ns:-1 / ns:special.

Regards Reinhardt
Comment 1 Rowan Collins [IMSoP] 2004-11-18 15:57:08 UTC
"Special:" pages do not exist in the same sense that other pages of the wiki do.
Rather than entries in the database, they are [to simplify somewhat] seperate
programs that interface with the rest of the software and its database. Thus the
check for existence made for linking to a "real" article can't be applied here;
also, the "red link" styling implies that the target doesn't exist *and can be
created*, so I'm uncertain whether a link to something like
[[Special:NonexistentSpecialPage]] should look the same.

Nonetheless, it would be nice if it was possible to spot such invalid links (it
probably indicates a typo needing correction); we could assign some different
styling to the link, or possibly even not render it as a link (although this is
probably asking for trouble). The biggest problem is with cache invalidation: if
a new Special page were created, we'd really want the links to it to stop
showing up invalid, and there's no way of tracking them with the current DB
structure; but maybe that wouldn't be a problem very often.

I must say, it would be nice to have an overhaul of the Special: pages system
sometime, to make the whole thing a bit more structured; but, I guess, it's not
a priority.
Comment 2 Antoine "hashar" Musso (WMF) 2007-05-26 16:24:09 UTC
Fixed in r22450.
Comment 3 Antoine "hashar" Musso (WMF) 2007-05-26 16:51:16 UTC
Additional fix in r22451 r22452

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