Open renoirb opened 9 years ago
After digging, we can also get information on links that are part of the same wiki and learn whether or not MediaWiki has a page at the location the link points to.
Members of the links
array has an exists
member only when there is a page, otherwise its not there.
{
"parse": {
"title": "css/properties/border-radius",
"links": [
{
"ns": 0,
"*": "css/concepts/computed value",
"exists": ""
},
{
"ns": 0,
"*": "css/bar"
}
]
}
}
In the example above the page [[css/properties/border-radius]] contains two links.
Some code samples are also not on code.webplatform.org
.
Some other links were found (list them here):
time for some link cleanup in the content.
Some contributors created code samples elsewhere than code.webatform.org and also had an issue with the user in which code.webplatform.org (Dabblet) was saving gists. We should gather them all.
Solution path
While we still have contents in MediaWiki, use the parse action and extract them
E.g.: