MafiaWiki Thread

This forum is for discussion related to the game.
mastina
Mason
 
User avatar
Joined: October 08, 2016
Location: Between Snohomish and Monroe, WA
Pronoun: She

Post Post #500  (ISO)  » Sat Mar 31, 2018 8:13 pm

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.
Avatar by Aristophanes.

Title Fairy Feedback
July Title Event: Title Troll is ongoing!

Mathdino
Survivor
 
User avatar
Joined: February 24, 2013
Location: Right Behind You
Pronoun: He

Post Post #501  (ISO)  » Sun Apr 01, 2018 5:39 am

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.

Lycanfire
Mafia Scum
 
User avatar
Joined: June 04, 2016
Pronoun: It

Post Post #502  (ISO)  » Sun Apr 01, 2018 10:46 pm

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."

T-Bone
A Cut Above
 
User avatar
Joined: February 18, 2011
Location: Shrug City
Pronoun: He

Post Post #503  (ISO)  » Mon Apr 02, 2018 9:49 pm

#TeamLizzy (or I will ban you)

"Playing in a Newbie game doesn't count" ~ PenguinPower, Feb 2019

wgeurts
Pokédex
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #504  (ISO)  » Tue Apr 03, 2018 6:52 am

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.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #505  (ISO)  » Tue Apr 03, 2018 10:14 am

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.

wgeurts
Pokédex
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #506  (ISO)  » Wed Apr 04, 2018 11:20 am

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.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #507  (ISO)  » Wed Apr 04, 2018 1:11 pm

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. :)

callforjudgement
Microprocessor
 
User avatar
Joined: September 01, 2011

Post Post #508  (ISO)  » Wed Apr 04, 2018 1:28 pm

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.
scum · scam · seam · team · term · tern · torn · town

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #509  (ISO)  » Wed Apr 04, 2018 1:35 pm

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.

Mathdino
Survivor
 
User avatar
Joined: February 24, 2013
Location: Right Behind You
Pronoun: He

Post Post #510  (ISO)  » Wed Apr 04, 2018 1:40 pm

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.

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #511  (ISO)  » Wed Apr 04, 2018 1:52 pm

Gotcha, thanks for the clarification. Let me see what I can do.

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #512  (ISO)  » Wed Apr 04, 2018 2:20 pm

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.

wgeurts
Pokédex
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #513  (ISO)  » Wed Apr 04, 2018 2:51 pm

Great, I'll implement that then. Thanks!
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

BBmolla
Open Book
 
User avatar
Joined: May 29, 2011
Pronoun: He

Post Post #514  (ISO)  » Thu Apr 05, 2018 2:07 am

Anyone know what happened to the art subforum?

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

BBmolla
Open Book
 
User avatar
Joined: May 29, 2011
Pronoun: He

Post Post #515  (ISO)  » Thu Apr 05, 2018 2:10 am

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?

callforjudgement
Microprocessor
 
User avatar
Joined: September 01, 2011

Post Post #516  (ISO)  » Thu Apr 05, 2018 8:33 am

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.
scum · scam · seam · team · term · tern · torn · town

Kison
.GIFted
 
User avatar
Joined: January 22, 2007
Location: San Diego, CA

Post Post #517  (ISO)  » Thu Apr 05, 2018 10:16 am

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. :)

wgeurts
Pokédex
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #518  (ISO)  » Thu Apr 05, 2018 1:31 pm

lol, I broke that
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

BBmolla
Open Book
 
User avatar
Joined: May 29, 2011
Pronoun: He

Post Post #519  (ISO)  » Thu Apr 05, 2018 11:11 pm

Any way to automate the front page rotating through setup of month and role of month each month?

callforjudgement
Microprocessor
 
User avatar
Joined: September 01, 2011

Post Post #520  (ISO)  » Fri Apr 06, 2018 8:10 am

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.
scum · scam · seam · team · term · tern · torn · town

Previous
[ + ]

Return to Mafia Discussion