https://bugzilla.wikimedia.org/show_bug.cgi?id=18700


Aryeh Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m




--- Comment #7 from Aryeh Gregor <[email protected]>  2009-05-06 
23:48:33 UTC ---
This is a separate bug, it's separate code paths.  Bug 111 is easier to fix,
since you should be able to just grab the section number from the parser when
you save.  This bug is entirely different to fix, and considerably more
troublesome.  You'd have to store some extra data with the section name to know
which section to jump to.

The whole way we store section anchors for edit summaries is really fragile
anyway.  Try editing a section whose name contains the string "*/".  Or for
that matter, try adding /* C-style comments */ to your edit summary -- they
turn into weird-looking links (uselessly, since you could just do
[[Pagename#Section]] for a normal link; we could probably arrange for
[[#Section]] to work too).  There are probably other failure cases too.

It might be better not to store the section anchors in-band at all. 
rev_section and rev_section_number, maybe?  That would require UI changes too
to work as desired.  Seems like a lot of work for a fairly minor thing.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to