WikiExtractor / WikiExtractor/wikiextractor
``as of'' template is not handled
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 1m
- Merged PRs (30d)
- 10
Description
The ``as of'' template is not handled by the code. For example, "{{As of|2015}}, Microsoft is market-dominant." is converted to ", Microsoft is market-dominant."
https://en.wikipedia.org/wiki/Template:As_of
{{As of|2018}} – As of 2018
{{As of|2018|11}} – As of November 2018
{{As of|2018|11|13}} – As of 13 November 2018
{{As of|2018|11|13|df=US}} – As of November 13, 2018
{{As of|2018|11|13|lc=y}} – as of 13 November 2018
{{As of|2010|4|1|alt=as of the [[2010 United States Census]]}} – as of the 2010 United States Census
{{As of|2018|11|url=https://en.wikipedia.org/}} returns:
for logged in users, with links displayed (see Wikipedia:As of) – As of November 2018[ref]
for all other users – As of November 2018
{{As of|2018|11|13|df=US|since=y}} – Since November 13, 2018
{{As of|2018|11|13|lc=y|since=y}} – since 13 November 2018
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating WikiExtractor's template-processing path and how unsupported templates are currently removed. Use the listed As of examples as expected-output cases, including date forms, lc, since, alt, df, and url behavior. The work is done when these forms produce the documented text rather than being discarded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100