NUKnightLab/TimelineJS3

Wikipedia internal links should create extract text from relevant section

rezeau opened this issue · 0 comments

rezeau commented

When inserting a link to a Wikipedia article in a TimelineJS3, a short extract from the beginning of that article/page is created and displayed. And a clickable link is made available, taking the user to that same Wikipedia article.
Example: https://en.wikipedia.org/wiki/Carthage
However, if one inserts a link to a section of that article, e.g. https://en.wikipedia.org/wiki/Carthage#Archaeological_site, in the Timeline JS3 slide, the Wikipedia link is correctly created to that section, but the extract is still extracted from the beginning of the page/article.
It would be a nice improvement if an extract pointing to a section were created from that section.