Catman...nguage(3pm)
β¨ NAME β¨
Catmandu::Fix::wd_language β okay bestie, this is a Perl manual page, section 3pm, and it's here to do one (1) very specific lil job: limiting the string values in a Wikidata entity record to just one language you picked. π
π VERSION π
version 0.06 β yeah she's a vintage queen, we stan a stable release. β¨
π¦ DESCRIPTION π¦
So here's the tea, fr fr. This Catmandu::Fix modifies a Wikidata entity record β specifically the kind of record that got imported by Catmandu::Importer::Wikidata.
What does "modifies" mean here? It deletes every language-tagged string it can find inside:
aliaseslabelsdescriptions
...except for the one selected language you asked for. Everything else? Gone. Deleted. Not invited to the party. π
And because one glow-up deserves another, the strings that do survive are also simplified β exactly the same way that happens with Catmandu::Fix::wd_simple_strings. So it's giving cleanup plus simplification, two birds, one iconic stone. πͺ
ngl this is the "only keep the language I actually care about" fix and it is extremely committed to that bit. No survivors, no exceptions, just the language you chose.
π AUTHOR π
Jakob VoΓ β the icon, the legend, the moment. π«Ά
πΈ COPYRIGHT AND LICENSE πΈ
This software is copyright (c) 2014 by Jakob VoΓ. π
It's free software, babes β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So like, slay responsibly and read the Perl license, iykyk. πβ¨
And that's the whole page! This was Catmandu::Fix::wd_language, page Catman...nguage(3pm), and it shipped with perl v5.40.1, dated 2025-08-15. Thanks for reading, bestie β go filter some languages and live your main character era. ππ
β
π¦ where this page comes from
- ubuntu resolute: libcatmandu-wikidata-perl 0.06-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-wikidata-perl 0.06-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms