OpenRefine / OpenRefine/CommonsExtension

GREL function for {{Creator:Peter Paul Rubens}} {{Institution:Rijksmuseum}} style templates

Open
#6 0 comments 0 reactions 1 assignee View on GitHub

@j-sal is already working on this.

Since Apr 30, 2022.

expression language
Dominant language
Java
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Wikimedia Commons Wikitext also often contains templates that are formed as {{Creator:Peter Paul Rubens}} or {{Institution:Rijksmuseum}} (note the : instead of a | character). Because such templates are very prevalent (the {{Creator}} and {{Institution}} one are used on millions of files) it would be great to be able to have a dedicated GREL syntax/function for these. See https://commons.wikimedia.org/wiki/Template:Creator and https://commons.wikimedia.org/wiki/Template:Institution for a bit more info about both templates.

In the {{Creator:Peter Paul Rubens}} and {{Institution:Rijksmuseum}} examples respectively, the OpenRefine end user will want to extract Peter Paul Rubens and Rijksmuseum.

This file has both templates, as just one example.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.