Keskustelu käyttäjästä:Danmichaelo/Arkisto 1
Tämä sivu on arkisto. Älä muokkaa tätä sivua. |
UKBot dens botflagg
Hei. I dag klokka 19.42 norsk tid har det gått én uke siden du spurt og botflagg, og så gjelder følgende: After one week, if there are no objections, make 50–100 edits with the bot. Det betyr at vi kan kjøre boten automatisk i fred til sluttten av neste uka (jippi!). Og så skal vi vente om den blir godkjent, utvist eller at noen ber om bugfiks. Kan du sette boten kjøre automatisk fra klokka 20 norsk tid (eller senere). Gálaniitoluodda (keskustelu • muokkaukset) 1. helmikuuta 2013 kello 18.39 (EET)
- Ok, har satt den igang. Danmichaelo (keskustelu) 1. helmikuuta 2013 kello 19.39 (EET)
- Takk skal du ha! Og god natt fra meg. Gálaniitoluodda (keskustelu • muokkaukset) 1. helmikuuta 2013 kello 21.45 (EET)
- Nå har UKBot fått botflagg (diff)! :) Gálaniitoluodda (keskustelu • muokkaukset) 4. helmikuuta 2013 kello 20.52 (EET)
Den oransje rosetten
Hei. Jeg har tenkt nå, at selv om vi har bildedugnad i august, er det ikke verst å ha av og til en illustrajonskonkurranse. Og vi hadde delt ut oransje rosetter ved første UK i fiwp til dem som delta i første UK. Nå er problemet løst med eller med , og kanskje kunne sette den oransje rosetten i gang. Og hva med boten: orange/oransj/oranssi. Setter hvit og oransje óg i infobokset nå. Gálaniitoluodda (keskustelu • muokkaukset) 2. helmikuuta 2013 kello 13.19 (EET)
- Mener du at boten skal dele ut den oransje rosetten? Eller at den skal deles ut manuelt? Danmichaelo (keskustelu) 4. helmikuuta 2013 kello 01.04 (EET)
- Mener at hvis i fremtiden skal det være en illustrasjonkonkurranse, skulle boten da forstå "oranssi" og sende ut rosetten. Men muligvis og i fremtiden. Gálaniitoluodda (keskustelu • muokkaukset) 4. helmikuuta 2013 kello 15.58 (EET)
Moved from Keskustelu käyttäjästä:UKBot
Terve, UKBot. Mitähän oikeastaan olet löytänyt outoa fi-wikin Kajaani-artikkeleista ajatellen Wikipedia:Viikon kilpailua? Or whether should I ask this in Pohjoissaame language, I am not able, shame enough, ;) Yours sincerelly --Höyhens (keskustelu) 19. huhtikuuta 2013 kello 21.54 (EEST)
- Hei, suomeksi: UKBotin ohjaaja on norjankielinen. En ymmärrä mitään noista viesteistä, ja en välitä niistä. Gálaniitoluodda (keskustelu • muokkaukset) 19. huhtikuuta 2013 kello 22.13 (EEST)
- Hei, på norsk: UKBot sin eier er norskspråkig. Jeg skjønner ingenting om meldingene nederst i siden, og gjør ingenting med dem. Gálaniitoluodda (keskustelu • muokkaukset) 19. huhtikuuta 2013 kello 22.13 (EEST)
- Bla gjennom Höyhens sine redigeringer i Kajaani og fant ikke noe rart… (Kävin läpi Höyhensin tekemät muokkaukset artikkeliin Kajaani, mutten löytänyt mitään erikoista…) Gálaniitoluodda (keskustelu • muokkaukset)
- Takk for er alle tre(?) for ert hjælp. --Höyhens (keskustelu) 19. huhtikuuta 2013 kello 23.14 (EEST)
"Muokkaukset tähäm artikkeliin"
A small, not very important detail, but could UKBot in future updates to the page Wikipedia:Heinäkuun lähdetalkoot/2013 replace the text ”Muokkaukset tähäm artikkeliin on toistaiseksi hylätty” with ”Muokkaukset tähän artikkeliin on toistaiseksi hylätty”. ”Tähäm” is not a proper Finnish word. --Nironen (keskustelu) 24. heinäkuuta 2013 kello 20.30 (EEST)
- Sure, and just tell me if you find other errors! Danmichaelo (keskustelu) 24. heinäkuuta 2013 kello 23.12 (EEST)
- Could you also change ”Huomoita” to ”Huomioita”, ”%(words).f ord” to ”%(words).f sanaa”, ”Yksi viittaus jo olemassaolevaan lähteeseen” to ”Yksi viittaus jo olemassa olevaan lähteeseen” and ”%(num)d viittausta jo olemassaoleviin lähteisiin” to ”%(num)d viittausta jo olemassa oleviin lähteisiin”. -Samoasambia Kesk. 31. heinäkuuta 2013 kello 21.44 (EEST)
- Why UKBot has not handed weeks 30 awards? (Sorry my english) --Samoasambia Kesk. 31. heinäkuuta 2013 kello 22.10 (EEST)
- Thanks for the localization updates, I've added them. The bot is perhaps uneccesary strict in that it only allows a contest to be closed by the contest administrator (Järjestäjä(t)), which was Gálaniitoluodda in this case.. I can force close it though :) Danmichaelo (keskustelu) 31. heinäkuuta 2013 kello 23.41 (EEST)
Hi! Even though "lähdetalkoot" ended over four hours ago and the bot has been running after that, it seems that UKBot has not counted all edits it should had. I, for example, added references to articles Thomas Carper[1] and Jack Markell[2] right before 12 a.m, but those have not been added to the page Wikipedia:Heinäkuun lähdetalkoot/2013. --Nironen (keskustelu) 1. elokuuta 2013 kello 04.21 (EEST)
- You are right, it started some 15 minutes before midnight, so I should have let it run one more time to catch up the latest changes. I did that now :) Danmichaelo (keskustelu) 1. elokuuta 2013 kello 09.25 (EEST)
UKBot has not given Arla yellow award and check link in week 31 contest because Arla had not put her name to {{Viikon kilpailun tietolaatikko}}. Could you put UKBot give award to Arla. (Sorry my english) --Samoasambia Kesk. 5. elokuuta 2013 kello 13.25 (EEST)
- That would require some work, so I think it's better if someone else just adds the message manually (by copying the message from previous week and modify it). Could I ask you to do it since I do not know Finnish and might mess it up? ;) Danmichaelo (keskustelu) 5. elokuuta 2013 kello 13.49 (EEST)
List
Hi. Can you put somehow UKBot to read this list of contest articles. I made "lista" -criterion. You can fix it if there's something wrong. Bad English speakers Samoasambia Kesk. 1. syyskuuta 2013 kello 16.24 (EEST)
- I don't think you need a new criterion. I'm quite sure
{{Viikon kilpailu kriteerit |edelleenlinkitys |Wikipedia:Viikon kilpailu/Viikon kilpailu 2013-36/lista}}
should work. Danmichaelo (keskustelu) 1. syyskuuta 2013 kello 17.08 (EEST)
- Oops... I forgot that... --Samoasambia Kesk. 1. syyskuuta 2013 kello 19.33 (EEST)
UKBot not working
Hi, UKBot has not counted any points for the ongoing weekly competition. --Savir (keskustelu) 4. maaliskuuta 2014 kello 12.52 (EET)
- Not sure exactly why, but it updated normally now, so let's hope it continues to run normally. Ping me if not :) Danmichaelo (keskustelu) 4. maaliskuuta 2014 kello 12.59 (EET)
- Thanks, the bot ran once but has not run again in five hours. I think it is supposed to update the results every hour, isn't it? --Savir (keskustelu) 4. maaliskuuta 2014 kello 17.30 (EET)
- Sorry, didn't have time to investigate since I was at work, but I located and fixed the cause of the problem now. Danmichaelo (keskustelu) 4. maaliskuuta 2014 kello 17.40 (EET)
- Thanks! --Savir (keskustelu) 4. maaliskuuta 2014 kello 17.46 (EET)
- Hi, could you please make the bot update again: it has not updated since last night. --Savir (keskustelu) 9. maaliskuuta 2014 kello 14.40 (EET)
- Sorry for the delay, will fix it in a few hours. Danmichaelo (keskustelu) 9. maaliskuuta 2014 kello 15.11 (EET)
- Fixed. Needed to increase the memory limit for the job. Danmichaelo (keskustelu) 9. maaliskuuta 2014 kello 20.18 (EET)
- Sorry for the delay, will fix it in a few hours. Danmichaelo (keskustelu) 9. maaliskuuta 2014 kello 15.11 (EET)
- The bot has problems and the plot is wrong [3]. When the contest has ended, the bot really should draw the final graphics correctly. Is this possible afterwards? --Pxos (keskustelu) 9. maaliskuuta 2014 kello 22.36 (EET) I had to revert the graph to a previous version. --Pxos (keskustelu) 9. maaliskuuta 2014 kello 22.42 (EET)
- It's possible to fix the plot afterwards. I'm working on some changes now to get it right. The problem with {{VK pisteidenhylkäys}} is that it was related to articles, not revisions, making it hard to know where the point subtraction should be added on the time axis. One possibility would be to use the timestamp of the revision when the template was added to the contest page, but that adds some complexity I would prefer to avoid. So instead I changed the template to take revision id as argument instead of article name[4]. The template documentation needs to be updated accordingly. Can you have a look at that? Danmichaelo (keskustelu) 9. maaliskuuta 2014 kello 22.45 (EET)
- I have now updated the documentation to reflect the change. I will also put to use the old template {{VK pisteidenhyläys}}, which contains the spelling error, so it can function like the old version of the template producing the right kind of text in the old contests. --Pxos (keskustelu) 9. maaliskuuta 2014 kello 23.07 (EET)
- Great! I was a bit lazy about backwards compability, but glad you came up with a fix for it :) Btw. I noticed that many of the {{VK muokkaus hylätty}} were related to rollbacks, so I add an instruction to ignore revisions with comments containing "muokkaukset kumottiin ja sivu palautettiin". Also started a changelist here. Danmichaelo (keskustelu) 9. maaliskuuta 2014 kello 23.41 (EET)
- The rollback feature and the log are excellent ideas! I tested the new template by changing once again the points in Gambia for Savir, let us see what happens. By the way, if there is something wrong, can the bot update the old contests also after the final update at midnight if necessary? --Pxos (keskustelu) 10. maaliskuuta 2014 kello 00.04 (EET)
- Yeah, it can update old contests, I just have to login to the server and execute it manually. Points are also re-calculated in the final update initiated by editing Käyttäjä:UKBot/Premieutsendelse. Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 00.28 (EET)
- The problem list just exploded! Anything to do with Gambia? --Pxos (keskustelu) 10. maaliskuuta 2014 kello 00.37 (EET)
- No, my mistake :) Working on it Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 00.40 (EET)
- Ok, now it seems to work fine. Note that it also detected a minor problem with this revision. Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 00.52 (EET)
- Does that mean that the points gained in that revision to Gordie Howe should be rejected by hand or by placing the rejection template on the page and running the bot once again? By the way: what is wrong with Aurinko? --Pxos (keskustelu) 10. maaliskuuta 2014 kello 00.59 (EET)
- Yeah, I just added it. The word counting for Aurinko fails because of invalid wikitext (unclosed table) in 13903312. Btw. should I perhaps also ignore edits with the comment "Hylättiin viimeisin tekstimuutos"? Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 01.06 (EET)
- Probably not at this point. The word "hylättiin" comes from the FlaggedRevisions extension and can have various forms depending what was rejected. If the user rejects other than the latest change, the wording is different. The least common denominator is the word "hylättiin" but there might be legitimate use for it in edit summary (e.g. the doctrine of the chuch was rejected and therefore I have changed the section). If the bot chases after words, there might be false positives. It seems to be easier to disqualify points than fight the bot by trying to accept points that the bot keeps rejecting :) --Pxos (keskustelu) 10. maaliskuuta 2014 kello 01.13 (EET)
- True. But I had a look a the messages at TranslateWiki and I think I came up with a pattern that should be quite safe. It now checks for comments starting with either "Hylättiin viimeisin tekstimuutos", "Hylättiin viimeisimmät .* tekstimuutosta" or "Kumottu muokkaus". Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 01.36 (EET)
- That is an excellent solution. Everything seems to be working well now. Just a cosmetic change still: can the bot use "ampersand-minus" instead of a plain hyphen as a minus sign? Two reasons: it has a more plesant apperance and you can make a search on the wiki text page for the word "minus" and easily locate the subtractions there in case you need to change them by hand later. --Pxos (keskustelu) 10. maaliskuuta 2014 kello 01.45 (EET)
- And all the automatically rejected articles should appear in the lists as rejected so that they could be inspected by the competitors for false positives. I see that some of them are back but not Rastafari for example. --Pxos (keskustelu) 10. maaliskuuta 2014 kello 01.53 (EET)
- The reason some of them are back is due to an error that I've fixed now. I'm not doing another manual update however, to avoid another one of these :) But it should be updated in the final update. I think it's a good idea to list all ignored revisions, will look into that. And I've fixed the minus sign ;) Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 02.16 (EET)
- PtG doesn't mind, I've already sort of warned him. Could you plese do just a final semi-final manual update so that we could see the almost final version. It's easier for PtG to check the results when he sees what he gets before pressing the "send ut" -button. --Pxos (keskustelu) 10. maaliskuuta 2014 kello 02.20 (EET)
- k, just had to get some sleep ;) Danmichaelo (keskustelu) 10. maaliskuuta 2014 kello 10.44 (EET)
Stopped again, and situation is tight :) --Tappinen (keskustelu) 29. maaliskuuta 2014 kello 19.36 (EET)
- uh oh, won't be able to fix it until I get home tomorrow, probably around 13-14. Danmichaelo (keskustelu) 29. maaliskuuta 2014 kello 20.22 (EET)
- No panic. It only took a nap and runs again. --Tappinen (keskustelu) 29. maaliskuuta 2014 kello 20.29 (EET)
Adding missing points?
Hello again! I would like to add some missing points that the bot has overlooked. I have tried to reject a negative number of points here, but I am not sure if that'll work. Could you provide a means to adding points to the competitors while the competition is on? --Pxos (keskustelu) 13. toukokuuta 2014 kello 23.08 (EEST)
- Seems like it worked. Now I fixed the color as well, so it shows up in green, not red :) Danmichaelo (keskustelu) 14. toukokuuta 2014 kello 01.46 (EEST)
- The green should be dark green so as to read better. It would be wonderful if the template text could be changed to indicate that a negative rejection is in fact an addition, not rejection. I don't know how to do that myself but I might just be able to translate a similar template from Norwegian if there is one. --Pxos (keskustelu) 14. toukokuuta 2014 kello 13.02 (EEST)
- The bot has ignored some of Tappinen's contributions. There is an article missed by the bot. The solution above won't help because I cannot force-feed an article into the bot, only negative points for a page already on the list. How to proceed with this? --Pxos (keskustelu) 18. toukokuuta 2014 kello 19.07 (EEST)
- I'm not really sure. Tried to clear the bot's cache to make it re-check all contributions, but it doesn't seem like it helped. Which article was it the bot didn't get? Danmichaelo (keskustelu) 18. toukokuuta 2014 kello 23.07 (EEST)
- Atlassetri. Thanks for trying. I do not need these points for the result, but I am happy if this case helps you to debug the bot. --Tappinen (keskustelu) 18. toukokuuta 2014 kello 23.14 (EEST)
- Yeah, it helps. Turns out the bot didn't find the images in the article because of the use of quoted characters (parenthesis in this case);
Cèdre_du_Chélia_10_%28Algeria%29.jpg
instead ofCèdre_du_Chélia_10_(Algeria).jpg
. Since Wikipedia accepts quoted characters, I guess the bot should too, so I added an unquote function to handle them. Bug fixed :) Danmichaelo (keskustelu) 18. toukokuuta 2014 kello 23.36 (EEST)
- Yeah, it helps. Turns out the bot didn't find the images in the article because of the use of quoted characters (parenthesis in this case);
- Thanks. The source of the quoting is this weird mediaviewer stuff used in commons. It is now much harder to copy filenames from there. --Tappinen (keskustelu) 18. toukokuuta 2014 kello 23.40 (EEST)
Hi! There is Heinäkuun lähdetalkoot also this year. –Samoasambia ✎ 23. kesäkuuta 2014 kello 02.54 (EEST)
- Hi. The UKbot has not worked since yesterday afternoon. I.e. the points of fiwiki page Heinäkuun lähdetalkoot 2014 were updated last time about 18 hours ago. Could you fix this? --Paju (keskustelu) 23.heinäkuuta kello 10.50 (EEST)
- Yup, I got it back up now. Danmichaelo (keskustelu) 23. heinäkuuta 2014 kello 15.37 (EEST)
- Thanks a lot.--Paju (keskustelu) 23. heinäkuuta 2014 kello 16.03 (EEST)
Hello again. Same problem as before, UKbot worked last time about 18 hours ago. Could you fix it again? Thank you. -Htm (keskustelu) 30. heinäkuuta 2014 kello 08.52 (EEST)
- Fixed, just had to bump the memory limit :) Danmichaelo (keskustelu) 30. heinäkuuta 2014 kello 11.00 (EEST)
- Great! Thank you so much – this competition will end tomorrow. Regards, -Htm (keskustelu) 30. heinäkuuta 2014 kello 11.04 (EEST)
- Fixed, just had to bump the memory limit :) Danmichaelo (keskustelu) 30. heinäkuuta 2014 kello 11.00 (EEST)
Hi!, I removed the Heinäkuun lähdetalkoot 2014 from UKBot's crontab and added Elokuun kuvitustalkoot 2014 to it. I also made couple label changes to config/config.fi-ek.yml ("%Y -> %(year)d" at default page name and fixed plot description in english which referred to heinäkuun lähdetalkoot) --Zache (keskustelu) 1. elokuuta 2014 kello 09.30 (EEST)
Seems like UKBot is not updating Wikipedia:Elokuun kuvitustalkoot/2014. Last (and the only) update was in the morning. Could you look at it? --Stryn (keskustelu) 1. elokuuta 2014 kello 21.57 (EEST)
- There was small bug in ukrules.py / TemplateRemovalRule.templatecount() where elem.text was None. I added check for None to compare to current ukrules.py but i didn't commit it or anything. Danmichaelo should check if it still counts score ok? (eg should the None check be in testtpl() and return true or false instead of skipping the counting in templatecount) --Zache (keskustelu) 2. elokuuta 2014 kello 09.00 (EEST)
- @Zache: Thanks for fixing :) I had a look at the code and it looks fine. Whether to do the check in testtpl() or not is just a matter of taste. Feel free to commit it! Danmichaelo (keskustelu) 4. elokuuta 2014 kello 21.29 (EEST)
Bot stop
- 4 May 2014. --Pxos (keskustelu) 4. toukokuuta 2014 kello 23.34 (EEST)
- Does the bot fail on little errors like this? --Pxos (keskustelu) 4. toukokuuta 2014 kello 23.36 (EEST)
- Whops, sorry about that. No, in this case it ran out of memory. I forgot to increase the memory limit after I re-configured the scheduling earlier this week. Danmichaelo (keskustelu) 5. toukokuuta 2014 kello 01.01 (EEST)
- Thanks for the swift reply. It good to know that everything is always somebody else's fault, hah haa! --Pxos (keskustelu) 5. toukokuuta 2014 kello 01.04 (EEST)
- 28 August 2014. Here: [5]. --Pxos (keskustelu) 30. elokuuta 2014 kello 14.36 (EEST)
- Looking into it Danmichaelo (keskustelu) 30. elokuuta 2014 kello 21.47 (EEST)
- The bot crashed because of the merging of Tummien perhosten koti_(romaani) into Tummien perhosten koti. I pushed a fix so it should hopefully handle all merges well in the future. Danmichaelo (keskustelu) 30. elokuuta 2014 kello 22.07 (EEST)
- There are some temporary network issues as well Danmichaelo (keskustelu) 30. elokuuta 2014 kello 23.37 (EEST)
- Strange, I've been getting 'internal_api_error_DBQueryError' the whole evening. I'm able to post the latest update to my sandbox, but not to the contest page. I've filed a bug Danmichaelo (keskustelu) 31. elokuuta 2014 kello 02.26 (EEST)
- There are some temporary network issues as well Danmichaelo (keskustelu) 30. elokuuta 2014 kello 23.37 (EEST)
- 14 September 2014. Just as the competions draws to its close. --Pxos (keskustelu) 14. syyskuuta 2014 kello 22.32 (EEST)
- Wow, there was a really long queue buildup on Tool Labs, let me see if I can jump it, must be something wrong :) –Danmichaelo (keskustelu) 14. syyskuuta 2014 kello 23.20 (EEST)
- Something must be right again. By the way, can you run the graph to include the Sunday? The bot seemed to miss that when it was down. --Pxos (keskustelu) 15. syyskuuta 2014 kello 14.52 (EEST)
- Done –Danmichaelo (keskustelu) 16. syyskuuta 2014 kello 21.17 (EEST)
- Great. You are a wonderful bot operator in terms of easy accessibility and readiness to do the necessary repairs. --Pxos (keskustelu) 16. syyskuuta 2014 kello 21.26 (EEST)
- Done –Danmichaelo (keskustelu) 16. syyskuuta 2014 kello 21.17 (EEST)
- Something must be right again. By the way, can you run the graph to include the Sunday? The bot seemed to miss that when it was down. --Pxos (keskustelu) 15. syyskuuta 2014 kello 14.52 (EEST)
- 22 september 2014 kello 01.20. Just one run and then it was gone. --Tappinen (keskustelu) 22. syyskuuta 2014 kello 17.35 (EEST)
- Fixed. This time it was a silly bug related to a library update. –Danmichaelo (keskustelu) 22. syyskuuta 2014 kello 23.09 (EEST)
- The bot won't give out the rosettes on VK 38-2014 (Scotland). --Pxos (keskustelu) 23. syyskuuta 2014 kello 14.17 (EEST)
- 11 october 2014. There's currently problems with the Tool Labs infrastructure, irc log –Danmichaelo (keskustelu) 11. lokakuuta 2014 kello 13.06 (EEST)
- 22 March 2015. The bot seems to be stuck. --Outilein (keskustelu) 22. maaliskuuta 2015 kello 18.21 (EET)
- It's running again. There has been problems at Tool Labs today outside of my control. –Danmichaelo (keskustelu) 22. maaliskuuta 2015 kello 23.35 (EET)
Months in Finnish
There is now the text "Päivitetty viimeksi 4. elokuu 2014, 15:20. Kilpailu on avoinna 4. elokuu 2014, 00:00 - 10. elokuu 2014, 23:59." (updated 4 August...). In Finnish the names of months should be in the partitive case. This is easy to implement just by adding ta to every month so that the result will be elokuuta. Can someone change the code accordingly? Zache perhaps? --Pxos (keskustelu) 4. elokuuta 2014 kello 16.08 (EEST)
- Interesting. Makes me curious about how coders in general solve this (appending ta, while possible, does not seem very elegant). Seems like MediaWiki does it the right way, so there might be inspiration to find there. Zache, let me know if you can have a look at it, and if you need any help. Danmichaelo (keskustelu) 4. elokuuta 2014 kello 21.51 (EEST)
- Here is the mediawiki
#time
-function: 25. joulukuuta 2001 where the letters t and a have been added as\t\a
. Any help? --Pxos (keskustelu) 27. elokuuta 2014 kello 12.19 (EEST)
- Here is the mediawiki
- "Päivitetty viimeksi 27. elokuu__ 2014, 12:20" should read "Päivitetty viimeksi 27. elokuuta 2014 kello 12.20". --Pxos (keskustelu) 27. elokuuta 2014 kello 12.25 (EEST)
- Just seems like a hacky solution to add "ta" manually, I mean, you don't have to do that when you sign with ~~~~, but it gets right somehow.. Anyway, I added 'ta' manually to ukbot, so let's see how it works :) Danmichaelo (keskustelu) 28. elokuuta 2014 kello 20.48 (EEST)
- This seems to work now. Funny that the time format is both "12-point-20" and "12-colon-20" at the same page. It is not a problem but somehow the time seems to come from two different places. And the bot has jump started again. --Pxos (keskustelu) 31. elokuuta 2014 kello 13.02 (EEST)
- Haha, yeah, I found one place where I had forgot to change it :) Danmichaelo (keskustelu) 31. elokuuta 2014 kello 16.16 (EEST)
Bonus points for a single article
Is it possible to include in the criteria a single article that would give e.g. triple points? Usually the weekly competition checks for categories but sometimes it could be useful to direct the users' attention towards a single article. I don't think that this is now possible. --Pxos (keskustelu) 14. elokuuta 2014 kello 21.46 (EEST)
- There is actually a rule to include single pages which seems to not have been translated to Finnish. {{Viikon kilpailu kriteerit|pages|Some page|Some other page|…}}. If you could give me a translation of "pages", I can add it to the config. But there is no way currently to give a bonus for some articles. I'm not quite sure how to include that into the logic of {{Viikon kilpailu pisteet}} and {{Viikon kilpailu kriteerit}}... Perhaps adding a new rule like {{Viikon kilpailu pisteet | multiplypoints| Some article| 3}}..? Danmichaelo (keskustelu) 14. elokuuta 2014 kello 22.23 (EEST)
- Yes, the special rule may be the right approach. This will probably be a very rare event, but there is a competion on week 46 (health care) where the user especially wished that a single article (Hoitotyö) could get special attention. Here are the translations: page(s) = sivu(t), some page = jokin sivu, some other page = jokin toinen sivu. And the multiplying factor should allow for decimals too. --Pxos (keskustelu) 14. elokuuta 2014 kello 23.48 (EEST)
- Ok, added the page rule, there's an example at {{Viikon kilpailu kriteerit}} now. I'll try to look into adding the special points rule as well, but I can't promise anything. I think all the other rules are independent of each other, so adding a rule which is dependent on other rules might not be feasible within the current logic. But I'm not sure since I don't have this at the top of my head :) Danmichaelo (keskustelu) 15. elokuuta 2014 kello 01.23 (EEST)
- This does not work: [6]. I added the page "Leikkuupuimuri" but the bot ignored it. --Pxos (keskustelu) 28. elokuuta 2014 kello 13.22 (EEST) Zache, can you solve this? --Pxos (keskustelu) 28. elokuuta 2014 kello 13.34 (EEST)
- Now the bot has stopped on 35-2014. The "leikkuupuimuri" has been categorized anew, but I don't think the single page points criterion will work. --Pxos (keskustelu) 29. elokuuta 2014 kello 11.34 (EEST)
- Am I placing the single page criterion template correctly here: [7]? Is this how it's supposed to work, giving points from edits to a single page that is not included in the specified category? --Pxos (keskustelu) 31. elokuuta 2014 kello 13.29 (EEST)
Script error for 2015
There is now a red script error for the week number one at Wikipedia:Viikon kilpailu/Tulevat. Can you prepare the modules and templates for the coming year? By the way, the year 2015 contains 53 weeks. --Pxos (keskustelu) 8. syyskuuta 2014 kello 14.33 (EEST)
- I created Moduuli:Viikon kilpailu luettelo 2015 –Danmichaelo (keskustelu) 8. syyskuuta 2014 kello 19.46 (EEST)
- That was a simple but highly intelligent solution and it seems to work perfectly. Why couldn't I come up with that? --Pxos (keskustelu) 8. syyskuuta 2014 kello 22.21 (EEST)
Categories to the bin
The bot now calculates points from the namespace "Category" (Luokka). We have to manually reject all the points that the contestants are given from the edits on category pages. Could you tweak the bot to exclude the categories altogether? I do not think we will ever start a competition where editing the categories would be encouraged. --Pxos (keskustelu) 16. lokakuuta 2014 kello 15.51 (EEST)
- Sorry, I missed this one. We actually had a category contest at nowiki, but I agree it shouldn't be counted by default –Danmichaelo (keskustelu) 24. lokakuuta 2014 kello 18.28 (EEST)
- No worries. Have you figured out why the single page criterion won't work here? See the section above. I don't mean giving any special points for a single article as you have indicated that it would be too difficult to arrange. Despite this the single page criterion did not work back then when I tried it. --Pxos (keskustelu) 24. lokakuuta 2014 kello 19.25 (EEST)
Points for a single article, revisited
- The reason might be the fact that the bot does not seem to understand two criteria that are placed simultaneously. I tried adding a criterion template on this week's contest (VK 43/2014) but it failed. Maybe there cannot be more than one criterion at once. Is that it? --Pxos (keskustelu) 24. lokakuuta 2014 kello 19.28 (EEST)
- Ups, seems like there is more I have missed :) But no, there should not be any problems using more than one criterion at once. I would like to test this. Could you try to re-add your test? (I wasn't able to find it in the history, probably due to my poor Finnish :)) Alternatively, you can also add it to Käyttäjä:Danmichaelo/Sandbox. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 20.44 (EEST)
- The brand new test is here [8]. --Pxos (keskustelu) 25. lokakuuta 2014 kello 21.23 (EEST) And the bot stopped. There is definitely something wrong here. The previous test you can find following the link in the section above. --Pxos (keskustelu) 25. lokakuuta 2014 kello 21.44 (EEST)
- Thanks. The namespace filter is a bit special, since it's processed before the other filters. Anyways, I'm not sure if I understand the intention of adding Merkityt versiot -kokeilu/Testisivu 1 manually though.. since it is in namespace 0, it should be covered by the namespace filter, no? –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 21.47 (EEST)
- Btw. turns out it didn't crash, but was just delayed in the queue by ~ 20 minutes :) –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 21.52 (EEST)
- Thanks. The namespace filter is a bit special, since it's processed before the other filters. Anyways, I'm not sure if I understand the intention of adding Merkityt versiot -kokeilu/Testisivu 1 manually though.. since it is in namespace 0, it should be covered by the namespace filter, no? –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 21.47 (EEST)
You said you wanted a test. There is a test.My intentions were to get bonus points for a single article so that the contestants could get double or triple points for a single articele. You said that this won't work but instead there exists a criterion where you can include a single page to the competition. I don't understand why there is such a special criterion if you do not understand it yourself. :) Anyway, there seems to be some strange points for Pxos. --Pxos (keskustelu) 25. lokakuuta 2014 kello 21.52 (EEST)
- Ok, the test was shit. See the "leikkuupuimuri" above and check that out. The test did not prove my point, you are right about the namespace thing. Why don't you test it yourself on your sandbox to find out if it works or not. It didn't back then. --Pxos (keskustelu) 25. lokakuuta 2014 kello 21.57 (EEST)
- To clarify, the main intention of the sivut criterion is to include pages that would otherwise not be covered e.g. by a category criterion. The criterion ensures that the page is included, but if a page is covered by two different criterions, the points are not doubled. Since Leikkuupuimuri is already covered by the category criterion, no extra points are awarded. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 22.13 (EEST)
- It wasn't in the category originally. Well I just made a better test for this on your sandbox: [9]. The page "Testausplöö" is a test page that is not included in the category "Ajoneuvot" (moving vehicles). --Pxos (keskustelu) 25. lokakuuta 2014 kello 22.15 (EEST)
- Thanks, giving that one a try. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 22.18 (EEST)
- I know that no extra points will be awarded. I just tried if the bot could spot the page that is not in the category. It did not work in September, I wasn't trying to multiply the points in any way. The page "leikkuupuimuri" was not in the category when I tested it back then. The bot just failed on a technicality, god bless the freking bot. (Sorry, I'm a bit tense now). --Pxos (keskustelu) 25. lokakuuta 2014 kello 22.23 (EEST)
- No worries, sometimes it just takes some time to get an equal understanding of the problem. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 22.30 (EEST)
- I removed the original page "Leikkuupuimuri" from its category that leads to the category "Ajoneuvot". Now I should get the points for edits on Leikkuupuimuri not because of its category but because it has been mentioned in the criteria. This did not work in August. --Pxos (keskustelu) 25. lokakuuta 2014 kello 22.35 (EEST)
- Spotted the problem now. Seems like that criterion required a site prefix, so
{{Viikon kilpailu kriteerit|sivut|fi:Leikkuupuimuri}}
would have worked, but not just "Leikkuupuimuri". I've updated the script now so that it uses "fi:" as the default prefix here (test), so you should not need to include it in the future. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 22.58 (EEST)
- Spotted the problem now. Seems like that criterion required a site prefix, so
- I removed the original page "Leikkuupuimuri" from its category that leads to the category "Ajoneuvot". Now I should get the points for edits on Leikkuupuimuri not because of its category but because it has been mentioned in the criteria. This did not work in August. --Pxos (keskustelu) 25. lokakuuta 2014 kello 22.35 (EEST)
Two criteria working together
- Great! But here [10] is a case where two criteria didn't work together. The namespace criterion and the criterion that checks whether the article existed before the contest started were placed, but the bot did not exclude new articles as expected. The new articles (marked with U) were still on the updated list. --Pxos (keskustelu) 25. lokakuuta 2014 kello 23.04 (EEST)
- That's because filters work in parallel, so adding another criterion will just include more pages, never exclude any pages. Ideally, there should probably be a way to configure the criterions to work in serial (like a pipeline) in the contest, but currently there isn't.. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 23.13 (EEST)
- Ok, thanks for the explanation. By adding the templates you include more and more pages. This makes sense. And yet another question follows.. --Pxos (keskustelu) 25. lokakuuta 2014 kello 23.24 (EEST)
- That's because filters work in parallel, so adding another criterion will just include more pages, never exclude any pages. Ideally, there should probably be a way to configure the criterions to work in serial (like a pipeline) in the contest, but currently there isn't.. –Danmichaelo (keskustelu) 25. lokakuuta 2014 kello 23.13 (EEST)
- But it is true that the criteria should really be exclusive: the bot has started to take even new files into calculation: VK 44. Are you sure that nothing can be done with this? The organizers are starting to feel a little bit annoyed when they have to manually reject points from namespaces other than articles. --Pxos (keskustelu) 27. lokakuuta 2014 kello 01.35 (EET)
Changing the text where negative points are rejected
Can the text "10 points are rejected for the edit [25456445]..." that appear now "- 10 points are rejected" when the organizer has decided to give out bonus points by rejecting a negative number of points be changed into "10 points are added" locally here or does it need a fix on the scripts or bot code? --Pxos (keskustelu) 25. lokakuuta 2014 kello 23.24 (EEST)
- Well I tried this myself: [11]. There seems to be an error (unidentified { in the expression) but the texts seem to work. I wonder what the bot thinks about this. Probably stops working because it always stops when it rains. --Pxos (keskustelu) 26. lokakuuta 2014 kello 00.16 (EEST)
- I expect your fix to work fine, but let's see. The bot consider itself quite rain-tolerant btw. ;) –Danmichaelo (keskustelu) 26. lokakuuta 2014 kello 01.06 (EEST)
- Well, just to be a pain in the back: why didn't I get the normal points and the bonus, i.e. 9000 + one-tenth of a point. This is no addition, it seems to replace the existing points with the bonus. May be it rounds the points? Can you try this with only 9 bonus points? The sum should be 9.1 points. --Pxos (keskustelu) 26. lokakuuta 2014 kello 01.16 (EEST)
- Lol, you are too observant! But yeah, seems like it just a loss of accuracy. Works as expected with smaller numbers. –Danmichaelo (keskustelu) 26. lokakuuta 2014 kello 13.11 (EET)
- Well, just to be a pain in the back: why didn't I get the normal points and the bonus, i.e. 9000 + one-tenth of a point. This is no addition, it seems to replace the existing points with the bonus. May be it rounds the points? Can you try this with only 9 bonus points? The sum should be 9.1 points. --Pxos (keskustelu) 26. lokakuuta 2014 kello 01.16 (EEST)
- This is actually important as I have planned to use this feature if I want to give extra points to people. You'll find above my comment where I mentioned the contest of week 46, which is in the future. If there is no possibility to give double points for a single article, I'm still going to give some extra points for edits to the special article that belongs to the main category (the category that the competition is all about). If the bonus points weren't accurate, this would mess up my idea. When the week has ended, I'll calculate the bonus points by hand and add them to the participants, like I did here. This means that the more difficult problems can be swept under a sleeping dog and we go along happily by rejecting negative points. --Pxos (keskustelu) 26. lokakuuta 2014 kello 21.11 (EET)
Breaks in the schedule
We have planned to not organize a competition on week 1 of 2015. It's a "winter break". How will the bot react to that if there is no page for the competition? Should we create a dummy page where it reads "no weekly contest will be held this week, we're taking a break"? --Pxos (keskustelu) 21. lokakuuta 2014 kello 15.23 (EEST)
- Yeah, I think that's a good idea. If there are none of the normal templates on the page, the bot will probably just exit in some way or the other, which is fine :) –Danmichaelo (keskustelu) 24. lokakuuta 2014 kello 17.32 (EEST)
- I'll try with this page. It has the usual template and the sections have been hidden from view with "display:none". We shall see what happens on 29 December! --Pxos (keskustelu) 24. lokakuuta 2014 kello 18.05 (EEST)
- I'm just making a mental note here that the scheduled break is ongoing without any problems. The bot updates the page VK 1/2015 every hour like it would update any VK page. When there are no participants and no edits, the bot makes no changes. --Pxos (keskustelu) 1. tammikuuta 2015 kello 16.19 (EET)
Omdirigeringar
The bot doesn't understand redirects anymore. We have now (VK 44/2014) the contest on new articles with exactly the same rules as last year (2013), but the bot won't give the 2 points for redirects that it used to do last year. What is the problem this time? The bot counts the files instead. Long live the bot! --Pxos (keskustelu) 27. lokakuuta 2014 kello 14.57 (EET) There is nowadays the letter U marking new articles and redirects aren't new articles as such. Is the problem somewhere there? --Pxos (keskustelu) 27. lokakuuta 2014 kello 15.00 (EET)
- Long live the bot! I'll look into it later today. –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 15.19 (EET)
- Would you some day like to have a long list of all the problems that are not yet solved and the ideas for future development where the grievancies are listed in a neat catalogue with some kind of priority analysis, or do I just shove it with the list? It's up to you, hah hah. I haven't told you half of the things people have suggested here, so the list could keep you from spending any meaningful free time in your life before Christmas. I wish I had some knowledge of coding, it would be interesting to tweak the mechanics of the bot myself. --Pxos (keskustelu) 27. lokakuuta 2014 kello 15.33 (EET)
- Well, it cannot hurt to have a list with priorities. You can also submit issues to this neat issue tracker which make it easy to keep track. I cannot promise that I will find much time to work on ukbot though, I'm quite pressed on time at the the moment, and it doesn't seem like that will change in the near future. –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 15.54 (EET)
- The issue tracker is too advanced and facebooky for me. I prefer wikicode where I can easily change the texts and layout. Perhaps it would be best if I compiled a list and you could set the priority level yourself. That way the community can also see, which issues can be solved and which are too time-consuming for you. Some of the problems can be solved by getting round them, for example the bonus points for a single article that cannot be implemented in the code but can be done by rejecting negative points manually. Thanks anyway for the time spent on the bot. It has its flaws but without it, there just wouldn't be any weekly competitions because calculating the points by hand would drive even the most reasonable user to madness. --Pxos (keskustelu) 27. lokakuuta 2014 kello 16.09 (EET)
- Seems like a good idea! –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 17.45 (EET)
- The issue tracker is too advanced and facebooky for me. I prefer wikicode where I can easily change the texts and layout. Perhaps it would be best if I compiled a list and you could set the priority level yourself. That way the community can also see, which issues can be solved and which are too time-consuming for you. Some of the problems can be solved by getting round them, for example the bonus points for a single article that cannot be implemented in the code but can be done by rejecting negative points manually. Thanks anyway for the time spent on the bot. It has its flaws but without it, there just wouldn't be any weekly competitions because calculating the points by hand would drive even the most reasonable user to madness. --Pxos (keskustelu) 27. lokakuuta 2014 kello 16.09 (EET)
- Well, it cannot hurt to have a list with priorities. You can also submit issues to this neat issue tracker which make it easy to keep track. I cannot promise that I will find much time to work on ukbot though, I'm quite pressed on time at the the moment, and it doesn't seem like that will change in the near future. –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 15.54 (EET)
- Would you some day like to have a long list of all the problems that are not yet solved and the ideas for future development where the grievancies are listed in a neat catalogue with some kind of priority analysis, or do I just shove it with the list? It's up to you, hah hah. I haven't told you half of the things people have suggested here, so the list could keep you from spending any meaningful free time in your life before Christmas. I wish I had some knowledge of coding, it would be interesting to tweak the mechanics of the bot myself. --Pxos (keskustelu) 27. lokakuuta 2014 kello 15.33 (EET)
Bot is counting every new page in all the namespaces
Well now the bot has started to count user talk pages as well as files and categories. This is not very nice. I think this is a matter that should be given high priority. --Pxos (keskustelu) 27. lokakuuta 2014 kello 18.34 (EET)
- I agree. –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 18.47 (EET)
- Ok, so turns out the change was done because users at nowiki actually wanted to include files and categories, so it's not easy to make everybody happy at the same time. I think the solution is to use a namespace filter, I'll describe that in a moment. Until then, is "ohjaukset" a good translation of "redirects"? –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 23.26 (EET)
- Yep, "ohjaukset" is fine. --Stryn (keskustelu) 27. lokakuuta 2014 kello 23.28 (EET)
- Ok, so turns out the change was done because users at nowiki actually wanted to include files and categories, so it's not easy to make everybody happy at the same time. I think the solution is to use a namespace filter, I'll describe that in a moment. Until then, is "ohjaukset" a good translation of "redirects"? –Danmichaelo (keskustelu) 27. lokakuuta 2014 kello 23.26 (EET)
- Thanks for taking the time to fix this! You're on the right path now, but the old problem of parallel criteria still lingers on. Now people get points for all article edits, not just new articles. At least the files and talk pages have disappeared, which is really nice. --Pxos (keskustelu) 27. lokakuuta 2014 kello 23.59 (EET)
Ok, now I think it should work fine. Here's an update:
- redirects are not included with {{Viikon kilpailu kriteerit|uusi}} by default, but I've added an option
|ohjaukset=
that can be used to include them. - the namespace criterion was partly broken, but is now fixed and can be used to limit contributions to articles. The namespace criterion works differently from the other criteria; it is applied before all the other ones, so if you use {{Viikon kilpailu kriteerit|nimiavaruus|0}}, only articles will be included, regardless of what other criteria you use. Furthermore, it can only be used once (you cannot use it several times to include several namespaces). This is not ideal, but it would require a lot of code rewrite to make the criterion behave like the other criteria. Perhaps you can add this info to the documentation? Btw. I tweaked the namespace filter to output "artikkeleihin" for namespace 0.[12]. You are of course free to change this to whatever you want.
–Danmichaelo (keskustelu) 28. lokakuuta 2014 kello 00.19 (EET)
- Sorry but I'm so thick I didn't get everything. Does this mean that we have to use the namespace=article criterion in the future in every competition if we don't want categories to be counted? The next week's contest (45-2014) is a very normal one with a single category criterion in place but do I have to add the template {{Viikon kilpailu kriteerit|nimiavaruus|0}} too? I'll update the documentation, but I need to understand this first. --Pxos (keskustelu) 28. lokakuuta 2014 kello 00.27 (EET)
- Yes, that's correct. I might come up with a better solution in the future, but for now that's the easiest way to make it work both at fiwiki with a single namespace, and at nowiki with multiple. –Danmichaelo (keskustelu) 28. lokakuuta 2014 kello 00.50 (EET)
- About the documentation: I think we can safely assume that some of our competion staff have enough English skills so that I'll just copy and paste your words of wisdom from here to the documentation so that you can check whether it's right or not. It's best to have the documentation here both in English and in Finnish so it's much easier to discuss things with you in the future. Where is the place to put it, here perhaps? --Pxos (keskustelu) 28. lokakuuta 2014 kello 01.11 (EET)
- Seems like a good idea! There's already some documentation in Norwegian on no:Mal:Ukens konkurranse kriterium btw., you might want to see if you want to translate parts of it. 29. lokakuuta 2014 kello 00.04 (EET)
Category depth
Am I right that the category depth means that if the depth = 1, the bot looks into the main category only? If we have a chain World – Europe – Norge – Oslo – Kollektivtransport i Oslo – T-banen i Oslo. The "world" gets the depth 1, and the T-banen has a depth of six? The default depth was previously only four (i.e. Oslo) but it is now six (i.e. T-banen). Please confirm :) --Pxos (keskustelu) 28. lokakuuta 2014 kello 15.04 (EET) And if I really want to exclude Oslo and every subcategory of "Norge", do I put maxdepth = 3 so that the bot takes into account only depths 1–3 (whole countries of Europe)? --Pxos (keskustelu) 28. lokakuuta 2014 kello 15.24 (EET)
The reason I'm asking is that you seem to use a different approach to category depth than the category tree does. Here [13] you can see that depth level one = one level below the main category "Palkinnot". I would like to limit the depth on next week's contest ([14]) and I need to know what the depth numbers mean exactly. --Pxos (keskustelu) 28. lokakuuta 2014 kello 17.13 (EET)
- Depth = 1 : the bot looks into the given categories only, no parent categories. Depth = 2: the given categories and their categories. –Danmichaelo (keskustelu) 28. lokakuuta 2014 kello 23.52 (EET)
- When the defaul depth is 6, you cannot set max depth to any less, can you? I tried setting max depth to 3, but the bot continues to delve into depths of five. Is the default depth in fact the minimum depth as well? --Pxos (keskustelu) 3. marraskuuta 2014 kello 22.26 (EET)
- No, max depth overrides default depth. But the problem is caused by using different max depths with different categories – I haven't taken that into account (silly in retrospect). To make the category lookups more efficient, I combine all criteria into one, meaning one of the max depths will 'overwrite' the other one. In this case, 5 is used for both criteria. I'll look into if I can change the behaviour without too much work. –Danmichaelo (keskustelu) 4. marraskuuta 2014 kello 12.24 (EET)
- Turned out it was really simple to change, the bot will use a little more time, but not a lot. Can you verify if it's correct now? –Danmichaelo (keskustelu) 4. marraskuuta 2014 kello 20.01 (EET)
- Yes, it is technically correct now. I'm afraid this solution cannot address the actual problem though, but anyway your change was exactly what I was looking for. The categories and their depths now work independently of each other. --Pxos (keskustelu) 4. marraskuuta 2014 kello 20.39 (EET)
- Is there any point in changing the numbering? The category graphs and trees that are available to draw the category structure use level 0 as the main category and level 1 = subcategories in level one. You use level 1 as the main category. This is a little bit confusing. --Pxos (keskustelu) 4. marraskuuta 2014 kello 21.23 (EET)
- Yeah, I think you have a valid point, so I changed it now. The default value is then 5 now. Do you update the documentation? –Danmichaelo (keskustelu) 4. marraskuuta 2014 kello 22.29 (EET)
- Great! Now there is no "currency exchange" between two systems. I've changed the values in the documentation page. I'll have to change the values on the competition page too after I have tested the current values (they are now both 5, because the limit was too harsh when it was 3). The cold fact is that you cannot succesfully limit the category contents with the depth values unless you reconstruct the whole category system itself. --Pxos (keskustelu) 4. marraskuuta 2014 kello 22.46 (EET)
- A few times I've actually used the weekly contest as an excuse to do some category cleanup work, when the contest revealed some really bad categorization practices. But often the categorization can be quite ok by itself of course, it just doesn't fit the contest very well... –Danmichaelo (keskustelu) 4. marraskuuta 2014 kello 23.12 (EET)
Bot failure on the final count of VK 43-2014
And another thing: the bot has lost all its marbles now: it gave zero points for everyone here: [15]. --Pxos (keskustelu) 28. lokakuuta 2014 kello 15.30 (EET)
The bot seems to trip on a space Wikipedia:Viikon_kilpailu/Viikon_kilpailu_2014-43#Pistelasku in the template. There is a space after the number zero and the bot goes bananas. Why must this be so difficult, why hasn't artificial intelligence evolved to such a level that the bot could mend its own flaws? Now you must do your magic and run the bot manually so that the awards will be sent correctly. --Pxos (keskustelu) 28. lokakuuta 2014 kello 15.57 (EET)
- The bot should be quite tolerant on whatever spacing you choose to use. This problem was just caused by my fix yesterday (fixing one problem, creating a new, and so goes the days). –Danmichaelo (keskustelu) 28. lokakuuta 2014 kello 23.52 (EET)
- It's still wrong. Now Msaynevirta has negative points because we had to reject some points. He has way too few points now. --Pxos (keskustelu) 29. lokakuuta 2014 kello 00.04 (EET)
- Can you update the rejection templates then, and I will re-run the bot? –Danmichaelo (keskustelu) 29. lokakuuta 2014 kello 00.06 (EET)
- I tried my best. It was hard since the bot has improved and did not count so many wrong points as it did before. User "Msaynevirta" has taken his time to count every single point of his by hand, and they were correct before with the correct rejection templates. Let's run the bloody bot so many times that it finally gets the points right, eh? --Pxos (keskustelu) 29. lokakuuta 2014 kello 00.18 (EET)
- Poor Veli Himmeä will have a new message from the bot each time :) –Danmichaelo (keskustelu) 29. lokakuuta 2014 kello 00.25 (EET)
- He doesn't mind. We have spent two weeks with the lovely bot, so some odd messages from the bot do not add to the joyful experience at all. --Pxos (keskustelu) 29. lokakuuta 2014 kello 00.33 (EET)
- Ok, I have done some more adjustments to the points. Let's try this once again. --Pxos (keskustelu) 29. lokakuuta 2014 kello 00.59 (EET)
- Oh, what fun. The bot ignored my latest tweak [16] altogether. And I noticed that the bot still deducts the points that are in the templates even if it doesn't display the corresponding article. It goes through the article, decides that it will give zero points for it, but if there is a rejection template in place, it gives the article negative points which it sums up. (Msaynevirta had 1990 points while the articles added up to 2058. There was minus 68 points rejected. --Pxos (keskustelu) 29. lokakuuta 2014 kello 01.10 (EET)
- Once more. I wouldn't be this pedantic, but we asked Msaynevirta to calculate every point by hand, which he subsequently did, so I owe it to him that he gets the correct points. I hope all the adjustments have been made now. --Pxos (keskustelu) 29. lokakuuta 2014 kello 01.19 (EET)
- No prob, I'm re-running it one more time now before I go to sleep –Danmichaelo (keskustelu) 29. lokakuuta 2014 kello 01.21 (EET)
- Once more. I wouldn't be this pedantic, but we asked Msaynevirta to calculate every point by hand, which he subsequently did, so I owe it to him that he gets the correct points. I hope all the adjustments have been made now. --Pxos (keskustelu) 29. lokakuuta 2014 kello 01.19 (EET)
- Okay. Is it possible to give out the awards by hand tomorrow or do you have to do it? If you are running it one more time, we could press the button and give out the rosettes tomorrow afternoon if that's possible. --Pxos (keskustelu) 29. lokakuuta 2014 kello 01.24 (EET)
- I think the bot will push them out as normal if you tell it to the normal way. If not, let me know. –Danmichaelo (keskustelu) 29. lokakuuta 2014 kello 07.28 (EET)
Disqualifying a whole category
It would be great if the organizer could disqualify a whole category from the competition. When the subject is category "Mammals" but you don't want to give points for "Members of the British parliament" (who are human beings and therefore mammals), you could exclude the category "Human beings". Is this hard to implement? --Pxos (keskustelu) 5. marraskuuta 2014 kello 17.15 (EET)
- I think it should work now, but we need to test it to be sure. Let me know if you want a Finnish translation for the
|ignore=
parameter. –Danmichaelo (keskustelu) 9. marraskuuta 2014 kello 19.21 (EET)- Perhaps I can test this next week? The main category is Terveydenhoito (Health care) and it has among its subcategories Kosmetiikka (Cosmetics). I could try to exclude Cosmetics from the competition. The parameter "ignore" can be in English during the testing period, there's no hurry to change it today. --Pxos (keskustelu) 9. marraskuuta 2014 kello 19.31 (EET) ja 9. marraskuuta 2014 kello 20.07 (EET)
- Yeah, go ahead, and let me know if there are problems (guess I didn't have to mention :D). –Danmichaelo (keskustelu) 9. marraskuuta 2014 kello 20.32 (EET)
- The bot has stopped once again at 18:21 Finnish time. --Pxos (keskustelu) 9. marraskuuta 2014 kello 20.40 (EET)
- The bot won't update VK 2014-46. --Pxos (keskustelu) 10. marraskuuta 2014 kello 01.28 (EET)
- Fixed –Danmichaelo (keskustelu) 10. marraskuuta 2014 kello 02.50 (EET)
- It seems to work all right. The bot accepted the single page criterion and excluded the category Cosmetics as planned. I think that everything is fine for the moment. --Pxos (keskustelu) 10. marraskuuta 2014 kello 03.07 (EET)
- Fixed –Danmichaelo (keskustelu) 10. marraskuuta 2014 kello 02.50 (EET)
- Yeah, go ahead, and let me know if there are problems (guess I didn't have to mention :D). –Danmichaelo (keskustelu) 9. marraskuuta 2014 kello 20.32 (EET)
- Perhaps I can test this next week? The main category is Terveydenhoito (Health care) and it has among its subcategories Kosmetiikka (Cosmetics). I could try to exclude Cosmetics from the competition. The parameter "ignore" can be in English during the testing period, there's no hurry to change it today. --Pxos (keskustelu) 9. marraskuuta 2014 kello 19.31 (EET) ja 9. marraskuuta 2014 kello 20.07 (EET)
Graph timing
The graph is now a snapshot by 20 minutes past eleven Finnish time. It should be changed to 00:20 EET so that it would reflect the situation when the day has ended. Now it excludes the last edits on every Sunday. Could you do this please? --Pxos (keskustelu) 9. marraskuuta 2014 kello 18.23 (EET)
I see that it is 22.10 'norsk tid' and we have plus one hour here, plus 2 hours summer time. If these two graphs are related to each other somehow, you could change the time to 23.10 norsk tid and it would invariably push our graph past midnight in every case. --Pxos (keskustelu) 9. marraskuuta 2014 kello 18.28 (EET)
How to keep the points?
I want to give points for removing a template and at the same time give points for added bytes and words. When the template is removed from the article, the bot skips the article and won't give any points for editing it. Can this be improved? --Pxos (keskustelu) 29. marraskuuta 2014 kello 09.21 (EET)
- Possibly, I have to look into this, but I can't promise to be able to so anytime soon.. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.41 (EET)
Bot has messed up its own calculations
Here [17] the bot calculated the points correctly in the beginning, then botched it. Why? How can this be corrected? --Pxos (keskustelu) 30. marraskuuta 2014 kello 06.34 (EET)
- Seems like the bot hit a server error or some other network problem, and counted the revision as zero length. Since it caches the result, it's never fixed unless I purge the cache.. which I did now. I've been wanting to fix this problem "for good" for some time, but haven't found the time to do it yet. If it happens again at some time, just let me know and I purge the cache. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.32 (EET)
- Is there anything to be done with the second error that is still on the list? The 548 words that are actually just 1 byte. --Pxos (keskustelu) 30. marraskuuta 2014 kello 18.42 (EET)
- No, the bot cannot guess where the reference tag in the parent revision is supposed to be closed (since it's never closed), so the best it can do is to warn that there might be something wrong. In such cases, the only possible fix is to subtract points manually. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.49 (EET)
- Btw. I pushed a new bot run now. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.52 (EET)
- No, the bot cannot guess where the reference tag in the parent revision is supposed to be closed (since it's never closed), so the best it can do is to warn that there might be something wrong. In such cases, the only possible fix is to subtract points manually. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.49 (EET)
- Is there anything to be done with the second error that is still on the list? The 548 words that are actually just 1 byte. --Pxos (keskustelu) 30. marraskuuta 2014 kello 18.42 (EET)
Light green is bad
The light green "color:#44bb44" is not good. Please change it to "color:green" to make it more readable and as strong as the red color. --Pxos (keskustelu) 30. marraskuuta 2014 kello 07.43 (EET)
- You refer to {{Viikon kilpailu tilanne/laatikko}}? Yes, I've actually changed the style at Norwegian Wikipedia, see no:Template:Ukens konkurranse status/boks. I can make the same change here if you like. It's also possible for you to modify the template yourself, the bot doesn't interfer with the style. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.19 (EET)
- No, I refer to the bonus point text, see here for Tovk909. When rejecting a negative number of points, you have defined the color as 44bb44, I want it to be 008000. (And by the way, there are two more questions right above this one to be missed. :) --Pxos (keskustelu) 30. marraskuuta 2014 kello 18.29 (EET)
- Ok, changed. –Danmichaelo (keskustelu) 30. marraskuuta 2014 kello 18.39 (EET)
- No, I refer to the bonus point text, see here for Tovk909. When rejecting a negative number of points, you have defined the color as 44bb44, I want it to be 008000. (And by the way, there are two more questions right above this one to be missed. :) --Pxos (keskustelu) 30. marraskuuta 2014 kello 18.29 (EET)
- It's better that the boxes stay obscure since the information is so often wrong. When the bot makes mistakes of hundreds or thousands of added words and we have to subtract the points manually, the wrong word count stays in the boxes. So they should not be very prominent, and white text on greenish background is horrible enough to deter the reader. Hah! --Pxos (keskustelu) 30. marraskuuta 2014 kello 18.57 (EET)
Bot does not count any words on VK 49-2014
Can you look into this problem? --Pxos (keskustelu) 2. joulukuuta 2014 kello 07.41 (EET)
- Turns out there was a problem with the < character inside math tags causing the xml parser to fail to read the close tag correctly.. Fixed in this update (at the same time I removed "words" consisting of punctuation only, remnants that previously could be left after removing tags and stuff). –Danmichaelo (keskustelu) 3. joulukuuta 2014 kello 04.11 (EET)
Bot is in the year 2014
There's a discrepancy [18] when the bot has changed the category to ...2014 but the week is number one of the year 2015. The category should remain in 2015. --Pxos (keskustelu) 29. joulukuuta 2014 kello 16.20 (EET)
Bot has a flu once again (VK 5/2015)
See here: [19]. The bot has made up some problems that weren't there before this update. Can you kick the bot? --Pxos (keskustelu) 27. tammikuuta 2015 kello 12.01 (EET)
I rejected the points by hand so don't kick the bot, otherwise people will get too low points. --Pxos (keskustelu) 31. tammikuuta 2015 kello 23.45 (EET)
- Ok, thanks! Sorry I missed your message, been a bit rushed. –Danmichaelo (keskustelu) 31. tammikuuta 2015 kello 23.56 (EET)
Your bot is on holiday.
Can you check the bot? It doesn’t give any points (in this contest)! --Geohakkeri (keskustelu) 16. helmikuuta 2015 kello 15.28 (EET)
- Well now, there are no points to give. The contestants haven't done anything noteworthy as of yet. --Pxos (keskustelu) 16. helmikuuta 2015 kello 15.56 (EET)
Category match text
There is now "fi:Luokka:Säveltäjät" in the points info. Too long. It should be only the category name, which it used to be. --Pxos (keskustelu) 29. maaliskuuta 2015 kello 21.50 (EEST)
- Yeah, I've turned a blind eye to that. Fixing it now. –Danmichaelo (keskustelu) 30. maaliskuuta 2015 kello 11.33 (EEST)
Bot issues
Hi! UKBot seems to have stopped working. It hasn't updated this week's contest page after 8.21 this morning. --Lentokonefani asiaa? | syntilista 31. maaliskuuta 2015 kello 13.58 (EEST)
- Seems there are issues with the scheduler again, out of my control. I pushed a manual run now, and hopefully the scheduled runs start working later today. –Danmichaelo (keskustelu) 31. maaliskuuta 2015 kello 14.08 (EEST)
Bot is drunk
The bot has given the awards three times to the participants of VK 20/2015 and then it passed out. Please drag it to a shower. --Pxos (keskustelu) 18. toukokuuta 2015 kello 23.25 (EEST)
- Sorry, didn't have time to fix it today. Will do tomorrow. It's related to a database move. Shower probably won't help ;) –Danmichaelo (keskustelu) 19. toukokuuta 2015 kello 02.03 (EEST)
Bot is an underachiever
Here: [20]. All the points are gone just like that. --Pxos (keskustelu) 25. toukokuuta 2015 kello 21.42 (EEST)
- Like magic! –Danmichaelo (keskustelu) 25. toukokuuta 2015 kello 22.36 (EEST)
Bot is not running
Hey! Bot is not running. Something badly wrong or just tired?--Veli Himmeä (keskustelu) 8. kesäkuuta 2015 kello 09.33 (EEST)
- Hanging job killed. It should resume. –Danmichaelo (keskustelu) 8. kesäkuuta 2015 kello 11.21 (EEST)
Wikipedia:Heinäkuun lähdetalkoot/2015
You should turn the botnik on for Wikipedia:Heinäkuun lähdetalkoot/2015. --Pxos (keskustelu) 1. heinäkuuta 2015 kello 16.00 (EEST)
- confirmed. I tested if i could just to toggle it on, but there was error message that libxml was missing so i thinked that it is better that Danmichaelo will check it out. --Zache (keskustelu) 2. heinäkuuta 2015 kello 12.41 (EEST)
- And i also runned it once by hand. It is not in crontab yet though.--Zache (keskustelu) 4. heinäkuuta 2015 kello 06.56 (EEST)
- Sorry for the slow response, I'm able look at it tomorrow afternoon. –Danmichaelo (keskustelu) 4. heinäkuuta 2015 kello 20.28 (EEST)
- Ah, no problem. It's heinäkuu and we are already accustomed to that everybody is at their summer vacations and expected reaction time for everything is 30 days :) Thanks for checking the bot. --Zache (keskustelu) 5. heinäkuuta 2015 kello 08.08 (EEST)
- I noticed there were a few updates. Did you manage to get it working, Zache? Should be just
python bot/ukbot.py --config config/config.fi-hl.yml
. Anyways, I tried adding crontab entries now, let's see if it works. –Danmichaelo (keskustelu) 6. heinäkuuta 2015 kello 00.50 (EEST)
- I noticed there were a few updates. Did you manage to get it working, Zache? Should be just
- Ah, no problem. It's heinäkuu and we are already accustomed to that everybody is at their summer vacations and expected reaction time for everything is 30 days :) Thanks for checking the bot. --Zache (keskustelu) 5. heinäkuuta 2015 kello 08.08 (EEST)
- Sorry for the slow response, I'm able look at it tomorrow afternoon. –Danmichaelo (keskustelu) 4. heinäkuuta 2015 kello 20.28 (EEST)
- Yeah. I got it running when i executed it directly from shell but not via jsub. Eg. If i run the bot with command from crontab:
jsub -once -j y -cwd -N ukbot_fi-hl -mem 1524m -o logs/fi-hl.log jobs/update.sh
- It gives following output to logs/fi-hl.log
Mon Jul 6 05:45:07 UTC 2015 : Starting job ukbot_fi-hl (445974) on tools-exec-1202.eqiad.wmflabs Traceback (most recent call last): File "ukbot.py", line 26, in <module> from mwtemplates import TemplateEditor File "/data/project/ukbot/ENV/local/lib/python2.7/site-packages/mwtemplates/__init__.py", line 9, in <module> from mwtemplates.templateeditor2 import TemplateEditor File "/data/project/ukbot/ENV/local/lib/python2.7/site-packages/mwtemplates/templateeditor2.py", line 56, in <module> from lxml import etree ImportError: /usr/lib/x86_64-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /data/project/ukbot/ENV/local/lib/python2.7/site-packages/lxml/etree.so) Mon Jul 6 05:45:11 UTC 2015 : Job ukbot_fi-hl (445974) on tools-exec-1202.eqiad.wmflabs finished with exit code
- but if you run bot directly from command line like commands below it will work.
source /data/project/ukbot/ENV/bin/activate cd /data/project/ukbot/bot python ukbot.py --config ../config/config.fi-hl.yml
- I guess this is virtualenv problem, but my python-fu is not good enough to say why there is difference between crontab script and my command line. --Zache (keskustelu) 6. heinäkuuta 2015 kello 08.57 (EEST)
- Ah, I forgot to add
-l release=trusty
to thejsub
command to specify that it should run on Ubuntu 14, not 12. –Danmichaelo (keskustelu) 6. heinäkuuta 2015 kello 09.52 (EEST)
- Ah, I forgot to add
- I guess this is virtualenv problem, but my python-fu is not good enough to say why there is difference between crontab script and my command line. --Zache (keskustelu) 6. heinäkuuta 2015 kello 08.57 (EEST)
Bot and points
Sorry about my bad english language, but I try.. Bot does not notice references without ref-tags. If there are references (one or many), you can got points without adding reference when you add tags. Is there some kind of solution to this situation? I mean more solutions than deleting points.--Veli Himmeä (keskustelu) 14. heinäkuuta 2015 kello 16.41 (EEST)
- Sorry, no, I can't really think of a solution for that. But I guess one possibility would be to let the bot ignore any edits where the edit summary contains a certain text (the bot already uses the edit summary to ignore rollbacks), so whenever you needed to do such an edit you could say "Don't count this contribution". –Danmichaelo (keskustelu) 15. heinäkuuta 2015 kello 18.04 (EEST)
Graphs without Sunday
Sunday is missing from the graphs. --Pxos (keskustelu) 20. heinäkuuta 2015 kello 20.29 (EEST)
The Sunday has actually been gone for months now. --Pxos (keskustelu) 20. heinäkuuta 2015 kello 23.16 (EEST) Added: Ah, now I understand. The bot thinks that daylight saving time means a six-day week. When the time to plot the graph has moved from 00.20 to 01.20 on a Monday, the bot is already asleep. --Pxos (keskustelu) 20. heinäkuuta 2015 kello 23.27 (EEST)
SEE THIS AND WIN A PRIZE! (Actually you won't get anything but perhaps you'll do something about the Sundays.) --Pxos (keskustelu) 2. elokuuta 2015 kello 23.53 (EEST)
- Sorry for not responding. I've given this a low pri, but I'm aware of it, and it will be fixed eventually –Danmichaelo (keskustelu) 3. elokuuta 2015 kello 11.00 (EEST)
- No worries. I just wanted to know that you are actively forgetting all about it, not just passively ignoring it. --Pxos (keskustelu) 4. elokuuta 2015 kello 01.33 (EEST)
- The bot draws the Sunday's graph on Monday for the new competition. Why don't you set the clock a bit off so that the bot will change its week at three o'clock (03:00). This could make it concentrate on the last week competition when its needed there, and it could start updating the next competition only after three in Monday morning. How about that? --Pxos (keskustelu) 3. lokakuuta 2015 kello 19.33 (EEST)
Using the bot in "Elokuun kuvitustalkoot" in fiwiki
I am sorry to bother you at a late stage with regards to a competition that is planned to begin in fiwiki in the beginning of august. In a volunteer project the weeks go swiftly also outside wikipedia and I had no time to discuss this in the project page in fiwiki until today. The competition is Wikipedia:Elokuun kuvitustalkoot/2015.
The competition is about adding images into wikimedia commons and from there to articles, and during the last years the system was, that if a competitor adds a new image to commons and from there to an article during the competition, the competitor will get 5 points, and if a competitor adds an image from commons to an article during the competition, so that the image was added to commons by someone else or before the competition started, the competitor will get 1 point.
The refinement to the rules of the competition, that was discussed, was that if the image was created by the competitor who added it, the competitor would get 5 points. If not (i. e. if the image, for example, was only downloaded from the web and uploaded to commons and not created by the competitor, who uploaded it), the competitor would get two points. The original idea was, that this could (or could it?) perhaps be sorted by sorting out if there is c:template:own included in the file description page in commons. But it this technically possible or easy to do at all?
If not, the points could also be corrected manually, because also in previous years there were issues that were corrected manually in cases whre the bot was not able to sort out what was needed to sort out according the rules of the competition.
But if this would be possible and not extremely difficult to do in short time, it would be nice. But is it possible? Again, I am sorry to begin to take care of this at such a late stage. --Urjanhai (keskustelu) 26. heinäkuuta 2015 kello 15.44 (EEST)
- No problem, Urjanhai. Just checking for '{{own}}' should be quite simple to implement I think (unless I run into something unexpected). Can have a look at it tomorrow. If it works we need a new parameter for {{Viikon kilpailu pisteet}} .. Any suggestions for a name? Something like "selfcreated"? (in Finnish) –Danmichaelo (keskustelu) 3. elokuuta 2015 kello 00.38 (EEST)
- Thanks. I must ask the others about the name.(I am not a copyright specialist either.) --Urjanhai (keskustelu) 3. elokuuta 2015 kello 09.07 (EEST)
- My suggestion for the Finnish translation would be "oma teos". (ping Käyttäjä:PtG, Käyttäjä:Zache) --Urjanhai (keskustelu) 3. elokuuta 2015 kello 10.26 (EEST)
- "Oma teos" is fine. --Zache (keskustelu) 3. elokuuta 2015 kello 10.28 (EEST)
- Ok, so I think it should work as expected now. Let me know if not. –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 01.03 (EEST)
- (except automatic updates might not work for the next hours. Seems to be some permission problems right now. Checking into it tomorrow) –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 01.27 (EEST)
- Seems to run fine now. Btw. I also fixed an issue causing most of the errors listed at the bottom of the contest page. Those that remain are "real" issues. –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 17.56 (EEST)
- (except automatic updates might not work for the next hours. Seems to be some permission problems right now. Checking into it tomorrow) –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 01.27 (EEST)
- Ok, so I think it should work as expected now. Let me know if not. –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 01.03 (EEST)
- "Oma teos" is fine. --Zache (keskustelu) 3. elokuuta 2015 kello 10.28 (EEST)
- My suggestion for the Finnish translation would be "oma teos". (ping Käyttäjä:PtG, Käyttäjä:Zache) --Urjanhai (keskustelu) 3. elokuuta 2015 kello 10.26 (EEST)
- Thanks. I must ask the others about the name.(I am not a copyright specialist either.) --Urjanhai (keskustelu) 3. elokuuta 2015 kello 09.07 (EEST)
UKbot:s crontab
Hi, just FYI that I removed the heinäkuun lähdetalkoot from cron and re-enabled the elokukuun kuvitustalkoot in crontab. --Zache (keskustelu) 1. elokuuta 2015 kello 13.45 (EEST)
Some word points missing on VK 2015-32
See: Wikipedia:Viikon_kilpailu/Viikon_kilpailu_2015-32. User MiPe hasn't received any word points for Uraani. What is the magic trap that has been set off? --Pxos (keskustelu) 4. elokuuta 2015 kello 13.54 (EEST)
- Just put together a simple web interface so you can "see what ukbot sees", I think it can be very useful for checking such cases. Try it here: http://tools.wmflabs.org/ukbot/wordcount?lang=fi&page=Uraani . You'll notice that the parser stops at "Musta UO".. why? Let's have a look at the source of Uraani. What follows "Musto UO" is "<sub>2</sup>"… so it becomes clear that the parser bails out because of the tag mismatch. –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 17.25 (EEST)
- Wow, thanks! I'm sure the new interface will be a great help when trying to fathom the unfathomable. I fixed the subsup-problem now. Let's see if the bot will revisit the revision and give out the right number of word points. --Pxos (keskustelu) 4. elokuuta 2015 kello 19.37 (EEST) I just found a second error ([21]) with your gadget. The world really does get better with little steps. --Pxos (keskustelu) 4. elokuuta 2015 kello 19.43 (EEST)
- Since the old revision is still wrong, the bot won't add any points to MiPe. Instead you would get a lot of word points for fixing the bug if you had been a participant, since your edit makes the word count jump to the correct value ;) So some manual addition/subtraction of points will still be needed, but at least the tool helps identifying the problem. –Danmichaelo (keskustelu) 4. elokuuta 2015 kello 20.45 (EEST)
Bot adding wrong categories
The bot keeps adding a category to the pages (Luokka:Elokuun kuvitustalkoot/2014). E.g. heinäkuun lähdetalkoot got one. Can this be stopped? --Pxos (keskustelu) 5. elokuuta 2015 kello 14.00 (EEST)
- I changed it to [[Luokka:Elokuun kuvitustalkoot|2015]] . Or do you want to remove the sort key altogether? –Danmichaelo (keskustelu) 5. elokuuta 2015 kello 14.20 (EEST)
Bot and stats
Bot calculates how many articles or references we have made on this week. If we delete points, it shows that we still have one new article here even if we have not. Is it possible to fix this kind of problem?--Veli Himmeä (keskustelu) 5. elokuuta 2015 kello 17.12 (EEST)
- Not sure if it's trivial.. Let me see. –Danmichaelo (keskustelu) 6. elokuuta 2015 kello 11.21 (EEST)
- Yes, it's trivial. But just thinking if there is some easy way to fix it.. :) --Veli Himmeä (keskustelu) 6. elokuuta 2015 kello 16.40 (EEST)
- Hehe, I meant trivial as "easy to fix" :) –Danmichaelo (keskustelu) 6. elokuuta 2015 kello 17.14 (EEST)
- Yes, it's trivial. But just thinking if there is some easy way to fix it.. :) --Veli Himmeä (keskustelu) 6. elokuuta 2015 kello 16.40 (EEST)
What is wrong?
Bot is counting points normally, but it does not finnish result of last weeks competition. Whats wrong with it? I think that I have already send an order to bot. Like this.--Veli Himmeä (keskustelu) 8. syyskuuta 2015 kello 00.06 (EEST)
- Sorry for the late reply. Problem was caused by Wikipedia:Elokuun kuvitustalkoot/2015, since the bot tried to finnish that competition instead, but there are no palkinnot there. Fixed –Danmichaelo (keskustelu) 12. syyskuuta 2015 kello 14.46 (EEST)
Marking problems as resolved
Hello and very good autumn to you! The bot compiles a list of problems and places it at the end of the VK page. Some of the problems need to be corrected and some are false positives that do not need any remedies. It would be great if the organizer could somehow mark as resolved those problems that have been dealt with. Now it's not possible as the bot creates the lists every hour and uploads a new version. Could there be a special "data field" that the bot would leave unchanged where manual observations could be placed permanently. I'll give you an example:
- UKBot havaitsi seuraavat ongelmat artikkeliin fi:Stan Brakhage liittyen
- Revision 15242802: The word count difference might be wrong, because the word count increase (68) is larger than the byte increase (-130). Wrong word counts may occur for invalid wiki text.
--Pxos (keskustelu) 29. syyskuuta 2015 kello 15.32 (EEST)
- That's a very good idea. I'll look into it. –Danmichaelo (keskustelu) 29. syyskuuta 2015 kello 17.43 (EEST)
Malus?
How about malus or negative bonus in special cases? I worked around this in the following fashion for testing purposes: [22]. Some people have been complaining that the competition favours short, repetitive articles that are not very long. I was wondering whether you could set up a treshold for gaining points. If the article contains (e.g. less than 2000 bytes and less than 100 words), the user would receive a punishment in the form of a negative bonus. What do you think? --Pxos (keskustelu) 1. lokakuuta 2015 kello 19.06 (EEST)
The test told that this is technically possible to implement. Bonus can be negative. There are other problems: the total points for an article should never be below zero; redirects should be left in peace etc. At least now I know, that this can be done manually if need be. --Pxos (keskustelu) 1. lokakuuta 2015 kello 19.46 (EEST)
Bot re-run request
Please run the bot once more for VK 52/2015. One participant has withdrawn, and all the points and article counts, kilobytes etc. should be re-calculated. I won't do it by hand, too tedious. --Pxos (keskustelu) 30. joulukuuta 2015 kello 16.37 (EET)
- Sure, I'll start it now. –Danmichaelo (keskustelu) 30. joulukuuta 2015 kello 17.03 (EET)
- The same disgruntled user is very unhappy about his participation in VK 51/2015 too. Don't ask why, I'm a bit annoyed, but the best solution might be to run the bot in that competition too. The user in question demands that the points and bytes be calculated again. As he is a royal pain in the back, it just would be easier to grant his wishes. So please do the re-run on VK 51 too, if it's possible. --Pxos (keskustelu) 30. joulukuuta 2015 kello 22.16 (EET)
- Lol. I did a re-run now, but it seems like it was already more or less corrected manually. Anyways, happy new year :) –Danmichaelo (keskustelu) 31. joulukuuta 2015 kello 21.49 (EET)
- The same disgruntled user is very unhappy about his participation in VK 51/2015 too. Don't ask why, I'm a bit annoyed, but the best solution might be to run the bot in that competition too. The user in question demands that the points and bytes be calculated again. As he is a royal pain in the back, it just would be easier to grant his wishes. So please do the re-run on VK 51 too, if it's possible. --Pxos (keskustelu) 30. joulukuuta 2015 kello 22.16 (EET)
- Thanks, man! Happy new year to you too. --Pxos (keskustelu) 1. tammikuuta 2016 kello 00.45 (EET)
Please stop spam
Your bot has made this file one of the most edited files in Commons, I guess. Please do something. Happy new year! --Geohakkeri (keskustelu) 2. tammikuuta 2016 kello 19.58 (EET)
It's not called spam. The bot just delivers the same newspaper every day with the same news from August that have already been read a hundred times already. It's more like subscribing to just one issue of a particular newspaper where the date has been set in the past. --Pxos (keskustelu) 2. tammikuuta 2016 kello 21.47 (EET)
- Lol, I stopped it anyways :) Thanks for notifying me. –Danmichaelo (keskustelu) 2. tammikuuta 2016 kello 21.50 (EET)
Bot ignores one girl
There is a question for you on the page Keskustelu Wikipediasta:Viikon kilpailu/Viikon kilpailu 2016-03. --Pxos (keskustelu) 20. tammikuuta 2016 kello 12.45 (EET)
The bot has miraculously found the article on its own. Did you give it some kind of a bot, or did it cure itself? --Pxos (keskustelu) 21. tammikuuta 2016 kello 16.03 (EET)
- Seems like it cured itself – I'm starting to like this. –Danmichaelo (keskustelu) 21. tammikuuta 2016 kello 22.18 (EET)
Undefined
See VK 2016-05 and this bot job. The details of the contributions are now "undefined". --Pxos (keskustelu) 3. helmikuuta 2016 kello 15.48 (EET)
The bot also used to run at 20 minutes past the hour, now it's more like 30 minutes. Any connection to the problem above? --Pxos (keskustelu) 3. helmikuuta 2016 kello 15.49 (EET)
- Ups, sorry about that. I had to do a quick hack to keep the results page for a contest on nowiki below the article size limit of 2 MB. Forgot that it would also affect fiwiki. I also changed the timing to reduce the chance that the jobs for nowiki and fiwiki would overlap – before I discovered the article size issue I thought it was a memory issue. –Danmichaelo (keskustelu) 4. helmikuuta 2016 kello 00.18 (EET)
- Your horrendous Månedens Konkurs of Kilder runs until "14. februar". Any chance we at fi-wiki can get things back to normal before your Mega-Contest is over? Can you clone the bot? Make two bots: one for you and one for us? We would very much like to receive normal service. --Pxos (keskustelu) 4. helmikuuta 2016 kello 00.52 (EET)
Yeah, I'll try to fix that tomorrow.Fixed –Danmichaelo (keskustelu) 4. helmikuuta 2016 kello 22.12 (EET)
- Your horrendous Månedens Konkurs of Kilder runs until "14. februar". Any chance we at fi-wiki can get things back to normal before your Mega-Contest is over? Can you clone the bot? Make two bots: one for you and one for us? We would very much like to receive normal service. --Pxos (keskustelu) 4. helmikuuta 2016 kello 00.52 (EET)
- That's wonderful news! The details are a really important feature in the list of contributions. --Pxos (keskustelu) 4. helmikuuta 2016 kello 23.10 (EET)
- By the way, when no-wiki's contest is over, can you set the clock for fi-wiki again to update stuff at 20 minutes past the hour? It was convenient and did not seem to be too tardy. --Pxos (keskustelu) 7. helmikuuta 2016 kello 19.36 (EET)
UKBot "send ut" not working?
Hi, for VK 2016-07 the UKBot does not seem to react to "send ut" instruction (first by competition organizer Henswick and them by Pxos): [23]. Cheers, jni (k) 23. helmikuuta 2016 kello 22.07 (EET)
- Fixed, should be sent out soon. –Danmichaelo (keskustelu) 23. helmikuuta 2016 kello 22.31 (EET)
- Thanks! jni (k) 23. helmikuuta 2016 kello 22.41 (EET)
Bot is scared
The bot seems to be scared of number 13. --Pxos (keskustelu) 28. maaliskuuta 2016 kello 11.07 (EEST)
- Clever hypothesis, but it seems like the problem was something else. I could change the config so it looks for {{Viikon kilpailu tietolaatikko}} instead, but it has to be one or the other, not changing from week to week. –Danmichaelo (keskustelu) 28. maaliskuuta 2016 kello 19.22 (EEST)
- Don't change anything: I have now fixed the name to be definitely {{Viikon kilpailun tietolaatikko}} with the N. It seem our codemaster botched his latest update on the preload page, and I had to revert it. --Pxos (keskustelu) 28. maaliskuuta 2016 kello 22.49 (EEST)
- Roger that. –Danmichaelo (keskustelu) 29. maaliskuuta 2016 kello 00.49 (EEST)
- Don't change anything: I have now fixed the name to be definitely {{Viikon kilpailun tietolaatikko}} with the N. It seem our codemaster botched his latest update on the preload page, and I had to revert it. --Pxos (keskustelu) 28. maaliskuuta 2016 kello 22.49 (EEST)
UK for 2 weeks
How do you go about making a competition that will last for two consecutive weeks? We might plan a competition where "the Olympics" and "Brasil" would be merged into one "2-ukens konk". Is that possible and will the bot handle it without any fuss? Do we have to change some templates? --Pxos (keskustelu) 9. toukokuuta 2016 kello 13.32 (EEST)
- Should be straightforward, there is an infobox property for that, but it seems like it hasn't been translated to Finnish, so it's currently called "ukefler": {{Viikon kilpailun tietolaatikko|viikko=20|ukefler=21}}. Let me know if you want a Finnish name, it should mean "end week". –Danmichaelo (keskustelu) 9. toukokuuta 2016 kello 21.29 (EEST)
- You could use
loppuviikko
for "ukefler". --Pxos (keskustelu) 9. toukokuuta 2016 kello 23.24 (EEST)- Ok,
loppuviikko
should now work. –Danmichaelo (keskustelu) 10. toukokuuta 2016 kello 00.25 (EEST)
- Ok,
- You could use
Bot is not counting
Do you know what´s wrong with bot? It´s not counting points in our competition.--Veli Himmeä (keskustelu) 23. toukokuuta 2016 kello 23.42 (EEST)
- Turns out it's case sensitive. –Danmichaelo (keskustelu) 24. toukokuuta 2016 kello 01.11 (EEST)
Heinäkuun lähdetalkoot
Hi! Once again we have Heinäkuun lähdetalkoot in July, but the bot doesn't seem to be aware of this. Could you get it to update the results? Thanks! --Lentokonefani asiaa? | syntilista 1. heinäkuuta 2016 kello 14.37 (EEST)
- I will fix, but in general, please try to remind of these special contests a week in advance or so. I need to flip a few switches each time, and I could be offline (not very likely though :)). –Danmichaelo (keskustelu) 1. heinäkuuta 2016 kello 22.13 (EEST)
- Thanks. The problem seems to be that there are a ton of dirrerent people involved in organizing different things, and not all of them know they should contact someone, not to mention who that someone might be. But maybe some day... --Lentokonefani asiaa? | syntilista 2. heinäkuuta 2016 kello 00.09 (EEST)
- Sure, that's the small price to pay for not having hierarchy :) –Danmichaelo (keskustelu) 2. heinäkuuta 2016 kello 00.13 (EEST)
- Thanks. The problem seems to be that there are a ton of dirrerent people involved in organizing different things, and not all of them know they should contact someone, not to mention who that someone might be. But maybe some day... --Lentokonefani asiaa? | syntilista 2. heinäkuuta 2016 kello 00.09 (EEST)
Viikon 28 kilpailu
Hi! Just thought I'd let you know that, for some reason, in Viikon kilpailu 28, UKBot did not give the prize to Majiih. I've done it manually now, and it's not a big deal, but still it's something odd and I thought I'd report it just in case. --Lentokonefani asiaa? | syntilista 18. heinäkuuta 2016 kello 09.37 (EEST)
- And exactly one minute after my previous message, UKBot gave the prize to Majiih - and also gave me and Paju our prizes for a second time. Interesting. --Lentokonefani asiaa? | syntilista 18. heinäkuuta 2016 kello 09.43 (EEST)
- I'm glad UKBot doesn't handle financial transactions :) My guess is that it encountered some network issue during the first run, and since it doesn't track each message, just the whole batch, it resent all during the second run (the order not being fixed). It's something to improve if I find time for it :) –Danmichaelo (keskustelu) 18. heinäkuuta 2016 kello 11.08 (EEST)
Bot not updating
Hi, it's me again with another problem. It seems UKBot hasn't updated Heinäkuun lähdetalkoot points in over a day. At least Viikon kilpailu updates still seem normal, though. --Lentokonefani asiaa? | syntilista 26. heinäkuuta 2016 kello 17.50 (EEST)
- It seems that it was out of memory related problem and it is fixed by adding more memory at crontab. --Zache (keskustelu) 28. heinäkuuta 2016 kello 18.06 (EEST)
"Heinäkuun lähdetalkoot" is over
Hello. It seems that UKBot is still uppdating. It's August 1 and Bot doesn't need to update anymore. Thank you for your co-operation.--Htm (keskustelu) 1. elokuuta 2016 kello 20.44 (EEST)
- Thanks, I've stopped it now. –Danmichaelo (keskustelu) 1. elokuuta 2016 kello 20.46 (EEST)
Send ut not working
Hello once again! I guess life would be boring if everything went smoothly, so luckily we have a slight issue once again. I told the bot today morning to 'send ut' the prizes for Viikon kilpailu 30, but nothing has happened so far. Is it a quick fix or should I give the prizes manually? Oh, and... I don't know if anyone has told you this time, but we're having Elokuun kuvitustalkoot in August again, and UKBot would be a great help there. Thanks and good night. --Lentokonefani asiaa? | syntilista 1. elokuuta 2016 kello 22.34 (EEST)
- I enabled the "Elokuun kuvitustalkoot" at crontab. However there is some problem because there is "error: process ID list syntax error" in logs. The error exists with the viikon kilpailu too. --Zache (keskustelu) 2. elokuuta 2016 kello 00.29 (EEST)
- And I also changed the Elokuun kuvitustalkoot and Heinäkuun lähdetalkoot pages to use the {{viikon kilpailun tietolaatikko}} instead of {{viikon kilpailu tietolaatikko}} because this. I also updated configs. --Zache (keskustelu) 2. elokuuta 2016 kello 01.53 (EEST)
Please notice that Zache's efforts did not fix the original problem. The bot seemed to be unable to "send ut" the prizes and close the weekly competition page properly. Lentokonefani had to do it manually, which was a tedious task I gather. --Pxos (keskustelu) 3. elokuuta 2016 kello 13.27 (EEST)
- Ok, I think the sendout was queued because of Heinäkuun lähdetalkoot. I've purged the queue now so it should be working next week. –Danmichaelo (keskustelu) 4. elokuuta 2016 kello 00.31 (EEST)
Final results of last competition
Something seems to gone wrong, because bot has not counted final results of last competition. Something to do with competition of two weeks?--Veli Himmeä (keskustelu) 23. elokuuta 2016 kello 09.10 (EEST)
- I had to implement Extension:Flow support because it has been activated on nowiki, but of course I broke something in the process :) Fixed now! Sorry for the slow response, it's been a hectic week. –Danmichaelo (keskustelu) 26. elokuuta 2016 kello 21.46 (EEST)
Problem with send ut
Hi, it's me again with another problem regarding 'send ut'. Judging by this, when PtG told UKBot to send the rewards of the Viikon kilpailu 35, the bot checked the results of Elokuun kuvitustalkoot instead and didn't do anything to the competition. --Lentokonefani asiaa? | syntilista 5. syyskuuta 2016 kello 18.33 (EEST)
- Yeah, it only closes one competition each time it runs, so I triggered another send out, seemed to do the trick. –Danmichaelo (keskustelu) 6. syyskuuta 2016 kello 19.10 (EEST)
- Oh, that was way too simple. I should have thought of that myself! Well, thanks a lot once again. --Lentokonefani asiaa? | syntilista 6. syyskuuta 2016 kello 19.43 (EEST)
Small caps, big hats
Ignore
does not compute. Do you think that lower case was the problem? --Pxos (keskustelu) 21. marraskuuta 2016 kello 18.51 (EET)
Yeah, problem solved. Could you, nevertheless, make the bot understand both lowercase and uppercase parametres? --Pxos (keskustelu) 21. marraskuuta 2016 kello 20.17 (EET)
Disqualification
Wazzup! I have seen that on norsk wiki you have the option to disqualify a participant, not just reject single articles or points. Could you implement the same mechanism here on fi-wiki? --Pxos (keskustelu) 28. marraskuuta 2016 kello 16.39 (EET)
- Sure! That is the no:Mal:UK_bruker_suspendert template (doc). Can you prepare a Finnish version of it? Here is a quick translation to English:
- The timestamp has to be given as YYYY-MM-DD HH:MM local time. –Danmichaelo (keskustelu) 4. joulukuuta 2016 kello 00.37 (EET)
- The template has been created as Malline:VK osallistuja hylätty. --Pxos (keskustelu) 4. joulukuuta 2016 kello 12.53 (EET)
- Ok, the bot should look for it now (unless I did something wrong). –Danmichaelo (keskustelu) 4. joulukuuta 2016 kello 20.54 (EET)
Bot doesn't work rightly
Bot does something weird here. It checks the results again and again. And it doesn't do anything in this week's competition.--Thejuusoboy (keskustelu) 5. joulukuuta 2016 kello 09.19 (EET)
- Also, it hasn't given me instructions to check the page and send ut. --Lentokonefani asiaa? | syntilista 5. joulukuuta 2016 kello 12.30 (EET)
- Sorry about that. Made some changes yesterday so that the bot would retry later if it fails during the ending of a contest, and not surprisingly I forgot something :) At least the retrying works! –Danmichaelo (keskustelu) 5. joulukuuta 2016 kello 19.30 (EET)
- Heh, it sure does! Thanks again. --Lentokonefani asiaa? | syntilista 5. joulukuuta 2016 kello 21.15 (EET)