Last modified: 2010-05-15 15:28:20 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 T2908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 908 - links to Special: pages should check for existence, and display appropriately
links to Special: pages should check for existence, and display appropriately
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.3.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Gan...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links