Last modified: 2012-04-30 22:37:55 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 8383 - Sidebar links are not checked for existence
Sidebar links are not checked for existence
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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.