Difference between revisions of "User talk:Darkid"
(→Help with changing my username: new section) |
GrampaSwood (talk | contribs) (→Report request: new section) |
||
(120 intermediate revisions by 14 users not shown) | |||
Line 15: | Line 15: | ||
|arc2name = Archive 2013-2014 | |arc2name = Archive 2013-2014 | ||
|arc2link = User talk:Darkid/Archive 2 | |arc2link = User talk:Darkid/Archive 2 | ||
+ | |arc3name = Archive 2015-2019 | ||
+ | |arc3link = User talk:Darkid/Archive 3 | ||
}}__TOC__ | }}__TOC__ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Script for finding projectile speeds. == | == Script for finding projectile speeds. == | ||
Line 745: | Line 342: | ||
Cordially yours, EinTheReal | Cordially yours, EinTheReal | ||
[[User:EinTheReal|PinRouge]] ([[User talk:EinTheReal|talk]]) 15:39, 19 December 2023 (UTC) | [[User:EinTheReal|PinRouge]] ([[User talk:EinTheReal|talk]]) 15:39, 19 December 2023 (UTC) | ||
+ | |||
+ | :This task can only be performed by Administrators, you would have to contact [[User talk:Tark|Tark]] or [[User talk:Wookipan|Wookipan]].<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 16:38, 19 December 2023 (UTC) | ||
+ | |||
+ | ::{{c|Done}}. For future reference, please refer to [[Help:Group rights]] for a complete list of staff members and their abilities/permissions. — [[User:Wookipan|<span style="color:#db9c1f">'''Wookipan'''</span>]] <small>([[User_talk:Wookipan|talk]] | [[Special:Contributions/Wookipan|contribs]])</small> 21:47, 19 December 2023 (UTC) | ||
+ | :::Thanks for monitoring my talkpage for me, folks :) [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 01:27, 20 December 2023 (UTC) | ||
+ | |||
+ | == [[Module talk:Availability]] == | ||
+ | |||
+ | Hello, can we add the unusual-expired parameter? I made a topic on the discussion page. Maybe we should go with "Uncrate (Unusual) {{tooltip|(expired)|This item can no longer be unboxed in Unusual quality}}" (text taken from HazMat Headcase) | ||
+ | [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 15:09, 27 December 2023 (UTC) | ||
+ | :If you have a proposal, it saves me a lot of time if you can just put it on the sandbox page (and add appropriate tests on the sandbox docs) [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 18:30, 27 December 2023 (UTC) | ||
+ | :: Done, its working (there was a space missing but I fixed it) [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 19:10, 27 December 2023 (UTC) | ||
+ | ::: All done. Please add usage examples on the [[Module:Availability/Sandbox/doc|sandbox docs]] page next time -- that's how you can test that it looks correct. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 09:50, 29 December 2023 (UTC) | ||
+ | |||
+ | == Help with Template == | ||
+ | |||
+ | Hello. Could you help me with something related to the [[Template:Painted variants]]? I'd like if there was a new parameter called {{code|override-title}}. Using this parameter would add a title in the same vein when {{code|default<nowiki>=</nowiki>}} or {{code|style<nowiki>=</nowiki>}} parameters are used (I'm talking about [[Medical Monarch|the "Style 1" that appears above "Single colors" and below "Painted variants - Style 1"]]). Additionally, if {{code|default<nowiki>=</nowiki>}} or {{code|style<nowiki>=</nowiki>}} is used in conjunction with {{code|override-title}}, whatever is put with {{code|override-title<nowiki>=</nowiki>}} will replace whatever value was put into either {{code|default<nowiki>=</nowiki>}} or {{code|style<nowiki>=</nowiki>}}. Lastly, the text for {{code|override-title<nowiki>=</nowiki>}} wouldn't be linked to the <nowiki>{{item name}}</nowiki>, as the idea is to put any title on it, however, it should still be possible to use <nowiki>{{item name}}</nowiki> when using a name on the dictionary. | ||
+ | |||
+ | I'd like to use this parameter for the [[Gibus]] pages (not the [[Galvanized Gibus]] page), by including each of the styles as tabs on the Painted Variants table. The idea is to add these paint variants using {{code|override<nowiki>=</nowiki>}} with the name of the other styles, so there's no need to re-upload them or make a huge amount of redundant redirects. However, doing so currently causes no text to be visible on top (the text between "Single colors" and "Painted variants -..." does not show up), because I am unable to use {{code|style<nowiki>=</nowiki>}}, doing so causes the filename to be different, therefore the images does not show on the table. [[User:Gabrielwoj/Sandbox|Feel free to use this code for testing]], though you'll have to move it to [[Ghastlierest Gibus]] page and Show Preview for a better, well, preview. Once the parameter is added, I will add the tabs to that page, the other Gibus pages, and the rest of the languages as well. Thanks! [[File:User Gabrielwoj Signature Icon.png|15px|Headphones style when?|link=User:Gabrielwoj]] - [[File:User Gabrielwoj Signature 1.png|link=User:Gabrielwoj]] ▪ [[File:User Gabrielwoj Signature 2.png|link=Special:Contribs/Gabrielwoj]] - [[File:User Gabrielwoj Signature 3.png|link=User talk:Gabrielwoj]] 01:17, 28 December 2023 (UTC) | ||
+ | :Which of [https://imgur.com/r2XWcCD these 3 boxes] are you trying to change? Can you make an MSPaint mockup of what you're looking for, and/or give me a sandbox page of how you *want* to call the template (but that doesn't work)? [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 09:57, 29 December 2023 (UTC) | ||
+ | ::It would be the letter "C". Here's some screenshots to help you. Right now, the pages look like this: [https://imgur.com/a/43eplWu https://imgur.com/a/43eplWu]. The idea would it to be look like this instead, please see this mock-up: [https://imgur.com/a/lJ0ynUw https://imgur.com/a/lJ0ynUw]. Just to keep things clear. The reason I'm not using "style=" on the second album is because, if I do, the filenames change, and the images don't show up. Someone suggested me just using redirects instead, but that would be approximately 111 pages worth of redirects. I think it's a bit redundant doing so, and I would say the override-title method would be much more ideal. Thank you! [[File:User Gabrielwoj Signature Icon.png|15px|Headphones style when?|link=User:Gabrielwoj]] - [[File:User Gabrielwoj Signature 1.png|link=User:Gabrielwoj]] ▪ [[File:User Gabrielwoj Signature 2.png|link=Special:Contribs/Gabrielwoj]] - [[File:User Gabrielwoj Signature 3.png|link=User talk:Gabrielwoj]] 10:32, 29 December 2023 (UTC) | ||
+ | :::Hello, I just wanted to ask / remember if you have any plans in making this parameter available on the template. I don't think it should be too difficult to make, even though I tried many times but I ain't a pro when it comes to templates. Thank. [[File:User Gabrielwoj Signature Icon.png|15px|Headphones style when?|link=User:Gabrielwoj]] - [[File:User Gabrielwoj Signature 1.png|link=User:Gabrielwoj]] ▪ [[File:User Gabrielwoj Signature 2.png|link=Special:Contribs/Gabrielwoj]] - [[File:User Gabrielwoj Signature 3.png|link=User talk:Gabrielwoj]] 12:58, 7 February 2024 (UTC) | ||
+ | ::::Maybe I'm not understanding correctly, but it looks like that's controlled by this code (which is the sole use of the 'default' parameter). I think you should just be able to add a further override, or change this #if statement as you need. | ||
+ | :::: | ||
+ | <pre> | ||
+ | {{#if:{{{hh|}}}|{{ns:0}}|{{#if:{{{default|{{{style|}}}}}} | ||
+ | | {{!}}+ style="text-align:left; font-size:1.5em; padding:0.5em 0em" colspan="4" {{!}} {{#if:{{{name|}}}|{{item name|{{{name}}}}}|{{item name|{{{default|{{{style|default appearance}}}}}}}}}} | ||
+ | }}}} | ||
+ | </pre> | ||
+ | ::::I see that there's a sandbox page set up, I've added some more docs samples, hopefully you can take it from here. | ||
+ | ::::[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 03:49, 12 February 2024 (UTC) | ||
+ | |||
+ | == Speed table metric units == | ||
+ | |||
+ | I believe I asked a few years ago about adding Metric units to the {{tl|Class speed table}} (preferably in the order of Metric -> Imperial -> Hammer units), but I never made a talk page entry for it. It looks very complicated so I understand it won't be done any time soon, but I thought I'd leave it here regardless for if you're ever bored :^)<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 14:09, 2 January 2024 (UTC) | ||
+ | :This content is actually generated by {{tl|Class speed table/top row}} (and mid row, etc). It looks like the kph math is already there, even -- it's just only in use on non-english pages. | ||
+ | :I'd recommend making (another) sub-template for the tooltip (maybe {{tl|Class speed table/tooltip}}?) and then you can consult editor preferences, or whatever. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 18:22, 2 January 2024 (UTC) | ||
+ | ::Tooltip subtemplate created. Feel free to play around with it (in a sandbox) until it looks good to you, lmk if you need help with that but it should be very straighftorward. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 21:47, 10 January 2024 (UTC) | ||
+ | |||
+ | :::Thank you, I will try some stuff in a sandbox soon.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 21:55, 10 January 2024 (UTC) | ||
+ | |||
+ | == About 3D module == | ||
+ | |||
+ | Hi! I'm A22, Inkipedia ES bureaucrat, and Inkipedia and Animal Crossing Enciclopedia (wiki in Spanish) interface staff.<br> | ||
+ | I'm contacting you to ask if you can give the green light for [https://animalcrossing.wikidex.net/wiki/Portada Animal Crossing Enciclopedia] to use the 3D module you have available on your wiki, as happened with Inkipedia in [https://wiki.teamfortress.com/wiki/User_talk:Darkid#3D_viewer an earlier discussion].<br> | ||
+ | I would also like to know if in the future it is necessary to contact you every time a wiki wants to add your 3D module to their wiki (if so, it would not be necessary to contact you every time a wiki wants to add it).<br> | ||
+ | Thanks! [[User:A22PG|A22PG]] ([[User talk:A22PG|talk]]) 16:09, 2 January 2024 (UTC) | ||
+ | :I'm not an admin, so I don't have the final say on what you can/can't do. That said, the wiki contents are licensed, as long as you follow that license you don't have to ask for permission. | ||
+ | :It's also not "my" 3D module -- I only own the latest copy of the automation scripts -- there has been a lot of work from a lot of editors to make the whole pipeline work -- much of which is in the actual 3D models template. | ||
+ | :I *definitely* don't have the bandwidth to help every new wiki set up this template/workflow, so no, you definitely don't have to ask me every time. | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 18:20, 2 January 2024 (UTC) | ||
+ | |||
+ | == Userbox template request == | ||
+ | |||
+ | Currently, the {{tl|Userbox}} template adds it to a category based on the namespace, but if the URL is "User:Username/Template:Templatename" it adds it to the "Template:" namespace category instead of the "User:" one. Is there a way to prevent this?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 17:53, 10 January 2024 (UTC) | ||
+ | :You'll have to do some manual fixups, but you should be able to determine if the SUBPAGENAME startswith "Template" and recategorize. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 18:13, 10 January 2024 (UTC) | ||
+ | |||
+ | ::Would simple adding another check after the "User:" check work?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:13, 10 January 2024 (UTC) | ||
+ | :::I don't understand what you mean -- currently it's checking for <code>{{#ifeq:{{NAMESPACE}} | User </code>; you'll need to add a different kind of check. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 21:21, 10 January 2024 (UTC) | ||
+ | |||
+ | ::::I mean putting another #ifeq inside the existing one for the "User" namespace check. So it would be smth like <nowiki>{{#ifeq:{{NAMESPACE}} | User | {{#ifeq:{{NAMESPACE}}| Template | X | Y}} | Z }}</nowiki>. Basically making it so if it's on "User" it also checks if it has "Template" then add categories based on that, rather than checking both namespaces separately.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] | [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] | [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 21:55, 10 January 2024 (UTC) | ||
+ | :::::You can think of <code><nowiki>{{NAMESPACE}}</nowiki></code> as a template with no parameters -- its value won't change if you call it a second time. You'll need to use some other magic word (like <code><nowiki>{{SUBPAGENAME}}</nowiki></code>) to determine if the subpage is a template. | ||
+ | :::::So, something like <code><nowiki>{{#ifeq: {{NAMESPACE}} | User | {{#if: <condition representing your request> | [[category 1]] | [[category 2]]}} | [[category 3]] }}</nowiki></code> | ||
+ | :::::[[w:Help:Magic words]] is a good starting point. | ||
+ | :::::[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 00:49, 11 January 2024 (UTC) | ||
+ | |||
+ | == Redirects == | ||
+ | |||
+ | Hello, could you provide the same list with redirects? I'm fixing the ones without {{tl|R lang}} and a few were different from the original (english) ([[Zombie/ru]] for example). Thanks [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 17:04, 9 February 2024 (UTC) [[Team Fortress Wiki:Reports/Pages with no english equivalent]] | ||
+ | :Here it is (as a one-off generated report). Let me know if you need something else. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:08, 12 February 2024 (UTC) | ||
+ | :[[User:Darkid/Reports/Pages_with_no_english_equivalent]] | ||
+ | ::Oh, I see -- you're asking for "non-english redirects which don't go to the same place as english". I can build something for that. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:09, 12 February 2024 (UTC) | ||
+ | ::: Thanks, that was fast :D I will check them soon [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 16:56, 12 February 2024 (UTC) | ||
+ | :::: Updated report is [[TFW:Reports/Mistranslated redirects|here]], should update on monday. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 07:33, 14 February 2024 (UTC) | ||
+ | |||
+ | == Some template issue I'm facing == | ||
+ | |||
+ | Hi Darkid, | ||
+ | |||
+ | I've been struggling to find a way around an issue I have with this template: [[User:GrampaSwood/Template:ReservationUpdate]]. I have a <nowiki>{{{contents}}}</nowiki> parameter that's intended to contain the text found on the [[Team Fortress Wiki talk:Weapon Demonstration|Weapon Demonstration talk page]], but an issue with this is that any kind of vertical bar ({{code|<nowiki>|</nowiki>}}) will obviously create issues on the template. Do you happen to know any way around this? My own signature uses vertical bars in it which is the main issue, I changed this but obviously I'd like to future-proof the template without forcing everyone to use {{tl|!}} instead of |.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 17:25, 14 February 2024 (UTC) | ||
+ | :Just making sure I understand the issue -- someone is invoking the template like this: | ||
+ | :<code><nowiki>{{User:GrampaSwood/Template:ReservationUpdate|content=Hello|world}}</nowiki></code> | ||
+ | :and then the template reads the | as a second parameter? [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 17:29, 14 February 2024 (UTC) | ||
+ | |||
+ | ::Yeah, though there are some more parameters preceeding the "content" one, <nowiki>Hello|world</nowiki> is supposed to show up as "Hello|world" but instead it's "Hello".<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 17:33, 14 February 2024 (UTC) | ||
+ | :::Good news, this is a classic programmer problem -- sanitizing user input. Bad news, it's intractable :) | ||
+ | :::It is not possible to prevent users from inputting bad data -- and since there is no limit to how bad the data they input is, you will have to lower your expectations. (what if, e.g., a user's signature contained <code><nowiki>}}</nowiki></code>?) | ||
+ | :::I would recommend just adding error text if you detect the presence of <code>{{{2|}}}</code> (or 3, or 4) and tell the user how to fix it ("replace | with <nowiki>{{!}}</nowiki>"). | ||
+ | :::[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:14, 15 February 2024 (UTC) | ||
+ | |||
+ | ::::I'll look into it, though the template is taken from {{tl|Doc begin}} with just the colour changed, maybe there would be a way to have the template function similar to that? Simply put <code><nowiki>{{ReservationUpdate}}</nowiki></code> at the top with some parameters, then have a template at the bottom that ends the coloured box. I'm not sure if that is possible, though.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 10:58, 15 February 2024 (UTC) | ||
+ | |||
+ | :::::I've found a fix for this, I took it from {{tl|Discussion close}}. Basically, giving it a switch statement which takes "begin" or "end", with "end" being a simple closing div tag.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 21:22, 7 April 2024 (UTC) | ||
+ | |||
+ | == Some requests regarding 3D models == | ||
+ | |||
+ | I believe I requested this in IRC before, but forgot to put this on your userpage. I wouldn't consider it a very high priority thing, but [[vdc:Half-Life Asset Manager|Half-Life Asset Manager]] is a program similar to HLMV but to run GoldSrc models (TFC's engine). I tried to open up GoldSrc models in HLMV, but it either crashes the program or simply gives an error with the model, so I suspect regular HLMV can't open these models. | ||
+ | |||
+ | With that, I'd like to request you to look into making the 3D models script compatible with HLAM. Like I said, I imagine this would be very low priority but I'd like to get 3D views for those out at some point. Related to 3D views, do you think that they could be added to {{tl|Hazard infobox}} and {{tl|Pickup infobox}}? And perhaps the creation of a standalone 3D viewer that's similar to {{tl|Team colors infobox}} (i.e. just the buttons and viewer, as if taken straight from the infobox. It would mainly be used on building pages because they have no infobox)? | ||
+ | |||
+ | These are quite a few requests, but I think I could manage the last few ones if you could leave a small explanation of how to implement 3D views into infoboxes.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 00:08, 18 February 2024 (UTC) | ||
+ | :HLAM is on my backlog (though likely not any time soon). The standalone 3D viewer should just be at [[Module:3D viewer advanced]], you can just treat it like it's any other sub-template. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 00:26, 18 February 2024 (UTC) | ||
+ | |||
+ | ::An update on this, though it would still be appreciated to make this work on a model viewer like HLAM, I have found a way to [[User:GrampaSwood/3D Classic|display Classic models]] in regular HLMV.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 22:39, 3 May 2024 (UTC) | ||
+ | |||
+ | == 3D Images == | ||
+ | |||
+ | Hello! I would like to get started on making 3d images! You're the best person I can talk to, so please give me advice. | ||
+ | ----[[User:Slimyboi500|Slimyboi500]] [[File:User Slimyboi500 Profile.jpg|25px|link=User:Slimyboi500]] [[User talk:Slimyboi500|Talk]] [[File:Speech voice.png|25px|link=User talk:Slimyboi500]] [[Special:Contributions/Slimyboi500|Contribs]] [[File:Wrench_IMG.png|25px|link=Special:Contributions/Slimyboi500]] | ||
+ | [https://steamcommunity.com/profiles/76561199515551163/ Steam] [[File:Steam tray.png|25px|link=https://steamcommunity.com/profiles/76561199515551163/]] 00:08, 18 February 2024 (UTC) | ||
+ | :[[TFW:3D Models]] is a good starting point. There are also a couple of folks on the [[IRC]] who have worked on this project (and could help). I don't have time to give you a complete walkthrough of the process (and besides, the guides should be good enough), but do let me know if you have specific questions I can help with. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 00:22, 18 February 2024 (UTC) | ||
+ | |||
+ | == Back and forth == | ||
+ | |||
+ | Hey Darkid, I added you on Steam a few days ago, but it doesn't seem like you use it much. | ||
+ | :I wanted to discuss a few things, but it might also flood your talk page, so I thought it was a good idea. <span style="background:#393939;padding:2px 12px;font-family: TF2 Build;font-size: 1em;border-radius: 10px 10px 10px 10px;">[[User:Luno|Luno]] <span style="color:#FC0;letter-spacing:-2px">🪐🌕</span> [[User talk:Luno|<span style="color:#fff">Talk</span>]] <span style="color:#559655;letter-spacing:-2px">/</span> [[Special:Contributions/Luno|<span style="color:#fff">Contrib.</span>]] <span style="color:#538AC5;letter-spacing:-2px">/</span> [[Team_Fortress_Wiki:Translation_progress/fr|<span style="color:#4d748b">T</span><span style="color:#fff">ea</span><span style="color:#ab4848">m</span>]]</span> 18:37, 26 February 2024 (UTC) | ||
+ | ::Ah, sorry, I kept getting spam bot adds :( I don't mind talkpage flooding but I can check my steam adds this evening. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 21:41, 26 February 2024 (UTC) | ||
+ | :::Sent you a message there some time ago, hopefully you received it. <span style="background:#393939;padding:2px 12px;font-family: TF2 Build;font-size: 1em;border-radius: 10px 10px 10px 10px;">[[User:Luno|Luno]] <span style="color:#FC0;letter-spacing:-2px">🪐🌕</span> [[User talk:Luno|<span style="color:#fff">Talk</span>]] <span style="color:#559655;letter-spacing:-2px">/</span> [[Special:Contributions/Luno|<span style="color:#fff">Contrib.</span>]] <span style="color:#538AC5;letter-spacing:-2px">/</span> [[Team_Fortress_Wiki:Translation_progress/fr|<span style="color:#4d748b">T</span><span style="color:#fff">ea</span><span style="color:#ab4848">m</span>]]</span> 17:22, 29 February 2024 (UTC) | ||
+ | ::::Talked a bit on steam -- I think I've fixed the miscategorization bugs, and I'll log a feature request for "missing dictionary translations". [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 06:22, 8 March 2024 (UTC) | ||
+ | |||
+ | == Wrong category on some of your pages == | ||
+ | |||
+ | [[User:Darkid/Reports/Mistranslated_redirects|This page]] and [[Team_Fortress_Wiki:Reports/Mistranslated_redirects|also this page]] is tagged for [[:Category:Secondary weapons]], [[:Category:Primary weapons]], [[:Category:Melee weapons]] (and probably more other tags), I checked the page, its because the bots don't add ":" before category links causing the page in wrong category. [[User:Profiteer|<font color="8470FF">Profiteer]] the tryhard ([[User talk:Profiteer|talk]]|[[Special:Contributions/Profiteer|contribute]])</font> 01:57, 3 March 2024 (UTC) | ||
+ | :Should now be fixed. Thanks for the bug report! [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 06:21, 8 March 2024 (UTC) | ||
+ | |||
+ | ::{{Quotation|Profiteer|"Thanks!"|sound=Medic thanks02.wav}}[[User:Profiteer|<font color="8470FF">Profiteer]] the tryhard ([[User talk:Profiteer|talk]]|[[Special:Contributions/Profiteer|contribute]])</font> 12:40, 8 March 2024 (UTC) | ||
+ | </dl></dl> | ||
+ | :::Fixing indentation [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:10, 11 March 2024 (UTC) | ||
+ | |||
+ | == WindBOT filter broken == | ||
+ | <pre> | ||
+ | 10:23:38 AM <Mgpt> hello darkid can you change this script a bit? https://wiki.teamfortress.com/wiki/User:WindBOT/Filters#File_categorization_.28Add_.7B.7BNo_category.7D.7D_or_.7B.7BUser_image.7D.7D.29 Just needs these lines after " if title[:10].lower() == 'file:user ': " | ||
+ | 10:23:49 AM <Mgpt> https://www.irccloud.com/pastebin/CQVDlDde/ | ||
+ | 10:25:09 AM <Mgpt> It sent as a link, should be this: # Check for audio or text files | ||
+ | 10:25:09 AM <Mgpt> if not title.lower().endswith(('.mp3', '.wav', '.ogg', '.txt')): | ||
+ | 10:26:15 AM <Mgpt> So it doesn't do this: https://wiki.teamfortress.com/w/index.php?title=File:User_ThatHatGuy_Demo.mp3&action=history | ||
+ | </pre> | ||
+ | [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 16:44, 6 March 2024 (UTC) | ||
+ | :Done. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:03, 11 July 2024 (UTC) | ||
+ | |||
+ | == Template loop == | ||
+ | [[Under Cover/ro]] is doing something bad with the dictionary, idk. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:46, 7 March 2024 (UTC) | ||
+ | : fixed [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 20:16, 14 March 2024 (UTC) | ||
+ | |||
+ | == Patch name edits == | ||
+ | |||
+ | Hi there, | ||
+ | |||
+ | I would like to request a quick check to see if the edits I made to the [[Template:Patch name/sandbox|Patch name's sandbox]] would mess up anything currently on the Wiki. The main changes here are to add the "(Major update)" bit to the template, as well as the "[Patch] #1" bit. For pt-br and pt, this is at the start of the template and not the end, as well as requiring the "in-the" parameter at all times. These should all be added now, the only thing I want is to add some comments for translators and make the language switches more readable for them.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 13:44, 7 April 2024 (UTC) | ||
+ | :Hmm, it doesn't seem like you're doing this right. From the template, it looks like the 4th parameter is supposed to be for the game -- e.g. "beta", "classic", etc. | ||
+ | :If you want to subtly alter the text, I'd recommend following the pattern of <code><nowiki>{{dictionary/common strings/patch-{{#ifeq: {{{date|}}}|true|date-}}</nowiki></code>, where you point to a different dictionary string based on a '''named''' parameter, not the unnamed 4th parameter. | ||
+ | :This should avoid a lot of subtle bugs to do with extra parameters. | ||
+ | :You also need to continue supporting the <code><nowiki>{{{lang}}}</nowiki></code> and <code><nowiki>{{{force}}}</nowiki></code> params -- for this reason, I'd recommend using a <code><nowiki>{{#switch:{{{lang|{{SUBPAGENAME}}}}}}}|en=|pt=|pt-br=}}</nowiki></code> if you're unable to use dictionary strings for some reason. I would still strongly recommend using dictionary strings wherever possible. | ||
+ | :Make sure you document your changes thoroughly -- if there's no delta on an english page, use the lang parameter to show the behavior change, e.g.: | ||
+ | :<code><nowiki> | ||
+ | * {{tlx|patch name|04|15|2011|in-the|6=lang=pt-br}} produces: {{patch name/sandbox|4|15|2011|in-the|num=1|lang=pt-br}} (compare to {{patch name/sandbox|4|15|2011|default|num=1|lang=pt-br}}) | ||
+ | </nowiki></code> | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:25, 11 July 2024 (UTC) | ||
+ | |||
+ | ::IIRC Tark took over and added some of the things mentioned, like the dictionary-based string. Take a look [[Template:Patch name/sandbox2|here]]. Sorry for not updating the talk page msg.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 11:23, 11 July 2024 (UTC) | ||
+ | :::Looks like tark is just implementing <code><nowiki>{{{major}}}</nowiki></code>, not the "in-the" string you wanted. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 11:28, 11 July 2024 (UTC) | ||
+ | |||
+ | == Linking to a category in a template == | ||
+ | |||
+ | I'm updating {{tl|Update trans}} to support all non-main namespaces instead of just templates (mainly for usage on Categories). I started on {{tl|Update trans/sandbox}} but so far, I can't get the categories to link properly. Adding ":" on its own makes it behave like an indent and adds a <nowiki><br></nowiki>. Adding it with nowiki tags results in <nowiki>[[:Category:categoryname]]</nowiki>. I even tried using a separate template similar to {{tl|!}} but it didn't work either. Any ideas on what I could use?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 19:47, 7 April 2024 (UTC) | ||
+ | :I'm pretty sure this works: | ||
+ | :<code><nowiki>"[[:{{NAMESPACE}}:{{BASEPAGENAME}}]]" ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}|action=edit}} view source])</nowiki></code> | ||
+ | :no additional arguments needed. | ||
+ | :I threw up a sample on [[User:Darkid/Sandbox|my sandbox]], but don't have the time right now to go update the full template -- let me know if this works, though. | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:33, 11 July 2024 (UTC) | ||
+ | |||
+ | == Problems with the 3D script == | ||
+ | |||
+ | Hello!, not to sure if the 64 bit update broke it for others but my 3D script seems to have stopped working, [https://imgur.com/a/DUZH4fI here] is the error message, Thanks!<br>[[User:Cheddar|<font color="#193940">'''Cheddar'''</font>]] • [[User talk:Cheddar|<font color="#193940">'''Talk'''</font>]] 10:40, 27 April 2024 (UTC) | ||
+ | :64 bit update to what, exactly? Yes, that would very likely break the sigscans, but I can make them work again. Are you using HLMV or HLMV++? [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 18:17, 27 April 2024 (UTC) | ||
+ | |||
+ | ::The newest version of HLMV++ which goes under the new 64bit directory as the 64bit update broke the standard HLMV I've been using the updated version of ++, "Team Fortress 2\bin\x64" not sure if that new path causes it to break. <br>[[User:Cheddar|<font color="#193940">'''Cheddar'''</font>]] • [[User talk:Cheddar|<font color="#193940">'''Talk'''</font>]] 18:34, 27 April 2024 (UTC) | ||
+ | |||
+ | :::The {{Patch name|4|18|2024}} upgraded TF2 from 32-bit to 64-bit.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:39, 27 April 2024 (UTC) | ||
+ | ::::Yeah, 32->64 would break the scans. Let me update the HLMV++ sigscans and I can push. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 00:55, 28 April 2024 (UTC) | ||
+ | :::::Okay, pushed an update. There's still some risk that it breaks if there's significant updates to the x64 HLMV++, but y'all can let me know if it goes wrong again. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 01:25, 29 April 2024 (UTC) | ||
+ | |||
+ | == Wikichievement Unlocked! == | ||
+ | |||
+ | {{Award Wikichievement | ||
+ | | wikichievement = show me your war face! | ||
+ | | from = Mediarch | ||
+ | | reason = [[File:Heavy mvm loot common01.wav]] | ||
+ | }} | ||
+ | [[User:Mediarch|'''Mediarch''']] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|'''Talk''']][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|'''My Edits''']] 19:08, 27 April 2024 (UTC) | ||
+ | |||
+ | == Tark had an idea == | ||
+ | <pre> | ||
+ | 01:02:00 PM <+Tark> wish we had a general page for discussions, i keep missing stuff | ||
+ | 01:02:22 PM <+GrampaSwood> [[TFW:Discussion]]? | ||
+ | 01:02:23 PM <@Spacenet> TFW:Discussion: https://wiki.tf/TFW:Discussion | ||
+ | 01:03:11 PM <+GrampaSwood> I wish there was a way I could get a notif on the Wiki or email or smth | ||
+ | 01:03:15 PM <+GrampaSwood> For each talk page edit | ||
+ | 01:03:30 PM <+Tark> a report page | ||
+ | 01:03:41 PM <+Tark> something like "here's some recently posted stuff that nobody has replied to yet" | ||
+ | 01:04:06 PM <+GrampaSwood> Hmmm, you could maybe get a report page like that | ||
+ | 01:04:13 PM <+Tark> maybe | ||
+ | 01:04:15 PM <Mediarch> I think that's darkids music | ||
+ | 01:04:21 PM <+GrampaSwood> Check for talk pages edited in the last week that have 1 signature under == ==? | ||
+ | 01:04:38 PM <+Tark> cc darkid | ||
+ | 01:04:54 PM <+GrampaSwood> Put it on his talk page | ||
+ | 01:05:06 PM <+Tark> im lazy | ||
+ | </pre> | ||
+ | [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:05, 1 May 2024 (UTC) | ||
+ | |||
+ | == Wikichievement unlocked! == | ||
+ | |||
+ | {{Award Wikichievement | ||
+ | | wikichievement = the practical problems | ||
+ | | from = [[User:GrampaSwood|GrampaSwood]] | ||
+ | | reason = For the occasional cross-language edit fixing minor, but important, details! | ||
+ | }}<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 16:47, 3 May 2024 (UTC) | ||
+ | |||
+ | == Users by edit count report == | ||
+ | |||
+ | Seems that the [[Team Fortress Wiki:Reports/Users by edit count|Users by edit count]] report has failed to update for this month and is still showing the data from April. Any ideas for what could be causing that? [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 20:10, 3 May 2024 (UTC) | ||
+ | :Ah, sorry, the bot timed out on the 1st and I'm not 100% sure why. Let me trigger a re-run. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 02:22, 4 May 2024 (UTC) | ||
+ | ::Re-ran and manually copied the reports that failed. I'll keep an eye on next month's run and see if it hiccups again. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 07:18, 4 May 2024 (UTC) | ||
+ | ::: perfect, thank you so much. I appreciate it. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 10:30, 4 May 2024 (UTC) | ||
+ | |||
+ | :::: Hmmm, I might just be being impatient but it seems like it didn't automatically update for June either. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 15:48, 1 June 2024 (UTC) | ||
+ | ::::: No it definitely failed again, and I'm definitely working on it. I think I have a fix, just copying over. | ||
+ | ::::: For future reference, you should be able to see the most recent status and run from the bot's userpage: [[User:DarkBOT]] [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 22:49, 1 June 2024 (UTC) | ||
+ | |||
+ | :::::: Good to know, Thanks for doing the manual update. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 00:12, 2 June 2024 (UTC) | ||
+ | ::::::: Seems to be finally working by itself, the update went through this month. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:35, 11 July 2024 (UTC) | ||
+ | |||
+ | {{Outdent|:::::::}} I did see that. I appreciate you investigating and getting it fixed. Many thanks [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 12:28, 11 July 2024 (UTC) | ||
+ | |||
+ | == Replacement request for HLAM == | ||
+ | |||
+ | A while ago, I made a request for HLAM. I've since found a way to convert GoldSrc to Source 1 models. Though it would still be nice to have a GoldSrc model viewer supported, I think a bigger priority would be perhaps a Quake model viewer. I found one [https://www.moddb.com/games/quake/downloads/quake-1-model-viewer-v050-alpha here]. I do realise this would be equally as low-priority as the GoldSrc model viewer one, but I thought I'd leave the request nonetheless.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 16:56, 4 May 2024 (UTC) | ||
+ | :I did a little bit of experimenting today with HLAM but there's two big problems: | ||
+ | :1. While the UI looks the same, the backend code is completely different. In fact, Qt (the UI engine) is particularly resiliant to sigscans, so I'd have to use pointer offsets. This isn't a huge deal (since the program is at EOL), but it's still a bit more work to write up. | ||
+ | :2. I am not 100% sure that the rotation and translation code works the same way. Again, I've been digging, I think it's not *too* different, but it would take some more tweaking (and I don't have all that much time right now). Again, this is probably because of the QT backend. | ||
+ | :The best help at this point would honestly be the compilation symbols; unlike HLMV we actually have source code but I can't line it up with the binary since I don't have the time to set up and build it from scratch. If you can build it (or get someone else to build it) and provide .pdbs that would be excellent. | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 22:41, 4 May 2024 (UTC) | ||
+ | |||
+ | ::If it's easier, the VDC provides [[vdc:Half-Life Model Viewer (GoldSrc)#External links|three other]] model viewers for GoldSrc models (IIRC, the first one is even an early version of HLMV).<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 22:47, 4 May 2024 (UTC) | ||
+ | :::Got it working with Jed's viewer (the more recent of the remaining options). Please let me know if that's working for you. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 07:23, 14 May 2024 (UTC) | ||
+ | |||
+ | ::::Works for me, except for the cropping. It seems like the {{code|imageprocessor.py}} was changed, my old one had some specific return values in {{code|find_minimum_bounds}}. Is there any way to change these now? I set them to 100 (left), 50 (top), 1920 (right), and 800 (bottom) respectively.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 14:13, 14 May 2024 (UTC) | ||
+ | :::::The manual override code is still present, it doesn't live in imageprocessor.py. [https://github.com/jbzdarkid/3D-Models-automaton/blob/master/automate.py#L30] [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 15:16, 14 May 2024 (UTC) | ||
+ | |||
+ | ::::::Perfect, it works now after some adjustments.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 17:02, 14 May 2024 (UTC) | ||
+ | |||
+ | == Request for Missing translations reports == | ||
+ | |||
+ | Hi there, | ||
+ | |||
+ | Do you think it's possible to update how the missing translations reports are generated to include the amount of links similar to [[Special:WantedPages]]? Preferably also a way to sort them with the most links or alphabetically.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 12:53, 7 May 2024 (UTC) | ||
+ | :The article and category reports /are/ alphabetically sorted right now, but I can add the 'whatlinkshere' count to them, if you like. It might be a little expensive, and this is a daily report, so I might just make a secondary report which lists by count. We'll see. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 07:33, 14 May 2024 (UTC) | ||
+ | |||
+ | ::Perhaps updating the links counter once a week instead of every day could also work, just a general indicator would be the main goal, as the translations don't get made too often so a super up-to-date count is not even necessary imo. With "a way to sort them with the most links or alphabetically" I meant a way to toggle between sorting them alphabetically or with the most links, but if that's too much work then I understand it will not be possible.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 14:37, 14 May 2024 (UTC) | ||
+ | :::It took about 3.5 hours to run the link count for /every page on the wiki/, so this isn't something I can run regularly without overstressing the wiki. I've generated a one-off report [[User:Darkid/Reports/Missing_translations/no|here]] but I don't think this is something I can get you without causing undue load. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 07:06, 16 May 2024 (UTC) | ||
+ | |||
+ | ::::Thank you for trying regardless, though do you think you could create one for Dutch at some point as well?<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 07:09, 16 May 2024 (UTC) | ||
+ | :::::There's one for each language -- I just linked a random one. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:07, 16 May 2024 (UTC) | ||
+ | |||
+ | ::::::Oh, my bad (in my defence it's morning and I haven't woke up yet...)<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 08:12, 16 May 2024 (UTC) | ||
+ | :::::::A more permanent home: [[User:Darkid/Reports/Missing_translations_by_count]] since the main scratch pages get overwritten from time to time. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:28, 18 May 2024 (UTC) | ||
+ | {{outdent|7}} err, something is wrong with the report right now. I will keep editing. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:31, 18 May 2024 (UTC) | ||
+ | |||
+ | == 3D viewer changes == | ||
+ | |||
+ | Hi there, | ||
+ | |||
+ | Is there any possibility to add a TFC viewer to the list of 3D viewers? The only change it would need is the addition of a yellow and green button, for the [[Teams (Classic)#Gallery|yellow and green]] teams in TFC (they will only be used on class pages).<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 20:59, 22 May 2024 (UTC) | ||
+ | :Take a whirl with the changes I made at [[Module:3D viewer advanced/Sandbox]]. You'll need to make some changes to add the colors to Common.css -- I did a hack with my [[User:Darkid/common.css|user CSS]] to test it out. | ||
+ | :https://imgur.com/ap8Dbnt | ||
+ | {{#invoke:3D viewer advanced/Sandbox|viewer_new | ||
+ | | 3d-image-1 = Sandvich Festive | ||
+ | | 3d-image-3 = Sandvich | ||
+ | | 3d-image-4 = Sandvich Alt | ||
+ | | 3d-viewname-1 = Festive | ||
+ | | 3d-viewname-3 = Default | ||
+ | | 3d-viewname-4 = Nommed | ||
+ | | 3d-button-1 = colored_pair | ||
+ | | 3d-button-3 = tfc_yellow_half | ||
+ | | 3d-button-4 = tfc_green_half | ||
+ | }} | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:52, 11 July 2024 (UTC) | ||
+ | |||
+ | == Avail == | ||
+ | |||
+ | Sup. Could you update the module to handle more dynamic strings? By dynamic, I mean being able to pass text as a parameter instead of only numbers. There are many single-use availabilities and I believe this would be better than infinitely expanding the current list for items with a "non-standard" availability type. Something like this: | ||
+ | |||
+ | * <code>promo-ostbox-[boxname]</code> -> calls {{tlx|common string|avail ostbox [boxname]}} -> generates <code>{{tooltip|Promotional|Opening ...?}}</code> | ||
+ | * <code>promo-grant-[org]</code> -> calls {{tlx|common string|avail grant [org]}} -> generates <code>{{avail|distributed}} {{tooltip|<small>(awarded)</small>|This item is given to players by ...}}</code> | ||
+ | * etc. | ||
+ | |||
+ | I'd personally be fine with using the existing system and using something like <code>special1</code> where <code>1</code> is the "id" of the dictionary entry ({{tlx|common string|avail special [id]}} - it would work just fine), but it's a bit harder to understand. — [[User:Tark|<span style="font-weight:bold;color: #5BC236">Tark</span>]] 22:22, 4 June 2024 (UTC) | ||
+ | :I'm in favor of the idea in general, but can you be a bit more specific about what these special strings are? Maybe you could suggest a list of current avail strings that we'd want to collapse down? | ||
+ | :Technically speaking, this is quite easy to do, I just want to know a bit more (since it might change how we do it). | ||
+ | :[[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 10:55, 11 July 2024 (UTC) | ||
+ | |||
+ | == Apologies == | ||
+ | |||
+ | Sorry about [[Smokey Sombrero]] and [[Mann-O-War]]. I should have caught that. I'll make sure to double check before saving when I add full for the other languages. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 05:01, 8 July 2024 (UTC) | ||
+ | : Not a problem, that's what the reports are for. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 06:20, 8 July 2024 (UTC) | ||
+ | |||
+ | == Module:Availability/Sandbox == | ||
+ | |||
+ | Hi, could you implement the changes I made here: [[Module:Availability/Sandbox]]? Should be fine, but you can also see each diff. Thanks [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 20:08, 19 July 2024 (UTC) | ||
+ | : This is the topic I mentioned, Tark also has one above, mine are just fixes for now (irc request) [[User:Mgpt|Mgpt]] ([[User talk:Mgpt|talk]]) 20:00, 11 October 2024 (UTC) | ||
+ | |||
+ | == Wikichievement Unlocked! == | ||
+ | |||
+ | {{Award Wikichievement | ||
+ | | wikichievement = tron-o-matic | ||
+ | | from = [[User:Mediarch|Mediarch]] | ||
+ | | reason = For making the automatic paint upload script! Will be '''extremely''' helpful. | ||
+ | }} | ||
+ | |||
+ | == New script version == | ||
+ | |||
+ | So I tested the new version of the script and it seemed to work great. Only issue I noticed is that for items with styles the style name and "BLU" were switched around so "{{code|File:Painted {Item Name} E6E6E6 BLU {Style Name}.png}}" instead of "{{code|File:Painted {Item Name} E6E6E6 {Style Name} BLU.png}}". Pretty sure I can fix that on my end by tweaking that section of the script but just so you're aware. | ||
+ | |||
+ | Also, seems that it added the {{tl|Model info}} template just fine to new uploads (Example:[[:File:Painted Buck Turner All-Stars E6E6E6 Demoman BLU.png|Here]]) but the template doesn't show up for new versions of existing files (Example:[[:File:Painted Buck Turner All-Stars E6E6E6 Demoman.png|Here]]). I'm pretty sure that's not an issue with the script and is more of a wiki issue because that's I think that's just how the wiki handles edit summaries on files. That might be fixable with a bot or something, not really sure. | ||
+ | |||
+ | Also, Also, [[User:GrampaSwood|GrampaSwood]] has requested the Paint Can name in the Model info template if possible. So have it say "An Extraordinary Abundance of Tinge" instead of "E6E6E6". | ||
+ | |||
+ | Anywho that's all I got I think. Thanks again for working on the script I really really appreciate it. [[User:Mediarch|{{font color|ec5c69|'''Mediarch'''}}]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[User talk:Mediarch|{{font color|ec5c69|'''Talk'''}}]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[Special:Contributions/Mediarch|{{font color|ec5c69|'''My Edits'''}}]] 16:33, 30 September 2024 (UTC) | ||
+ | :Pushed a new version to address all 3 concerns. Thanks for testing + feedback! [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 17:09, 30 September 2024 (UTC) | ||
+ | |||
+ | :: I tried the new new version and it seems to have a slight issue. It's making new pages without the {{code|File:}} prefix. Like this one here [[Painted Troublemaker's Tossle Cap 808000.png]]. When I ran the script it's giving me a "WARNING: Failed to edit" error. [[User:Mediarch|{{font color|ec5c69|'''Mediarch'''}}]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[User talk:Mediarch|{{font color|ec5c69|'''Talk'''}}]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[Special:Contributions/Mediarch|{{font color|ec5c69|'''My Edits'''}}]] 17:46, 30 September 2024 (UTC) | ||
+ | :::Well that's not good. Please go back to the previous copy and I'll try to fix it this evening. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 17:55, 30 September 2024 (UTC) | ||
+ | |||
+ | :::: will do, thanks [[User:Mediarch|{{font color|ec5c69|'''Mediarch'''}}]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[User talk:Mediarch|{{font color|ec5c69|'''Talk'''}}]][[User:Mediarch|{{font color|ff66cc| ♥ }}]][[Special:Contributions/Mediarch|{{font color|ec5c69|'''My Edits'''}}]] 17:57, 30 September 2024 (UTC) | ||
+ | ::::: Should be fixed now -- thanks for the bug reports. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:18, 2 October 2024 (UTC) | ||
+ | |||
+ | == Painted Variants Full template missing Override Unpainted handler == | ||
+ | |||
+ | I posted about this on Tark's page, but he's on break right now, so I thought I'd ask you too: an upcoming community MVM tour is anticipated to have medals that would require use of the Painted Variants Full template, to show team-colored variants on the single paints as well. But that template lacks a handler that the regular Painted Variants template has, override-unpainted, to show different unpainted images, while displaying all the other existing images. Would you be able to fix that? — [[File:User ThatHatGuy Signature Icon.png|30px|link=User:ThatHatGuy]] 00:06, 12 November 2024 (UTC) | ||
+ | :It's really hard to build from a text description, if you have a sample (even MSPaint) of what you want, and the template input / images / etc you have, I can try to make you something. No promises, I'm also a bit slow to work on wiki projects. [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 04:45, 12 November 2024 (UTC) | ||
+ | |||
+ | :: This is the [https://i.imgur.com/E78fJVS.jpeg function] on the regular template. I need Paint Table Full to have the same override-unpainted handlers, to accept replacement unpainted images. Outwardly, the template won't look different until it's actually called. You can test it with <nowiki>{{Painted variants full|default=Style 1|override = Memes vs. Machines Baked Potato 2019|override-unpainted = Ghoulish Gambit Poisonous Potato 2024|h=0|width = 84x84px}}</nowiki> and see if the unpainted images show as red links. If they do, it should be good. — [[File:User ThatHatGuy Signature Icon.png|30px|link=User:ThatHatGuy]] 08:16, 12 November 2024 (UTC) | ||
+ | ::: Sorry, I'm still not sure I follow what you need. If you already know what code you want changed, try sandboxing it and show me where it breaks? [[User:Darkid|'''<span style="color: #db9c1f">Darkid</span>''']] « [[User talk:Darkid|<span style="color: #75735F">Talk</span>]] — [[Special:Contributions/Darkid|<span style="color: #BA0000">Contribs</span>]] » 08:24, 12 November 2024 (UTC) | ||
+ | |||
+ | :::: The problem is I don't know what I'm doing. That's why I asked you. This [[User:ThatHatGuy/Sandbox|should work,]] in theory, but now I don't know how to call it or what I need to do to check, or anything. — [[File:User ThatHatGuy Signature Icon.png|30px|link=User:ThatHatGuy]] 09:11, 12 November 2024 (UTC) | ||
+ | |||
+ | ::::: An update to this: I have created a [[Template:Painted variants full/sandbox|sandbox]] for the template, and it almost works. However, because I copied the code from the single Unpainted image box in the regular Painted Variants template, as you can see from my [[User:ThatHatGuy/Sandbox|sandbox test,]] currently the RED team image uploads to a file path for a base unpainted image -- not a RED team image file path -- and the BLU team unpainted image box appears to be on another column entirely. — [[File:User ThatHatGuy Signature Icon.png|30px|link=User:ThatHatGuy]] 15:33, 12 November 2024 (UTC) | ||
+ | |||
+ | == 3D models thing isn't working == | ||
+ | |||
+ | When I try to run the 3D models automation script (specifically the command {{code|python automate.py}}), it gives me this message: | ||
+ | <pre>Traceback (most recent call last): | ||
+ | File "automate.py", line 37, in <module> | ||
+ | 'vertical_offset': None | ||
+ | File "C:\path\3D-Models-automation\HLMVModel.py", line 89, in __init__ | ||
+ | raise ValueError('Sigscan mismatch for both HLMV and HLMV++') | ||
+ | ValueError: Sigscan mismatch for both HLMV and HLMV++</pre> | ||
+ | <br>I do have another version of HLMV++ installed, but can you figure out what's wrong?<br>[[File:User Slimyboi500 Logo.png|100px|link=User:Slimyboi500]] [[File:User Slimyboi500 Profile.jpg|25px|link=User:Slimyboi500]] [[User talk:Slimyboi500|Talk]] [[File:Speech voice.png|25px|link=User talk:Slimyboi500]] [[Special:Contributions/Slimyboi500|Contribs]] [[File:Wrench_IMG.png|25px|link=Special:Contributions/Slimyboi500]] [https://steamcommunity.com/profiles/76561199515551163/ Steam] [[File:Steam tray.png|25px|link=https://steamcommunity.com/profiles/76561199515551163/]] 20:11, 23 November 2024 (UTC) | ||
+ | |||
+ | == Report request == | ||
+ | |||
+ | I would like to request a new type of report, a few times over the last few days I've seen edits that are correcting {{tl|Lang}} instances that have duplicate {{code|1=en =}} parameters and replacing them with the correct {{code|1=es =}} parameter. Is it possible to have a report that lists these instances? This most often happens with Spanish and causes the English text to be replaced with Spanish text, but it has happened with other languages too.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 15:24, 29 November 2024 (UTC) |
Latest revision as of 15:24, 29 November 2024
My talk archives | |
Archive 2011-2012 | |
Archive 2013-2014 | |
Archive 2015-2019 |
Contents
- 1 Script for finding projectile speeds.
- 2 New availabilities
- 3 Help with dictionary
- 4 3D viewer
- 5 Template:Item infobox/Sandbox Requested Addition
- 6 Banana Bay/ko
- 7 Move Blap Bash page to BlapBash
- 8 /en
- 9 Mmmph/hu redirect request
- 10 "HLMV - Missing Folders Fix" pack has been updated.
- 11 Template:QuAD/list
- 12 Template request
- 13 Style Guide/ru
- 14 Untranslated Templates Specification Possibility?
- 15 Broken weapon preview template?
- 16 3D view advanced module
- 17 3D Models Script
- 18 Team Color Infobox for Community MVM Tour Medals
- 19 Random Tark question
- 20 Slander at my user page
- 21 Translation table troubles
- 22 Duplicated pages in romanian
- 23 Paint Colors Handler Help
- 24 3D model script
- 25 Crate template
- 26 Help with changing my username
- 27 Module talk:Availability
- 28 Help with Template
- 29 Speed table metric units
- 30 About 3D module
- 31 Userbox template request
- 32 Redirects
- 33 Some template issue I'm facing
- 34 Some requests regarding 3D models
- 35 3D Images
- 36 Back and forth
- 37 Wrong category on some of your pages
- 38 WindBOT filter broken
- 39 Template loop
- 40 Patch name edits
- 41 Linking to a category in a template
- 42 Problems with the 3D script
- 43 Wikichievement Unlocked!
- 44 Tark had an idea
- 45 Wikichievement unlocked!
- 46 Users by edit count report
- 47 Replacement request for HLAM
- 48 Request for Missing translations reports
- 49 3D viewer changes
- 50 Avail
- 51 Apologies
- 52 Module:Availability/Sandbox
- 53 Wikichievement Unlocked!
- 54 New script version
- 55 Painted Variants Full template missing Override Unpainted handler
- 56 3D models thing isn't working
- 57 Report request
Script for finding projectile speeds.
On Template:List of projectiles, at the bottom of the page, a "script to find correct values" is mentioned. It appears that there was meant to be a link, but there is not one. I ask you, Darkid, because it was your edit (in May of 2016) that added this line. Do you still have a link to this script? Stack man (talk) 06:19, 3 May 2020 (UTC)
- Sorry about that! I suspect it got removed by the spam filter. Here's the link: [1]. I've also added it to the page. Darkid « Talk — Contribs » 07:41, 3 May 2020 (UTC)
New availabilities
Hey. Could you please add new availabilities in Template:Availability for Pile Of Curses, and Crafting (expired)? It's for items received from it. Denied (Talk) 17:16, 21 May 2020 (UTC)
- Ah, I see. That's currently just directly using
{{Tooltip}}
, and you want it in the module? - It looks like there's a common string which is similar to this,
distributed-expired
. (See Template:Dictionary/common strings/distributed-expired). - Do you think it'll be sufficient to change all the prefixes there to [[Crafting{{if lang}}|{{common string|crafting}}]]?
- Darkid « Talk — Contribs » 01:26, 22 May 2020 (UTC)
pile-of-curses
redirecting to Pile Of Curses andcrafting-expired
redirecting to Crafting + this tooltip added next to it like it looks like indistributed-expired
.
Help with dictionary
Could you please help me again? I can't figure out how to fix Template:Dictionary/blueprints for Santa's Little Accomplice and Public Enemy. Denied (Talk) 15:36, 2 June 2020 (UTC)
- What seems to be not working? It looks like you did this correctly to me. Darkid « Talk — Contribs » 00:04, 3 June 2020 (UTC)
- Looks like Wiki is messing with me. Then the only problem is that the Pretty Boy's Pocket Pistol is not showing as crafting ingredient, next to the Baby Face's Blaster. Denied (Talk) 05:23, 3 June 2020 (UTC)
3D viewer
Hello, I've been trying to reach you whether on steam (Overlord S7) or through e-mail but to no avail. I'm an admin in Inkipedia, a wiki about Splatoon (shooters game from Nintendo) and I'm interested to know about the 3D viewer and if I can try to implement a simpler implementation of the 3D viewer to our infoboxes. I saw that you maintained the module so I thought to ask for advice on how to implement it. I'd be happy if you could chat with me through e-mail or discord (Shahar#3810). Thank you! Shahar (talk) 11:41, 29 April 2021 (UTC)
- Hey, sorry about that -- I get a lot of adds on steam, so someone with 0 rank and a private profile is usually a spammer :)
- The core of the implementation is actually dead simple. If you take a look at, e.g. Scattergun, and use "inspect" (should be available in most major browsers), you'll see this:
<div class="viewer-3d-frame" data-id="0" style="height: 152px; background: url("https://wiki.teamfortress.com/w/images/b/bd/Scattergun_3D.jpg?20180821160906") -11807px 0px no-repeat; left: 25px; top: 64px; width: 197px;"></div>
- First and foremost, take a look at the image here: File:Scattergun_3D.jpg. It's actually quite a wide image, containing all of the possible rotations.
- Second, take a look at the styling:
style="height: 152px; background: url(...) -11807px 0px no-repeat; ..."
- All that's happening here is that the image is being shifted and cropped. Essentially, the "3D" image is just a bunch of 2d images all next to each other, and the "3D viewer" is just changing the offset into the main image.
- If you look at the contents of Scattergun_3D.jpg, you can see a large list called "map" as the template argument. This is where the actual offsets are stored.
- I don't know too much more about the intricacies of the template, but the code to generate the file is here -- though it uses HLMV, sorry, you'll need to hack at it to use a different viewer.
- Darkid « Talk — Contribs » 09:14, 30 April 2021 (UTC)
- Hey, thanks for helping me out. I got all the modules, templates, JS and CSS changes to display the 3D viewer with the Minigun (It was similar in design to the Splatlings so I thought it was a good example). I also got one of the Splatoon models into HLMV with partial texture. What I'm stuck at is that I can't get the script to work. I've tried to follow Team Fortress Wiki:3D Models but with no success. Shahar (talk) 14:21, 7 May 2021 (UTC)
- Well, as I mentioned, the code was written specifically for HLMV, a valve-based model viewer. If you want it to work with Splatoon, you'll need to change the code which interops with HLMV to talk to your program instead. You'll need to be able to change the weapon's rotation, translation, and the scene background color (to compute transparency).
- I can't really help you with the specifics there, since it's going to depend on the model viewing options available to you.
- Darkid « Talk — Contribs » 15:30, 8 May 2021 (UTC)
- Hey, I got the script to work but the model doesn't rotate. [Image]. I'm currently on Python 2.7, packages from python 2 and I ran the command setup.py so that wikitools will recognize parts of itself such as wiki, api, page, etc... I'm also worried about getting the offsets for the images without uploading it to TF2 wiki cause Inkipedia doesn't currently have API. Shahar (talk) 18:34, 18 May 2021 (UTC)
- I fixed the rotation issue, new version is up on Github. If inkpedia doesn't have an API, you can always just upload it to your sandbox page (User:Shahar/Sandbox). Darkid « Talk — Contribs » 13:37, 20 May 2021 (UTC)
- Hey, I'm trying to excecute the code but it says that "mem.exe" is not compatible with 64-bits versions of Windows. Could you resolve that? · Ashe (talk) 16:16, 20 May 2021 (UTC)
- Can you give me the exact error message? Ideally, the entire terminal window (and your system information). I'm not sure why this is happening, since my computer is 64-bit. Darkid « Talk — Contribs » 16:22, 20 May 2021 (UTC)
- This. It's in spanish but it says something like "16-bits app incompatible ... Cannot start or run due to incompatibility with 64-bit versions of Windows". My specs are Windows 10 Pro 64 bits, 16 GB RAM, AMD Ryzen 5 3600.
- Can you give me the exact error message? Ideally, the entire terminal window (and your system information). I'm not sure why this is happening, since my computer is 64-bit. Darkid « Talk — Contribs » 16:22, 20 May 2021 (UTC)
- Hey, I'm trying to excecute the code but it says that "mem.exe" is not compatible with 64-bits versions of Windows. Could you resolve that? · Ashe (talk) 16:16, 20 May 2021 (UTC)
- I fixed the rotation issue, new version is up on Github. If inkpedia doesn't have an API, you can always just upload it to your sandbox page (User:Shahar/Sandbox). Darkid « Talk — Contribs » 13:37, 20 May 2021 (UTC)
- Hey, I got the script to work but the model doesn't rotate. [Image]. I'm currently on Python 2.7, packages from python 2 and I ran the command setup.py so that wikitools will recognize parts of itself such as wiki, api, page, etc... I'm also worried about getting the offsets for the images without uploading it to TF2 wiki cause Inkipedia doesn't currently have API. Shahar (talk) 18:34, 18 May 2021 (UTC)
- Hey, thanks for helping me out. I got all the modules, templates, JS and CSS changes to display the 3D viewer with the Minigun (It was similar in design to the Splatlings so I thought it was a good example). I also got one of the Splatoon models into HLMV with partial texture. What I'm stuck at is that I can't get the script to work. I've tried to follow Team Fortress Wiki:3D Models but with no success. Shahar (talk) 14:21, 7 May 2021 (UTC)
The error is "Unsupported 16-Bit Application", and it seems to be a remnant of mingw. I've tried recompiling with g++ instead of gcc -- if that doesn't work I'll need to port the exe to a real compiler, which will take some time. Darkid « Talk — Contribs » 16:38, 20 May 2021 (UTC)
Template:Item infobox/Sandbox Requested Addition
Hi,
I'm currently prototyping some things on the item infobox sandbox page for use on an experimental page. Essentially, I'd like for it to generate 3D viewer-like buttons that allow you to preview wears on an item if the item type is war paint
or warpaint
.
It would be great if you could help with this, because I have no idea of how to go about that and don't want to break anything. Thanks. ~ Boba 21:16, 28 October 2021 (UTC)
- I don't really have any bandwidth to help develop templates on the wiki. I'm can help debug things if they mostly work, and I'm happy to double-check your work, but I can only offer advice right now.
- For example, the 3D viewer uses custom javascript to make the tab switching work (see MediaWiki:Common.js). The main trick would be to support this ask with the least amount of additional javascript, and the least amount of new, complex modules.
- Darkid « Talk — Contribs » 20:07, 21 November 2021 (UTC)
Banana Bay/ko
Hi Darkid!
I want to delete the Banana Bay/ko page.
As a member of STS, I can say that page is awful like google trans. The text in korean is not makes sense and some grammar errors in there.
Joeun (talk) 16:35, 30 November 2021 (UTC)
- Hi Joeun! Thank you for following up. I am deleting the page now. Darkid « Talk — Contribs » 17:03, 30 November 2021 (UTC)
Move Blap Bash page to BlapBash
Hey Darkid, Please can you move Blap Bash to be BlapBash (and all sub-pages) as the event name does not contain a space. I can't do it due to my account limits. Thank you in advance. - Jon, Blapature Co. Organiser BlackOutJon (talk) 12:08, 12 December 2021 (UTC)
/en
Why does your bot create a list of articles with the prefix /en, if all articles are written without it? Far (talk) 08:12, 13 December 2021 (UTC)
- Can you be more specific? It's possible that there is a bug with one of the reports, I did have to make some updates to the scripts to get them working again.
- Which report seems to be misbehaving, and how would you expect it to behave? Darkid « Talk — Contribs » 12:20, 13 December 2021 (UTC)
- In the general list of English articles, your bot writes them with the prefix /en. You can see this for yourself by going to Team Fortress Wiki:Reports/All articles/en.Far (talk) 16:21, 13 December 2021 (UTC)
- I'm not sure what you mean, when I go to Team Fortress Wiki:Reports/All articles/en I don't see any links which say "/en". The page title says "/en", and I can change that if you want, but the article list itself seems correct.
- Image
- Darkid « Talk — Contribs » 18:21, 13 December 2021 (UTC)
- In the general list of English articles, your bot writes them with the prefix /en. You can see this for yourself by going to Team Fortress Wiki:Reports/All articles/en.Far (talk) 16:21, 13 December 2021 (UTC)
Mmmph/hu redirect request
Hello! I'm Kevin and I'm one of those fews, who translate the hungarian TF2 wiki, I have question rather a request if I may. Can you have the time to redirect the page, Mmmph/hu to Phlogistinator/hu. I tried to redirect it but I'm not a administator nor moderator on this wiki.
Greetings, Vinzesco (talk) 19:41, 7 January 2022 (UTC)
- You should be able to do this yourself, the page is free to edit for anyone and redirects aren't restricted to staff.
GrampaSwood (talk) 19:45, 7 January 2022 (UTC)
"HLMV - Missing Folders Fix" pack has been updated.
Hi. I don't know if you have any plans in using it, but just letting you know that I updated the pack with the latest patch (January 5, 2022 Patch). It was missing several folders from items from latest "major" updates, such as Halloween, Summer and Smissmas updates. Before sending this post, I tried loading some of the new items on HLMV, and none of them had any problems loading (no errors trying to find the directory). Because of the new link structure I have set on Help:HLMV, I don't need to edit the page again everytime I update the pack fix, as the link will directly go to the latest revision on my GitHub repository. - ▪ - 14:51, 8 January 2022 (UTC)
Template:QuAD/list
Hello darkid! I don't really understand the template that well but I was trying to add "Halloween Package" and "Halloween Transmute" to the list, and there is a problem. In Template:Dictionary/quad, you can only use "=special" parameter once, and there are actually some items that have two for some reason. For example the Boston Boom-Bringer, this is what happens, only "Unlocked Cosmetic Crate".
There is another problem with the Scream Fortress 2014 items, which already use "scream fortress vi" (Unlocked Creepy Crate + Halloween Gift Cauldron), and would require more "special" parameters (like special2 , special3, special4, etc). Example for the Nugget Noggin cosmetic: unique: {{quad/list|store=y|special=scream fortress vi|special=transmute|special=halloween package}}
I was thinking to add like a "special2" parameter at first, but I saw this edit on the history and as you said: "it would force quad to have ordering, which leads to user errors.". So, is there another way to add more "special" parameters? Thanks! Mgpt (talk) 23:58, 4 February 2022 (UTC)
- I'm not honestly sure why we use special over just adding parameters to the top-level list. Feel free to sandbox your changes and I can take a look before you push them.
- Darkid « Talk — Contribs » 00:43, 5 February 2022 (UTC)
- This edit is similiar of what I was trying to do, then I saw your comment and well... it won't work I guess D: Mgpt (talk) 00:58, 5 February 2022 (UTC)
- So, I was picturing you could just add another parameter like {{{unlock}}} or {{{promo}}}. That way you wouldn't need a special2, you'd just put something like {{QuAD/list|craft=y|drop=y|halloween-package=y}}. Special was originally for dynamic strings which needed a dictionary lookup -- that has become very muddied.
- Originally, it was this:
- This edit is similiar of what I was trying to do, then I saw your comment and well... it won't work I guess D: Mgpt (talk) 00:58, 5 February 2022 (UTC)
{{#switch:{{{special|}}} |unusual={{dictionary/items/mann co. supply crate}} |botkiller weapons|dueling minigame|pile of ash|pile of curses|polycount pack|quakecon bundle|strange bacon grease={{dictionary/items/{{{special}}} |#default={{dictionary/common strings/{{{special}}}}} }}}}
- Anyways, I think we can just add top-level parameters, but I'm not 100% sure and so it would be good if you could sandbox that before changing everything.
- Darkid « Talk — Contribs » 08:51, 5 February 2022 (UTC)
- Hello darkid, I added the template to my User:Mgpt/sandbox. Could you check what I need to add? (you can edit the page if you want) Thanks :D Mgpt (talk) 02:45, 11 February 2022 (UTC)
- Traditionally, we test out templates on a sandbox page relative to the template, i.e. Template:QuAD/list/Sandbox.
- There, you can add whatever you want to change to try and make your scenario work.
- Then, you should test out your changes, e.g. go to one of your sandbox pages (User:Mgpt/sandbox) and try using the template as you would in the dictionary, to see what it looks like. Here, you'll invoke the sandboxed template, e.g. {{QuAD/list/Sandbox|craft=y|drop=y|my-new-parameter=y}}
- Make changes to the sandboxed template until your sandbox looks like what you want.
- If you feel confident in your changes at this point, update the main template. If not, ask me for a review.
- Darkid « Talk — Contribs » 10:34, 13 February 2022 (UTC)
- Hi! I made some changes - Template:QuAD/list, I also changed the order to match with the availability text in cosmetic pages. Is it okay? Thanks. Mgpt (talk) 02:42, 5 March 2022 (UTC)
- Hello darkid, I added the template to my User:Mgpt/sandbox. Could you check what I need to add? (you can edit the page if you want) Thanks :D Mgpt (talk) 02:45, 11 February 2022 (UTC)
19:08 <Mgpt> hello Darkid! With my latest edits I added the missing cases to the Quad template and added the Quad/series template, It works, at least for me. Could you take a look at it? 19:11 <Mgpt> [[Template:QuAD/list/Sandbox]] 19:11 <@Spacenet> Template:QuAD/list/Sandbox: https://wiki.tf/Template:QuAD/list/Sandbox 19:11 <Mgpt> [Template:QuAD/series]] 19:11 <Mgpt> [[Template:QuAD/series]] 19:11 <@Spacenet> Template:QuAD/series: https://wiki.tf/Template:QuAD/series
- I can look again but not this weekend Darkid « Talk — Contribs » 03:04, 19 March 2022 (UTC)
{{QuAD/series}}
should be a dictionary string. There's no reason to make a separate template for it.- I would recommend keeping the direct dictionary invocations (
{{dictionary/items/name tag}}
) for performance reasons. - Be careful with strings like {{item name|Select Reserve Mann Co. Supply Crate}} {{QuAD/series|60}}. Not every language will want the words in this order. You may consider making the QuAD/series string take a second parameter, e.g. {{QuAD/series|60|Select Reserve Mann Co. Supply Crate}}, so that each language can customize the order if needed.
- I would recommend putting the "Series 60" text in parenthesis. Compare:
- Select Reserve Mann Co. Supply Crate Series 60
- Select Reserve Mann Co. Supply Crate (Series 60)
- 5.Can you please put in some noinclude section headers to make future editing easier? Ala the dictionary:
-->{{#if:{{{crate5|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate5}}}}}}}<!-- -->{{#if:{{{crate6|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate6}}}}}}}<!-- -->{{#if:{{{crate7|}}}|{{!}}{{item name|Mann Co. Supply Crate}} {{QuAD/series|{{{crate7}}}}}}}<noinclude> ## Crate series </noinclude>{{#if:{{{series6|}}}|{{!}}{{item name|Festive Winter Crate}}}}<!-- -->{{#if:{{{series22|}}}|{{!}}{{item name|Refreshing Summer Cooler}}}}<!--
- Darkid « Talk — Contribs » 20:22, 10 April 2022 (UTC)
- Hello, I created the string and added it to the template, could you check? About adding the parenthesis, the official name is Mann Co. Supply Crate Series #123 so I think we should keep how it is. Thank you for all the help :D Mgpt (talk) 02:21, 14 April 2022 (UTC)
- The template looks reasonable, I would just remove the
1=
and2=
and just writeTemplate:Dictionary/common strings/crate-series
- I agree with your point about (4), feel free to leave out the parenthesis.
- Also, it looks like my suggestion for (5) doesn't work, so you can take those back out again. Sorry :/
- Darkid « Talk — Contribs » 04:13, 14 April 2022 (UTC)
- I removed them and added the new string to the crate parameters, Edit 1 Edit 2. Everything seems to work :D I also removed the "lc" from gift parameter (not needed right?) and replaced default "case" with {{ns:0}} Mgpt (talk) 02:03, 15 April 2022 (UTC)
- {{lc:}} was being used because of a direct dictionary call. I've reinstated those calls where it makes sense, although it does make the template less readable. Once you've deployed the changes we can reevaluate the template cost (for things like the hat avail table).
- Overall, looks good to me. If you have the time, can you also investigate why two of the qualities are causing template redlinks?
{{common string|winter 2016 cosmetic crate}}
and{{common string|bioshock infinite season pass}}
are somewhere in the quad dictionary, but the strings don't exist anymore.- (see TFW:Reports/Wanted templates). Darkid « Talk — Contribs » 05:38, 15 April 2022 (UTC)
- I removed them and added the new string to the crate parameters, Edit 1 Edit 2. Everything seems to work :D I also removed the "lc" from gift parameter (not needed right?) and replaced default "case" with {{ns:0}} Mgpt (talk) 02:03, 15 April 2022 (UTC)
- The template looks reasonable, I would just remove the
- Hello, I created the string and added it to the template, could you check? About adding the parenthesis, the official name is Mann Co. Supply Crate Series #123 so I think we should keep how it is. Thank you for all the help :D Mgpt (talk) 02:21, 14 April 2022 (UTC)
- Darkid « Talk — Contribs » 20:22, 10 April 2022 (UTC)
Template request
Hi there,
In response to this talk page entry, would it be possible to change the {{pronounce}}
template to support a different IPA link?
GrampaSwood (talk) 16:18, 1 June 2022 (UTC)
- Done, I feel like you could've tackled this one :) Maybe next time? Darkid « Talk — Contribs » 16:33, 1 June 2022 (UTC)
Style Guide/ru
Hi there! I've noticed that you moved the russian translations for the FAQ and Wiki Cap guidelines under the main namespace back in April.
I was recently approached by a /ru member, who told me that translations of this kind were removed a few years ago, in compliance with some unbeknown-to-me decision.
By any chance, as of now, can the localized version of the Style guide be moved back in as well?
-foxbite (talk) ⨯ (contribs) 14:11, 10 June 2022 (UTC)
Untranslated Templates Specification Possibility?
Hi there,
you(r bot) created this list: 368 templates missing German translation ;; this is nice, but it isn't as helpful for me as at seems. ; f.e. Template:Backpack item has 35928 uses and is missing 1 translation
<- i cant find the specific place where the translation is missing, cause these templates are complex and big and if i scroll through them i can easily miss it. Since your bot knows there is something missing can't it mark the general/specific area and make a note in the untranslated template report? This would help every language a lot and make the templates very accurate and complete very fast. Thanks for any feedback. Magicalpony (talk) 14:20, 23 July 2022 (UTC)
- Should be better now. Thanks for the suggestion! Darkid « Talk — Contribs » 18:05, 13 August 2022 (UTC)
Broken weapon preview template?
It seems like the template for the weapon previews on pages appears to be broken.
Like the 2D images are supposed to have both RED and BLU variants that you can toggle, but for some reason it only shows the RED image, causing the BLU images to go completely unused.
If you could look into this and hopefully fix it, that'd be pretty swell of you
Thanks.--ShadowMan44 (talk) 23:15, 8 September 2022 (UTC)
- This is a long-standing bug that I am not fixing. Sorry. Darkid « Talk — Contribs » 00:47, 9 September 2022 (UTC)
3D view advanced module
Hello, I was wondering how I could port this template, and any JS/CSS it has over to another wiki, if you use discord, please add me at FreshYoMama#2077, as I am not familiar with IRC. FreshYoMama (talk) 04:16, 22 September 2022 (UTC)
- As I mentioned on discord, you should get familiar with JS/CSS before trying to port anything. Darkid « Talk — Contribs » 05:31, 25 September 2022 (UTC)
3D Models Script
Hi. I'm posting this to your Talkpage so you probably will get notified on your e-mail or something. I recently made this topic on the 3D Models page regarding using the script under Windows 10 64bits. It seems that it's not possible to run the script using a 64bits Operational System due to the usage of mem.exe
. I would like to know if the program would work under a Virtual Machine of Windows 10 32bits, so I could try that instead. I have Python 3.9 installed, but I'm mostly sure the wikitools and poster is only needed to automate uploading process, and not the actual 3D preview itself. Even so, I don't think mem.exe
would open even if I had Python 2.x installed. - ▪ - 18:13, 28 September 2022 (UTC)
- Replied over there. Thanks for the ping, I'm watching that page now. Darkid « Talk — Contribs » 18:59, 28 September 2022 (UTC)
Team Color Infobox for Community MVM Tour Medals
Community MVM tours are beginning to utilize custom painted medals with team colors. The default item infobox doesn't flow well on a page describing an entire campaign rather than a single item, however; so what I would like to have happen is to extract the team color section of the item infobox, exactly the way it currently is, and have it be a separate template I could use in the Rewards section of operation pages, to showcase custom team colors on their own.
As per your instruction, I've began a sandbox page as a rough idea of what I want: I'd like for this infobox to retain the team color functionality it has at the moment, but remove the need for a header image, and all the things from Basic Information down. When it's finished, I would like it to begin with RED and BLU headers, and showcase the team color images alone, sort of like this, and of course, continuing down to showcase them all.
Team color images already exist for these medals, as partially used in the example, as well as all existing medals that utilize custom team colors so far. They can be easily redirected to suit the team color infobox. That part isn't a problem; I just need the template, and I can take things from there. — 04:28, 14 October 2022 (UTC)
- Okay, so I'd recommend using inspect element to figure out which html tags you want to keep -- and then deleting the others from the template. I'm happy to check your work but don't have much time to spend right now, sadly. Darkid « Talk — Contribs » 04:42, 14 October 2022 (UTC)
Random Tark question
heya! I have a few queries regarding {{Item infobox}} that are a bit too advanced for me to handle. I was wondering if you could spare some time to assist me with thisthe requests are essentially aimed at reducing the amount of manually added text by translators to prevent pages from becoming outdated. I recently added "released-major" (under /sandbox) to automatically translate and format the "released" information ("{{Patch name|9|30|2010}}<br>([[Mann-Conomy Update]])") - defaults to "released" if not set, so it shound't break existing pagesbut there are a few issues that I haven't been able to resolve yet: specifically, the "used-by" section would benefit from a template that automatically generates the class list, similar to how {{avail}} functions oh yeah, I have added most game attributes to Template:Dictionary/attributes, but I'm not sure if there is a better way to incorporate this into the infobox itself (that is, without having to include multiple {{attribute|token}} in the att-*/item-flag fields)
- Tark, on steam
- Hello, Tark helped me with it and I've already added the changes to the main template, the only "issue" I have are the categories, for example this page, now in a page like "Fireproof Secret Diary/infobox" which is a subpage, is there a way to hide the categories or includeonly is the only way? I think its better to have the infobox shown instead of hidden. There's also a discussion if it helps. Thanks! Mgpt (talk) 04:32, 12 March 2023 (UTC)
- {{#ifeq:{{BASEPAGENAME}}|Template:Item Infbox|{{ns:0}}|[[Category:whatever]]}}
- Would this work? Darkid « Talk — Contribs » 04:35, 12 March 2023 (UTC)
Slander at my user page
1 Opv (talk) 01:38, 30 April 2023 (UTC)
- Slander is a pretty heavy accusation. I'd appreciate you responding on your talkpage about your concerns, rather than splitting the discussion here. Darkid « Talk — Contribs » 01:38, 30 April 2023 (UTC)
Translation table troubles
Hello Darkid, this is a special request. I have already discussed this with Mikado and Swood. The issue was that the Translation progress table seems to track some pages that could be subtracted as they simply cannot be touched by localization teams; some pages affect the listed categories but also the overall progress bar; there should be a way to ignore these, so the main function of the table can truly shine. One very good example is, WebAPI
which is an untranslatable page; categories are also affected Category:Lists to be expanded
or Category:Custom maps unreleased stubs/lang
. It could be nice to have a whitelist we can all work on; comparing categories together could be an added perk, but I already personally do this manually using software. Let me know your thoughts!
Luno 🪐🌕 Talk / Contributions / Team 20:35, 26 August 2023 (UTC)
- I saw the discussion (wikipedia has a new "you were mentioned" feature, if someone links to my user) -- I can get started on making you a whitelist. Darkid « Talk — Contribs » 22:12, 26 August 2023 (UTC)
- Okay, I've added an exclusion for WebAPI -- it should now be reflected in the template (the raw count is now adjusted via
{{Translation progress/count}}
). You mentioned some categories needing adjusting too -- you should just be able to add/adjust the offsets on{{Translation progress/stats}}
. - Please let me know if you run into any bugs/have any other concerns. Darkid « Talk — Contribs » 22:44, 26 August 2023 (UTC)
- Damn, you were quick on the draw. Well, there are still a lot of exclusions to add. Having to compare missing pages with overall progress is going to be tough, as it's pretty much a one-sided effect, but it should work. It would be nice to expose the whitelist somewhere on the template as a shortcut or something. As for category offsets, that's a bit much for me; if there is no better way, you'll have to show me an example. Thank you.
Luno 🪐🌕 Talk / Contributions / Team 00:12, 27 August 2023 (UTC)- There should already be a report from the bot about missing translations -- but I guess it's not per category :/
- There isn't a really good way to list the allowed/prevented pages beyond just editing the template, although I guess you could copy/paste that info somewhere if you need it.
- The "offset" thing is just "set the offset value to the number of extra english pages", it's not rocket science. I've added one offset already -- you should be able to follow the example.
- Darkid « Talk — Contribs » 01:03, 27 August 2023 (UTC)
- Sorry, I accidentally removed two of your messages in an edit conflict. Restoring and responding...
- I assume it would be possible to bridge that whitelist so that WebAPI stops popping up in Missing translations. On that note, there is a red link for "Missing categories in French", Is this still planned?
Luno 🪐🌕 Talk / Contributions / Team 00:24, 27 August 2023 (UTC) - I have noticed that Total progress is listing 395 remaining pages while Missing pages lists 365. That might be worth looking into?
Luno 🪐🌕 Talk / Contributions / Team 00:32, 27 August 2023 (UTC)- I have limited time to look into this stuff, the template should be relatively straightforward to play with, feel free to make a copy and play around with it. Darkid « Talk — Contribs » 03:31, 27 August 2023 (UTC)
- No rush, thanks a bunch Darkid. I'll let you know if anything else arises.
Luno 🪐🌕 Talk / Contributions / Team 14:22, 27 August 2023 (UTC)
- No rush, thanks a bunch Darkid. I'll let you know if anything else arises.
- I have limited time to look into this stuff, the template should be relatively straightforward to play with, feel free to make a copy and play around with it. Darkid « Talk — Contribs » 03:31, 27 August 2023 (UTC)
- Damn, you were quick on the draw. Well, there are still a lot of exclusions to add. Having to compare missing pages with overall progress is going to be tough, as it's pretty much a one-sided effect, but it should work. It would be nice to expose the whitelist somewhere on the template as a shortcut or something. As for category offsets, that's a bit much for me; if there is no better way, you'll have to show me an example. Thank you.
- Okay, I've added an exclusion for WebAPI -- it should now be reflected in the template (the raw count is now adjusted via
Duplicated pages in romanian
I saw your request on the Romanian translation progress page about the duplicated Item_sets pages. After looking at both of the pages I transferred all of the content on the correct page and updated it to be in line with the English page. However, I don't know how to delete the Item_set page witch serves no purpose now. This is the page that needs to be deleted: Item_set/ro. Thank you for bringing this issue to my attention! -Lord of Dominating (talk) 00:37, 7 September 2023 (UTC)
- Thanks for the effort! For future reference, you can just use
{{delete}}
to request that a page be deleted, or feel free to reach out to me (like you just did!) Darkid « Talk — Contribs » 03:23, 7 September 2023 (UTC)
Paint Colors Handler Help
Could you help to add the paint-colors
handler that's present in {{Backpack item}}
to {{Item infobox}}
? There is now a singular item that always drops with a custom paint color set applied, and I would like to be able to showcase a paint splat in the loadout section of the item infobox for its article. — 04:08, 20 October 2023 (UTC)
3D model script
Hello! I was planning on updating the loose cannon's projectile model with the 3D tools but I was told that the script doesn't work, is there a workaround? Thanks!
Cheddar (talk) 19:49, 30 October 2023 (UTC)
- What doesn't work about the script? Did HLMV offsets break again? Darkid « Talk — Contribs » 02:12, 31 October 2023 (UTC)
- Hopefully this thread is still new enough that I can post it. First of, thank you for updating the scripts to work on Python 3+. I think I got all the necessary steps done before running, but, once I run automate.py, it activates the HLMV window, a yellow background shows up, and HLMV crashes. I am not sure what the issue is. I want to mention that I'm using the
mem.exe
I compiled by my own about a year ago, as the one from the repo doesn't work as it's 32bits, while I run Windows 10 64bits instead. I saw that there was no changes tomem.exe
, so I don't think it's an issue with it. My exact version of Python is 3.9.13. - ▪ - 03:48, 19 November 2023 (UTC)
- Hopefully this thread is still new enough that I can post it. First of, thank you for updating the scripts to work on Python 3+. I think I got all the necessary steps done before running, but, once I run automate.py, it activates the HLMV window, a yellow background shows up, and HLMV crashes. I am not sure what the issue is. I want to mention that I'm using the
- Would it be possible to include a HLMV++ variant too? HLMV++ and HLMV should be identical when it comes to rotations, the only issue would be that a setting needs to be turned off before making these images called "Aspect correction" (but that should not be hard to do manually). HLMV takes a lot more time to set up than HLMV++ (such as the dxsupport.cfg change, possibly a fix for blurry images, grey cornea issue, anti-aliasing not working properly, etc.) and would be nice if that had support too.
| s | GrampaSwood (talk) (contribs) 09:52, 19 November 2023 (UTC)- HLMV++ has different camera zoom ins and zoom outs (think like... regular HLMV zooms at 1 intervals, while ++ does at 0.5 intervals), though I think that rotating the model should be the same. If anything, both results should be compared before making a release stating they both work the same, just to be safe. Edit: The Aspect Correction thing shouldn't be necessary, if anything, it can simply be disabled before running the script, as you still have to manually load the model before running it. I use an older version of HLMV++ that doesn't has that, and I feel like script could break trying to disable something it doesn't exist. - ▪ - 13:26, 19 November 2023 (UTC)
- Would it be possible to include a HLMV++ variant too? HLMV++ and HLMV should be identical when it comes to rotations, the only issue would be that a setting needs to be turned off before making these images called "Aspect correction" (but that should not be hard to do manually). HLMV takes a lot more time to set up than HLMV++ (such as the dxsupport.cfg change, possibly a fix for blurry images, grey cornea issue, anti-aliasing not working properly, etc.) and would be nice if that had support too.
Updated for HLMV. Still working on HLMV++ support. Darkid « Talk — Contribs » 03:31, 20 November 2023 (UTC)
- Updated for HLMV++. Let me know if you have any issues. Darkid « Talk — Contribs » 05:35, 20 November 2023 (UTC)
I now seem to be getting missing texturesfor the background on HLMV++Cheddar (talk) 08:04, 20 November 2023 (UTC)- Scratch that, I just seem to have problems now with Visual C++ and the install requirements, "msvcp140.dll" is missing even with it installed, not to mention the other scripts needed. Cheddar (talk) 09:13, 20 November 2023 (UTC)
- To add to that, I'm stuck on the install, as well. I seem to not really understand the installation process after downloading the required programs. H20verdrive (talk) 09:22, 20 November 2023 (UTC)
- To add onto this further, we did make progress but H20 and I are getting thisissue now. 10:47, 20 November 2023 (UTC)
- To add to that, I'm stuck on the install, as well. I seem to not really understand the installation process after downloading the required programs. H20verdrive (talk) 09:22, 20 November 2023 (UTC)
- Scratch that, I just seem to have problems now with Visual C++ and the install requirements, "msvcp140.dll" is missing even with it installed, not to mention the other scripts needed. Cheddar (talk) 09:13, 20 November 2023 (UTC)
Thisis the full log Cheddar (talk) 12:23, 20 November 2023 (UTC)
- On "requirements.txt", remove the "-r TFWiki-scripts/requirements.txt" line, and run it. I was getting similar errors and this fixed it (if I recall correctly). You may get an error after installing Pillow (but it will work properly). Simply remove the two first lines and only keep the one for "pywin32==304", then, you should have all libraries installed properly. Additionally, if either or both steps doesn't work, run CMD as Administrator. Haven't tested the new version yet, though, but I had this issue prior to posting my initial comment. - ▪ - 22:22, 20 November 2023 (UTC)
- Just tried this and was getting errors on installing pywin32==304 saying that it could not find a version that satisfies the requirement. H20verdrive (talk) 22:38, 20 November 2023 (UTC)
- The versions shouldn't matter too much -- you can just install all the dependencies by hand:
pip install pywin32 numpy Pillow requests
- If you downloaded the source from github you probably didn't get the TFWiki-scripts submodule, which means you won't be able to upload anything. Darkid « Talk — Contribs » 00:27, 21 November 2023 (UTC)
- Don't know if anyone else is getting this issue, but it seems I'm missing some .dll files from mem.exe. (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll, ucrtbased.dll) H20verdrive (talk) 02:15, 22 November 2023 (UTC)
- Try pulling from github again -- I uploaded a new mem.exe there earlier. If not, I've got some other fixes I made to help Cheddar and I'll push them later. Darkid « Talk — Contribs » 05:17, 22 November 2023 (UTC)
- Weird, now it's saying it can't run on the 64-bit version of Windows. H20verdrive (talk) 06:33, 22 November 2023 (UTC)
- Try pulling from github again -- I uploaded a new mem.exe there earlier. If not, I've got some other fixes I made to help Cheddar and I'll push them later. Darkid « Talk — Contribs » 05:17, 22 November 2023 (UTC)
- Don't know if anyone else is getting this issue, but it seems I'm missing some .dll files from mem.exe. (VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, MSVCP140D.dll, ucrtbased.dll) H20verdrive (talk) 02:15, 22 November 2023 (UTC)
- Just tried this and was getting errors on installing pywin32==304 saying that it could not find a version that satisfies the requirement. H20verdrive (talk) 22:38, 20 November 2023 (UTC)
Updated once again. Please try downloading the latest zip and following the instructions in the readme. Darkid « Talk — Contribs » 06:53, 23 November 2023 (UTC)
- Thank you, Darkid! After some finagling, I've gotten it to work. I'm thankful for everything you've done to update it and enable us to update and create new 3D images for the Wiki. (Happy Thanksgiving!) H20verdrive (talk) 23:41, 23 November 2023 (UTC)
- You're welcome! Let me know if any of your finagling should be added to the FAQ. Darkid « Talk — Contribs » 00:24, 24 November 2023 (UTC)
- Whenever I try to use automate.py, HLMV will change its rotations and will finish, however when I go back to Powershell it gives this error. I am using version 3.3 of the script and Python 3.7.9, any idea on how to fix this?
Andrew360 23:31, 25 November 2023 (UTC)- Ah, sorry -- that means the automatic cropping is failing. See "The 3D image is not removing the HLMV window borders" in the FAQ. I can improve the error message too. Darkid « Talk — Contribs » 05:00, 26 November 2023 (UTC)
- Whenever I try to use automate.py, HLMV will change its rotations and will finish, however when I go back to Powershell it gives this error. I am using version 3.3 of the script and Python 3.7.9, any idea on how to fix this?
- You're welcome! Let me know if any of your finagling should be added to the FAQ. Darkid « Talk — Contribs » 00:24, 24 November 2023 (UTC)
Crate template
{{Crate series table}}
doesn't properly translate names, it only links to the correct page. I've tried looking at it but it seems like it's more complicated than just adding item name.
| s | GrampaSwood (talk) (contribs) 14:36, 9 December 2023 (UTC)
- All done. I've done some extra cleanup and added some comments, hopefully it all makes sense to you now. Darkid « Talk — Contribs » 17:57, 10 December 2023 (UTC)
Help with changing my username
Hello, Darkid. I need some help with this username I chose before and I want to change it from EinTheReal to PinRouge. Any help would be greatly appreciated, thanks in advance. Cordially yours, EinTheReal PinRouge (talk) 15:39, 19 December 2023 (UTC)
- This task can only be performed by Administrators, you would have to contact Tark or Wookipan.
| s | GrampaSwood (talk) (contribs) 16:38, 19 December 2023 (UTC)
Module talk:Availability
Hello, can we add the unusual-expired parameter? I made a topic on the discussion page. Maybe we should go with "Uncrate (Unusual) (expired)" (text taken from HazMat Headcase) Mgpt (talk) 15:09, 27 December 2023 (UTC)
- If you have a proposal, it saves me a lot of time if you can just put it on the sandbox page (and add appropriate tests on the sandbox docs) Darkid « Talk — Contribs » 18:30, 27 December 2023 (UTC)
Help with Template
Hello. Could you help me with something related to the Template:Painted variants? I'd like if there was a new parameter called override-title
. Using this parameter would add a title in the same vein when default=
or style=
parameters are used (I'm talking about the "Style 1" that appears above "Single colors" and below "Painted variants - Style 1"). Additionally, if default=
or style=
is used in conjunction with override-title
, whatever is put with override-title=
will replace whatever value was put into either default=
or style=
. Lastly, the text for override-title=
wouldn't be linked to the {{item name}}, as the idea is to put any title on it, however, it should still be possible to use {{item name}} when using a name on the dictionary.
I'd like to use this parameter for the Gibus pages (not the Galvanized Gibus page), by including each of the styles as tabs on the Painted Variants table. The idea is to add these paint variants using override=
with the name of the other styles, so there's no need to re-upload them or make a huge amount of redundant redirects. However, doing so currently causes no text to be visible on top (the text between "Single colors" and "Painted variants -..." does not show up), because I am unable to use style=
, doing so causes the filename to be different, therefore the images does not show on the table. Feel free to use this code for testing, though you'll have to move it to Ghastlierest Gibus page and Show Preview for a better, well, preview. Once the parameter is added, I will add the tabs to that page, the other Gibus pages, and the rest of the languages as well. Thanks! - ▪ - 01:17, 28 December 2023 (UTC)
- Which of these 3 boxes are you trying to change? Can you make an MSPaint mockup of what you're looking for, and/or give me a sandbox page of how you *want* to call the template (but that doesn't work)? Darkid « Talk — Contribs » 09:57, 29 December 2023 (UTC)
- It would be the letter "C". Here's some screenshots to help you. Right now, the pages look like this: https://imgur.com/a/43eplWu. The idea would it to be look like this instead, please see this mock-up: https://imgur.com/a/lJ0ynUw. Just to keep things clear. The reason I'm not using "style=" on the second album is because, if I do, the filenames change, and the images don't show up. Someone suggested me just using redirects instead, but that would be approximately 111 pages worth of redirects. I think it's a bit redundant doing so, and I would say the override-title method would be much more ideal. Thank you! - ▪ - 10:32, 29 December 2023 (UTC)
- Hello, I just wanted to ask / remember if you have any plans in making this parameter available on the template. I don't think it should be too difficult to make, even though I tried many times but I ain't a pro when it comes to templates. Thank. - ▪ - 12:58, 7 February 2024 (UTC)
- Maybe I'm not understanding correctly, but it looks like that's controlled by this code (which is the sole use of the 'default' parameter). I think you should just be able to add a further override, or change this #if statement as you need.
- Hello, I just wanted to ask / remember if you have any plans in making this parameter available on the template. I don't think it should be too difficult to make, even though I tried many times but I ain't a pro when it comes to templates. Thank. - ▪ - 12:58, 7 February 2024 (UTC)
- It would be the letter "C". Here's some screenshots to help you. Right now, the pages look like this: https://imgur.com/a/43eplWu. The idea would it to be look like this instead, please see this mock-up: https://imgur.com/a/lJ0ynUw. Just to keep things clear. The reason I'm not using "style=" on the second album is because, if I do, the filenames change, and the images don't show up. Someone suggested me just using redirects instead, but that would be approximately 111 pages worth of redirects. I think it's a bit redundant doing so, and I would say the override-title method would be much more ideal. Thank you! - ▪ - 10:32, 29 December 2023 (UTC)
{{#if:{{{hh|}}}|{{ns:0}}|{{#if:{{{default|{{{style|}}}}}} | {{!}}+ style="text-align:left; font-size:1.5em; padding:0.5em 0em" colspan="4" {{!}} {{#if:{{{name|}}}|{{item name|{{{name}}}}}|{{item name|{{{default|{{{style|default appearance}}}}}}}}}} }}}}
Speed table metric units
I believe I asked a few years ago about adding Metric units to the {{Class speed table}}
(preferably in the order of Metric -> Imperial -> Hammer units), but I never made a talk page entry for it. It looks very complicated so I understand it won't be done any time soon, but I thought I'd leave it here regardless for if you're ever bored :^)
| s | GrampaSwood (talk) (contribs) 14:09, 2 January 2024 (UTC)
- This content is actually generated by
{{Class speed table/top row}}
(and mid row, etc). It looks like the kph math is already there, even -- it's just only in use on non-english pages. - I'd recommend making (another) sub-template for the tooltip (maybe
{{Class speed table/tooltip}}
?) and then you can consult editor preferences, or whatever. Darkid « Talk — Contribs » 18:22, 2 January 2024 (UTC)
- Thank you, I will try some stuff in a sandbox soon.
| s | GrampaSwood (talk) (contribs) 21:55, 10 January 2024 (UTC)
- Thank you, I will try some stuff in a sandbox soon.
About 3D module
Hi! I'm A22, Inkipedia ES bureaucrat, and Inkipedia and Animal Crossing Enciclopedia (wiki in Spanish) interface staff.
I'm contacting you to ask if you can give the green light for Animal Crossing Enciclopedia to use the 3D module you have available on your wiki, as happened with Inkipedia in an earlier discussion.
I would also like to know if in the future it is necessary to contact you every time a wiki wants to add your 3D module to their wiki (if so, it would not be necessary to contact you every time a wiki wants to add it).
Thanks! A22PG (talk) 16:09, 2 January 2024 (UTC)
- I'm not an admin, so I don't have the final say on what you can/can't do. That said, the wiki contents are licensed, as long as you follow that license you don't have to ask for permission.
- It's also not "my" 3D module -- I only own the latest copy of the automation scripts -- there has been a lot of work from a lot of editors to make the whole pipeline work -- much of which is in the actual 3D models template.
- I *definitely* don't have the bandwidth to help every new wiki set up this template/workflow, so no, you definitely don't have to ask me every time.
- Darkid « Talk — Contribs » 18:20, 2 January 2024 (UTC)
Userbox template request
Currently, the {{Userbox}}
template adds it to a category based on the namespace, but if the URL is "User:Username/Template:Templatename" it adds it to the "Template:" namespace category instead of the "User:" one. Is there a way to prevent this?
| s | GrampaSwood (talk) (contribs) 17:53, 10 January 2024 (UTC)
- You'll have to do some manual fixups, but you should be able to determine if the SUBPAGENAME startswith "Template" and recategorize. Darkid « Talk — Contribs » 18:13, 10 January 2024 (UTC)
- Would simple adding another check after the "User:" check work?
| s | GrampaSwood (talk) (contribs) 18:13, 10 January 2024 (UTC)
- Would simple adding another check after the "User:" check work?
- I mean putting another #ifeq inside the existing one for the "User" namespace check. So it would be smth like {{#ifeq:{{NAMESPACE}} | User | {{#ifeq:{{NAMESPACE}}| Template | X | Y}} | Z }}. Basically making it so if it's on "User" it also checks if it has "Template" then add categories based on that, rather than checking both namespaces separately.
| s | GrampaSwood (talk) (contribs) 21:55, 10 January 2024 (UTC)- You can think of
{{NAMESPACE}}
as a template with no parameters -- its value won't change if you call it a second time. You'll need to use some other magic word (like{{SUBPAGENAME}}
) to determine if the subpage is a template. - So, something like
{{#ifeq: {{NAMESPACE}} | User | {{#if: <condition representing your request> | [[category 1]] | [[category 2]]}} | [[category 3]] }}
- w:Help:Magic words is a good starting point.
- Darkid « Talk — Contribs » 00:49, 11 January 2024 (UTC)
- You can think of
- I mean putting another #ifeq inside the existing one for the "User" namespace check. So it would be smth like {{#ifeq:{{NAMESPACE}} | User | {{#ifeq:{{NAMESPACE}}| Template | X | Y}} | Z }}. Basically making it so if it's on "User" it also checks if it has "Template" then add categories based on that, rather than checking both namespaces separately.
Redirects
Hello, could you provide the same list with redirects? I'm fixing the ones without {{R lang}}
and a few were different from the original (english) (Zombie/ru for example). Thanks Mgpt (talk) 17:04, 9 February 2024 (UTC) Team Fortress Wiki:Reports/Pages with no english equivalent
- Here it is (as a one-off generated report). Let me know if you need something else. Darkid « Talk — Contribs » 04:08, 12 February 2024 (UTC)
- User:Darkid/Reports/Pages_with_no_english_equivalent
Some template issue I'm facing
Hi Darkid,
I've been struggling to find a way around an issue I have with this template: User:GrampaSwood/Template:ReservationUpdate. I have a {{{contents}}} parameter that's intended to contain the text found on the Weapon Demonstration talk page, but an issue with this is that any kind of vertical bar (|
) will obviously create issues on the template. Do you happen to know any way around this? My own signature uses vertical bars in it which is the main issue, I changed this but obviously I'd like to future-proof the template without forcing everyone to use {{!}}
instead of |.
| s | GrampaSwood (talk) (contribs) 17:25, 14 February 2024 (UTC)
- Just making sure I understand the issue -- someone is invoking the template like this:
{{User:GrampaSwood/Template:ReservationUpdate|content=Hello|world}}
- and then the template reads the | as a second parameter? Darkid « Talk — Contribs » 17:29, 14 February 2024 (UTC)
- Yeah, though there are some more parameters preceeding the "content" one, Hello|world is supposed to show up as "Hello|world" but instead it's "Hello".
| s | GrampaSwood (talk) (contribs) 17:33, 14 February 2024 (UTC)- Good news, this is a classic programmer problem -- sanitizing user input. Bad news, it's intractable :)
- It is not possible to prevent users from inputting bad data -- and since there is no limit to how bad the data they input is, you will have to lower your expectations. (what if, e.g., a user's signature contained
}}
?) - I would recommend just adding error text if you detect the presence of
(or 3, or 4) and tell the user how to fix it ("replace | with {{!}}").
- Darkid « Talk — Contribs » 04:14, 15 February 2024 (UTC)
- Yeah, though there are some more parameters preceeding the "content" one, Hello|world is supposed to show up as "Hello|world" but instead it's "Hello".
- I'll look into it, though the template is taken from
{{Doc begin}}
with just the colour changed, maybe there would be a way to have the template function similar to that? Simply put{{ReservationUpdate}}
at the top with some parameters, then have a template at the bottom that ends the coloured box. I'm not sure if that is possible, though.
| s | GrampaSwood (talk) (contribs) 10:58, 15 February 2024 (UTC)
- I'll look into it, though the template is taken from
- I've found a fix for this, I took it from
{{Discussion close}}
. Basically, giving it a switch statement which takes "begin" or "end", with "end" being a simple closing div tag.
| s | GrampaSwood (talk) (contribs) 21:22, 7 April 2024 (UTC)
- I've found a fix for this, I took it from
Some requests regarding 3D models
I believe I requested this in IRC before, but forgot to put this on your userpage. I wouldn't consider it a very high priority thing, but Half-Life Asset Manager is a program similar to HLMV but to run GoldSrc models (TFC's engine). I tried to open up GoldSrc models in HLMV, but it either crashes the program or simply gives an error with the model, so I suspect regular HLMV can't open these models.
With that, I'd like to request you to look into making the 3D models script compatible with HLAM. Like I said, I imagine this would be very low priority but I'd like to get 3D views for those out at some point. Related to 3D views, do you think that they could be added to {{Hazard infobox}}
and {{Pickup infobox}}
? And perhaps the creation of a standalone 3D viewer that's similar to {{Team colors infobox}}
(i.e. just the buttons and viewer, as if taken straight from the infobox. It would mainly be used on building pages because they have no infobox)?
These are quite a few requests, but I think I could manage the last few ones if you could leave a small explanation of how to implement 3D views into infoboxes.
| s | GrampaSwood (talk) (contribs) 00:08, 18 February 2024 (UTC)
- HLAM is on my backlog (though likely not any time soon). The standalone 3D viewer should just be at Module:3D viewer advanced, you can just treat it like it's any other sub-template. Darkid « Talk — Contribs » 00:26, 18 February 2024 (UTC)
- An update on this, though it would still be appreciated to make this work on a model viewer like HLAM, I have found a way to display Classic models in regular HLMV.
| s | GrampaSwood (talk) (contribs) 22:39, 3 May 2024 (UTC)
- An update on this, though it would still be appreciated to make this work on a model viewer like HLAM, I have found a way to display Classic models in regular HLMV.
3D Images
Hello! I would like to get started on making 3d images! You're the best person I can talk to, so please give me advice.
Slimyboi500 Talk Contribs
Steam 00:08, 18 February 2024 (UTC)
- TFW:3D Models is a good starting point. There are also a couple of folks on the IRC who have worked on this project (and could help). I don't have time to give you a complete walkthrough of the process (and besides, the guides should be good enough), but do let me know if you have specific questions I can help with. Darkid « Talk — Contribs » 00:22, 18 February 2024 (UTC)
Back and forth
Hey Darkid, I added you on Steam a few days ago, but it doesn't seem like you use it much.
- I wanted to discuss a few things, but it might also flood your talk page, so I thought it was a good idea. Luno 🪐🌕 Talk / Contrib. / Team 18:37, 26 February 2024 (UTC)
- Ah, sorry, I kept getting spam bot adds :( I don't mind talkpage flooding but I can check my steam adds this evening. Darkid « Talk — Contribs » 21:41, 26 February 2024 (UTC)
Wrong category on some of your pages
This page and also this page is tagged for Category:Secondary weapons, Category:Primary weapons, Category:Melee weapons (and probably more other tags), I checked the page, its because the bots don't add ":" before category links causing the page in wrong category. Profiteer the tryhard (talk|contribute) 01:57, 3 March 2024 (UTC)
- Should now be fixed. Thanks for the bug report! Darkid « Talk — Contribs » 06:21, 8 March 2024 (UTC)
“ "Thanks!"Click to listen— Profiteer”
WindBOT filter broken
10:23:38 AM <Mgpt> hello darkid can you change this script a bit? https://wiki.teamfortress.com/wiki/User:WindBOT/Filters#File_categorization_.28Add_.7B.7BNo_category.7D.7D_or_.7B.7BUser_image.7D.7D.29 Just needs these lines after " if title[:10].lower() == 'file:user ': " 10:23:49 AM <Mgpt> https://www.irccloud.com/pastebin/CQVDlDde/ 10:25:09 AM <Mgpt> It sent as a link, should be this: # Check for audio or text files 10:25:09 AM <Mgpt> if not title.lower().endswith(('.mp3', '.wav', '.ogg', '.txt')): 10:26:15 AM <Mgpt> So it doesn't do this: https://wiki.teamfortress.com/w/index.php?title=File:User_ThatHatGuy_Demo.mp3&action=history
Darkid « Talk — Contribs » 16:44, 6 March 2024 (UTC)
Template loop
Under Cover/ro is doing something bad with the dictionary, idk. Darkid « Talk — Contribs » 08:46, 7 March 2024 (UTC)
Patch name edits
Hi there,
I would like to request a quick check to see if the edits I made to the Patch name's sandbox would mess up anything currently on the Wiki. The main changes here are to add the "(Major update)" bit to the template, as well as the "[Patch] #1" bit. For pt-br and pt, this is at the start of the template and not the end, as well as requiring the "in-the" parameter at all times. These should all be added now, the only thing I want is to add some comments for translators and make the language switches more readable for them.
| s | GrampaSwood (talk) (contribs) 13:44, 7 April 2024 (UTC)
- Hmm, it doesn't seem like you're doing this right. From the template, it looks like the 4th parameter is supposed to be for the game -- e.g. "beta", "classic", etc.
- If you want to subtly alter the text, I'd recommend following the pattern of
{{dictionary/common strings/patch-{{#ifeq: {{{date|}}}|true|date-}}
, where you point to a different dictionary string based on a named parameter, not the unnamed 4th parameter. - This should avoid a lot of subtle bugs to do with extra parameters.
- You also need to continue supporting the
{{{lang}}}
and{{{force}}}
params -- for this reason, I'd recommend using a{{#switch:{{{lang|{{SUBPAGENAME}}}}}}}|en=|pt=|pt-br=}}
if you're unable to use dictionary strings for some reason. I would still strongly recommend using dictionary strings wherever possible. - Make sure you document your changes thoroughly -- if there's no delta on an english page, use the lang parameter to show the behavior change, e.g.:
* {{tlx|patch name|04|15|2011|in-the|6=lang=pt-br}} produces: {{patch name/sandbox|4|15|2011|in-the|num=1|lang=pt-br}} (compare to {{patch name/sandbox|4|15|2011|default|num=1|lang=pt-br}})
- Darkid « Talk — Contribs » 10:25, 11 July 2024 (UTC)
- IIRC Tark took over and added some of the things mentioned, like the dictionary-based string. Take a look here. Sorry for not updating the talk page msg.
| s | GrampaSwood (talk) (contribs) 11:23, 11 July 2024 (UTC)
- IIRC Tark took over and added some of the things mentioned, like the dictionary-based string. Take a look here. Sorry for not updating the talk page msg.
Linking to a category in a template
I'm updating {{Update trans}}
to support all non-main namespaces instead of just templates (mainly for usage on Categories). I started on {{Update trans/sandbox}}
but so far, I can't get the categories to link properly. Adding ":" on its own makes it behave like an indent and adds a <br>. Adding it with nowiki tags results in [[:Category:categoryname]]. I even tried using a separate template similar to {{!}}
but it didn't work either. Any ideas on what I could use?
| s | GrampaSwood (talk) (contribs) 19:47, 7 April 2024 (UTC)
- I'm pretty sure this works:
"[[:{{NAMESPACE}}:{{BASEPAGENAME}}]]" ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}|action=edit}} view source])
- no additional arguments needed.
- I threw up a sample on my sandbox, but don't have the time right now to go update the full template -- let me know if this works, though.
- Darkid « Talk — Contribs » 10:33, 11 July 2024 (UTC)
Problems with the 3D script
Hello!, not to sure if the 64 bit update broke it for others but my 3D script seems to have stopped working, here is the error message, Thanks!
Cheddar • Talk 10:40, 27 April 2024 (UTC)
- 64 bit update to what, exactly? Yes, that would very likely break the sigscans, but I can make them work again. Are you using HLMV or HLMV++? Darkid « Talk — Contribs » 18:17, 27 April 2024 (UTC)
- The April 18, 2024 Patch upgraded TF2 from 32-bit to 64-bit.
| s | GrampaSwood (talk) (contribs) 18:39, 27 April 2024 (UTC)
- The April 18, 2024 Patch upgraded TF2 from 32-bit to 64-bit.
Wikichievement Unlocked!
Wikichievement | Awarded by | Reason | ||
---|---|---|---|---|
|
Mediarch | Wikichievement unlocked! |
Mediarch ♥ Talk ♥ My Edits 19:08, 27 April 2024 (UTC)
Tark had an idea
01:02:00 PM <+Tark> wish we had a general page for discussions, i keep missing stuff 01:02:22 PM <+GrampaSwood> [[TFW:Discussion]]? 01:02:23 PM <@Spacenet> TFW:Discussion: https://wiki.tf/TFW:Discussion 01:03:11 PM <+GrampaSwood> I wish there was a way I could get a notif on the Wiki or email or smth 01:03:15 PM <+GrampaSwood> For each talk page edit 01:03:30 PM <+Tark> a report page 01:03:41 PM <+Tark> something like "here's some recently posted stuff that nobody has replied to yet" 01:04:06 PM <+GrampaSwood> Hmmm, you could maybe get a report page like that 01:04:13 PM <+Tark> maybe 01:04:15 PM <Mediarch> I think that's darkids music 01:04:21 PM <+GrampaSwood> Check for talk pages edited in the last week that have 1 signature under == ==? 01:04:38 PM <+Tark> cc darkid 01:04:54 PM <+GrampaSwood> Put it on his talk page 01:05:06 PM <+Tark> im lazy
Darkid « Talk — Contribs » 08:05, 1 May 2024 (UTC)
Wikichievement unlocked!
Wikichievement | Awarded by | Reason | ||
---|---|---|---|---|
|
GrampaSwood | Wikichievement unlocked! For the occasional cross-language edit fixing minor, but important, details! |
| s | GrampaSwood (talk) (contribs) 16:47, 3 May 2024 (UTC)
Users by edit count report
Seems that the Users by edit count report has failed to update for this month and is still showing the data from April. Any ideas for what could be causing that? Mediarch ♥ Talk ♥ My Edits 20:10, 3 May 2024 (UTC)
- Ah, sorry, the bot timed out on the 1st and I'm not 100% sure why. Let me trigger a re-run. Darkid « Talk — Contribs » 02:22, 4 May 2024 (UTC)
- Hmmm, I might just be being impatient but it seems like it didn't automatically update for June either. Mediarch ♥ Talk ♥ My Edits 15:48, 1 June 2024 (UTC)
- No it definitely failed again, and I'm definitely working on it. I think I have a fix, just copying over.
- For future reference, you should be able to see the most recent status and run from the bot's userpage: User:DarkBOT Darkid « Talk — Contribs » 22:49, 1 June 2024 (UTC)
- Hmmm, I might just be being impatient but it seems like it didn't automatically update for June either. Mediarch ♥ Talk ♥ My Edits 15:48, 1 June 2024 (UTC)
I did see that. I appreciate you investigating and getting it fixed. Many thanks Mediarch ♥ Talk ♥ My Edits 12:28, 11 July 2024 (UTC)
Replacement request for HLAM
A while ago, I made a request for HLAM. I've since found a way to convert GoldSrc to Source 1 models. Though it would still be nice to have a GoldSrc model viewer supported, I think a bigger priority would be perhaps a Quake model viewer. I found one here. I do realise this would be equally as low-priority as the GoldSrc model viewer one, but I thought I'd leave the request nonetheless.
| s | GrampaSwood (talk) (contribs) 16:56, 4 May 2024 (UTC)
- I did a little bit of experimenting today with HLAM but there's two big problems:
- 1. While the UI looks the same, the backend code is completely different. In fact, Qt (the UI engine) is particularly resiliant to sigscans, so I'd have to use pointer offsets. This isn't a huge deal (since the program is at EOL), but it's still a bit more work to write up.
- 2. I am not 100% sure that the rotation and translation code works the same way. Again, I've been digging, I think it's not *too* different, but it would take some more tweaking (and I don't have all that much time right now). Again, this is probably because of the QT backend.
- The best help at this point would honestly be the compilation symbols; unlike HLMV we actually have source code but I can't line it up with the binary since I don't have the time to set up and build it from scratch. If you can build it (or get someone else to build it) and provide .pdbs that would be excellent.
- Darkid « Talk — Contribs » 22:41, 4 May 2024 (UTC)
- If it's easier, the VDC provides three other model viewers for GoldSrc models (IIRC, the first one is even an early version of HLMV).
| s | GrampaSwood (talk) (contribs) 22:47, 4 May 2024 (UTC)
- If it's easier, the VDC provides three other model viewers for GoldSrc models (IIRC, the first one is even an early version of HLMV).
- Works for me, except for the cropping. It seems like the
imageprocessor.py
was changed, my old one had some specific return values infind_minimum_bounds
. Is there any way to change these now? I set them to 100 (left), 50 (top), 1920 (right), and 800 (bottom) respectively.
| s | GrampaSwood (talk) (contribs) 14:13, 14 May 2024 (UTC)
- Works for me, except for the cropping. It seems like the
- Perfect, it works now after some adjustments.
| s | GrampaSwood (talk) (contribs) 17:02, 14 May 2024 (UTC)
- Perfect, it works now after some adjustments.
Request for Missing translations reports
Hi there,
Do you think it's possible to update how the missing translations reports are generated to include the amount of links similar to Special:WantedPages? Preferably also a way to sort them with the most links or alphabetically.
| s | GrampaSwood (talk) (contribs) 12:53, 7 May 2024 (UTC)
- The article and category reports /are/ alphabetically sorted right now, but I can add the 'whatlinkshere' count to them, if you like. It might be a little expensive, and this is a daily report, so I might just make a secondary report which lists by count. We'll see. Darkid « Talk — Contribs » 07:33, 14 May 2024 (UTC)
- Perhaps updating the links counter once a week instead of every day could also work, just a general indicator would be the main goal, as the translations don't get made too often so a super up-to-date count is not even necessary imo. With "a way to sort them with the most links or alphabetically" I meant a way to toggle between sorting them alphabetically or with the most links, but if that's too much work then I understand it will not be possible.
| s | GrampaSwood (talk) (contribs) 14:37, 14 May 2024 (UTC)- It took about 3.5 hours to run the link count for /every page on the wiki/, so this isn't something I can run regularly without overstressing the wiki. I've generated a one-off report here but I don't think this is something I can get you without causing undue load. Darkid « Talk — Contribs » 07:06, 16 May 2024 (UTC)
- Perhaps updating the links counter once a week instead of every day could also work, just a general indicator would be the main goal, as the translations don't get made too often so a super up-to-date count is not even necessary imo. With "a way to sort them with the most links or alphabetically" I meant a way to toggle between sorting them alphabetically or with the most links, but if that's too much work then I understand it will not be possible.
- Oh, my bad (in my defence it's morning and I haven't woke up yet...)
| s | GrampaSwood (talk) (contribs) 08:12, 16 May 2024 (UTC)- A more permanent home: User:Darkid/Reports/Missing_translations_by_count since the main scratch pages get overwritten from time to time. Darkid « Talk — Contribs » 08:28, 18 May 2024 (UTC)
- Oh, my bad (in my defence it's morning and I haven't woke up yet...)
err, something is wrong with the report right now. I will keep editing. Darkid « Talk — Contribs » 08:31, 18 May 2024 (UTC)
3D viewer changes
Hi there,
Is there any possibility to add a TFC viewer to the list of 3D viewers? The only change it would need is the addition of a yellow and green button, for the yellow and green teams in TFC (they will only be used on class pages).
| s | GrampaSwood (talk) (contribs) 20:59, 22 May 2024 (UTC)
- Take a whirl with the changes I made at Module:3D viewer advanced/Sandbox. You'll need to make some changes to add the colors to Common.css -- I did a hack with my user CSS to test it out.
- https://imgur.com/ap8Dbnt
Avail
Sup. Could you update the module to handle more dynamic strings? By dynamic, I mean being able to pass text as a parameter instead of only numbers. There are many single-use availabilities and I believe this would be better than infinitely expanding the current list for items with a "non-standard" availability type. Something like this:
promo-ostbox-[boxname]
-> calls{{common string|avail ostbox [boxname]}}
-> generatesPromotional
promo-grant-[org]
-> calls{{common string|avail grant [org]}}
-> generatesDistributed (awarded)
- etc.
I'd personally be fine with using the existing system and using something like special1
where 1
is the "id" of the dictionary entry ({{common string|avail special [id]}}
- it would work just fine), but it's a bit harder to understand. — Tark 22:22, 4 June 2024 (UTC)
- I'm in favor of the idea in general, but can you be a bit more specific about what these special strings are? Maybe you could suggest a list of current avail strings that we'd want to collapse down?
- Technically speaking, this is quite easy to do, I just want to know a bit more (since it might change how we do it).
- Darkid « Talk — Contribs » 10:55, 11 July 2024 (UTC)
Apologies
Sorry about Smokey Sombrero and Mann-O-War. I should have caught that. I'll make sure to double check before saving when I add full for the other languages. Mediarch ♥ Talk ♥ My Edits 05:01, 8 July 2024 (UTC)
Module:Availability/Sandbox
Hi, could you implement the changes I made here: Module:Availability/Sandbox? Should be fine, but you can also see each diff. Thanks Mgpt (talk) 20:08, 19 July 2024 (UTC)
- This is the topic I mentioned, Tark also has one above, mine are just fixes for now (irc request) Mgpt (talk) 20:00, 11 October 2024 (UTC)
Wikichievement Unlocked!
Wikichievement | Awarded by | Reason | ||
---|---|---|---|---|
|
Mediarch | Wikichievement unlocked! For making the automatic paint upload script! Will be extremely helpful. |
New script version
So I tested the new version of the script and it seemed to work great. Only issue I noticed is that for items with styles the style name and "BLU" were switched around so "File:Painted {Item Name} E6E6E6 BLU {Style Name}.png
" instead of "File:Painted {Item Name} E6E6E6 {Style Name} BLU.png
". Pretty sure I can fix that on my end by tweaking that section of the script but just so you're aware.
Also, seems that it added the {{Model info}}
template just fine to new uploads (Example:Here) but the template doesn't show up for new versions of existing files (Example:Here). I'm pretty sure that's not an issue with the script and is more of a wiki issue because that's I think that's just how the wiki handles edit summaries on files. That might be fixable with a bot or something, not really sure.
Also, Also, GrampaSwood has requested the Paint Can name in the Model info template if possible. So have it say "An Extraordinary Abundance of Tinge" instead of "E6E6E6".
Anywho that's all I got I think. Thanks again for working on the script I really really appreciate it. Mediarch ♥ Talk ♥ My Edits 16:33, 30 September 2024 (UTC)
- Pushed a new version to address all 3 concerns. Thanks for testing + feedback! Darkid « Talk — Contribs » 17:09, 30 September 2024 (UTC)
- I tried the new new version and it seems to have a slight issue. It's making new pages without the
File:
prefix. Like this one here Painted Troublemaker's Tossle Cap 808000.png. When I ran the script it's giving me a "WARNING: Failed to edit" error. Mediarch ♥ Talk ♥ My Edits 17:46, 30 September 2024 (UTC)
- I tried the new new version and it seems to have a slight issue. It's making new pages without the
Painted Variants Full template missing Override Unpainted handler
I posted about this on Tark's page, but he's on break right now, so I thought I'd ask you too: an upcoming community MVM tour is anticipated to have medals that would require use of the Painted Variants Full template, to show team-colored variants on the single paints as well. But that template lacks a handler that the regular Painted Variants template has, override-unpainted, to show different unpainted images, while displaying all the other existing images. Would you be able to fix that? — 00:06, 12 November 2024 (UTC)
- It's really hard to build from a text description, if you have a sample (even MSPaint) of what you want, and the template input / images / etc you have, I can try to make you something. No promises, I'm also a bit slow to work on wiki projects. Darkid « Talk — Contribs » 04:45, 12 November 2024 (UTC)
- This is the function on the regular template. I need Paint Table Full to have the same override-unpainted handlers, to accept replacement unpainted images. Outwardly, the template won't look different until it's actually called. You can test it with {{Painted variants full|default=Style 1|override = Memes vs. Machines Baked Potato 2019|override-unpainted = Ghoulish Gambit Poisonous Potato 2024|h=0|width = 84x84px}} and see if the unpainted images show as red links. If they do, it should be good. — 08:16, 12 November 2024 (UTC)
- The problem is I don't know what I'm doing. That's why I asked you. This should work, in theory, but now I don't know how to call it or what I need to do to check, or anything. — 09:11, 12 November 2024 (UTC)
- An update to this: I have created a sandbox for the template, and it almost works. However, because I copied the code from the single Unpainted image box in the regular Painted Variants template, as you can see from my sandbox test, currently the RED team image uploads to a file path for a base unpainted image -- not a RED team image file path -- and the BLU team unpainted image box appears to be on another column entirely. — 15:33, 12 November 2024 (UTC)
3D models thing isn't working
When I try to run the 3D models automation script (specifically the command python automate.py
), it gives me this message:
Traceback (most recent call last): File "automate.py", line 37, in <module> 'vertical_offset': None File "C:\path\3D-Models-automation\HLMVModel.py", line 89, in __init__ raise ValueError('Sigscan mismatch for both HLMV and HLMV++') ValueError: Sigscan mismatch for both HLMV and HLMV++
I do have another version of HLMV++ installed, but can you figure out what's wrong?
Talk Contribs Steam 20:11, 23 November 2024 (UTC)
Report request
I would like to request a new type of report, a few times over the last few days I've seen edits that are correcting {{Lang}}
instances that have duplicate en =
parameters and replacing them with the correct es =
parameter. Is it possible to have a report that lists these instances? This most often happens with Spanish and causes the English text to be replaced with Spanish text, but it has happened with other languages too.
| s | GrampaSwood (talk) (contribs) 15:24, 29 November 2024 (UTC)