Last modified: 2012-04-30 22:37:55 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 T10383, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8383 - Sidebar links are not checked for existence
Sidebar links are not checked for existence
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-25 17:30 UTC by Dan Jacobson
Modified: 2012-04-30 22:37 UTC (History)
2 users (show)

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


Attachments

Description Dan Jacobson 2006-12-25 17:30:28 UTC
Deleting Project:Site_support doesn't cause it to turn red in the
navigation links in the left panel on every page.

P.S., what's the blank line at the top of MediaWiki:Sidebar all about?
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-25 18:54:41 UTC
Links in the sidebar are not checked for redlinkiness, no.  Is there any reason
they should be?
Comment 2 Rob Church 2006-12-26 02:36:23 UTC
(In reply to comment #0)
> P.S., what's the blank line at the top of MediaWiki:Sidebar all about?

There...isn't one?

Comment 3 Brion Vibber 2006-12-27 06:19:17 UTC
This is for performance and caching reasons. Since the rendered sidebar is
cached, it would be desirable to have a way to clear that cache when something
linked is created/deleted if redlinks are used; otherwise you'd get stuck with
bogus redlinks (which are much, MUCH more annoying than bogus bluelinks).

At the moment there's not really a good list of such; one could reparse the
sidebar on every page creation / deletion event to list, perhaps.
Comment 4 Rob Church 2007-07-22 20:55:52 UTC
If Title::touchLinksTo() and the like invalidate the sidebar cache when called on the appropriate message page, which wouldn't be too hard, then we could call Linker::makeKnownLinkObj() when building the sidebar, provided we added appropriate entries to link tables to ensure cache coherency.
Comment 5 Brion Vibber 2008-04-29 20:11:54 UTC
The primary complication is that we don't have the links recorded, as the sidebar itself is not a regular page. It's a _list_ of string keys which may be either indirect (localizable message keys) or direct (page titles or URLs).
Comment 6 Thehelpfulone 2012-04-30 22:37:55 UTC
Seems like intended behaviour, closing bug as won't fix.

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


Navigation
Links