Page MenuHomePhabricator

Special page listing broken section anchors
Closed, InvalidPublic

Description

Author: thomas.diesler

Description:

My Page

foo

My Section

bar

[[My Page#My Section]] will break if "My Section" is renamed

Please add a special page that discovers broken section anchors.

Relates to: http://bugzilla.wikimedia.org/show_bug.cgi?id=8928


Version: unspecified
Severity: enhancement

Details

Reference
bz8955

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8955.
bzimport added a subscriber: Unknown Object (MLST).

Not much point to this; would require changes to database structure for an
extremely fragile interface, not worth the effort.

robchur wrote:

*** Bug 9106 has been marked as a duplicate of this bug. ***

This is the kind of thing which is much better served by the toolserver, if and when
it ever catches up ;-) Maybe the original poster could redirect his request in that
direction...

ayg wrote:

I don't know, I could see the value to this. It's added info in the schema that could be useful for plenty of things. It's pretty annoying to follow a broken link, and if such links are fragile, that's all the more reason to add the ability to maintain them. Could this be reconsidered?

This wouldn't even work -- you don't know whether that was an id or a section or what.

thomas.diesler wrote:

Instead of resolving this issue as invalid, it would probably be better to propose a solution that would actually work. As it is now section links are pretty useless especially if the wiki is in its early stages of development (i.e. not stable)

They're not particularly useless. They'll still get you to the page.

ayg wrote:

(In reply to comment #5)

This wouldn't even work -- you don't know whether that was an id or a section
or what.

Ah, that's true. You could search the rendered page for a matching id, but that would be rather awkward (since you'd have to parse it . . . which I guess you would regardless due to templates). However, that issue doesn't apply to bug 10310, so I'll reopen that separately for consideration.