Jura1
Welcome to Meta!
editHello, Jura1. Welcome to the Wikimedia Meta-Wiki! This website is for coordinating and discussing all Wikimedia projects. You may find it useful to read our policy page. If you are interested in doing translations, visit Meta:Babylon. You can also leave a note on Meta:Babel or Wikimedia Forum if you need help with something (please read the instructions at the top of the page before posting there). Happy editing!
Wikimedia_CEE_Spring_2016/Structure/Poland
editDo you see error at Wikimedia_CEE_Spring_2016/Structure/Poland?
NewPP limit report Parsed by mw1165 Cached time: 20160308130402 Cache expiry: 2592000 Dynamic content: false CPU time usage: 5.358 seconds Real time usage: 6.068 seconds Preprocessor visited node count: 1028/1000000 Preprocessor generated node count: 0/1500000 Post‐expand include size: 347601/2097152 bytes Template argument size: 0/2097152 bytes Highest expansion depth: 2/40 Expensive parser function count: 407/500 - is OK Lua time usage: 3.408/10.000 seconds Lua memory usage: 4.88 MB/50 MB Number of Wikibase entities loaded: 7-->
Do you have ideas about the reason? --Voll (talk) 14:15, 8 March 2016 (UTC)
- There is a limit of 500 items that one can access at once. The page seems to be below that (400+), unless the code loads the same item several times. Maybe the "Too many Wikidata entities accessed." error comes up too early. --Jura1 (talk) 14:38, 8 March 2016 (UTC)
- I will try to change the check for human/female. Using the label probably loads these items each time. --Jura1 (talk) 14:55, 8 March 2016 (UTC)
- Seems, it doesn't help. I check it on ukwiki - uk:Користувач:Voll/1#Science. --Voll (talk) 15:28, 8 March 2016 (UTC)
- I will try to change the check for human/female. Using the label probably loads these items each time. --Jura1 (talk) 14:55, 8 March 2016 (UTC)
Module:WikimediaCEETable
editHi, Jura1! In Module:WikimediaCEETable we have such code:
- local sex = entity:formatPropertyValues( 'P21' ).value
- if sex == 'female' then
but the value in sex variable depends on language and on uk.wikipedia.org it is 'жіноча', so they need to change module code.
Is it possible get not formatted and localized item label, but item identifier (Q6581072 in this case)?
I don't see such code in Lua. Could you please help me with direct load such data from table or may be you know who can create new function (some kind of methodtable.propertyValues) here? --Voll (talk) 10:46, 3 April 2016 (UTC)
- Hi @Voll: I'm still learning about LUA, so the code you wrote helped me a lot. I added an approach I tried to avoid loading the items and attempting to get from 400 to 500 items. It didn't work for that, but should be fine for this. --Jura1 (talk) 11:02, 3 April 2016 (UTC)
- Heh, your code is marvelous. Thank you so much. --Voll (talk) 19:11, 5 April 2016 (UTC)
Script error on User talk:Jura1/\
editHello Jura1. Your User talk:Jura1/\ subpage is consistently timing out and is listed in Category:Pages with script errors. Do you still need this page? —Pathoschild 00:45, 18 April 2016 (UTC)
- Sometimes it loads, sometimes it doesn't. It might depend on how many other things you are running. I will have it deleted when it's no longer needed. --Jura1 (talk) 10:35, 18 April 2016 (UTC)
Endorsement on IEG Grants: AutoresAr
editHi Jura1! I saw you left an endorsement on this grant, but then you took it away by saying "need to think this over". If you want to talk about the project and make any specific or additional comments, I'd love to hear whatever you might think about the project (no strings attached -just want to improve the project as much as I can). Thank you in advance. --Scanno (talk) 22:55, 27 April 2016 (UTC)
Wikidata primary sources tool: call for support
editDear @Jura1:
it seems that you have been using the primary sources tool, right?
If you think that the tool needs an uplift, please consider an endorsement of the StrepHit IEG renewal through the following link:
m:Grants:IEG/StrepHit:_Wikidata_Statements_Validation_via_References/Renewal#Endorsements
Feel also free to comment the work plan in the renewal talk page: your thoughts are essential.
Thanks a lot for your time, looking forward to your feedback.
Cheers,