• Garry's Mod Wiki Discussion
    645 replies, posted
With the new chrome update, can we get on the Wiki a 302 redirect from http to https? Because if you enter the wiki manually by the URL you get only to be on the http version, while the https one works perfectly. Default HTTP: https://files.facepunch.com/forum/upload/1348/8fed9d85-a208-427d-8e70-6f291ab4b8b0/image.png HTTPS: https://files.facepunch.com/forum/upload/1348/6ffd11eb-6af1-4fdd-b44b-81b45542bd1b/image.png Sometimes when using HTTP it showed the "Not secure" warning in red which caught my attention. It's not a major problem tho.
I had some ideas to formalize derma objects as functions, but some details needs more time to make them good https://files.facepunch.com/forum/upload/104786/edaf998e-c948-4a54-a4e7-0bac735c0ab6/chrome_2019-01-15_00-42-48.png But, although, I would suggest to make "Childrens" as paragraph. For example: DLabel Parent: Label Children: DButton, DLabelEditable
@Rubat , I don't know if I can delete my files in Wiki. But I want to delete my image, can you help? http://wiki.garrysmod.com/page/File:DermaSkin_text_dark.png
Edit the page and add {{Delete}} to it.
Thanks. I also have one more queston for you above the previous post.
If the function exists on client, it should be documented as such on wiki. If it doesn't do anything on client, that should also be documented.
@Rubat I don't know why, but Wiki don't want to change image to new version. When I uploaded it, it's thumbnail showed as old version but when I uploaded it again second version thumbnail changed to new vesrsion. What's happening? http://wiki.garrysmod.com/page/File:DermaSkin_Colors_Numbered.png
There's some serverside caching. I have no control over it. It should update within a day. If it doesn't, mark the file for deletion and upload a new one. Also try to just get it right the first try.
If you remove it, can I upload needed version instantly?
I don't know, just upload one with a different name
Because I'm still preparing page
What's happening between "Client info sent!" and "Starting Lua..."? It really likes to take it's time, I suppose it's lua cache being downloaded. For some reason, 2 mb worth of lua cache (1603 files) take nearly 2 minutes to download. Why is it so slow?
I think pages "Lua Tutorials" "Lua Reference" and "Modding Tutorial" needs to be combined into one and have categories list as in Maurits Wiki https://files.facepunch.com/forum/upload/104786/8d889057-0379-453d-b1c8-cb894f673eb8/chrome_2019-01-27_20-24-08.png
I don't. Lua reference pages are not tutorials, they are reference. They should stay separate. They are linked in the sidebar. Modding tutorials include all the modding tutorials (including non Lua), Lua tutorials category includes only Lua tutorials. Perhaps the categories need to link to each other better and explain their contents better. But it seems they already do link to each other. The whole point of categories is for there to be a list of them so people can find what they look easier/faster. The list you linked is non dynamic and will have to be manually maintained.
Basic scoreboard creation has [[Category:VGUI_Tutorials]] For example. It's shown as category in Lua Tutorials. So Lua Tutorials can sort them by additional tag instead of showing just category names https://files.facepunch.com/forum/upload/104786/c8e3a5ff-8d5d-4dfc-8fe8-c1999b713d39/chrome_2019-01-27_23-08-33.png Subcategories This category has the following 6 subcategories, out of 6 total. B Beginner Tutorials Beginner Tutorial If Then Else Beginner Tutorial Intro Beginner Tutorial Variables
I have changed Lua Tutorials to Modding Tutorials. I do not know what you mean with the first part, but we are not making all tutorials into categories.
I still can't see difference between "Modding" and "Tutorial". In first part I meant that pages can have additional `[[Category|...]]` tag that will sort pages in Modding Tutorial (and Lua Tutorial) by this tag: https://files.facepunch.com/forum/upload/104786/afabe6b8-61e7-4aed-8808-ad778e382aec/chrome_2019-01-29_00-16-28.png
https://wiki.garrysmod.com/page/Category:Lua_Tutorials https://wiki.garrysmod.com/page/Category:Modding_Tutorials There's 20 more pages in Modding Tutorials. All these tutorial pages already have multiple categories that you can search by.
Now at least better that it was. I have one last idea for now. Can categories have a double-arrow. What if I want to open category not the actual page inside it? https://files.facepunch.com/forum/upload/104786/9bcbad49-bc81-4c3d-b0a8-17ded2df1e28/chrome_2019-01-29_02-33-31.png
@Rubat , do function arguments need to have a readable name or proper name as it in files? This is in lua: https://files.facepunch.com/forum/upload/104786/71ba5fda-0e82-4af2-9cc0-33a5d5ceef54/sublime_text_2019-02-01_12-14-30.png This is on wiki: https://files.facepunch.com/forum/upload/104786/261cf141-2674-42d2-8d12-6f8753ede411/chrome_2019-02-01_12-14-13.png
https://files.facepunch.com/forum/upload/104786/72f039ff-9d10-44d1-855f-ae0f63866750/chrome_2019-02-24_00-42-10.png @Rubat
@Rubat Is that style accepted? Link
@Rubat I want to suggest adding "This function is only available in Sandbox and its derivatives" as a (category + template) instead of {{Note| ... }} or something. What you think? I have 3 variants of the text: https://files.facepunch.com/forum/upload/104786/c7802447-5cb7-4963-89c0-c85c8cf413c1/chrome_2019-05-02_02-12-40.png https://files.facepunch.com/forum/upload/104786/05ff3b57-b12e-4551-9526-c7151ca745a7/chrome_2019-05-02_02-12-31.png https://files.facepunch.com/forum/upload/104786/b10059c1-babd-4134-a562-ceacc85474a5/chrome_2019-05-02_02-14-24.png I made a template: Template Also you can look how it looks like in this page as an example. If you don't like it, please delete template and my edit
ents.CreateClientside and MarkupObject/Create need to be deleted.
I think it's a good idea, yes. No need to point stuff like that out here, I tend to check all the changes on the wiki every few weeks.
@Rubat , fix the CSS style for a url. It's unstyled Also, I have a question about Player/CrosshairDisable and Player/CrosshairEnable Before my edits, they had same example descriptions as the description of whole function. You edit me with comment that they should have some description. So should I then re-describe them to something that differs from main description or what? Before: Description: Enables the player's crosshair Examples Examples 1 Enables the player's crosshair *code* My edit: Description: Enables the player's crosshair Examples Examples 1 *code*
I feel like the descriptions being same or similar is fine for such simple functions. What's wrong with the url style exactly?
Different font I guess https://files.facepunch.com/forum/upload/104786/8fdf6fd5-143f-4f1b-98c0-b0221fb653d1/chrome_2019-05-04_20-22-51.png
It's the same font, it's just bolder to differentiate that it is a link and can be clicked.
https://files.facepunch.com/forum/upload/104786/0d87ee98-5dfe-439e-a732-1633b6bb4f93/chrome_2019-05-04_20-37-48.png Look how link are here
Sorry, you need to Log In to post a reply to this thread.