Editing Talk:User Rights Requests and Suggestions

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 353: Line 353:
** 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]]
****Hmmm, we need to count templates (not table rows) so it can't be used to update the compatibility counters. I guess it could be used to add a new counter at top of the compatibility list to tell how many games are in the page though (buut im not sure if is going to be able to do the correct maths of the total sum of table # + table A + table B + table C etc... up to table Z, remember we have that wikitables "splitted" in a bit special way for simplification purposes)--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 10:03, 27 March 2023 (CEST)
****Hmmm, we need to count templates (not table rows) so it can be used to update the compatibility counters. I guess it could be used to add a new counter at top of the compatibility list to tell how many games are in the page though (buut im not sure if is going to be able to do the correct maths of the total sum of table # + table A + table B + table C etc... up to table Z, remember we have that wikitables "splitted" in a bit special way for simplification purposes)--[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 10:03, 27 March 2023 (CEST)
*****I know someone who is very good with ParserFunctions, I'll ask him about it. Doing it via extension would be better than a bot for it - less moving pieces to keep track of. [[User:Derf|Derf]] ([[User talk:Derf|talk]]) 03:48, 28 March 2023 (CEST)
*****I know someone who is very good with ParserFunctions, I'll ask him about it. Doing it via extension would be better than a bot for it - less moving pieces to keep track of. [[User:Derf|Derf]] ([[User talk:Derf|talk]]) 03:48, 28 March 2023 (CEST)


Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)