Talk:Versions

From DDraceNetwork
Revision as of 13:40, 1 March 2021 by Ryozuki (talk | contribs) (Created page with "I generated this page using this js script after loading jquery to the browser console: <syntaxhighlight lang="javascript" line='line'> let versions = $("h3").text().replace(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I generated this page using this js script after loading jquery to the browser console:

let versions = $("h3").text().replace("Other Downloads", "").split("DDNet ").slice(1);

let changelogs = $('div.dlinfo > ul').map(function(){
               return $(this).prop('outerHTML');
            }).get();

var result = "";
var i = 0;
for(var c of changelogs) {
	result += "\n== Version: " + versions[i] + " ==\n";
	result += c
	result += "\n";
	i++;
}
console.log(result);
copy(result);

Ryozuki (talk) 14:39, 1 March 2021 (CET)