Erik Moeller wrote:
Toby Bartels wrote:
>If by "from elsewhere", you mean ?from
other articles?,
>then am I the only one left that considers this a Bad Idea?
Well, as I recently learned, it was always possible to
link to anchors
within other articles using the [[foo#bar]] syntax. Only the anchors were
not yet added to the articles (but could be added manually using HTML).
Now the anchors are auto-generated, because it was necessary for the table
of contents generation to do that. I'm not inclined to modify the code to
take a previously existing feature (the [[foo#bar]] support) out, which
means that it is now possible to link to sections on any page from any
page. Call it a side effect that was difficult to avoid.
I wouldn't call that a previously existing /feature/,
since it was useless without an HTML trick that was never intended.
That it becomes useful is a side effect of what you've done, yes;
but then, its very existence is just a side effect of how we parse links.
However, since you didn't /create/ this, let me rephrase:
I suggest disabling intrawiki links of the form [[X#Y]] (but not [[#Y]]),
for the reasons that may be found in past discussions.
I am still generally favorable, of course!
-- Toby