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





--- Comment #7 from Brion Vibber <[email protected]>  2008-12-20 01:54:24 UTC 
---
Obviously an implementation of this would need to track section existence and
usage. :) Let's consider what would be required:

Required additions:

* fragment identifier column on pagelinks
-> adjustment of unique indexes to allow tracking multiple links from one page
to different sections on the same target page
-> adjustment of Whatlinkshere to display these sorts of things

* section info table listing current sections names and fragment IDs for a
given page:
sec_page -> page_id
sec_name "Resource (Windows) article is broken or something..."
sec_fragment "Resource_.28Windows.29_article_is_broken_or_something..."

May or may not be necessary to store both visible name and collapsed fragment
id. Consider also length limits.


Additionally, there's the consideration that some pages may be defining custom
anchors with direct <div id="blah"> and linking to them, or linking to
reference IDs etc -- these would not appear in section TOCs. They could either
be extracted and stored as well, or......?


-- 
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