Talk:Web2Cit/monitor/nl/nos/results
Add topicFixed tests and templates
[edit]Hi @Mbch331! I just saw a year ago you tried configuring nos.nl domain with Web2Cit. Unfortunately, what you did probably didn't work as you expected. Web2Cit configuration can be hard to understand at first :)
I just fixed both the test and template you had created back then. Briefly, I made both test and template paths specific, pointing at a specific sample article (/artikel/2621604-australische-great-barrier-reef-toch-niet-op-unesco-lijst-bedreigd-werelderfgoed) rather than general homepage (/).
Having such a specific test path is important to monitor website or Web2Cit configuration changes in the future that may break citation metadata extraction, to make sure it continues working as expected.
Regarding templates, although they must be defined for a specific path too, that doesn't mean they will be used to process that path only. They will be tried on all pages of the domain and used based on some template applicability rules better explained in our documentation.
I also added a few more fields. I assume you had just set the itemType field because that was the field output you wanted to change most: Citoid (Wikipedia's default automatic citation generator) is returning webpage and reasonably you wanted newspaperArticle. But setting as many test fields as possible is important because what may be working OK today may not work tomorrow anymore.
Finally, if you want, maybe you can give it a try now in Wikipedia? Try installing Web2Cit user script and try to generate a citation for https://nos.nl/artikel/2621604-australische-great-barrier-reef-toch-niet-op-unesco-lijst-bedreigd-werelderfgoed or other article in NOS. You should get two citations now, one from Citoid and the other from Web2Cit. Hopefully the one from Web2Cit will have more accurate metadata now:
Let me know if you have any questions or need any help! Diegodlh (talk) 13:35, 4 July 2026 (UTC)
- It works. I did one change, I made sure nos.nl links to the article on nlwiki. Mbch331 (talk) 14:12, 4 July 2026 (UTC)
- Hi, @Mbch331!
- I would generally recommend against including wikilinks in Web2Cit outputs, because these outputs are intended to be used across all Wikipedias (and potentially outside Wikipedia too) and the wikilink may not exist, may be different or may not make any sense at all in those other contexts.
- I have been working on a possible way to make this work using Wikidata to resolve wikilinks, and without disrupting other potential uses. You may read about this in phab:T309869. It was taking me a bit more than planned so I paused for a while, but if time allows I may be able to continue working on it soon. Diegodlh (talk) 14:58, 4 July 2026 (UTC)
- Just noting here that I have updated the template to use the newly available QID transformation step to better support wikilinks in the outputs: Web2Cit/Docs/Templates#QID_transformation. Diegodlh (talk) 22:22, 18 August 2026 (UTC)