Template talk:Path

About this board

Midoant (talkcontribs)

Could the "file://" protocol be added to $wgUrlProtocols in LocalSettings.php?

Looks like there was a fair amount of discussion on the internet over the past decades on how to handle file:// links, but now it seems that after some configuration, the most popular browsers support it.

It may require some explanation (or linking out to some explanation) about how to enable it in browsers firefox] (from a quick search, there's probably a better one somewhere else) and the same for warnings.

Aemony (talkcontribs)

I don't foresee that happen since we don't really gain anything by doing so, and it could add additional confusion or security concerns for users unaware of what they enable in their browser.

Midoant (talkcontribs)

Gotcha. Just gains convenience, being able to click links to game files instead of copy/replacing/pasting into file browsers.

Reply to "Enable OS file browser links"
Midoant (talkcontribs)

Could the current entry

userprofile\appdata\locallow %USERPROFILE%\AppData\LocalLow AppData\LocalLow

be shortened to

locallow %LocalAppData%Low AppData\LocalLow?

In windows %s just delimit a variable expansion so e.g. explorer's address bar will correctly interpret paths such as %LocalAppData%Low\BlueManchu.

While this a bit more confusing (to me at least) than the other builtin envars, it is more concise.

Aemony (talkcontribs)

While a smart use of environmental variable expansion, implementing this would probably create unnecessary confusion since there is no actual environmental variable for LocalLow, and the use of %LocalAppData% would get most to assume that the files are stored in %LocalAppData% when in reality they're not.

Meanwhile all that it would provide us is with a slightly shorter path.

Midoant (talkcontribs)

Yeah, fair enough.

Reply to "Shorten LocalAppDataLow"
Fwinest JediThug (talkcontribs)

%APPDATA% | Per-user application-specific files

%LOCALAPPDATA% | User-specific and computer-specific application settings

%ProgramFiles% | Program files directory

%ProgramFiles(x86)% | Program files directory for 32-bit applications (64-bit systems only)

%ProgramW6432% | Program files directory for 64-bit applications (64-bit systems only)

%UserProfile% | current user's profile directory

%SystemRoot% | Windows directory [works only on NT based OS (NT3.1+)]

%windir% | Windows directory [works on NT based OS (NT3.1+) and MS-DOS based OS (Win 95/98/Me)]

See Wikipedia:Special_folder#List_of_special_folders and Wikipedia:Environment_variable#Microsoft_Windows

Anonymous (talkcontribs)

We were discussing this on the forums just recently. We've decided that for now we do not want to use any environment variables in the template, only things that aren't included among them.

Midoant (talkcontribs)

Looks like maybe this decision was updated and resolved?

Reply to "Suggestions for more options"

Steam-folder hyperlink incorrect

Summary by Aemony

Ah, sorry 'bout that. I've fixed the incorrect link now. Thanks for making us aware of it! (talkcontribs)

If you look at any game's "Save game data location" section [1], and click on "<Steam-folder>" link, it forwards you to https://www.pcgamingwiki.com/wiki/Glossary:Game_data#Steam . That is incorrect and confusing. It should link to https://www.pcgamingwiki.com/wiki/Glossary:Game_data#Steam_client instead, because *that* section contains the Steam folder locations.

[1] example: https://www.pcgamingwiki.com/wiki/Bastion#Save_game_data_location

Guide icon.svg
This is a requested edit. This notice will be removed when resolved.
Aemony (talkcontribs)

Ah, sorry 'bout that. I've fixed the incorrect link now. Thanks for making us aware of it!

Inaccurate tooltip for 'My Documents' on Wine/Proton

Goldenapple (talkcontribs)

Currently the mouse-over text for %USERPROFILE%\Documents says "replace with My Documents for Windows XP or Wine/Proton".

That's not accurate, because vanilla Wine actually redirects "Documents" to the user's home folder. That's definitely worth mentioning. Meanwhile, Steam's Proton doesn't need to be mentioned at all, because the latest versions of it already use "Documents".

Rose (talkcontribs)

Thanks for the feedback. How would you word the tooltip as a whole?

Goldenapple (talkcontribs)

"replace with My Documents for Windows XP, or the user's home directory for Wine"

Reply to "Inaccurate tooltip for 'My Documents' on Wine/Proton"

Steam client location and Steam libraries aren't exactly the same

Charged tank (talkcontribs)

Please update Path template to reflect this.

Charged tank (talkcontribs)

I also suggest to avoid just "Steam" as problematic and confusing.

Baronsmoki (talkcontribs)

<Steam-folder> always refers to the base Steam client folder. It is most often used for games that save data inside the Steam userdata folder, e.g. <Steam-folder>\userdata\<user-id>\35140\remote\.

Aemony (talkcontribs)

<path-to-game> is used to refer to the actual install folder of the game -- regardless of where it might reside.

The only time <Steam-folder> and <path-to-game> isn't either of the appropriate paths to use is when you're trying to point readers to a specific workshop mod or folder, which resides below e.g. \SteamLibrary\steamapps\workshop\content\<steam-appid>\<workshop-id>\

But those occasions are really rare on PCGW.

Reply to "Steam client location and Steam libraries aren't exactly the same"
Mirh (talkcontribs)

I was thinking something like p|sys32 which becomes "system32" (with a tooltip saying of course that in 64 bit systems that should be a SysWow64)
But then I thought that if there was to be a problem with a 64 bit application... should we write plain system32 in the path?

Also, considering that in every case there would already be a %WINDIR% thing.. perhaps this new argument could already include that (for some reasons)

Reply to "Request: system32/SysWOW64"
There are no older topics