Project:General Discussions: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(General cleanup, moved old discussions to the archive)
 
(542 intermediate revisions by 21 users not shown)
Line 1: Line 1:
= Wiki Discussions =
This page is meant to be a hub for general discussions about this wiki, its use and its editing. Feel free to use this page to note wiki problems and leave messages for the community. Feel free to add/revise sections as necessary and move items that have been completed to the "Completed" section below.


This page is meant to be a hub for general discussions about this wiki its use and its editing.
== Open Discussions ==
=== Global Replacement Request ===
A spot to capture global replacement requests:
* <s>Update testing/entry template to always include "tester=" field. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 01:36, 29 May 2015 (CEST)</s> (done at some point?)


Feel free to use this to note wiki problems, etc. and leave messages for the community.


Feel free to add/revise categories as necessary.
=== Error with Slash in Search ===
Using a forward slash in a search term (i.e. "NA/EU") results in a long set of Wiki errors...
"Warning: preg_match() [function.preg-match]: Unknown modifier ')' in /home/dolphin-emu/apps/wiki/includes/search/SearchEngine.php on line 1402"
[[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 22:01, 28 August 2013 (CEST)


= Page Discussions =
Now it's...
== Incorrect Ratings ==
Warning: preg_match(): Unknown modifier ')' in /home/dolphin-emu/apps/wiki/includes/search/SearchHighlighter.php on line 512
More and more I'm noticing people incorrectly changing the ratings putting a number directly on the list instead of in the ratings pages just undid 2 of the them from the same person.
...but this still occurs. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 07:04, 13 March 2017 (CET)


We need all users to understand not to change the ratings that way or a way to prevent it as its going to get annoying and harder to change. [[Special:Contributions/122.104.103.221|122.104.103.221]] 20:16, 15 August 2010 (UTC)
----
I think this is generally due to folks being unaware of how to work with the ratings templates. Some suggestions:
*Revise the ratings template to recognize the numbers an provide info on appropriate corrections.
*Revise the rating template so ratings link to the appropriate ratings edit page. I'm guessing this would mean generating separate templates per system.


However, we'll likely still see this (and the similar issue of pages using the rating vs ratings template) even then. Unfortunately the best solution may be to just continue to monitor things. The searches below can help with such...
=== Very Odd Query API Error ===
*[http://www.dolphin-emulator.com/wiki/index.php?title=Special:Search&ns0=1&redirs=1&search=Rating|&limit=100&offset=0 Use of the rating rather than ratings template] (some unrelated results mixed in)
For some unknown reason, searching for 'SNES' with the Wikimedia API gives a 500 error. Typing in other searches, like 'Super Nintendo Entertainment System', 'SMS' or other games work. There is no other known queries that cause this. I have nailed it down to the 'redirects' parameter being, but it does not make sense why it works with other queries but SNES.
*[http://www.dolphin-emulator.com/wiki/index.php?title=Special%3ASearch&search=%22ratings|0%22+%22ratings|1%22+%22ratings|2%22+%22ratings|3%22+%22ratings|4%22+%22ratings|5%22&fulltext=Search Ratings template used with #'s]
[[User:Kolano|Kolano]] 20:37, 15 August 2010 (UTC)


I guess theres no scripts or wiki bots that can monitor it automatically for us be good if there was.
Here is the link in question: https://wiki.dolphin-emu.org/api.php?action=query&utf8=1&redirects&format=json&prop=info|categories&inprop=url&titles=SNES


I hope people read the ratings links I put on the main page its the best I could do and also It would be a good idea to update each list page so at the top is a big comment about editing ratings they need to scroll past something like.
[[User:Techydude3|Techydude3]] ([[User talk:Techydude3|talk]]) 00:12, 15 March 2021 (CET)


Put (hash) as I cant put a real one here.
== Recent Discussions ==
Below is listed of recently concluded discussions. You can [[Project:General_Discussions/Archive|search the archive]] for what was discussed since General Discussions page was created.


(comment)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)


Please don't put ratings in this file use the link below
=== Consider using TitleIDs for Open Issue Search ===
Instead of using the game's title to look for open issues, it would be better to  use the all possible TitleIDs affiliated with the game.
By using the TitleID, the accuracy of the search is increased to game specific issues. It removes the chance of mixing issues from different games.


Link to Wii Ratings list
For example:
Super Mario Galaxy


(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(hash)(/comment)


[[Special:Contributions/122.104.103.221|122.104.103.221]] 20:56, 15 August 2010 (UTC)
Original Search:


= Editing Discussions =
[https://bugs.dolphin-emu.org/projects/emulator/search?q=Super+Mario+Galaxy&open_issues=1 https://bugs.dolphin-emu.org/projects/emulator/search?q=Super+Mario+Galaxy&open_issues=1]
 
 
Proposed Search:
 
[https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1 https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1]
 
[[User:Techydude3|Techydude3]] ([[User talk:Techydude3|talk]]) 20:45, 29 May 2020 (CEST)
 
: Sounds reasonable, however, from a quick look, it doesn't seem that trivial to implement since the Game IDs come directly from the DPL extension and I'm not that experienced with its usage... - [[User:mbc07|mbc07]] ([[User talk:mbc07|talk]]) 21:51, 29 May 2020 (CEST)
 
::Nah it shouldn't be a big deal to do. Sorry for ninja-ing you but inspired by this idea right after you said that I changed the ID system to save the results of the DPL to a variable, allowing for this change to be made by regexing the variable. As a benefit, we also get [[:Category:Pages with no GameIDs]] which we never had before. It'll take me a bit to do the regexes though since I'm terrible with them... - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 22:12, 29 May 2020 (CEST)
 
::Done. It uses IDs for the issue tracker search on pages that have IDs, and on pages that don't have IDs, it uses the page title. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 00:33, 30 May 2020 (CEST)
 
:::Thanks! I appreciate your assistance.- [[User:Techydude3|Techydude3]] ([[User talk:Techydude3|talk]]) 01:39, 30 May 2020 (CEST)
 
: It is fairly common for the GameIDs to be missing from issues that are ill-reported. We should probably search for the game's name in addition to the GameIDs to get those cases. - [[User:MayImilae|MayImilae]] ([[User talk:MayImilae|talk]]) 13:36, 3 June 2020 (CEST)
 
::Sure, that makes sense. I'll have it do both. My reasoning was that people would know to use the issue tracker for the game's title intuitively but not necessarily know how to search the IDs, so users would try searching the title on their own, but just searching for both to begin with makes more sense. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 20:10, 3 June 2020 (CEST)
 
::: Apparently Redmine only can search for 5 terms, cutting off the rest of the search results (unless using its api). [https://www.redmine.org/projects/redmine/wiki/RedmineSearch#Search-controller https://www.redmine.org/projects/redmine/wiki/RedmineSearch#Search-controller] This means a wildcard is needed at the region character if a title has 5 or more GameIDs. Also, the title would need to be in quotes, so it doesn't search for "Super" & "Mario" & "Galaxy".
 
:::Basically, the link changes from this:
 
:::[https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1 https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1]
:::to this:
:::[https://bugs.dolphin-emu.org/projects/emulator/search?q=RMG_01+%22Super+Mario+Galaxy%22&all_words=&open_issues=1 https://bugs.dolphin-emu.org/projects/emulator/search?q=RMG_01+%22Super+Mario+Galaxy%22&all_words=&open_issues=1]
::: - [[User:Techydude3|Techydude3]] ([[User talk:Techydude3|talk]]) 16:02, 4 June 2020 (CEST)
 
::::That would actually be pretty challenging and require a lot of work pre-processing the ID list before the search (not all games use one single ID with different region codes, in fact in some cases they can go all over the place). I'll mull it over. The nicer solution would be a change on the issue tracker side to allow more search terms but searching by title works well enough anyways. On the quotes, I already put the game titles in quotes for the search because I was testing different pages and the Dead Space page picked up a ton of different issues casually using the word "dead", so yeah those are totally necessary if "all words" is disabled. I think what I'll do for now is put the title in quotes first in the search, then the IDs afterwards, so at least the cutoff will be some of the IDs and not the game's title. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 20:29, 4 June 2020 (CEST)
 
:::: I think we could reorder the search string construction, so it becomes "game name" + game IDs. The 6th term and forward would still be ignored by Redmine but I think it's acceptable, as it would still be sufficient for most games and would still be more broad than the previous search that considered only the game name... - [[User:mbc07|mbc07]] ([[User talk:mbc07|talk]]) 01:30, 5 June 2020 (CEST)

Latest revision as of 09:44, 24 March 2022

This page is meant to be a hub for general discussions about this wiki, its use and its editing. Feel free to use this page to note wiki problems and leave messages for the community. Feel free to add/revise sections as necessary and move items that have been completed to the "Completed" section below.

Open Discussions

Global Replacement Request

A spot to capture global replacement requests:

  • Update testing/entry template to always include "tester=" field. Kolano (talk) 01:36, 29 May 2015 (CEST) (done at some point?)


Error with Slash in Search

Using a forward slash in a search term (i.e. "NA/EU") results in a long set of Wiki errors... "Warning: preg_match() [function.preg-match]: Unknown modifier ')' in /home/dolphin-emu/apps/wiki/includes/search/SearchEngine.php on line 1402" Kolano (talk) 22:01, 28 August 2013 (CEST)

Now it's... Warning: preg_match(): Unknown modifier ')' in /home/dolphin-emu/apps/wiki/includes/search/SearchHighlighter.php on line 512 ...but this still occurs. Kolano (talk) 07:04, 13 March 2017 (CET)


Very Odd Query API Error

For some unknown reason, searching for 'SNES' with the Wikimedia API gives a 500 error. Typing in other searches, like 'Super Nintendo Entertainment System', 'SMS' or other games work. There is no other known queries that cause this. I have nailed it down to the 'redirects' parameter being, but it does not make sense why it works with other queries but SNES.

Here is the link in question: https://wiki.dolphin-emu.org/api.php?action=query&utf8=1&redirects&format=json&prop=info%7Ccategories&inprop=url&titles=SNES

Techydude3 (talk) 00:12, 15 March 2021 (CET)

Recent Discussions

Below is listed of recently concluded discussions. You can search the archive for what was discussed since General Discussions page was created.


Consider using TitleIDs for Open Issue Search

Instead of using the game's title to look for open issues, it would be better to use the all possible TitleIDs affiliated with the game. By using the TitleID, the accuracy of the search is increased to game specific issues. It removes the chance of mixing issues from different games.

For example: Super Mario Galaxy


Original Search:

https://bugs.dolphin-emu.org/projects/emulator/search?q=Super+Mario+Galaxy&open_issues=1


Proposed Search:

https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1

Techydude3 (talk) 20:45, 29 May 2020 (CEST)

Sounds reasonable, however, from a quick look, it doesn't seem that trivial to implement since the Game IDs come directly from the DPL extension and I'm not that experienced with its usage... - mbc07 (talk) 21:51, 29 May 2020 (CEST)
Nah it shouldn't be a big deal to do. Sorry for ninja-ing you but inspired by this idea right after you said that I changed the ID system to save the results of the DPL to a variable, allowing for this change to be made by regexing the variable. As a benefit, we also get Category:Pages with no GameIDs which we never had before. It'll take me a bit to do the regexes though since I'm terrible with them... - Xerxes (talk) 22:12, 29 May 2020 (CEST)
Done. It uses IDs for the issue tracker search on pages that have IDs, and on pages that don't have IDs, it uses the page title. - Xerxes (talk) 00:33, 30 May 2020 (CEST)
Thanks! I appreciate your assistance.- Techydude3 (talk) 01:39, 30 May 2020 (CEST)
It is fairly common for the GameIDs to be missing from issues that are ill-reported. We should probably search for the game's name in addition to the GameIDs to get those cases. - MayImilae (talk) 13:36, 3 June 2020 (CEST)
Sure, that makes sense. I'll have it do both. My reasoning was that people would know to use the issue tracker for the game's title intuitively but not necessarily know how to search the IDs, so users would try searching the title on their own, but just searching for both to begin with makes more sense. - Xerxes (talk) 20:10, 3 June 2020 (CEST)
Apparently Redmine only can search for 5 terms, cutting off the rest of the search results (unless using its api). https://www.redmine.org/projects/redmine/wiki/RedmineSearch#Search-controller This means a wildcard is needed at the region character if a title has 5 or more GameIDs. Also, the title would need to be in quotes, so it doesn't search for "Super" & "Mario" & "Galaxy".
Basically, the link changes from this:
https://bugs.dolphin-emu.org/projects/emulator/search?q=RMGP01+RMGK01+RMGJ01+RMGE01+RMGR01+RMGC01&all_words=&open_issues=1
to this:
https://bugs.dolphin-emu.org/projects/emulator/search?q=RMG_01+%22Super+Mario+Galaxy%22&all_words=&open_issues=1
- Techydude3 (talk) 16:02, 4 June 2020 (CEST)
That would actually be pretty challenging and require a lot of work pre-processing the ID list before the search (not all games use one single ID with different region codes, in fact in some cases they can go all over the place). I'll mull it over. The nicer solution would be a change on the issue tracker side to allow more search terms but searching by title works well enough anyways. On the quotes, I already put the game titles in quotes for the search because I was testing different pages and the Dead Space page picked up a ton of different issues casually using the word "dead", so yeah those are totally necessary if "all words" is disabled. I think what I'll do for now is put the title in quotes first in the search, then the IDs afterwards, so at least the cutoff will be some of the IDs and not the game's title. - Xerxes (talk) 20:29, 4 June 2020 (CEST)
I think we could reorder the search string construction, so it becomes "game name" + game IDs. The 6th term and forward would still be ignored by Redmine but I think it's acceptable, as it would still be sufficient for most games and would still be more broad than the previous search that considered only the game name... - mbc07 (talk) 01:30, 5 June 2020 (CEST)