dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

page.references not in the correct order #123

Closed julianYaman closed 4 years ago

julianYaman commented 4 years ago

Hello, my issue is that when I'm requesting the references of a Wikipedia article, it is not in the same order like the reference list in the article when you get them on the web page directly.

It would be very helpful if they were in the same order.

dijs commented 4 years ago

Could you please give me an example of a Wiki page this is happening to?

julianYaman commented 4 years ago

Actually it is any page... For example, try it with Elon Musk, Discord, GitHub or any other Wikipedia page.

dijs commented 4 years ago

Really good find... I mistook an API call for something else. I have updated the code and added a test for proper references. This will be available in v6.0.0