Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Norwegian redirects #570

Merged
merged 2 commits into from Nov 23, 2023

Conversation

dagingaa
Copy link
Contributor

Useful for parsing the Norwegian wikipedia dumps, to avoid redirects when processing the data dump.

The XML for Norwegian looks like this:

  <page>
    <title>Det norske Arbeiderparti</title>
    <ns>0</ns>
    <id>1</id>
    <redirect title="Arbeiderpartiet" />
    <revision>
      <id>15529121</id>
      <parentid>9343288</parentid>
      <timestamp>2016-01-09T14:07:08Z</timestamp>
      <contributor>
        <username>StigBot</username>
        <id>27430</id>
      </contributor>
      <minor />
      <comment>Standardisering av omdirigeringer</comment>
      <model>wikitext</model>
      <format>text/x-wiki</format>
      <text bytes="83" xml:space="preserve">#OMDIRIGERING [[Arbeiderpartiet]]

[[Kategori:Omdirigeringer fra eldre skriveform]]</text>
      <sha1>ljql4j8oluonmqkzqq17l5d8ylf1uo0</sha1>
    </revision>
  </page>

spencermountain and others added 2 commits November 15, 2023 12:41
Useful for parsing the Norwegian wikipedia dumps, to avoid redirects when processing the data dump
@spencermountain spencermountain changed the base branch from master to dev November 23, 2023 13:34
@spencermountain spencermountain merged commit 6c90c72 into spencermountain:dev Nov 23, 2023
3 checks passed
@spencermountain
Copy link
Owner

🏆

@dagingaa dagingaa deleted the patch-1 branch December 1, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants