├── .github └── workflows │ ├── codeql.yml │ └── node.js.yml ├── .gitignore ├── .markdownlint.json ├── .mocharc.json ├── CHANGELOG.md ├── LICENSE ├── README-(ZH).md ├── README.md ├── addon ├── attribute.ts ├── link.ts ├── table.ts ├── token.ts └── transclude.ts ├── base.ts ├── bin ├── config.js └── config.ts ├── bump.sh ├── config ├── .schema.json ├── default.json ├── enwiki.json ├── jawiki.json ├── llwiki.json ├── mediawikiwiki.json ├── minimum.json ├── moegirl.json └── zhwiki.json ├── coverage └── badge.svg ├── data ├── .schema.json ├── ext │ ├── ThirdPartyNotices.txt │ ├── mapframe.json │ ├── math.json │ ├── score.json │ └── templatedata.json └── signatures.json ├── diff.sh ├── errors └── README ├── eslint.config.mjs ├── eslint.markdown.mjs ├── extensions ├── tsconfig.json └── typings.d.ts ├── i18n ├── en.json ├── zh-hans.json └── zh-hant.json ├── index.ts ├── internal.ts ├── lib ├── attributes.ts ├── document.ts ├── element.ts ├── lintConfig.ts ├── lsp.ts ├── node.ts ├── range.ts ├── ranges.ts ├── rect.ts ├── redirectMap.ts ├── text.ts └── title.ts ├── mixin ├── attributesParent.ts ├── cached.ts ├── clone.ts ├── elementLike.ts ├── fixed.ts ├── gapped.ts ├── hidden.ts ├── noEscape.ts ├── nodeLike.ts ├── padded.ts ├── readOnly.ts ├── singleLine.ts ├── sol.ts └── syntax.ts ├── package.json ├── parser ├── braces.ts ├── commentAndExt.ts ├── converter.ts ├── externalLinks.ts ├── hrAndDoubleUnderscore.ts ├── html.ts ├── links.ts ├── list.ts ├── magicLinks.ts ├── quotes.ts ├── redirect.ts ├── selector.ts └── table.ts ├── printed └── README ├── render ├── expand.ts ├── extension.ts ├── magicWords.ts └── syntaxhighlight.ts ├── script ├── coverage.ts ├── declaration.ts ├── parserTests.ts ├── toc.ts └── util.ts ├── sed.sh ├── src ├── arg.ts ├── atom.ts ├── attribute.ts ├── attributes.ts ├── commented.ts ├── converter.ts ├── converterFlags.ts ├── converterRule.ts ├── extLink.ts ├── heading.ts ├── hidden.ts ├── imageParameter.ts ├── imagemapLink.ts ├── index.ts ├── link │ ├── base.ts │ ├── category.ts │ ├── file.ts │ ├── galleryImage.ts │ ├── index.ts │ └── redirectTarget.ts ├── magicLink.ts ├── multiLine │ ├── gallery.ts │ ├── imagemap.ts │ ├── index.ts │ ├── inputbox.ts │ └── paramTag.ts ├── nested.ts ├── nowiki │ ├── base.ts │ ├── comment.ts │ ├── commentLine.ts │ ├── dd.ts │ ├── doubleUnderscore.ts │ ├── hr.ts │ ├── index.ts │ ├── list.ts │ ├── listBase.ts │ ├── noinclude.ts │ └── quote.ts ├── onlyinclude.ts ├── paramLine.ts ├── parameter.ts ├── pre.ts ├── redirect.ts ├── syntax.ts ├── table │ ├── base.ts │ ├── index.ts │ ├── td.ts │ ├── tr.ts │ └── trBase.ts ├── tag │ ├── html.ts │ ├── index.ts │ └── tvar.ts ├── tagPair │ ├── ext.ts │ ├── include.ts │ ├── index.ts │ └── translate.ts └── transclude.ts ├── test ├── core │ ├── ThirdPartyNotices │ ├── additionalTests.txt │ ├── badCharacters.txt │ ├── citeParserTests.txt │ ├── citeSmokeTests.txt │ ├── comments.txt │ ├── definitionLists.txt │ ├── extLinks.txt │ ├── extTags.txt │ ├── funcsParserTests.txt │ ├── headings.txt │ ├── indentPre.txt │ ├── indicators.txt │ ├── interlanguageLinks.txt │ ├── interwikiLinks.txt │ ├── langParserTests.txt │ ├── luaParserTests.txt │ ├── magicLinks.txt │ ├── magicWords.txt │ ├── media.txt │ ├── pWrapping.txt │ ├── parserFunctionTests.txt │ ├── parserTests.txt │ ├── pfeqParserTests.txt │ ├── poem.txt │ ├── preTags.txt │ ├── preprocessor.txt │ ├── pst.txt │ ├── quotes.txt │ ├── redirects.txt │ ├── responsiveReferencesTests.txt │ ├── stringFunctionTests.txt │ ├── subReferencingTests.txt │ ├── syntaxhighlight.txt │ ├── tables.txt │ ├── translateParserTests.txt │ ├── urlFragmentModesTests.txt │ └── wtEscaping.txt ├── hooks.ts ├── json.ts ├── lsp.ts ├── parserTests.json ├── parserTests.ts ├── prof.ts ├── real.ts ├── single.ts ├── stylelint.ts ├── templates │ ├── Main_Page.wiki │ ├── MediaWiki꞉Fake.wiki │ ├── MediaWiki꞉History_short.wiki │ ├── MediaWiki꞉Loop1.wiki │ ├── MediaWiki꞉Loop2.wiki │ ├── MediaWiki꞉Mainpage.wiki │ ├── MediaWiki꞉New-messages.wiki │ ├── MediaWiki꞉Ok.wiki │ ├── MediaWiki꞉T34057.wiki │ ├── Subpage_test │ │ └── L1 │ │ │ └── L2 │ │ │ └── L3Sibling.wiki │ ├── Template꞉''.wiki │ ├── Template꞉1x.wiki │ ├── Template꞉1x_with_div.wiki │ ├── Template꞉=.wiki │ ├── Template꞉Blank.wiki │ ├── Template꞉Blank_param.wiki │ ├── Template꞉Bullet.wiki │ ├── Template꞉Complextemplate.wiki │ ├── Template꞉Dangerous.wiki │ ├── Template꞉Dangerous_attribute.wiki │ ├── Template꞉Dangerous_style_attribute.wiki │ ├── Template꞉Div_style.wiki │ ├── Template꞉Emptytemplate.wiki │ ├── Template꞉Foo.wiki │ ├── Template꞉Foo–bar.wiki │ ├── Template꞉Identical.wiki │ ├── Template꞉Image_attribs.wiki │ ├── Template꞉Includeonly_section.wiki │ ├── Template꞉Includes.wiki │ ├── Template꞉Includes2.wiki │ ├── Template꞉Includes3.wiki │ ├── Template꞉Includes4.wiki │ ├── Template꞉Inner_list.wiki │ ├── Template꞉Just_tr.wiki │ ├── Template꞉Linktest.wiki │ ├── Template꞉Linktest2.wiki │ ├── Template꞉Loop1.wiki │ ├── Template꞉Loop2.wiki │ ├── Template꞉Map-one-parameter.wiki │ ├── Template꞉Mixed_attr_content_template.wiki │ ├── Template꞉Mixed_attr_content_template_2.wiki │ ├── Template꞉Nested_special.wiki │ ├── Template꞉One-parameter.wiki │ ├── Template꞉Paramtest.wiki │ ├── Template꞉Paramtest2.wiki │ ├── Template꞉Paramtestnum.wiki │ ├── Template꞉Pipe.wiki │ ├── Template꞉Pipe_page.wiki │ ├── Template꞉Precedence5.wiki │ ├── Template꞉Preprocessor_precedence_10.wiki │ ├── Template꞉Preprocessor_precedence_9.wiki │ ├── Template꞉Quote.wiki │ ├── Template꞉Refinref.wiki │ ├── Template꞉SafeSubstTest.wiki │ ├── Template꞉Safesubst.wiki │ ├── Template꞉Scribunto_all_args.wiki │ ├── Template꞉Scribunto_frame_caching.wiki │ ├── Template꞉Sections.wiki │ ├── Template꞉SubstTest.wiki │ ├── Template꞉T290526.wiki │ ├── Template꞉Table.wiki │ ├── Template꞉Table_attribs.wiki │ ├── Template꞉Table_attribs_2.wiki │ ├── Template꞉Table_attribs_3.wiki │ ├── Template꞉Table_attribs_4.wiki │ ├── Template꞉Table_attribs_5.wiki │ ├── Template꞉Table_attribs_6.wiki │ ├── Template꞉Table_cell_content.wiki │ ├── Template꞉Table_cells.wiki │ ├── Template꞉Table_header_cells.wiki │ ├── Template꞉Tbl-end.wiki │ ├── Template꞉Tbl-start.wiki │ ├── Template꞉Temp%3F.wiki │ ├── Template꞉Templa.wiki │ ├── Template꞉Template_with_pagename.wiki │ ├── Template꞉Templateasargtest.wiki │ ├── Template꞉Templateasargtest2.wiki │ ├── Template꞉Templateasargtestdefault.wiki │ ├── Template꞉Templateasargtestnum.wiki │ ├── Template꞉Templatesimple.wiki │ ├── Template꞉Test.wiki │ ├── Template꞉With_a_section%3F.wiki │ └── Template꞉With꞉_Colon.wiki └── test.ts ├── tsconfig.dist.json ├── tsconfig.json ├── typings ├── event.d.ts ├── index.d.ts ├── node.d.ts └── parser.d.ts └── util ├── constants.ts ├── debug.ts ├── diff.ts ├── html.ts ├── lint.ts ├── search.ts ├── selector.ts ├── sharable.ts └── string.ts /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/.markdownlint.json -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/.mocharc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/LICENSE -------------------------------------------------------------------------------- /README-(ZH).md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/README-(ZH).md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/README.md -------------------------------------------------------------------------------- /addon/attribute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/addon/attribute.ts -------------------------------------------------------------------------------- /addon/link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/addon/link.ts -------------------------------------------------------------------------------- /addon/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/addon/table.ts -------------------------------------------------------------------------------- /addon/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/addon/token.ts -------------------------------------------------------------------------------- /addon/transclude.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/addon/transclude.ts -------------------------------------------------------------------------------- /base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/base.ts -------------------------------------------------------------------------------- /bin/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/bin/config.js -------------------------------------------------------------------------------- /bin/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/bin/config.ts -------------------------------------------------------------------------------- /bump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/bump.sh -------------------------------------------------------------------------------- /config/.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/.schema.json -------------------------------------------------------------------------------- /config/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/default.json -------------------------------------------------------------------------------- /config/enwiki.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/enwiki.json -------------------------------------------------------------------------------- /config/jawiki.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/jawiki.json -------------------------------------------------------------------------------- /config/llwiki.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/llwiki.json -------------------------------------------------------------------------------- /config/mediawikiwiki.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/mediawikiwiki.json -------------------------------------------------------------------------------- /config/minimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/minimum.json -------------------------------------------------------------------------------- /config/moegirl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/moegirl.json -------------------------------------------------------------------------------- /config/zhwiki.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/config/zhwiki.json -------------------------------------------------------------------------------- /coverage/badge.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/coverage/badge.svg -------------------------------------------------------------------------------- /data/.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/.schema.json -------------------------------------------------------------------------------- /data/ext/ThirdPartyNotices.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/ext/ThirdPartyNotices.txt -------------------------------------------------------------------------------- /data/ext/mapframe.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/ext/mapframe.json -------------------------------------------------------------------------------- /data/ext/math.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/ext/math.json -------------------------------------------------------------------------------- /data/ext/score.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/ext/score.json -------------------------------------------------------------------------------- /data/ext/templatedata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/ext/templatedata.json -------------------------------------------------------------------------------- /data/signatures.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/data/signatures.json -------------------------------------------------------------------------------- /diff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/diff.sh -------------------------------------------------------------------------------- /errors/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/errors/README -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /eslint.markdown.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/eslint.markdown.mjs -------------------------------------------------------------------------------- /extensions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/extensions/tsconfig.json -------------------------------------------------------------------------------- /extensions/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/extensions/typings.d.ts -------------------------------------------------------------------------------- /i18n/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/i18n/en.json -------------------------------------------------------------------------------- /i18n/zh-hans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/i18n/zh-hans.json -------------------------------------------------------------------------------- /i18n/zh-hant.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/i18n/zh-hant.json -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/index.ts -------------------------------------------------------------------------------- /internal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/internal.ts -------------------------------------------------------------------------------- /lib/attributes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/attributes.ts -------------------------------------------------------------------------------- /lib/document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/document.ts -------------------------------------------------------------------------------- /lib/element.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/element.ts -------------------------------------------------------------------------------- /lib/lintConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/lintConfig.ts -------------------------------------------------------------------------------- /lib/lsp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/lsp.ts -------------------------------------------------------------------------------- /lib/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/node.ts -------------------------------------------------------------------------------- /lib/range.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/range.ts -------------------------------------------------------------------------------- /lib/ranges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/ranges.ts -------------------------------------------------------------------------------- /lib/rect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/rect.ts -------------------------------------------------------------------------------- /lib/redirectMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/redirectMap.ts -------------------------------------------------------------------------------- /lib/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/text.ts -------------------------------------------------------------------------------- /lib/title.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/lib/title.ts -------------------------------------------------------------------------------- /mixin/attributesParent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/attributesParent.ts -------------------------------------------------------------------------------- /mixin/cached.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/cached.ts -------------------------------------------------------------------------------- /mixin/clone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/clone.ts -------------------------------------------------------------------------------- /mixin/elementLike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/elementLike.ts -------------------------------------------------------------------------------- /mixin/fixed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/fixed.ts -------------------------------------------------------------------------------- /mixin/gapped.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/gapped.ts -------------------------------------------------------------------------------- /mixin/hidden.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/hidden.ts -------------------------------------------------------------------------------- /mixin/noEscape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/noEscape.ts -------------------------------------------------------------------------------- /mixin/nodeLike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/nodeLike.ts -------------------------------------------------------------------------------- /mixin/padded.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/padded.ts -------------------------------------------------------------------------------- /mixin/readOnly.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/readOnly.ts -------------------------------------------------------------------------------- /mixin/singleLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/singleLine.ts -------------------------------------------------------------------------------- /mixin/sol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/sol.ts -------------------------------------------------------------------------------- /mixin/syntax.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/mixin/syntax.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/package.json -------------------------------------------------------------------------------- /parser/braces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/braces.ts -------------------------------------------------------------------------------- /parser/commentAndExt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/commentAndExt.ts -------------------------------------------------------------------------------- /parser/converter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/converter.ts -------------------------------------------------------------------------------- /parser/externalLinks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/externalLinks.ts -------------------------------------------------------------------------------- /parser/hrAndDoubleUnderscore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/hrAndDoubleUnderscore.ts -------------------------------------------------------------------------------- /parser/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/html.ts -------------------------------------------------------------------------------- /parser/links.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/links.ts -------------------------------------------------------------------------------- /parser/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/list.ts -------------------------------------------------------------------------------- /parser/magicLinks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/magicLinks.ts -------------------------------------------------------------------------------- /parser/quotes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/quotes.ts -------------------------------------------------------------------------------- /parser/redirect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/redirect.ts -------------------------------------------------------------------------------- /parser/selector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/selector.ts -------------------------------------------------------------------------------- /parser/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/parser/table.ts -------------------------------------------------------------------------------- /printed/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/printed/README -------------------------------------------------------------------------------- /render/expand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/render/expand.ts -------------------------------------------------------------------------------- /render/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/render/extension.ts -------------------------------------------------------------------------------- /render/magicWords.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/render/magicWords.ts -------------------------------------------------------------------------------- /render/syntaxhighlight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/render/syntaxhighlight.ts -------------------------------------------------------------------------------- /script/coverage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/script/coverage.ts -------------------------------------------------------------------------------- /script/declaration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/script/declaration.ts -------------------------------------------------------------------------------- /script/parserTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/script/parserTests.ts -------------------------------------------------------------------------------- /script/toc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/script/toc.ts -------------------------------------------------------------------------------- /script/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/script/util.ts -------------------------------------------------------------------------------- /sed.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/sed.sh -------------------------------------------------------------------------------- /src/arg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/arg.ts -------------------------------------------------------------------------------- /src/atom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/atom.ts -------------------------------------------------------------------------------- /src/attribute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/attribute.ts -------------------------------------------------------------------------------- /src/attributes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/attributes.ts -------------------------------------------------------------------------------- /src/commented.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/commented.ts -------------------------------------------------------------------------------- /src/converter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/converter.ts -------------------------------------------------------------------------------- /src/converterFlags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/converterFlags.ts -------------------------------------------------------------------------------- /src/converterRule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/converterRule.ts -------------------------------------------------------------------------------- /src/extLink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/extLink.ts -------------------------------------------------------------------------------- /src/heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/heading.ts -------------------------------------------------------------------------------- /src/hidden.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/hidden.ts -------------------------------------------------------------------------------- /src/imageParameter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/imageParameter.ts -------------------------------------------------------------------------------- /src/imagemapLink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/imagemapLink.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/link/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/base.ts -------------------------------------------------------------------------------- /src/link/category.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/category.ts -------------------------------------------------------------------------------- /src/link/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/file.ts -------------------------------------------------------------------------------- /src/link/galleryImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/galleryImage.ts -------------------------------------------------------------------------------- /src/link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/index.ts -------------------------------------------------------------------------------- /src/link/redirectTarget.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/link/redirectTarget.ts -------------------------------------------------------------------------------- /src/magicLink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/magicLink.ts -------------------------------------------------------------------------------- /src/multiLine/gallery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/multiLine/gallery.ts -------------------------------------------------------------------------------- /src/multiLine/imagemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/multiLine/imagemap.ts -------------------------------------------------------------------------------- /src/multiLine/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/multiLine/index.ts -------------------------------------------------------------------------------- /src/multiLine/inputbox.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/multiLine/inputbox.ts -------------------------------------------------------------------------------- /src/multiLine/paramTag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/multiLine/paramTag.ts -------------------------------------------------------------------------------- /src/nested.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nested.ts -------------------------------------------------------------------------------- /src/nowiki/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/base.ts -------------------------------------------------------------------------------- /src/nowiki/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/comment.ts -------------------------------------------------------------------------------- /src/nowiki/commentLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/commentLine.ts -------------------------------------------------------------------------------- /src/nowiki/dd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/dd.ts -------------------------------------------------------------------------------- /src/nowiki/doubleUnderscore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/doubleUnderscore.ts -------------------------------------------------------------------------------- /src/nowiki/hr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/hr.ts -------------------------------------------------------------------------------- /src/nowiki/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/index.ts -------------------------------------------------------------------------------- /src/nowiki/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/list.ts -------------------------------------------------------------------------------- /src/nowiki/listBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/listBase.ts -------------------------------------------------------------------------------- /src/nowiki/noinclude.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/noinclude.ts -------------------------------------------------------------------------------- /src/nowiki/quote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/nowiki/quote.ts -------------------------------------------------------------------------------- /src/onlyinclude.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/onlyinclude.ts -------------------------------------------------------------------------------- /src/paramLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/paramLine.ts -------------------------------------------------------------------------------- /src/parameter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/parameter.ts -------------------------------------------------------------------------------- /src/pre.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/pre.ts -------------------------------------------------------------------------------- /src/redirect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/redirect.ts -------------------------------------------------------------------------------- /src/syntax.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/syntax.ts -------------------------------------------------------------------------------- /src/table/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/table/base.ts -------------------------------------------------------------------------------- /src/table/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/table/index.ts -------------------------------------------------------------------------------- /src/table/td.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/table/td.ts -------------------------------------------------------------------------------- /src/table/tr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/table/tr.ts -------------------------------------------------------------------------------- /src/table/trBase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/table/trBase.ts -------------------------------------------------------------------------------- /src/tag/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tag/html.ts -------------------------------------------------------------------------------- /src/tag/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tag/index.ts -------------------------------------------------------------------------------- /src/tag/tvar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tag/tvar.ts -------------------------------------------------------------------------------- /src/tagPair/ext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tagPair/ext.ts -------------------------------------------------------------------------------- /src/tagPair/include.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tagPair/include.ts -------------------------------------------------------------------------------- /src/tagPair/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tagPair/index.ts -------------------------------------------------------------------------------- /src/tagPair/translate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/tagPair/translate.ts -------------------------------------------------------------------------------- /src/transclude.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/src/transclude.ts -------------------------------------------------------------------------------- /test/core/ThirdPartyNotices: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/ThirdPartyNotices -------------------------------------------------------------------------------- /test/core/additionalTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/additionalTests.txt -------------------------------------------------------------------------------- /test/core/badCharacters.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/badCharacters.txt -------------------------------------------------------------------------------- /test/core/citeParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/citeParserTests.txt -------------------------------------------------------------------------------- /test/core/citeSmokeTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/citeSmokeTests.txt -------------------------------------------------------------------------------- /test/core/comments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/comments.txt -------------------------------------------------------------------------------- /test/core/definitionLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/definitionLists.txt -------------------------------------------------------------------------------- /test/core/extLinks.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/extLinks.txt -------------------------------------------------------------------------------- /test/core/extTags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/extTags.txt -------------------------------------------------------------------------------- /test/core/funcsParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/funcsParserTests.txt -------------------------------------------------------------------------------- /test/core/headings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/headings.txt -------------------------------------------------------------------------------- /test/core/indentPre.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/indentPre.txt -------------------------------------------------------------------------------- /test/core/indicators.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/indicators.txt -------------------------------------------------------------------------------- /test/core/interlanguageLinks.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/interlanguageLinks.txt -------------------------------------------------------------------------------- /test/core/interwikiLinks.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/interwikiLinks.txt -------------------------------------------------------------------------------- /test/core/langParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/langParserTests.txt -------------------------------------------------------------------------------- /test/core/luaParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/luaParserTests.txt -------------------------------------------------------------------------------- /test/core/magicLinks.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/magicLinks.txt -------------------------------------------------------------------------------- /test/core/magicWords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/magicWords.txt -------------------------------------------------------------------------------- /test/core/media.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/media.txt -------------------------------------------------------------------------------- /test/core/pWrapping.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/pWrapping.txt -------------------------------------------------------------------------------- /test/core/parserFunctionTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/parserFunctionTests.txt -------------------------------------------------------------------------------- /test/core/parserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/parserTests.txt -------------------------------------------------------------------------------- /test/core/pfeqParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/pfeqParserTests.txt -------------------------------------------------------------------------------- /test/core/poem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/poem.txt -------------------------------------------------------------------------------- /test/core/preTags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/preTags.txt -------------------------------------------------------------------------------- /test/core/preprocessor.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/preprocessor.txt -------------------------------------------------------------------------------- /test/core/pst.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/pst.txt -------------------------------------------------------------------------------- /test/core/quotes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/quotes.txt -------------------------------------------------------------------------------- /test/core/redirects.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/redirects.txt -------------------------------------------------------------------------------- /test/core/responsiveReferencesTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/responsiveReferencesTests.txt -------------------------------------------------------------------------------- /test/core/stringFunctionTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/stringFunctionTests.txt -------------------------------------------------------------------------------- /test/core/subReferencingTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/subReferencingTests.txt -------------------------------------------------------------------------------- /test/core/syntaxhighlight.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/syntaxhighlight.txt -------------------------------------------------------------------------------- /test/core/tables.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/tables.txt -------------------------------------------------------------------------------- /test/core/translateParserTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/translateParserTests.txt -------------------------------------------------------------------------------- /test/core/urlFragmentModesTests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/urlFragmentModesTests.txt -------------------------------------------------------------------------------- /test/core/wtEscaping.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/core/wtEscaping.txt -------------------------------------------------------------------------------- /test/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/hooks.ts -------------------------------------------------------------------------------- /test/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/json.ts -------------------------------------------------------------------------------- /test/lsp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/lsp.ts -------------------------------------------------------------------------------- /test/parserTests.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/parserTests.json -------------------------------------------------------------------------------- /test/parserTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/parserTests.ts -------------------------------------------------------------------------------- /test/prof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/prof.ts -------------------------------------------------------------------------------- /test/real.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/real.ts -------------------------------------------------------------------------------- /test/single.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/single.ts -------------------------------------------------------------------------------- /test/stylelint.ts: -------------------------------------------------------------------------------- 1 | export default undefined; 2 | -------------------------------------------------------------------------------- /test/templates/Main_Page.wiki: -------------------------------------------------------------------------------- 1 | blah blah -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉Fake.wiki: -------------------------------------------------------------------------------- 1 | ==header== -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉History_short.wiki: -------------------------------------------------------------------------------- 1 | History -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉Loop1.wiki: -------------------------------------------------------------------------------- 1 | {{Identical|B}} -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉Loop2.wiki: -------------------------------------------------------------------------------- 1 | {{Identical|A}} -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉Mainpage.wiki: -------------------------------------------------------------------------------- 1 | Main Page -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉New-messages.wiki: -------------------------------------------------------------------------------- 1 | You have $1 ($2). -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉Ok.wiki: -------------------------------------------------------------------------------- 1 | OK -------------------------------------------------------------------------------- /test/templates/MediaWiki꞉T34057.wiki: -------------------------------------------------------------------------------- 1 | == {{int:ok}} == -------------------------------------------------------------------------------- /test/templates/Subpage_test/L1/L2/L3Sibling.wiki: -------------------------------------------------------------------------------- 1 | Sibling article -------------------------------------------------------------------------------- /test/templates/Template꞉''.wiki: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /test/templates/Template꞉1x.wiki: -------------------------------------------------------------------------------- 1 | {{{1}}} -------------------------------------------------------------------------------- /test/templates/Template꞉1x_with_div.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉1x_with_div.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉=.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉=.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Blank.wiki: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/Template꞉Blank_param.wiki: -------------------------------------------------------------------------------- 1 | {{{1}}} 2 | {{{}}} -------------------------------------------------------------------------------- /test/templates/Template꞉Bullet.wiki: -------------------------------------------------------------------------------- 1 | *Bar -------------------------------------------------------------------------------- /test/templates/Template꞉Complextemplate.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Complextemplate.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Dangerous.wiki: -------------------------------------------------------------------------------- 1 | @Oh no -------------------------------------------------------------------------------- /test/templates/Template꞉Dangerous_attribute.wiki: -------------------------------------------------------------------------------- 1 | " onmouseover="alert(document.cookie) -------------------------------------------------------------------------------- /test/templates/Template꞉Dangerous_style_attribute.wiki: -------------------------------------------------------------------------------- 1 | border-size: expression(alert(document.cookie)) -------------------------------------------------------------------------------- /test/templates/Template꞉Div_style.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Div_style.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Emptytemplate.wiki: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/templates/Template꞉Foo.wiki: -------------------------------------------------------------------------------- 1 | FOO -------------------------------------------------------------------------------- /test/templates/Template꞉Foo–bar.wiki: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /test/templates/Template꞉Identical.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Identical.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Image_attribs.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Image_attribs.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Includeonly_section.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Includeonly_section.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Includes.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Includes.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Includes2.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Includes2.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Includes3.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Includes3.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Includes4.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Includes4.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Inner_list.wiki: -------------------------------------------------------------------------------- 1 | * item 1 -------------------------------------------------------------------------------- /test/templates/Template꞉Just_tr.wiki: -------------------------------------------------------------------------------- 1 | |- -------------------------------------------------------------------------------- /test/templates/Template꞉Linktest.wiki: -------------------------------------------------------------------------------- 1 | [[{{{param}}}|link]] -------------------------------------------------------------------------------- /test/templates/Template꞉Linktest2.wiki: -------------------------------------------------------------------------------- 1 | Main Page -------------------------------------------------------------------------------- /test/templates/Template꞉Loop1.wiki: -------------------------------------------------------------------------------- 1 | {{loop2}} -------------------------------------------------------------------------------- /test/templates/Template꞉Loop2.wiki: -------------------------------------------------------------------------------- 1 | {{loop1}} -------------------------------------------------------------------------------- /test/templates/Template꞉Map-one-parameter.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Map-one-parameter.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Mixed_attr_content_template.wiki: -------------------------------------------------------------------------------- 1 | style="color:red;" title="T48811" 2 | |- 3 | |foo -------------------------------------------------------------------------------- /test/templates/Template꞉Mixed_attr_content_template_2.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Mixed_attr_content_template_2.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Nested_special.wiki: -------------------------------------------------------------------------------- 1 | {{Special:Prefixindex/Xyzzyx}} -------------------------------------------------------------------------------- /test/templates/Template꞉One-parameter.wiki: -------------------------------------------------------------------------------- 1 | (My parameter is: {{{1}}}) -------------------------------------------------------------------------------- /test/templates/Template꞉Paramtest.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Paramtest.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Paramtest2.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Paramtest2.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Paramtestnum.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Paramtestnum.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Pipe.wiki: -------------------------------------------------------------------------------- 1 | | -------------------------------------------------------------------------------- /test/templates/Template꞉Pipe_page.wiki: -------------------------------------------------------------------------------- 1 | Main|Page -------------------------------------------------------------------------------- /test/templates/Template꞉Precedence5.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Precedence5.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Preprocessor_precedence_10.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Preprocessor_precedence_10.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Preprocessor_precedence_9.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Preprocessor_precedence_9.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Quote.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Quote.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Refinref.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Refinref.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉SafeSubstTest.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉SafeSubstTest.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Safesubst.wiki: -------------------------------------------------------------------------------- 1 | {{{1}}} -------------------------------------------------------------------------------- /test/templates/Template꞉Scribunto_all_args.wiki: -------------------------------------------------------------------------------- 1 | {{#invoke:test|getParentArgs}} -------------------------------------------------------------------------------- /test/templates/Template꞉Scribunto_frame_caching.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Scribunto_frame_caching.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Sections.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Sections.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉SubstTest.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉SubstTest.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉T290526.wiki: -------------------------------------------------------------------------------- 1 | Main Page{{!}}Something else -------------------------------------------------------------------------------- /test/templates/Template꞉Table.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_attribs.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs_2.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_attribs_2.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs_3.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_attribs_3.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs_4.wiki: -------------------------------------------------------------------------------- 1 | | style="background-color:#DC241f;" width="10px" | -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs_5.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_attribs_5.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_attribs_6.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_attribs_6.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_cell_content.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_cell_content.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_cells.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_cells.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Table_header_cells.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Table_header_cells.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Tbl-end.wiki: -------------------------------------------------------------------------------- 1 | |} -------------------------------------------------------------------------------- /test/templates/Template꞉Tbl-start.wiki: -------------------------------------------------------------------------------- 1 | {| -------------------------------------------------------------------------------- /test/templates/Template꞉Temp%3F.wiki: -------------------------------------------------------------------------------- 1 | temp {{{1}}} -------------------------------------------------------------------------------- /test/templates/Template꞉Templa.wiki: -------------------------------------------------------------------------------- 1 | '''templ''' -------------------------------------------------------------------------------- /test/templates/Template꞉Template_with_pagename.wiki: -------------------------------------------------------------------------------- 1 | This is {{PAGENAME}}. -------------------------------------------------------------------------------- /test/templates/Template꞉Templateasargtest.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Templateasargtest.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Templateasargtest2.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Templateasargtest2.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Templateasargtestdefault.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Templateasargtestdefault.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Templateasargtestnum.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Templateasargtestnum.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉Templatesimple.wiki: -------------------------------------------------------------------------------- 1 | (test) -------------------------------------------------------------------------------- /test/templates/Template꞉Test.wiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/templates/Template꞉Test.wiki -------------------------------------------------------------------------------- /test/templates/Template꞉With_a_section%3F.wiki: -------------------------------------------------------------------------------- 1 | === test === -------------------------------------------------------------------------------- /test/templates/Template꞉With꞉_Colon.wiki: -------------------------------------------------------------------------------- 1 | Template with colon -------------------------------------------------------------------------------- /test/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/test/test.ts -------------------------------------------------------------------------------- /tsconfig.dist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/tsconfig.dist.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/event.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/typings/event.d.ts -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/typings/index.d.ts -------------------------------------------------------------------------------- /typings/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/typings/node.d.ts -------------------------------------------------------------------------------- /typings/parser.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/typings/parser.d.ts -------------------------------------------------------------------------------- /util/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/constants.ts -------------------------------------------------------------------------------- /util/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/debug.ts -------------------------------------------------------------------------------- /util/diff.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/diff.ts -------------------------------------------------------------------------------- /util/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/html.ts -------------------------------------------------------------------------------- /util/lint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/lint.ts -------------------------------------------------------------------------------- /util/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/search.ts -------------------------------------------------------------------------------- /util/selector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/selector.ts -------------------------------------------------------------------------------- /util/sharable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/sharable.ts -------------------------------------------------------------------------------- /util/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhsd-harry/wikiparser-node/HEAD/util/string.ts --------------------------------------------------------------------------------