Last modified: 2011-03-13 18:06:25 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 8928 - Section renaming breaks anchor links
Section renaming breaks anchor links
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-09 14:00 UTC by Thomas Diesler
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Attachments

Description Thomas Diesler 2007-02-09 14:00:33 UTC
== My Page ==

foo 

=== My Section ===

bar 
----------------------------------------

[[My Page#My Section]] will break if "My Section" is renamed
Comment 1 Thomas Diesler 2007-02-09 14:02:13 UTC
We are currently authoring the JAX-WS documentation on mediawiki

http://tddell.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-09 17:01:03 UTC
What sort of heuristic would we use to figure out what the "same" section is?  For instance, if 
I change:

== Foo ==
Blah blah blah bleh bleh bleh

to:

== Bar ==
Blah blah blah
== Baz ==
Bleh bleh bleh

what happens to the section anchor?  It would probably be more coherent to have a list of 
"alternative" section anchors in the wikitext itself, I suppose, but that makes things look 
kind of messy (and can be done manually by adding some empty spans or whatnot, if you really 
want to).
Comment 3 Brion Vibber 2007-02-09 20:07:07 UTC
You can create manual anchors if you wish to have stable or shorter items. (eg
<span id="sec1a"></span>) or whatever.

MediaWiki's section anchors are inherently unstable due to the nature of the beast.
Comment 4 Thomas Diesler 2007-02-10 20:25:31 UTC
A special page that discovers broken section anchors would already help a lot.
Is that feasible?
Comment 5 Rob Church 2007-02-10 20:39:40 UTC
(In reply to comment #4)
No.

Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-02-10 23:37:22 UTC
We could probably construct such a special page, but it would require a new
database table or two, probably.  Likely not worth the effort.  If you want to
pursue that, please open a new bug report: separate reports for separate requests.
Comment 7 Thomas Diesler 2007-02-12 08:32:08 UTC
JBoss/RedHat is currently evaluating wiki solutions. This request poped up
during evaluation.

A seperate report is filed here: http://bugzilla.wikimedia.org/show_bug.cgi?id=8955

cheers

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


Navigation
Links