Talk:Main Page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(humm...)
m (Reverted edits by Davescott12 (talk) to last revision by Popcorn)
Tag: Rollback
 
(882 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
Welcome to the discussion page for the [[Main Page]]! To start a new section, click on the "+" tab. To respond in an existing section, click on the "edit" link to the right of the section title. Please don't forget to sign your comments, using either three tildes (<nowiki>~~~</nowiki>) for your name, or four tildes (<nowiki>~~~~</nowiki>) for your name and a timestamp.
<!-- ==== Before you edit! ==== -->
<!-- ====    Read this!    ==== -->
<!-- = The talk page is for discussing the VDC's main page.                = -->
<!-- = If your edit has nothing to do with talking about the main page,     = -->
<!-- = please look at the talk page again and find what you're looking for. = -->
<!-- ====  This page is not for support!  ==== -->
{{LanguageBar}}
{{discussion page}}


==Discussion of major additions==
{{correctpagequery-top|This page is for discussing the [[Valve Developer Community:About|Valve Developer Community]]'s [[Main Page]]. For discussion on VDC in general, see the [[Valve Developer Community:Discussion|Main discussion page]]. For questions about developing, please visit the [[New Help Desk]]! '''This page is not for support questions!'''}}


I put up a crappy help page, basically just 2 links :( Someone else should finish it. &mdash; Draco
{{archives|
:I fixed up the [[Help:Contents|Help page]]. Much remains to be done &mdash; for now, it is based on, and heavily references, Wikipedia. &mdash; [[User:Greentryst|Dan Johnson]] 19:02, 27 Jun 2005 (PDT)
* [[Special:Redirect/revision/18078|19:28, 28 Nov 2005 (PST)]]
* [[Special:Redirect/revision/32346|13:46, 10 Apr 2006 (PDT)]]
* [[Special:Redirect/revision/113697|22:23, 15 February 2009 (PDT)]]
* [[Special:Redirect/revision/150005|11:08, 11 May 2011]]
* [[Special:Redirect/revision/306033|00:29, 12 May, 2023]]
}}


I have finished my guide on editing wiki pages, [[Help_with_Editing]]. Hope it comes in handy. &mdash; [[User:Geogriffith]]
<p style="width:60%; margin:1em 0 1em 0"> Welcome to the discussion page for the [[Main Page]]! To start a new section, click on the [https://developer.valvesoftware.com/w/index.php?title=Talk:Main_Page&action=edit&section=new Add topic] tab above. To respond in an existing section, click on the <code>edit</code> link to the right of the section title. Please don't forget to sign your comments, using either three tildes (<nowiki>~~~</nowiki>) for your name, or four tildes (<nowiki>~~~~</nowiki>) for your name and a timestamp <br>or ('''Recommended''') you can click on [https://developer.valvesoftware.com/w/index.php?title=Talk:Main_Page&action=edit&section=new&preload=Template:Discussion_page/preload Add Topic] button from the {{tl|link=discussion page}} template, it will sign your comments automatically. </p>
:It's a tad unprofessional (first person writing, style inconsistency, "Bastards.", "Dur.") but a good start, certainly better than the previous situation of "no help whatsoever," and especially for someone unfamiliar with wikicode. Well done. I have written a link to it into [[Help:Contents]]; I would add to the page myself, but my brain is already broiled. &mdash; [[User:Greentryst|Dan Johnson]] 20:02, 27 Jun 2005 (PDT)
::Oh hell, someone'll get around to fixing it sooner or later :) &mdash; [[User:Geogriffith]]
:::Can someone write up how to make a new page. I haven't been able to figure it out :( - [[user:Mooga]]


This isn't particularly major in the grand scheme of things, but I've added a [[Mod_Page_Template|Mod Page Template]] as a reference for people creating or modifying mod information pages. -Chrisb
== Thank you Valve! ==


== Usage ==
For the first time in years, Valve came back! We can now edit the Main Page again. Thanks Valve. Now, please update the wiki so that it doesnt run on a horribly outdated mediawiki pls [[User:Equalizer5118|Equalizer5118]] ([[User talk:Equalizer5118|talk]]) 4:04, 7 Jun 2023 (UTC)


We're not going to enforce any real editing rules on the site, with the exception of obvious offensive material. The site is likely to turn out more useful if the community drives that effort.<br />
== Update to the site! ==
&mdash; [[User:Erik Johnson|Erik]]
This site is updated from 1.31.10 to 1.39.7! (and other softwares), there is also a new tag <nowiki><langconvert></nowiki>. --[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 07:39, 28 November 2024 (PST)


One of the main problems with Mediawiki as it stands is that practically needs a [http://meta.wikimedia.org/wiki/Main_Page wiki dedicated to itself] to figure out how to operate it. It's a very confusing and scary thing, and that isn't immediately apparent when you look at the heavily standardised Wikipedia. No new wiki should really take Wikipedia as a test subject, because the hive mind philosophy powering it is one you can't deliberately replicate unless you have access to a whole world of OCD sufferers. So, unless the site is going to be driven by a select group of very dedicated people with obscene amounts of time to spare, there will need to be guidelines quickly thrown down about the basic formatting and structure of the site, or enthusiasm can quickly unravel into a not-so-helpful splat of information resembling the [http://www.hl2world.com/wiki/index.php/Main_Page HL2World wiki], which I'm sure you've browsed while researching this.
== I think the new design looks good. ==


While we're on the subject of usage, I have to say that the case sensitivity of Mediawiki combined with the extremely poor search engine (I assume for the sake of efficiency) can make locating information a lot harder than it should be. We're attempting to implement a more useful search on my [http://www.statelovesyou.com wiki], which I'll be happy to share when complete.<br />
Maybe make the VDC Navbox template make it look like the main page, or maybe make a new one and keep the old one? Because i think the navbox maybe should be here [[User:Mr. SystemError|Mr. SystemError]] ([[User talk:Mr. SystemError|talk]]) 8:45, 30 Apr 2024 (UTC)
&mdash; [[User:Super Foul Egg|Super Foul Egg]]
:Wow guys, the new front page looks great!, If you can make sure its been changed properly to your native languag [[User:Seal Enthusiast|Seal Enthusiast]] ([[User talk:Seal Enthusiast|talk]]) 19:31, 3 May 2024 (UTC)
::Took me 10 minutes to figure out how to make the rest of the main page fit with the Valve-Tech template, since i found the right colors, I went with it. I also made the colored boxes buttons.<br>Also i ported other lang to /strings subpage and transcluded from English page, except on Hebrew which uses its own page (flipped the grid design and made the text to be read right to left) [[User:N0one|N0one]] ([[User talk:N0one|talk]]) 20:53, 3 May 2024 (UTC)


"online file hosting space for your project" This phrase on the main page...What is the intended meaning?  Can people upload their maps to this website, or is it just for having a page for each mod? -[[user:mungo|mungo]]
== Going about tidying up the Main Page ==


== New To Wiki ==
So I composed a version of the main page in my sandbox, [[User:Cvoxalury/Sandbox#De-Multipaged_Main_Page|here]].


I'm new to wiki and I am really hoping that by leaving a comment that I'm not screwing something up, but is it possible to set up a classic Forum for Developers, haha, I'm having a pretty difficult time finding needed information.  In fact, I could easily set up a PHPBB Forum and give you guys the link if you would like. - Solo
I've changed certain element proportions, I moved the article count underneath the title (and got rid of other stats - the text on the page explains why). There's room for expansion underneath Source 2 section, for future games. I've replaced string lookups with simple text right in the page (with the exception of the navbox, as it's a template and I'd rather include it as template than replicate it).
:The site should become more coherent, cohesive, and usable overall after the learning curve for a wiki is passed. For now, please see the [[Help:Contents|Help page]] to learn about how the wiki works. &mdash; [[User:Greentryst|Dan Johnson]] 18:50, 27 Jun 2005 (PDT)


Still Doesn't tell me where to find information such as in Level Modeling, how do you create breakable glass?
Basically, it is tidier, more economical, easier to maintain.
:You would be able to find it by searching in the search box on the sidebar, but there does not appear to be much information about it. The second result for 'level modeling' is [[Materials_for_models]]. You could add a question about glass to the comments there. &mdash; [[User:Fysh|fysh]] 19:47, 27 Jun 2005 (PDT)


:A good solution here is to start an article with a really good name (describes it well, in this case, [[Creating Breakable Glass]]) and put it in the right category.  Someone's bound to come by and write the article soon. -[[User:Mungo|Mungo]]
The question is, how to go about using it?


::If only there was a way to make a new one. Seems as if there is no "Create New Article" link. The the only way I've found is to edit the current address and change "Talk:Main_Page" to the new article that I want. -[[User:Snowknight26|Snowknight26]]
I can replace the Main Page's code with it. The biggest con is it'll lose all the languages, as there don't exist translated versions of the Main ''Page'', per se (the translations that currently exist aren't done that way, so they wouldn't show up as flags). They'll be lost until translated versions are reestablished. Which used to be the old way of doing it.


:::Typically, the best way to do this is edit an existing article to include a link to your new article, then click the red link to make the new one. Doing it this way ensures that you don't make any "orphans" (articles that no other article links to).  
I can replace the Multipage's /en version with it. It'll be less intrusive, but some elements are declared on Multipage's base page, like copyright and legal section, they'll remain as string lookups, which I ideally didn't want. It'll also not change appearance to anyone using non-eng version.
:::If you can't find a relevant existing article to link from, make a link on your user: page. -- [[User:Rof|Rof]] 17:29, 29 Jun 2005 (PDT)


I want to upload .zip files for the articles that I'm about to submit. Is this allowed, and if so, how would I link to them? Media: ? -- [[User:Sodabus|Sodabus]] 23:13, 3 Jul 2005 (PDT)
I won't pretend I have the best solution, but I thought if anything I should start discussing this, here, now.


== Confusing comments ==
[[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 11:39, 19 June 2024 (PDT)


I'm finding commenting really messy. We had better make a set of rules for them, like always make a new section (the + next to edit) and give it a title when making a new comment or it will get out of control. And is there a way to make your signature appear on every comment you make? --[[User:Tom Edwards|Tom Edwards]] 11:54, 28 Jun 2005 (PDT)
:This one's a bit of a weird one, because with the main page being a bit of a mess of inline CSS it's a tad harder to pick things out. Perhaps more common things could be put as classes in common.css to reduce overall noise for styled pages, but that has the downside of needing staff action each time something should be tweaked, as well as being yet another page to edit (which we're trying to avoid, but I think it's more justifiable than the other stuff in this case). --[[User:DarkOK|DarkOK]] ([[User talk:DarkOK|talk]]) 17:37, 19 June 2024 (PDT)


I have seen it in the preferences section.
::Right, but I think in the meantime, the main page can still be edited to be less, well, messy, as it currently houses more elements than it needs. I don't want to impose my version without asking (and listening), however. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 10:02, 20 June 2024 (PDT)


You'll get used to, no need to change IMO, tho I do have trouble with the siggies, what do I have to write behind it? --[[User:Fragrag|Fragrag]]
:::I took the leap of faith and tidied up the page. I did a soft version of what I proposed, not replacing strings with text and such (so it should be as adaptable as it was, just shorter now). If I really did wrong by users by doing that, revert it. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]])


Mostly because Its unknowm the datetime of comments. Its topposting or bottomposting? Anyway this mess its developer friendly. A good reason to write good code!.. to avoid something like THIS ---[[User:Tei|Tei]]
== Autoconfirmed protection ==


Correction: actually looks much better. ---[[User:Tei|Tei]]
I can't check for myself; can autoconfirmed people here still edit the Main Page? I'm not sure if autoconfirmed protection functions properly here. [[User:PabloS|PabloS]] ([[User talk:PabloS|talk]]) 16:57, 19 June 2024 (PDT)
:I was able to edit the main page [[User:Darnias|Darnias]] ([[User talk:Darnias|talk]]) 17:22, 19 June 2024 (PDT)
: Yes, i'm autoconfirmed and i can edit the Main Page and semi-protected pages. --[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 01:11, 20 June 2024 (PDT)
:Yep, works for me! --Seal Enthusiast 07:43, 24 June 2024 (PDT)
:Why shouldn't it be protected so only moderators (and above) can edit it? It and its individual elements (templates it's composed of) could use more elevated protection. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 13:06, 24 June 2024 (PDT)


== Items that need to be deleted ==
== Avoiding clutter on the main page ==


[[Image:Grunt01.gif]] - Halo grunt. Not Half-Life 2.
I implore my fellow editors to not clutter the main page anymore. Sprinkling icon confetti, coloured text (not that someone did; this is saying preemptively) and things like that is purely cosmetic, style that doesn't improve the substance.  


[[Map Editing]] - Obsolete page from original website. These are all on the Level Design category page.
There's icons for the main branches of the wiki - Goldsrc, Source and Source 2 - its main three 'kingdoms' if you will - that's really enough.


We're climbing out of the dark times when it looked [https://pbs.twimg.com/media/GMZ-pJDWwAAh97Z?format=jpg&name=large this bad], and we're currently at the point where it's pretty optimal. Reasons like 'looks nicer' is what led to looking like that pic in the first place.


[[:Category:Third party mods]] and [[:Category:3rd party mod]]: Redundant categories. See [[:Category:HL1 Third Party Mods]] and [[:Category:HL2 Third Party Mods]]. Also [[3rd_party_mod]]
[[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 08:14, 24 June 2024 (PDT)


-There's also an unused [[:category:mapping]], but it may not be worth deleting, because people are going to keep accidentally creating it.
: Yeah it's looks pretty clean and good enough, another thing about the icon, the CS2 workshop icon is unofficial anyway (Valve didn't made one like other Source 2 games, so I made them based off HL Alyx Workshop Tools), the only problem that it doesn't seem to look good sometime on smaller resolution (16px), and probably looks bit too similar to HLA, but it works. --[[User:Kr0tchet|leonidakarlach]] ([[User talk:Kr0tchet|talk]]) 04:38, 25 June 2024 (PDT)
:As far as I can see, that's no reason not to delete it; people will realise eventually, and allowing something like that to persist can only lead to clutter... [[User:PsychoBrat|PsychoBrat]] 06:29, 9 Jul 2005 (PDT)


-[[SignUp]] - Bizzarro article
: To the user [[User:Seal Enthusiast]] adding icons to the Source 2 games: they're useless clutter. It's not about bandwidth, it's about what's needed. Icons aren't needed, three of them are almost the same, everyone can read the text right next to them. Don't revert undos, as that becomes edit warring. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 02:35, 3 July 2024 (PDT)
:Huh? Is this comment just incredibly confusing (with a real meaning to it) or can it be deleted? [[User:PsychoBrat|PsychoBrat]] 06:29, 9 Jul 2005 (PDT)


==Items that need to be fixed==
:: Why don't you discuss it with others before you undo the change yourself? You are the one starting the war of edits now. At this point, there is nothing stopping you from changing the minds of the majority (and there are at least 2 people who disagree with you, not counting me and others who just don't care), but you just undo even a minor change instead of waiting for a response to your complaint 😒


====Search Engines====
:: --[[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 03:55, 3 July 2024 (PDT)
The site doesn't seem to be on Google...
::: Apologies for any issues adding the icons may cause. I was not aware there was a "unspoken rule" of not updating the wiki to a more modern style. Once again sorry for any trouble I may have caused. --[[User:Seal Enthusiast|Seal Enthusiast]] 05:34, 3 July 2024 (PDT)
:::: This passive aggression isn't solving anything. I see that [[User:PabloS]] reverted the removal of the icons, as a final decision in my eyes. Alright. Whatever. Three of them are the same blue square, I still think they're without use, but it's not that essential. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 02:26, 12 July 2024 (PDT)


what do you mean? http://www.google.com/search?q=Valve+Developer+Community&lr=
== Text on the main page ==


It is now:)
What exactly is the practical reason right now behind keeping text (like the welcome text, or text on the buttons) as string lookups instead of just having it like normal text? It only appears once per every version of the page, and every version has its own text. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 14:12, 13 July 2024 (PDT)
:Added strings as parameters of Template:MainPage which should be less hassle free with ability for quick preview.  [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 04:02, 15 July 2024 (PDT)


====Complaints====
== Address to editors about paragraphs ==
Check the <strike>Complaints</strike> page for complaints about Source.
:Note: This is now obsolete; see [[:Category:Developer Issues and Workarounds]] - [[User:PsychoBrat|PsychoBrat]] 06:33, 9 Jul 2005 (PDT)


====To Do Page====
When you create templates, pay attention to the paragraph problem. Seriously, a bunch of new templates break the formatting again, and the place to fix it people just put all the damn text on one line, making everything unreadable.


:I added a [[Project:Wiki_To_Do|Wiki To Do]] page. The idea is that anyone can visit this page and instantly find things to add to the Wiki that fits the time and skill level they can currently have. This page is the only one linking to it currently. --[[User:JeffLane|JeffLane]] 01:33, 1 Jul 2005 (PDT)
=== Let's look at the problem ===
::Excellent idea. This page is already getting out of control. --[[User:Geogriffith|Geogriffith]]
I'll use part of the {{tl|link=Infobox game}} code for an example. This template is fixed now.


====Mis-Topics====
{{CodeBlock|src=Template|<nowiki><includeonly><onlyinclude>
:Counter Strike is listed at an offical mod AND a 3rd party mod for HL1.  Can someone remove CS from the offical mod list? --[[User:Mooga|Mooga]] 06:12, 1 Jul 2005 (PDT)
{{sidebar
::But Counter-Strike really is both. It was originally a 3rd party mod, but was bought up by Valve when it became so damn popular. --[[User:Geogriffith|Geogriffith]]
| header = {{{title|}}}
:::Same with ALL of the HL1 mods!  The fact is that it is NOW an offical mod.  Valve works on CS, not an external team. - [[User:Mooga|Mooga]] 22:05, 2 Jul 2005 (PDT)
}}
</onlyinclude></includeonly></nowiki>}}


====Making a mod====
Consider the example above. We can see that after {{Code|<nowiki><includeonly><onlyinclude></nowiki>}} the editor has created a paragraph by moving the template code one line below, and also created a paragraph before the closing HTML tags. What is the consequence of this? When the editor writes code like this:
The first line of [[Making a MOD]], 3.1.1 Finishing > Five Weeks Out > Centralize Ownership should be changed to ''<nowiki>You should designate a single member of your MOD team as the [[Shipping_Leader_In_Detail|Shipping Leader]] (SL).</nowiki>''.


====Categories====
{{CodeBlock|src=Source code of the article|<nowiki>{{LanguageBar}}
Most locked pages are not in a category. Please change this.


==Items that need to be improved==
{{Infobox game
Lots of things will need to be improved.  All of the Offical HL1 mods need more information. Only TFC (which I have been putting a lot of work into) has any information.  This shouldn't be hard since many of you have been playing games like Counter Strike for many many many years. - [[User:Mooga|Mooga]] 22:16, 2 Jul 2005 (PDT)
| title = Dota 2
}}


{{Stub}}</nowiki>}}


==Features that need to be added==
The wiki engine will create this:
{{CodeBlock|src=Article|<nowiki>{{LanguageBar}}
<p></p>
<p></p>
Final view of the info box
<p></p>
<p></p>
{{Stub}}</nowiki>}}


====Sandbox====
A user with no knowledge of template editing would try to fix it this way:
:Add somekind of sandbox page? Also add some kind of help for actually using the wiki? http://meta.wikimedia.org/wiki/Help:Contents comes to mind. Also the special maintenence pages can be abused and can drive the server load through the roof. Also I would reserve all names like Gabe Newell before they get completly abused. &mdash; ^Ben


====Rules====
{{CodeBlock|src=Source code of the article|<nowiki>{{LanguageBar}}{{Infobox game
:Also, maybe make an official list of rules for the wiki.  "Terms of Use" doesn't really cut it in terms of readability.  A nice list of "do and do not" examples is a good idea.  Also, not just Gabe Newell, but gaben! :) &mdash; [[User:BAILOPAN|BAILOPAN]] 17:08, 27 Jun 2005 (PDT)
| title = Dota 2
}}{{Stub}}</nowiki>}}


::Im just waiting till the little kids get a hold of this, goatse and tubgirl ahoy! &mdash; [[User:^Ben|^Ben]]
Or this way, but this too can cause formatting errors:


====Navigation Change====
{{CodeBlock|src=Source code of the article|<nowiki>{{LanguageBar}}
:Could we get a link to the [[Special:Categories]] page off the main page or in the nav. Like once your on the site in the main page, it seems rather dificuilt to get to any information. - [[user:treb | treb]]
{{Infobox game
| title = Dota 2
}}
{{Stub}}</nowiki>}}


:: I second this. There's no "easy" access to the different categories - maybe a seperate sidebar that lists the major categories? (Level Design, Programming, Modelling, Materials, etc.) As of now, a visitor has to click through a bunch of links or use an ineffective search engine to find the information they want. --[[User:Campaignjunkie|- Campaignjunkie]] 11:20, 12 Jul 2005 (PDT)
=== Let's fix this ===
Variant 1:
{{CodeBlock|src=Template|<nowiki><includeonly><onlyinclude>{{sidebar
| header = {{{title|}}}
}}</onlyinclude></includeonly></nowiki>}}
Variant 2:
{{CodeBlock|src=Template|<nowiki><includeonly>


:There should be a tip section for individual sub-categories. So that we can add things we've learned along the process of creating content for source based games/mods. Every bump along the road we run across its likely 10 or 20 other people will run across it. Sub categories could be coding, mapping, modeling. Just an idea. - [[user:KillahSin | KillahSin]]
Tip: You can write anything you want here, it won't be included in any page as <includeonly> hides everything.


==== Forum ====
<onlyinclude>{{sidebar
:A genuine forum, dedicated to this wiki. The [[talk:main_page|main page discussion]] seems to be the informal chat board, but we'll need something better. Especially if we want to coordinate something, such as a drive to crosslink hundreds of pages. [[User:Geogriffith]]


:: How about implimenting the "Village Pump" idea that wikipedia uses? -[[User:Dan|Dan]]
| header = {{{title|}}}


::: Maybe we can ask a community to house a forum for us? - [[User:^Ben|^Ben]]
}}</onlyinclude>


:::: I'll look around.  While I do have some webspace, I can't host a full forums for everyone who plays anything HL!  I'll post here when I have something.  the onlth problem is that some people will be mods, others not.  Thats how forums work... - [[User:Mooga|Mooga]]
</includeonly></nowiki>}}


:::: Ah! How's This? [http://s12.invisionfree.com/Valve_Wiki_Forums/ Valve Wiki Forums] - [[User:Mooga|Mooga]]
Result:
{{CodeBlock|src=Article|<nowiki>{{LanguageBar}}


::::: I don't like it, sorry. It's not an official Valve forum with parallel user profiles to the wiki. -[[User:Dan|Dan]]
Final view of the info box
:::::: We know it's not offical, it's just a basic way to chat and discuss things outside of the borders of the Wiki. - [[User:Mooga|Mooga]] 22:07, 2 Jul 2005 (PDT)
::::::: I guess the [http://www.chatbear.com/board.plm?b=390&v=flatold VERC forums] are the official forums --[[User:Deathz0rz|deathz0rz]]
:::::::: What's Official about that?  It's only truly official if valve runs it :P - [[User:Mooga|Mooga]] 20:04, 3 Jul 2005 (PDT)


==== Request Page ====
{{Stub}}</nowiki>}}
:How about a page to request tutorials on certain things? ( IE: "Request: Tutorial on using the vtf-maker tool" )
--[[User:Megiddo|Megiddo]] 14:43, 30 Jun 2005 (PDT)
:: [http://s12.invisionfree.com/Valve_Wiki_Forums/ Valve Wiki Forums], You can use this - [[User:Mooga|Mooga]]
:::Or this: [[Valve_Developer_Community:Wiki_To_Do]] --[[User:Geogriffith|Geogriffith]]


====Underscores in article names====
To fix the problem, I just removed the extra paragraph after {{Code|<nowiki><onlyinclude></nowiki>}} and before the HTML tag that closes it. As a result, the wiki engine simply doesn't create unnecessary {{Code|<nowiki><p></p></nowiki>}}, which only makes life better for ordinary users and editors.
:With all the entities flying around, it could get confusing. --[[User:Tom Edwards|Tom Edwards]] 09:44, 29 Jun 2005 (PDT)
::That's what [[:Template:wrongtitle|<nowiki>{{wrongtitle}}</nowiki>]] is for. --[[User:AndrewNeo|AndrewNeo]] 12:07, 6 Jul 2005 (PDT)


====Decompiler====
-[[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 23:26, 13 July 2024 (PDT)
:A .bsp decompiler so we can see how stuff in official maps(like d2_coast_04)were done. - [[User:^Solokiller|^Solokiller]]


::You mean [[Vmex]]? -[[user:Zevensoft|Zevensoft]]
: Can you take a screenshot of what the 'broken' and the 'fixed' Infobox game looked like, side by side? Not its code, but side-by-side comparison of how the end result looked on pages. When I switch between versions before and after your edit, I literally can't see a difference, trying it in Firefox, Chrome or Brave. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 01:08, 14 July 2024 (PDT)


==Can anyone visit my discussion area==
:: I've attached the image below. You can check it yourself. To do this, save the old code {{tl|link=Infobox game}} and after that purge [[Dota 2]].


I need to see how different browsers handle massive images [[User:^Ben|^Ben]]
:: [[File:Example of a paragraph problem.jpg|512px]]
:In Firefox, they loaded one at a time, the smaller ones first, followed a few seconds later by the larger. That is one BIG organization chart. --[[User:Geogriffith|Geogriffith]]
::For some reason whenever I try to load up the big image it will lag firefox badly[[User:^Ben|^Ben]]


== Custom Resources? ==
:: - [[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 01:44, 14 July 2024 (PDT)


I've already seen some mods featured in the Wiki, what else can we put up info about? Maps? Models? I know this is a hard issue, cause I'm sure you wanna keep a pretty decent formating around here. --[[User:Hipshot|Hipshot]] 19:46, 5 Jul 2005 (PDT)
::: Yes, I see it happen on the Dota 2 page, but I don't see the same happening on Half-Life's page. Well, the Dota 2 page also has the stub template. And it has not just newlines, but empty lines between its tags. Does that have anything to do with it? [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 01:48, 14 July 2024 (PDT)
:Why not just host them offsite and make a pretty little article about them with links and screenshots? Of course, the reason they should be on the wiki is for development purposes. So, if you're not going to include a link to the source of the map or model then you probably shouldn't be putting it on the wiki. Just my two bits. [[User:CrazyMonkey|Crazy_Monkey]] 12:32, 7 Jul 2005 (PDT)


== source sound capabilities ==
:::: On the Half-Life page, this problem was not visible because the article elements were spaced too tightly together. As soon as I updated the article code, the extra paragraphs appeared.


I am currently in the process of creating a map.
:::: Here's an example of old code that avoided unnecessary paragraphs:
The maps primmary purpose, is to mix music, like a DJ.
:::: {{CodeBlock|<nowiki>{{LanguageBar}}
{{hl topicon}} {{gldsrc topicon}}


The map should repressent a club.
<span style="color:white; font-weight: bold;">{{For|about=the 1998 game|the documentation on GoldSrc and Half-Life SDK|[[Half-Life SDK]]|}}</span>
{{Game Infobox
| title = Half-Life
}}
[[File:C1a0 testmachine.jpg|thumb|''"They're waiting for you [[Dr. Gordon Freeman|Gordon]]... in the [[Anti-Mass Spectrometer|test chamberrr....]]"'']]</nowiki>}}


I am very satisfied with the lightning effects, source can produce.
:::: Here's an example of new code that would create extra paragraphs without updating in the template:
What about sound?
:::: {{CodeBlock|<nowiki>{{LanguageBar}} {{hl topicon}} {{gldsrc topicon}}


My thought is, to have many short sound clips that will be switched on/off independently by buttons.
<span style="color:white; font-weight: bold;">{{For|about=the 1998 game|the documentation on GoldSrc and Half-Life SDK|[[Half-Life SDK]]|}}</span>


The farthest I have gotton so far is as follows:
{{Game Infobox
| title = Half-Life
}}


2 Clips (both 10.00 seconds long) are played by an ambient_generic.
[[File:C1a0 testmachine.jpg|thumb|''"They're waiting for you [[Dr. Gordon Freeman|Gordon]]... in the [[Anti-Mass Spectrometer|test chamberrr....]]"'']]</nowiki>}}
They run very synchronous as long as they have the same exact length.


Is this the best approach there is? If yes, how many ambient_generic can I run at the same time?
:::: - [[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 01:59, 14 July 2024 (PDT)
What are the limitations in terms of sound with the source engine?


Is there a better approach, what about MP3?
::::: I'm still not seeing any difference between the tab I had open since yesterday and didn't update, a tab I opened while temporarily undoing the Infobox edit, and a tab with that edit and purged.
::::: Or opening the three revisions of the page (yesterday by Nescius and two today by you), they appear to be the exact same height *except* one line at the very bottom that says 'This page was last edited on <timestamp>' but that's not part of it all.
::::: Mediawiki treats single line breaks (text like this)
::::: <source>
first half of sentence
second half of sentence
</source>
::::: as a single line, it ignores the break and it just becomes one line.
::::: Does the same not happen with the code? Wouldn't that cause
::::: <source>
<includeonly><onlyinclude>{{sidebar
::::: </source>
::::: and
::::: <source>
<includeonly><onlyinclude>
{{sidebar
</source>
::::: to be equivalent? [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 02:23, 14 July 2024 (PDT)


Important is, that I don't want the sounds to be pre-mixed, as they will get boring and big in file size; but rather have many short beat clips etc.
:::::: '''Variant 1:'''
:::::: {{CodeBlock|src=Template|<nowiki><includeonly><onlyinclude>{{sidebar</nowiki>}}
:::::: {{CodeBlock|src=Source code of the article|<nowiki>first half of sentence
second half of sentence
{{Infobox game}}</nowiki>}}
:::::: {{CodeBlock|src=Result|<nowiki>first half of sentencesecond half of sentence
{{Infobox game}}</nowiki>}}


Thx (th1alb@gmail.com)
:::::: '''Variant 2:'''
:::::: {{CodeBlock|src=Template|<nowiki><includeonly><onlyinclude>
{{Infobox game}}</nowiki>}}
:::::: {{CodeBlock|src=Source code of the article|<nowiki>first half of sentence
second half of sentence
{{Infobox game}}</nowiki>}}
:::::: {{CodeBlock|src=Result|<nowiki>first half of sentencesecond half of sentence


== humm... ==
{{Infobox game}}</nowiki>}}


Your question about mapping may need better solved on a mapping maillist. I suspect.
:::::: '''Fixing Variant 2 without editing the template:'''
:::::: {{CodeBlock|src=Template|<nowiki><includeonly><onlyinclude>
{{Infobox game}}</nowiki>}}
:::::: {{CodeBlock|src=Source code of the article|<nowiki>first half of sentence
second half of sentence{{Infobox game}}</nowiki>}}
:::::: {{CodeBlock|src=Result|<nowiki>first half of sentencesecond half of sentence
{{Infobox game}}</nowiki>}}
 
:::::: The second variant creates an additional line break in the saved article, because the wiki engine counts a template line break in an article as two line breaks due to the position of the template code under <onlyinclude>. This is what can create extra paragraphs.
 
:::::: - [[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 00:49, 17 July 2024 (PDT)
 
== Address to editors about tabulation ==
 
When you are trying to make your page or template code more readable by creating indents to the left for lines of code, don't use regular spaces, long spaces and other. You make the code very messy and overload the pages with increased character counts. Tabulation has been around for centuries, so please use it in combination with regular spaces, long spaces and other only when necessary.
 
An example of terrible code (note the space between the parameters and =):
 
{{CodeBlock|<nowiki>{{Infobox game
| title        = Dota 2
| image        = Software Cover - Dota 2.jpg
| developer    = [[Valve Corporation]]
| publisher    = Valve Corporation
}}</nowiki>}}
 
An example of good code (It looks the same in the source code wiki editor, but there are fewer characters):
 
{{CodeBlock|<nowiki>{{Infobox game
| title = Dota 2
| image = Software Cover - Dota 2.jpg
| developer = [[Valve Corporation]]
| publisher = Valve Corporation
}}</nowiki>}}
 
The source code wiki editor does not support tabulation, but you can simply go to Windows Notepad (or any other text editor), press {{Key|Tab}}, copy the character, and paste it onto the page as many times as you want. Also, you can use third-party browser add-ons like [[User:Max34/VDCEditor|VDCEditor]].
 
-[[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 23:45, 13 July 2024 (PDT)
 
== Changes to "New to the wiki?" section ==
 
Recently I've been working on modernizing the [[Valve Developer Community:Community portal|Community Portal]] as part of an effort to centralize aspects of the community. For the final step, I've been hoping to edit the "New to the wiki?" section on the main page to link to the Community Portal. I created a mockup which adds two new buttons which you can see [[User:Blixibon/Centralized_community_proposals#Main_Page_edit_mockup|here]], in the bottom right corner of the page.
 
While I've been proactive with my other changes, I'm reluctant to change the Main Page due to the continuing activity and debate surrounding it, as well as the fact my changes would require new translations. I might go ahead and do this if I don't get a response here, but does anyone have any specific input on these changes, or any requests for me to hold off on them? --[[User:Blixibon|Blixibon]] ([[User talk:Blixibon|talk]]) 11:36, 16 July 2024 (PDT)
 
: I think it looks fine and the portal itself does too (WIP notwithstanding).
: It is going to offset things a tiny bit because it's slightly taller, but if Valve releases Deadlock (''probably'' will), it's going to make S2 plaque taller so that'll even that out. (Deadlock links are already in it but hidden).
: I kind of fell out of loop with the most recent changes to the {{tl2|MainPage}} template that had to do with strings/text parameters, though. I assume it (new to wiki box) needs to be patched through that now.
: [[User:Nescius]], [[User:N0one]], [[User:SirYodaJedi]], thoughts? [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 04:14, 17 July 2024 (PDT)
::My only objection would be that in the second mockup there are the links twice. First in the text and second in the form of a button and both link to same page but I don’t hold too strong opinion about this so don’t feel too obliged to address this. As for the MainPage template the way the template works now is you can provide the text as parameter and if you don’t it defaults to the strings in strings subpage. [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 05:22, 17 July 2024 (PDT)
 
::For me, the 2 links to the same page isn't ideal, the text could go ''see Wiki contents'' and ''see Community Portal'', but not holding any opinions about it. For the MainPage, its identical to what Nescius said. But overall its fine for me. [[User:N0one|N0one]] ([[User talk:N0one|talk]]) 09:28, 17 July 2024 (PDT)
 
== Main Page rework? ==
 
Considering reworking Main Page to use the multi page style format i.e. based on interface language and transcluding translated main pages to the 1 true Main Page. The reason is that only 1 true main page exist where the tab next to the discussion says "Main Page" and the page display title is automatically removed along with that horizontal bar. Also another thing that would be good to do is recreating any templates used on the main page as subpages of Template:MainPage uniquely used on main page so that any missteps in editing templates won't be reflected on the main page and to avoid any extra checks related to how the language is handled. [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 15:16, 20 July 2024 (PDT)
 
: Isn't that what we removed so that it's not such a mess to edit and to revert someone's bad edits...
: ''so that any missteps in editing templates won't be reflected on the main page'' - wait, how would that not make them reflect on the main page?
: I'd also like to address, since we're here, the many languages it has that are, for lack of a better term, "fake". Not as in the languages are fake. But half of them only have just 2-3 pages (Cs/, El/, He/, Ka/, Nl/ Sk/ (0 pages), Sv/). There's no apparent demand for them yet they're included there (some don't even have the main page itself translated) as if there's more content for them, but there isn't. I think Main Page translations should be included if there's anything to show behind them and moderated manually. If someone starts with the main page then does nothing more (or even doesn't finish it, as with some of them), they should consider starting from the meat of the thing instead so one day it makes sense to give that language a Main Page presence. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 15:44, 20 July 2024 (PDT)
:: The point is that there is only 1 [[Main Page]]. It has title removed along with the horizontal bar below the title and the tab next to discussion says "Main Page". Translated main pages aren't really main pages and no clue if that horizontal bar can even be removed there.
:: What I mean about the templates is that all templates used on main page would be defined as Template:MainPage subpages and not used anywhere else on the site. For example <code>Template:hl2</code> would be separated as <code>Template:MainPage/hl2</code> and used exclusively on the Main Page and so any edits to the <code>Template:hl2</code> would therefore not in any way affect the Main Page. The editing wouldn't be really much more complicated, pretty much there is just <code>Template:MainPage</code> where design of the main page resides and each translated subpage contains <code><nowiki>{{MainPage| ... translated strings as parameters ... }}</nowiki></code>.
:: Also not seeing the issue with having translations of the main page despite the given language not having many translated pages. The unfinished translations would be probably fine to omit until someone finishes them. [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 18:17, 20 July 2024 (PDT)
::: I see, I didn't understand the templates subpages part as I read it that changes to ''those'' templates (once they become <code>Template:MainPage/[stuff]</code>) would somehow not affect it. I see now what you meant.
::: But if that's to be done, can it also be alleviated of some of these templates? "Half-Life 2" for example can't look different in any translated versions (names don't get translated) so it can just be text (same with Valve, Source/GoldSrc). Well, this is a minor point.
::: The only real "issue" with those abandoned translations is they stretch the language bar by even being there. The {{tl2|Translate}} even says to nominate such articles for deletion. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 01:40, 21 July 2024 (PDT)
:::: In case of Half-Life 2 it would still remain a template that automatically makes the link based on language (ex. linking 'Ru/Half-Life 2' when Russian is chosen) but completely stripped of any unnecessary stuff that regular hl2 template has and is not used on the main page. Imo language bar being long on main page looks fine and would look nice if it filled the line completely. If by abandoned you mean non-fully translated main pages then maybe those can be omitted but I am for keeping any fully translated main page even if there are no other articles in that language [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 09:21, 21 July 2024 (PDT)
::::: Ah damn I forgot about linking to languages. Yes, moot point in my post, then.
::::: About the translations - alright, it's your call. [[User:Cvoxalury|Cvoxalury]] ([[User talk:Cvoxalury|talk]]) 02:27, 22 July 2024 (PDT)
 
== Language pages ==
 
I feel like it would make more sense for language pages to be how they were previously (e.g. [[Main Page/fr]] instead of [[Fr/Main Page]]) since it's a bit odd to have every page as a subpage of one—just a thought. [[User:PabloS|PabloS]] ([[User talk:PabloS|talk]]) 01:21, 26 July 2024 (PDT)
: There are several issues with suffixes for example let's say we are on page info_target. <nowiki>{{SUBPAGENAME}}</nowiki> gives us info_target but on info_target/ru it will just give us ru on every translated page which is not very useful.
: Clicking on backlinks on pages like <code>page1/subpage2/subpage3/ru</code> would always lead us to an english page while as <code>ru/subpage1/subpage2/subpage3</code> each backlink properly goes to ru/ pages. With prefix we can also cheaply determine the language using <nowiki>{{ROOTPAGENAME}}</nowiki> see [[Template:Pagelang]].
: Suffixes also cause search suggestions to become quite useless [[:File:Language_suffix_clutter.png]] --[[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 05:25, 26 July 2024 (PDT)
 
:: I want to add that the previous way of having language pages as suffixes was a nightmare for editing (and I'm sure others can vouch the same) and looking back on page history, and it also broke searches so I'm very happy its gone --[[User:Ficool2|Ficool2]] ([[User talk:Ficool2|talk]]) 06:13, 26 July 2024 (PDT)
 
::: To add to this here are optimizations results that were possible or simpler because of prefixes. Using page [[CBaseAnimating]] as an example it took ~11s to render that page based on what 'show preview' shows at the bottom of the page. After moving to prefixes and editing [[Template:uselang]] and other notices related optimizations it got to around [[:File:Pagerendertime1.png|~6s]]. Further editing all the templates used on CBaseAnimating page to avoid [[Template:autolang]] but use a simple #switch function it got to around [[:File:Pagerendertime2.png|~1.9s]] and some further minor optimization on the page resulted in current ~1.3s. --[[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 09:47, 1 August 2024 (PDT)
 
== CSS suggestions ==
 
I'm doing a lot of stylesheet changes (most of which is trying to fix icons). Feel free to recommend stuff you have problems with or that I need to fix. [[User:PabloS|PabloS]] ([[User talk:PabloS|talk]]) 17:11, 4 November 2024 (PST)
 
=== Fix the top action buttons ===
Right now I only have a suggestion for changing the top action buttons. They should be turned into a gradient with a fully transparent top.
 
'''Example:'''
 
<span style="background-image:linear-gradient(0deg, rgb(28 28 28), transparent); border:1px solid; border-top:0; border-image:linear-gradient(transparent, rgb(82 82 82)) 1; padding:.3em .6em;">Hello, World!</span>
 
'''Code:'''
{{CodeBlock|style=1|<nowiki><span style="background-image:linear-gradient(0deg, rgb(28 28 28), transparent); border:1px solid; border-top:0; border-image:linear-gradient(transparent, rgb(82 82 82)) 1; padding:.3em .6em;">Hello, World!</span> </nowiki>}}
 
[[User:THE OWL|THE OWL]] ([[User talk:THE OWL|talk]]) 02:03, 5 November 2024 (PST)
 
=== Adding dark pre tag ===
I was thinking, should pre tag be darker? Since there are lots of the pre tags on articles, tutorial pages, etc., which is just white (See example) and the current one doesn't fit with the VDC theme.
 
One example is on [[L4D2_Mission_Files#Deadline|L4D2 Mission File]].
 
<syntaxhighlight lang=css>
/* Making the <pre> tag style fit with the VDC style */
pre, .mw-code {
    color: #d1d1d1;
    background-color: #1f1f1f;
    border-left: 6px solid #2f2f2f !important;
    border: 6px solid #1c1c1c;
}
 
/* Some text are darker when its inside the <pre> tag (Also applies to tags that have the pre tag)*/
.mw-highlight .mi,
.mw-highlight .mf,
.mw-highlight .mh,
.mw-highlight .o {
    color: #b5b5b5;
}
 
/* Transparency fix when the TOC minimizes the block */
.mw-highlight {
    background-color: #00000000 !important;
}
 
/* Making the red brighter (e.g 1>px<) */
.mw-highlight .kt {
    color: #ff1f71;
}
/* Making the blue brighter (e.g  #>pagehistory<, li.>selected<, etc...) */
.mw-highlight .nc,
.mw-highlight .nn,
.mw-highlight .nf {
    color: #0082ff;
}
 
/* IMPORTANT! this makes the highlighting text readable inside the <pre> block */
.mw-highlight .hll {
    background-color: #41410e !important;
}
 
/* Made the red color brighter to be readable when theres highlighting */
.mw-highlight .s2 {
    color: #ff3535;
}
</syntaxhighlight>
 
<div style="font-family: monospace,sans-serif; padding: 1em; color: #d1d1d1; background-color: #1f1f1f; border-left: 6px solid #2f2f2f !important; border: 6px solid #1c1c1c;">
<div>Example text</div>
li.<span style="color:#0082ff">selected</span>
 
.<span style="color:#0082ff">mw-something</span> {<br>color: #ff1f71;<br>height:1<span style="color:#ff1f71">px</span><br>}
<div style="background-color: #41410e;">test highlight with <span style="color: #ff3535;">"red"</span> color</div>
</div>
[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 14:19, 5 November 2024 (PST)
 
=== Change color of the dark blue text on dark background ===
<source lang=bat>
%Whoever decided to make the dark blue text on dark background did not think this through at all.%
%It would be nice if we could Change the colors back to something we can actually read without having to highlight all the text% %Thank you.%</source>--[[User:MrFunreal|MrFunreal]] ([[User talk:MrFunreal|talk]]) 08:48, 25 November 2024 (PST)
 
:This should fix it:
:<syntaxhighlight lang=css>
.mw-highlight .nv {
color: #4e4cd0;
}
</syntaxhighlight>
:Example:
<div style="font-family: monospace,sans-serif; padding: 1em; color: #4e4cd0; background-color: #1f1f1f; border-radius: 4px">
%Whoever decided to make the dark blue text on dark background did not think this through at all.%
%It would be nice if we could Change the colors back to something we can actually read without having to highlight all the text% %Thank you.%
</div>
:--[[User:N0one|N0one]] ([[User talk:N0one|talk]]) 12:46, 25 November 2024 (PST)
:Seems to have been fixed with the recent maintenance.<br/>— [[User:SirYodaJedi|SirYodaJedi]] ([[User_talk:SirYodaJedi|talk]]) 09:16, 28 November 2024 (PST)
 
:: Thank you kindly. This is way nicer to look at. --[[User:MrFunreal|MrFunreal]] ([[User talk:MrFunreal|talk]]) 11:25, 29 November 2024 (PST)
 
=== Tables ===
 
The current state of the table classes ''none'', <code>wikitable</code> and <code>standard-table</code> can be observed at [[Help:Editing Toolbar#Table]].<br>
Seeing that I'd like to propose (only as quick-fix):
<syntaxhighlight lang=css>
.wikitable {
  background-color:inherit;
  color:inherit;
}
</syntaxhighlight>
I was trying a transparent dark color for {{T|Yes}} etc. Currently, <code>class=wikitable</code> has a white background as base and a black caption text. When inspecting the CSS in my browser, I encountered conflicting definitions for <code>wikitable</code> intended for both light and dark mode. I guess many of them can be removed, which would make the quick and dirty fix above redundant.<br>
--[[User:Popcorn|popcorn]] ([[User talk:Popcorn|talk]]) 21:17, 3 December 2024 (PST)

Latest revision as of 11:52, 11 May 2025

English (en)Deutsch (de)Español (es)Русский (ru)
Icon-message-48px.png
This is the discussion page of Main Page. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
Stop sign.png
Is this what you're looking for?
This page is for discussing the Valve Developer Community's Main Page. For discussion on VDC in general, see the Main discussion page. For questions about developing, please visit the New Help Desk! This page is not for support questions!
Breathe-package-generic.png Archives

Welcome to the discussion page for the Main Page! To start a new section, click on the Add topic tab above. To respond in an existing section, click on the edit link to the right of the section title. Please don't forget to sign your comments, using either three tildes (~~~) for your name, or four tildes (~~~~) for your name and a timestamp
or (Recommended) you can click on Add Topic button from the {{discussion page}} template, it will sign your comments automatically.

Thank you Valve!

For the first time in years, Valve came back! We can now edit the Main Page again. Thanks Valve. Now, please update the wiki so that it doesnt run on a horribly outdated mediawiki pls Equalizer5118 (talk) 4:04, 7 Jun 2023 (UTC)

Update to the site!

This site is updated from 1.31.10 to 1.39.7! (and other softwares), there is also a new tag <langconvert>. --N0one (talk) 07:39, 28 November 2024 (PST)

I think the new design looks good.

Maybe make the VDC Navbox template make it look like the main page, or maybe make a new one and keep the old one? Because i think the navbox maybe should be here Mr. SystemError (talk) 8:45, 30 Apr 2024 (UTC)

Wow guys, the new front page looks great!, If you can make sure its been changed properly to your native languag Seal Enthusiast (talk) 19:31, 3 May 2024 (UTC)
Took me 10 minutes to figure out how to make the rest of the main page fit with the Valve-Tech template, since i found the right colors, I went with it. I also made the colored boxes buttons.
Also i ported other lang to /strings subpage and transcluded from English page, except on Hebrew which uses its own page (flipped the grid design and made the text to be read right to left) N0one (talk) 20:53, 3 May 2024 (UTC)

Going about tidying up the Main Page

So I composed a version of the main page in my sandbox, here.

I've changed certain element proportions, I moved the article count underneath the title (and got rid of other stats - the text on the page explains why). There's room for expansion underneath Source 2 section, for future games. I've replaced string lookups with simple text right in the page (with the exception of the navbox, as it's a template and I'd rather include it as template than replicate it).

Basically, it is tidier, more economical, easier to maintain.

The question is, how to go about using it?

I can replace the Main Page's code with it. The biggest con is it'll lose all the languages, as there don't exist translated versions of the Main Page, per se (the translations that currently exist aren't done that way, so they wouldn't show up as flags). They'll be lost until translated versions are reestablished. Which used to be the old way of doing it.

I can replace the Multipage's /en version with it. It'll be less intrusive, but some elements are declared on Multipage's base page, like copyright and legal section, they'll remain as string lookups, which I ideally didn't want. It'll also not change appearance to anyone using non-eng version.

I won't pretend I have the best solution, but I thought if anything I should start discussing this, here, now.

Cvoxalury (talk) 11:39, 19 June 2024 (PDT)

This one's a bit of a weird one, because with the main page being a bit of a mess of inline CSS it's a tad harder to pick things out. Perhaps more common things could be put as classes in common.css to reduce overall noise for styled pages, but that has the downside of needing staff action each time something should be tweaked, as well as being yet another page to edit (which we're trying to avoid, but I think it's more justifiable than the other stuff in this case). --DarkOK (talk) 17:37, 19 June 2024 (PDT)
Right, but I think in the meantime, the main page can still be edited to be less, well, messy, as it currently houses more elements than it needs. I don't want to impose my version without asking (and listening), however. Cvoxalury (talk) 10:02, 20 June 2024 (PDT)
I took the leap of faith and tidied up the page. I did a soft version of what I proposed, not replacing strings with text and such (so it should be as adaptable as it was, just shorter now). If I really did wrong by users by doing that, revert it. Cvoxalury (talk)

Autoconfirmed protection

I can't check for myself; can autoconfirmed people here still edit the Main Page? I'm not sure if autoconfirmed protection functions properly here. PabloS (talk) 16:57, 19 June 2024 (PDT)

I was able to edit the main page Darnias (talk) 17:22, 19 June 2024 (PDT)
Yes, i'm autoconfirmed and i can edit the Main Page and semi-protected pages. --N0one (talk) 01:11, 20 June 2024 (PDT)
Yep, works for me! --Seal Enthusiast 07:43, 24 June 2024 (PDT)
Why shouldn't it be protected so only moderators (and above) can edit it? It and its individual elements (templates it's composed of) could use more elevated protection. Cvoxalury (talk) 13:06, 24 June 2024 (PDT)

Avoiding clutter on the main page

I implore my fellow editors to not clutter the main page anymore. Sprinkling icon confetti, coloured text (not that someone did; this is saying preemptively) and things like that is purely cosmetic, style that doesn't improve the substance.

There's icons for the main branches of the wiki - Goldsrc, Source and Source 2 - its main three 'kingdoms' if you will - that's really enough.

We're climbing out of the dark times when it looked this bad, and we're currently at the point where it's pretty optimal. Reasons like 'looks nicer' is what led to looking like that pic in the first place.

Cvoxalury (talk) 08:14, 24 June 2024 (PDT)

Yeah it's looks pretty clean and good enough, another thing about the icon, the CS2 workshop icon is unofficial anyway (Valve didn't made one like other Source 2 games, so I made them based off HL Alyx Workshop Tools), the only problem that it doesn't seem to look good sometime on smaller resolution (16px), and probably looks bit too similar to HLA, but it works. --leonidakarlach (talk) 04:38, 25 June 2024 (PDT)
To the user User:Seal Enthusiast adding icons to the Source 2 games: they're useless clutter. It's not about bandwidth, it's about what's needed. Icons aren't needed, three of them are almost the same, everyone can read the text right next to them. Don't revert undos, as that becomes edit warring. Cvoxalury (talk) 02:35, 3 July 2024 (PDT)
Why don't you discuss it with others before you undo the change yourself? You are the one starting the war of edits now. At this point, there is nothing stopping you from changing the minds of the majority (and there are at least 2 people who disagree with you, not counting me and others who just don't care), but you just undo even a minor change instead of waiting for a response to your complaint 😒
--THE OWL (talk) 03:55, 3 July 2024 (PDT)
Apologies for any issues adding the icons may cause. I was not aware there was a "unspoken rule" of not updating the wiki to a more modern style. Once again sorry for any trouble I may have caused. --Seal Enthusiast 05:34, 3 July 2024 (PDT)
This passive aggression isn't solving anything. I see that User:PabloS reverted the removal of the icons, as a final decision in my eyes. Alright. Whatever. Three of them are the same blue square, I still think they're without use, but it's not that essential. Cvoxalury (talk) 02:26, 12 July 2024 (PDT)

Text on the main page

What exactly is the practical reason right now behind keeping text (like the welcome text, or text on the buttons) as string lookups instead of just having it like normal text? It only appears once per every version of the page, and every version has its own text. Cvoxalury (talk) 14:12, 13 July 2024 (PDT)

Added strings as parameters of Template:MainPage which should be less hassle free with ability for quick preview. Nescius (talk) 04:02, 15 July 2024 (PDT)

Address to editors about paragraphs

When you create templates, pay attention to the paragraph problem. Seriously, a bunch of new templates break the formatting again, and the place to fix it people just put all the damn text on one line, making everything unreadable.

Let's look at the problem

I'll use part of the {{Infobox game}} code for an example. This template is fixed now.

Template
<includeonly><onlyinclude> {{sidebar | header = {{{title|}}} }} </onlyinclude></includeonly>

Consider the example above. We can see that after <includeonly><onlyinclude> the editor has created a paragraph by moving the template code one line below, and also created a paragraph before the closing HTML tags. What is the consequence of this? When the editor writes code like this:

Source code of the article
{{LanguageBar}} {{Infobox game | title = Dota 2 }} {{Stub}}

The wiki engine will create this:

Article
{{LanguageBar}} <p></p> <p></p> Final view of the info box <p></p> <p></p> {{Stub}}

A user with no knowledge of template editing would try to fix it this way:

Source code of the article
{{LanguageBar}}{{Infobox game | title = Dota 2 }}{{Stub}}

Or this way, but this too can cause formatting errors:

Source code of the article
{{LanguageBar}} {{Infobox game | title = Dota 2 }} {{Stub}}

Let's fix this

Variant 1:

Template
<includeonly><onlyinclude>{{sidebar | header = {{{title|}}} }}</onlyinclude></includeonly>

Variant 2:

Template
<includeonly> Tip: You can write anything you want here, it won't be included in any page as <includeonly> hides everything. <onlyinclude>{{sidebar | header = {{{title|}}} }}</onlyinclude> </includeonly>

Result:

Article
{{LanguageBar}} Final view of the info box {{Stub}}

To fix the problem, I just removed the extra paragraph after <onlyinclude> and before the HTML tag that closes it. As a result, the wiki engine simply doesn't create unnecessary <p></p>, which only makes life better for ordinary users and editors.

-THE OWL (talk) 23:26, 13 July 2024 (PDT)

Can you take a screenshot of what the 'broken' and the 'fixed' Infobox game looked like, side by side? Not its code, but side-by-side comparison of how the end result looked on pages. When I switch between versions before and after your edit, I literally can't see a difference, trying it in Firefox, Chrome or Brave. Cvoxalury (talk) 01:08, 14 July 2024 (PDT)
I've attached the image below. You can check it yourself. To do this, save the old code {{Infobox game}} and after that purge Dota 2.
Example of a paragraph problem.jpg
- THE OWL (talk) 01:44, 14 July 2024 (PDT)
Yes, I see it happen on the Dota 2 page, but I don't see the same happening on Half-Life's page. Well, the Dota 2 page also has the stub template. And it has not just newlines, but empty lines between its tags. Does that have anything to do with it? Cvoxalury (talk) 01:48, 14 July 2024 (PDT)
On the Half-Life page, this problem was not visible because the article elements were spaced too tightly together. As soon as I updated the article code, the extra paragraphs appeared.
Here's an example of old code that avoided unnecessary paragraphs:
{{LanguageBar}} {{hl topicon}} {{gldsrc topicon}} <span style="color:white; font-weight: bold;">{{For|about=the 1998 game|the documentation on GoldSrc and Half-Life SDK|[[Half-Life SDK]]|}}</span> {{Game Infobox | title = Half-Life }} [[File:C1a0 testmachine.jpg|thumb|''"They're waiting for you [[Dr. Gordon Freeman|Gordon]]... in the [[Anti-Mass Spectrometer|test chamberrr....]]"'']]
Here's an example of new code that would create extra paragraphs without updating in the template:
{{LanguageBar}} {{hl topicon}} {{gldsrc topicon}} <span style="color:white; font-weight: bold;">{{For|about=the 1998 game|the documentation on GoldSrc and Half-Life SDK|[[Half-Life SDK]]|}}</span> {{Game Infobox | title = Half-Life }} [[File:C1a0 testmachine.jpg|thumb|''"They're waiting for you [[Dr. Gordon Freeman|Gordon]]... in the [[Anti-Mass Spectrometer|test chamberrr....]]"'']]
- THE OWL (talk) 01:59, 14 July 2024 (PDT)
I'm still not seeing any difference between the tab I had open since yesterday and didn't update, a tab I opened while temporarily undoing the Infobox edit, and a tab with that edit and purged.
Or opening the three revisions of the page (yesterday by Nescius and two today by you), they appear to be the exact same height *except* one line at the very bottom that says 'This page was last edited on <timestamp>' but that's not part of it all.
Mediawiki treats single line breaks (text like this)
first half of sentence
second half of sentence
as a single line, it ignores the break and it just becomes one line.
Does the same not happen with the code? Wouldn't that cause
<includeonly><onlyinclude>{{sidebar
:::::
and
<includeonly><onlyinclude>
{{sidebar
to be equivalent? Cvoxalury (talk) 02:23, 14 July 2024 (PDT)
Variant 1:
Template
<includeonly><onlyinclude>{{sidebar
Source code of the article
first half of sentence second half of sentence {{Infobox game}}
Result
first half of sentencesecond half of sentence {{Infobox game}}
Variant 2:
Template
<includeonly><onlyinclude> {{Infobox game}}
Source code of the article
first half of sentence second half of sentence {{Infobox game}}
Result
first half of sentencesecond half of sentence {{Infobox game}}
Fixing Variant 2 without editing the template:
Template
<includeonly><onlyinclude> {{Infobox game}}
Source code of the article
first half of sentence second half of sentence{{Infobox game}}
Result
first half of sentencesecond half of sentence {{Infobox game}}
The second variant creates an additional line break in the saved article, because the wiki engine counts a template line break in an article as two line breaks due to the position of the template code under . This is what can create extra paragraphs.
- THE OWL (talk) 00:49, 17 July 2024 (PDT)

Address to editors about tabulation

When you are trying to make your page or template code more readable by creating indents to the left for lines of code, don't use regular spaces, long spaces and other. You make the code very messy and overload the pages with increased character counts. Tabulation has been around for centuries, so please use it in combination with regular spaces, long spaces and other only when necessary.

An example of terrible code (note the space between the parameters and =):

{{Infobox game | title = Dota 2 | image = Software Cover - Dota 2.jpg | developer = [[Valve Corporation]] | publisher = Valve Corporation }}

An example of good code (It looks the same in the source code wiki editor, but there are fewer characters):

{{Infobox game | title = Dota 2 | image = Software Cover - Dota 2.jpg | developer = [[Valve Corporation]] | publisher = Valve Corporation }}

The source code wiki editor does not support tabulation, but you can simply go to Windows Notepad (or any other text editor), press Tab , copy the character, and paste it onto the page as many times as you want. Also, you can use third-party browser add-ons like VDCEditor.

-THE OWL (talk) 23:45, 13 July 2024 (PDT)

Changes to "New to the wiki?" section

Recently I've been working on modernizing the Community Portal as part of an effort to centralize aspects of the community. For the final step, I've been hoping to edit the "New to the wiki?" section on the main page to link to the Community Portal. I created a mockup which adds two new buttons which you can see here, in the bottom right corner of the page.

While I've been proactive with my other changes, I'm reluctant to change the Main Page due to the continuing activity and debate surrounding it, as well as the fact my changes would require new translations. I might go ahead and do this if I don't get a response here, but does anyone have any specific input on these changes, or any requests for me to hold off on them? --Blixibon (talk) 11:36, 16 July 2024 (PDT)

I think it looks fine and the portal itself does too (WIP notwithstanding).
It is going to offset things a tiny bit because it's slightly taller, but if Valve releases Deadlock (probably will), it's going to make S2 plaque taller so that'll even that out. (Deadlock links are already in it but hidden).
I kind of fell out of loop with the most recent changes to the {{MainPage}} template that had to do with strings/text parameters, though. I assume it (new to wiki box) needs to be patched through that now.
User:Nescius, User:N0one, User:SirYodaJedi, thoughts? Cvoxalury (talk) 04:14, 17 July 2024 (PDT)
My only objection would be that in the second mockup there are the links twice. First in the text and second in the form of a button and both link to same page but I don’t hold too strong opinion about this so don’t feel too obliged to address this. As for the MainPage template the way the template works now is you can provide the text as parameter and if you don’t it defaults to the strings in strings subpage. Nescius (talk) 05:22, 17 July 2024 (PDT)
For me, the 2 links to the same page isn't ideal, the text could go see Wiki contents and see Community Portal, but not holding any opinions about it. For the MainPage, its identical to what Nescius said. But overall its fine for me. N0one (talk) 09:28, 17 July 2024 (PDT)

Main Page rework?

Considering reworking Main Page to use the multi page style format i.e. based on interface language and transcluding translated main pages to the 1 true Main Page. The reason is that only 1 true main page exist where the tab next to the discussion says "Main Page" and the page display title is automatically removed along with that horizontal bar. Also another thing that would be good to do is recreating any templates used on the main page as subpages of Template:MainPage uniquely used on main page so that any missteps in editing templates won't be reflected on the main page and to avoid any extra checks related to how the language is handled. Nescius (talk) 15:16, 20 July 2024 (PDT)

Isn't that what we removed so that it's not such a mess to edit and to revert someone's bad edits...
so that any missteps in editing templates won't be reflected on the main page - wait, how would that not make them reflect on the main page?
I'd also like to address, since we're here, the many languages it has that are, for lack of a better term, "fake". Not as in the languages are fake. But half of them only have just 2-3 pages (Cs/, El/, He/, Ka/, Nl/ Sk/ (0 pages), Sv/). There's no apparent demand for them yet they're included there (some don't even have the main page itself translated) as if there's more content for them, but there isn't. I think Main Page translations should be included if there's anything to show behind them and moderated manually. If someone starts with the main page then does nothing more (or even doesn't finish it, as with some of them), they should consider starting from the meat of the thing instead so one day it makes sense to give that language a Main Page presence. Cvoxalury (talk) 15:44, 20 July 2024 (PDT)
The point is that there is only 1 Main Page. It has title removed along with the horizontal bar below the title and the tab next to discussion says "Main Page". Translated main pages aren't really main pages and no clue if that horizontal bar can even be removed there.
What I mean about the templates is that all templates used on main page would be defined as Template:MainPage subpages and not used anywhere else on the site. For example Template:hl2 would be separated as Template:MainPage/hl2 and used exclusively on the Main Page and so any edits to the Template:hl2 would therefore not in any way affect the Main Page. The editing wouldn't be really much more complicated, pretty much there is just Template:MainPage where design of the main page resides and each translated subpage contains {{MainPage| ... translated strings as parameters ... }}.
Also not seeing the issue with having translations of the main page despite the given language not having many translated pages. The unfinished translations would be probably fine to omit until someone finishes them. Nescius (talk) 18:17, 20 July 2024 (PDT)
I see, I didn't understand the templates subpages part as I read it that changes to those templates (once they become Template:MainPage/[stuff]) would somehow not affect it. I see now what you meant.
But if that's to be done, can it also be alleviated of some of these templates? "Half-Life 2" for example can't look different in any translated versions (names don't get translated) so it can just be text (same with Valve, Source/GoldSrc). Well, this is a minor point.
The only real "issue" with those abandoned translations is they stretch the language bar by even being there. The {{Translate}} even says to nominate such articles for deletion. Cvoxalury (talk) 01:40, 21 July 2024 (PDT)
In case of Half-Life 2 it would still remain a template that automatically makes the link based on language (ex. linking 'Ru/Half-Life 2' when Russian is chosen) but completely stripped of any unnecessary stuff that regular hl2 template has and is not used on the main page. Imo language bar being long on main page looks fine and would look nice if it filled the line completely. If by abandoned you mean non-fully translated main pages then maybe those can be omitted but I am for keeping any fully translated main page even if there are no other articles in that language Nescius (talk) 09:21, 21 July 2024 (PDT)
Ah damn I forgot about linking to languages. Yes, moot point in my post, then.
About the translations - alright, it's your call. Cvoxalury (talk) 02:27, 22 July 2024 (PDT)

Language pages

I feel like it would make more sense for language pages to be how they were previously (e.g. Main Page/fr instead of Fr/Main Page) since it's a bit odd to have every page as a subpage of one—just a thought. PabloS (talk) 01:21, 26 July 2024 (PDT)

There are several issues with suffixes for example let's say we are on page info_target. {{SUBPAGENAME}} gives us info_target but on info_target/ru it will just give us ru on every translated page which is not very useful.
Clicking on backlinks on pages like page1/subpage2/subpage3/ru would always lead us to an english page while as ru/subpage1/subpage2/subpage3 each backlink properly goes to ru/ pages. With prefix we can also cheaply determine the language using {{ROOTPAGENAME}} see Template:Pagelang.
Suffixes also cause search suggestions to become quite useless File:Language_suffix_clutter.png --Nescius (talk) 05:25, 26 July 2024 (PDT)
I want to add that the previous way of having language pages as suffixes was a nightmare for editing (and I'm sure others can vouch the same) and looking back on page history, and it also broke searches so I'm very happy its gone --Ficool2 (talk) 06:13, 26 July 2024 (PDT)
To add to this here are optimizations results that were possible or simpler because of prefixes. Using page CBaseAnimating as an example it took ~11s to render that page based on what 'show preview' shows at the bottom of the page. After moving to prefixes and editing Template:uselang and other notices related optimizations it got to around ~6s. Further editing all the templates used on CBaseAnimating page to avoid Template:autolang but use a simple #switch function it got to around ~1.9s and some further minor optimization on the page resulted in current ~1.3s. --Nescius (talk) 09:47, 1 August 2024 (PDT)

CSS suggestions

I'm doing a lot of stylesheet changes (most of which is trying to fix icons). Feel free to recommend stuff you have problems with or that I need to fix. PabloS (talk) 17:11, 4 November 2024 (PST)

Fix the top action buttons

Right now I only have a suggestion for changing the top action buttons. They should be turned into a gradient with a fully transparent top.

Example:

Hello, World!

Code:

<span style="background-image:linear-gradient(0deg, rgb(28 28 28), transparent); border:1px solid; border-top:0; border-image:linear-gradient(transparent, rgb(82 82 82)) 1; padding:.3em .6em;">Hello, World!</span>

THE OWL (talk) 02:03, 5 November 2024 (PST)

Adding dark pre tag

I was thinking, should pre tag be darker? Since there are lots of the pre tags on articles, tutorial pages, etc., which is just white (See example) and the current one doesn't fit with the VDC theme.

One example is on L4D2 Mission File.

/* Making the <pre> tag style fit with the VDC style */
pre, .mw-code {
    color: #d1d1d1;
    background-color: #1f1f1f;
    border-left: 6px solid #2f2f2f !important;
    border: 6px solid #1c1c1c;
}

/* Some text are darker when its inside the <pre> tag (Also applies to tags that have the pre tag)*/
.mw-highlight .mi, 
.mw-highlight .mf,
.mw-highlight .mh,
.mw-highlight .o {
    color: #b5b5b5;
}

/* Transparency fix when the TOC minimizes the block */
.mw-highlight {
    background-color: #00000000 !important;
}

/* Making the red brighter (e.g 1>px<) */
.mw-highlight .kt {
    color: #ff1f71;
}
/* Making the blue brighter (e.g  #>pagehistory<, li.>selected<, etc...) */
.mw-highlight .nc,
.mw-highlight .nn,
.mw-highlight .nf {
    color: #0082ff;
} 

/* IMPORTANT! this makes the highlighting text readable inside the <pre> block */
.mw-highlight .hll {
    background-color: #41410e !important;
}

/* Made the red color brighter to be readable when theres highlighting */
.mw-highlight .s2 {
    color: #ff3535;
}
Example text

li.selected

.mw-something {
color: #ff1f71;
height:1px
}

test highlight with "red" color

N0one (talk) 14:19, 5 November 2024 (PST)

Change color of the dark blue text on dark background

%Whoever decided to make the dark blue text on dark background did not think this through at all.%
%It would be nice if we could Change the colors back to something we can actually read without having to highlight all the text% %Thank you.%

--MrFunreal (talk) 08:48, 25 November 2024 (PST)

This should fix it:
.mw-highlight .nv {
	color: #4e4cd0;
}
Example:

%Whoever decided to make the dark blue text on dark background did not think this through at all.% %It would be nice if we could Change the colors back to something we can actually read without having to highlight all the text% %Thank you.%

--N0one (talk) 12:46, 25 November 2024 (PST)
Seems to have been fixed with the recent maintenance.
SirYodaJedi (talk) 09:16, 28 November 2024 (PST)
Thank you kindly. This is way nicer to look at. --MrFunreal (talk) 11:25, 29 November 2024 (PST)

Tables

The current state of the table classes none, wikitable and standard-table can be observed at Help:Editing Toolbar#Table.
Seeing that I'd like to propose (only as quick-fix):

.wikitable {
  background-color:inherit;
  color:inherit;
}

I was trying a transparent dark color for {{Yes}} etc. Currently, class=wikitable has a white background as base and a black caption text. When inspecting the CSS in my browser, I encountered conflicting definitions for wikitable intended for both light and dark mode. I guess many of them can be removed, which would make the quick and dirty fix above redundant.
--popcorn (talk) 21:17, 3 December 2024 (PST)