Wiktionary:Pijaca – razlika između verzija

Uklonjeni sadržaj Dodani sadržaj
oznaka: isporuka masovne poruke
Red 2.121:
[[:m:user:IFried (WMF)|IFried (WMF)]] 19:30, 4 novembar 2019 (KSV)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Trizek_(WMF)/sandbox/temp_MassMessage_list&oldid=19523495 -->
 
== Harmonisation of templates ==
 
Zdravo! I am a new contributor. Please excuse me for writing in English, I don't speak your language yet.
I have several projects involving automated extraction of word information from Wiktionary. I noticed while working on them that some templates seem redundant or rarely used. For illustration, this is the [https://paste.fulltxt.net/Pu1sm6tVUs0_Y1e list of templates] that I found with the following command:
 
$ sed -n 's/.*{{\(sh-[^ |}]*\).*/\1/p' shwiktionary-20191101-pages-articles-multistream.xml | sort | uniq -c | sort -n
 
Unless I am mistaken and at least as far as the nouns are concerned, it seems to me that
* [[Šablon:sh-imenica2]] (88526 uses) could be used everywhere instead of [[Šablon:sh-imenica]] (95 uses) and [[Šablon:sh-noun]] (1 use);
* [[Šablon:sh-imenica-deklinacija2]] (39983 uses) could be used everywhere instead of [[Šablon:sh-imenica-deklinacija]] (83 uses), [[Šablon:sh-decl-noun]] (6 uses), [[Šablon:sh-decl-noun-unc]] (4 uses), [[Šablon:sh-dekl-imenica]] (3 uses), [[Šablon:sh-dekl-imenica-mnozina]] (1 use).
 
If there is no specific reason for keeping these rarely used templates around, I would suggest to convert them to the most popular templates, sh-imenica2 and sh-imenica-deklinacija2. This would help the automated extraction of data, and also reduce a risk of mistake and template misuse (sh-imenica-deklinacija and sh-imenica-deklinacija2 do not have the same case order, which lead to some mistakes in some cases).
 
All of this concerns less than 100 pages and I would be more than happy to make the changes needed if this seems reasonable. If there is some templating work required to adapt the new templates to some edge cases, I would be very happy to help with this too. Please let me know what you think and if/how I can be helpful,
[[Korisnik:Armavica|Armavica]] ([[Razgovor sa korisnikom:Armavica|razgovor]]) 01:36, 14 novembar 2019 (KSV)