Project:General Discussions

From Dolphin Emulator Wiki
Jump to navigation Jump to search

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)