Page 21 of 22

Posted: Sat Mar 31, 2018 2:13 pm
by mastina
Also, probably something which should be linked in said article: we have a page for bandwagons. Not counterwagons, mind you (that might exist but if so I don't recall where off the top of my head), and yes it is pretty old so in of itself could likely use a little touch-up, but it's something existing which is innately tied to VCA in that VCA is analyzing bandwagons visible on votecounts.

Posted: Sat Mar 31, 2018 11:39 pm
by Mathdino
Aaaand done. I dare people to tell me the new VCA page isn't pretty as fuck :P

If anyone wants to do a quick thing to help, all the words in the terminology sections could use redirects to the VCA page itself, along with upper case and lower case versions of the page title and the section headers.

I'm also not sure what else to put in the Vote Progressions section, but I think continuing to talk about it on the "official" VCA page leads down the road of subjectivity. I tried to be as objective and timeless as possible (for example, I don't think it'll ever be in question that most counterwagons to scum lynches are scum-motivated).

Edit: For the record, I titled the page "VCA" in line with Wikipedia's Manual of Style and a bit of subjectivity -- I don't often see VCA spelled out, and a lot of VCA nowadays doesn't even refer to looking at the moderator's actual vote counts. I think the abbreviation is more meaningful than the full phrase.

Posted: Sun Apr 01, 2018 4:46 pm
by Lycanfire
Maybe because it's been so long since I took a look at many of the pages but the wiki is like some person that went on a hunger strike.

I just added a section of practical theory on sheeping. It's been
7 years
since its last overhaul, and it still said "btw, people that sheep are probably bad at mafia, and the people being sheeped are really good."

Posted: Mon Apr 02, 2018 3:49 pm
by T-Bone

Posted: Tue Apr 03, 2018 12:52 am
by wgeurts
Kison, if you're reading this thread and have spair time could you possibly write a quick thing for the wiki?

Specifically converting A-Z to 1-26 in the setups catgeories. Basically I wrote this ugly something that did this after adding a template to the categories in mention, but as it was hideously written it broke after the wiki updated a while back. All the setups are sorted by size in categories, A being 1 player, B 2, etc. 26 is variable player size.

Posted: Tue Apr 03, 2018 4:14 am
by Kison
Do you have a link to what it was that you wrote? As a wiki newbie I'll have to kind of figure it out as I go but if you have something that used to work it'll help.

Posted: Wed Apr 04, 2018 5:20 am
by wgeurts
In post 505, Kison wrote:Do you have a link to what it was that you wrote? As a wiki newbie I'll have to kind of figure it out as I go but if you have something that used to work it'll help.
I had taught myself JavaScript in like 30 mins and wrote that, I'll find a version.

Posted: Wed Apr 04, 2018 7:11 am
by Kison
Ah, okay, if it's JavaScript I will be able to get it done quickly. If you can just point me in the direction of how to get JavaScript to run on a Wiki page, I can figure it out from there. :)

Posted: Wed Apr 04, 2018 7:28 am
by callforjudgement
You can't run JavaScript on individual pages. What you can do is to change the JavaScript for the entire wiki, either for yourself, or (if you're an admin, and you are) for everyone. You'd edit Special:Mypage/common.js or MediaWiki:common.js respectively. (That said, it's been a long time since I did this so I forget the exact way you get code to load at the correct time.)

That said, I'm not quite sure what the request here is for, specifically.

Posted: Wed Apr 04, 2018 7:35 am
by Kison
Cool, just fixed a null error we apparently had. Who knows what else that was breaking since it was right at the top of the script.

I think he wants the ability to change
this & other setup categories
to group by player count instead of alphabetically, by automatically pulling the player count from the setup.

Posted: Wed Apr 04, 2018 7:40 am
by Mathdino
It's already listed by playercount. wgeurts overrode the alphabetical sort by pulling playercount and sorting by that. The problem is since the wiki updated, it converts the playercount to the corresponding ASCII symbol. SS3 is listed under C, We Need A Fifth under D, Vengeful under E.

wgeurts is asking for a way to convert it back.

Posted: Wed Apr 04, 2018 7:52 am
by Kison
Gotcha, thanks for the clarification. Let me see what I can do.

Posted: Wed Apr 04, 2018 8:20 am
by Kison
Alright, I set it up similar to how you had it before, wgeurts. Basically if there is an element with ID
setupFix
anywhere on the page, it'll rename the categories to numbers(A=1, B=2 ... Z=26). Otherwise it won't affect the page.

Hopefully we can find a better way for us to do this that doesn't require JS in the future.

Posted: Wed Apr 04, 2018 8:51 am
by wgeurts
Great, I'll implement that then. Thanks!

Posted: Wed Apr 04, 2018 8:07 pm
by BBmolla
Anyone know what happened to the art subforum?

I remembered starting work on icons for the wiki but I can't find them anymore

Posted: Wed Apr 04, 2018 8:10 pm
by BBmolla
https://wiki.mafiascum.net/index.php?title=Bird_7P

Here I was kind of starting work, don't like the style anymore so I'll make some new ones.

Is there any way to make the icons the bullet points? Like if I make them circles can they be used as the bullet points for the listed roles?

Posted: Thu Apr 05, 2018 2:33 am
by callforjudgement
I tried adding a class "nobullet" to make this work, but it isn't working when added to the sitewide CSS. It worked when I tested it with my own personal CSS, and when I look at it in Firefox, it tells me that the rule is in use, and that the list elements match it, but for some reason fails to apply the rule. Chromium doesn't give me as much information, but it still shows the bullet too. So removing bullet points from this sort of list isn't possible with my current knowledge of CSS, someone else will have to figure out what's going on there.

Posted: Thu Apr 05, 2018 4:16 am
by Kison
Looks like you did everything correctly, but the Common.css file had a parsing error further up, which broke everything below:

Missing closing bracket:

Code: Select all

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;

/* default skin for navigation boxes */
table.navbox {

Fixed that and now your styles work. :)

Posted: Thu Apr 05, 2018 7:31 am
by wgeurts
lol, I broke that

Posted: Thu Apr 05, 2018 5:11 pm
by BBmolla
Any way to automate the front page rotating through setup of month and role of month each month?

Posted: Fri Apr 06, 2018 2:10 am
by callforjudgement
We have ParserFunctions installed, so yes. Off the top of my head, use {{#time:}} to get at the name or number of the month (I forget what argument you need for that), and then use that to form the name of a page that gets transcluded onto the main page. Then we just need twelve pages to transclude from (or 24 if you want the setup summary page and role summary page to be on separate pages). Note that we can't transclude the setup/role pages themselves – they're too large – so we'd need to write summaries that get transcluded.

Posted: Thu Apr 16, 2020 4:18 am
by Knightmare491
Don't know where else to post this......
There should be a gambit called (don't know what it should be called), where a town PR fake claims VT, hoping that mafia will believe the claim and not night kill them.

Posted: Thu Apr 16, 2020 10:47 am
by popsofctown
I'm not sure that happens often enough to get a name, it's generally considered to be bad play since it's so damaging to setup spec.

A wiki page that discusses lying at town as a broader topic and incorporated the possibility seems like a more appropriate place to have the info available.

Posted: Thu Apr 16, 2020 11:11 am
by Alyssa The Lamb
there are times where lying about your role is a good idea.

if you can't tell that the situation you're in calls for it or that it's a good idea, then you just shouldn't. The benefit from lying about your role when it's a good idea to is not higher than how badly it damages the game when it isn't and you do so anyways.

Posted: Thu Apr 16, 2020 12:08 pm
by popsofctown
I did it a couple games ago I just don't think it's high frequency enough to warrant an article.