question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parse wikimedia URLs as input param

See original GitHub issue

I’m unable to fetch and parse from the following wiki: https://dota2.gamepedia.com/Abaddon

wtfWikipedia.fetch('https://dota2.gamepedia.com/Abaddon', (err, doc) => {
    if (err) console.log(err);
    console.log(doc);
});`

From what I read through the other issues, mediawiki's should be supported or am I mistaken?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
niebertcommented, May 1, 2019

add extension of wtf_wikipedia to the Github Wiki

0reactions
spencermountaincommented, Mar 12, 2020

this works now, in v8.0.0 check on the docs here thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow passing parameters to MediaWiki Pages
URL parameter : A way to pass information about a click through its URL. You can insert URL parameters into your URLs so...
Read more >
API:Parsing wikitext - MediaWiki
This page is part of the MediaWiki Action API documentation. GET/POST request to parse content of a page and obtain the output.
Read more >
Query string - Wikipedia
A query string is a part of a uniform resource locator (URL) that assigns values to specified parameters. ... Web frameworks may provide...
Read more >
Regex for parsing Wikipedia templates - Stack Overflow
input = `|param1=value1 |param2 = [[value2|val2]] |param3 ... It will work only if the parameters name or values do not contain = character....
Read more >
mediawiki/Parser.php at master - GitHub
PHP Parser - Processes wiki markup (which uses a more user-friendly ... RegExp to make image URLs (embeds IPv6 part of EXT_LINK_ADDR).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found