Editing Talk:User Rights Requests and Suggestions
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 356: | Line 356: | ||
***** I agree the bot rights should be given only to accounts that are going to be managed 100% by the bot because all the edits of that account are going to be hidden in the logs. The best practice example of how to play around with bots is pretty much what [[User:Euss]] did, if someone is configuring a bot for first time then it can be made with any account (there is no need to request bot rights) but only temporally and for the tests, mostly because you are not sure if your bot is going to work as desired, but after the bot is configured and ready to be deployed is needed to create a new account dedicated for the bot, either by using our nick with the prefix or suffix bot (ie: [[User:Eussbot]]) or by giving the account a name specific for his task (ie: the idea i had about a bot intended to update the PS1/PS2/PSP compatibility counters every 24 hours could be named '''[[Template:PS2_Classics_Emulator_Compatibility_List_Counter#How_to_count_them_in_a_easy_way | CompatListsCountUpdater]])''', in this example the point is we dont want this kind of bot flooding the "recent changes" page with 3 edits every day, is better to hide the bot edits--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 10:07, 27 March 2023 (CEST) | ***** I agree the bot rights should be given only to accounts that are going to be managed 100% by the bot because all the edits of that account are going to be hidden in the logs. The best practice example of how to play around with bots is pretty much what [[User:Euss]] did, if someone is configuring a bot for first time then it can be made with any account (there is no need to request bot rights) but only temporally and for the tests, mostly because you are not sure if your bot is going to work as desired, but after the bot is configured and ready to be deployed is needed to create a new account dedicated for the bot, either by using our nick with the prefix or suffix bot (ie: [[User:Eussbot]]) or by giving the account a name specific for his task (ie: the idea i had about a bot intended to update the PS1/PS2/PSP compatibility counters every 24 hours could be named '''[[Template:PS2_Classics_Emulator_Compatibility_List_Counter#How_to_count_them_in_a_easy_way | CompatListsCountUpdater]])''', in this example the point is we dont want this kind of bot flooding the "recent changes" page with 3 edits every day, is better to hide the bot edits--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 10:07, 27 March 2023 (CEST) | ||
* I think you can use the Extension "ParserFunctions" (which is installed) to automatically count those totals by adding the keyword to increment a counter in the templates (e.g. in | * I think you can use the Extension "ParserFunctions" (which is installed) to automatically count those totals by adding the keyword to increment a counter in the templates (e.g. in `{{playable}}`) so when it renders on the page, each template loaded will increase the correct counter. I haven't really messed with that extension though. [[User:Derf|Derf]] ([[User talk:Derf|talk]]) 03:31, 27 March 2023 (CEST) | ||
** I really tryed hard to do it with the "ParserFunctions" extension, but sadly is not powerful enought, the procedure to update the counter involves reading the compatibility list in "raw" (by clicking edit in the whole page, or [https://www.mediawiki.org/wiki/API:Main_page MediaWiki Action API], [https://www.mediawiki.org/wiki/API:Parsing_wikitext parse] or [https://www.mediawiki.org/wiki/API:Query query]) and using string search functions over text to find how many times is repeated every <nowiki>{{tag}}</nowiki> (and after that updating the other "template counter"). The "ParserFunctions" extension have a function named "ifeq" intended to work with text strings but it cant be used with the content of a page, as far i remember it can be used with page names/titles, but not with his content. Anyway im sure this kind of bot can be made with a 20$ router running OpenWRT and a couple of weeks of experiments :D (so eventually someone could do somthing similar), also when i was investigating all this i could not count with defyboy help so it was imposible to deploy this kind of bot at the server level, but now that you and crunchbite are active we can do some experiments with it later, it requires some time to search in google how other wikis are doing this kind of services--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 06:35, 27 March 2023 (CEST) | ** I really tryed hard to do it with the "ParserFunctions" extension, but sadly is not powerful enought, the procedure to update the counter involves reading the compatibility list in "raw" (by clicking edit in the whole page, or [https://www.mediawiki.org/wiki/API:Main_page MediaWiki Action API], [https://www.mediawiki.org/wiki/API:Parsing_wikitext parse] or [https://www.mediawiki.org/wiki/API:Query query]) and using string search functions over text to find how many times is repeated every <nowiki>{{tag}}</nowiki> (and after that updating the other "template counter"). The "ParserFunctions" extension have a function named "ifeq" intended to work with text strings but it cant be used with the content of a page, as far i remember it can be used with page names/titles, but not with his content. Anyway im sure this kind of bot can be made with a 20$ router running OpenWRT and a couple of weeks of experiments :D (so eventually someone could do somthing similar), also when i was investigating all this i could not count with defyboy help so it was imposible to deploy this kind of bot at the server level, but now that you and crunchbite are active we can do some experiments with it later, it requires some time to search in google how other wikis are doing this kind of services--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 06:35, 27 March 2023 (CEST) | ||
*** Why not using this one? --> https://en.wikipedia.org/wiki/Template:Table_row_counter --- [[User:Roxanne|Roxanne]] | *** Why not using this one? --> https://en.wikipedia.org/wiki/Template:Table_row_counter --- [[User:Roxanne|Roxanne]] |