WikiHist .html:英语维基百科的完整修订历史(HTML格式)
WikiHist.html: English Wikipedia's Full Revision History in HTML Format
摘要:
维基百科是用wikitext置标语言编写的。在提供内容时,为维基百科提供支持的MediaWiki软件将维基文本解析为HTML,从而通过扩展宏(模板和模块)插入额外的内容。因此,想要分析读者所看到的维基百科的研究人员应该使用HTML,而不是wikitext。由于维基百科的修订历史仅以wikitext格式公开,研究人员不得不自己生成HTML,通常是通过使用维基百科的REST API进行专门的wikitext到HTML解析。然而,这种方法(1)不能扩展到非常大量的数据,(2)不能正确地扩展历史文章修订中的宏。我们通过开发一个并行化的架构来解决这些问题,该架构使用MediaWiki的本地实例来解析大量的wikitext,并通过正确的历史宏扩展能力来增强。通过部署我们的系统,我们生成并发布WikiHist.html,英语维基百科的HTML格式的完整修订历史。我们在对维基百科超链接的实证分析中强调了WikiHist.html相对于原始维基文本的优势,表明HTML中超过一半的维基链接在原始维基文本中缺失,并且缺失的链接对于用户导航很重要。
英文摘要:
Wikipedia is written in the wikitext markup language. When serving content, the MediaWiki software that powers Wikipedia parses wikitext to HTML, thereby inserting additional content by expanding macros (templates and mod-ules). Hence, researchers who intend to analyze Wikipediaas seen by its readers should work with HTML, rather than wikitext. Since Wikipedia's revision history is publicly available exclusively in wikitext format, researchers have had to produce HTML themselves, typically by using Wikipedia's REST API for ad-hoc wikitext-to-HTML parsing. This approach, however, (1) does not scale to very large amounts ofdata and (2) does not correctly expand macros in historical article revisions. We solve these problems by developing a parallelized architecture for parsing massive amounts of wikitext using local instances of MediaWiki, enhanced with the capacity of correct historical macro expansion. By deploying our system, we produce and release WikiHist.html, English Wikipedia's full revision history in HTML format. We highlight the advantages of WikiHist.html over raw wikitext in an empirical analysis of Wikipedia's hyperlinks, showing that over half of the wiki links present in HTML are missing from raw wikitext and that the missing links are important for user navigation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。