MafiaWiki Thread

This forum is for discussion related to the game.
wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #150  (ISO)  » Mon May 18, 2015 3:14 pm

Made the category and updated the navigation. You can get the setup template to sort pages in it by adding "Design Contest Winning" behind one of the type parameters. Feel free to add more information to the category page itself, I only wrote a brief description as a placeholder.
Maybe adding a reference to it in Category:Open Setups would be good as well.

You can find the new category here: Category:Design Contest Winning Setups
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #151  (ISO)  » Mon May 18, 2015 3:19 pm

I've been busy lately but I really need to get back to finishing the things I started making like fixing the bugs in the CSS template and adding all game history data to the SetupHistory Databases to make maintenance easier later.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #152  (ISO)  » Mon May 18, 2015 3:20 pm

Oh, for those that hadn't noticed. PokerFace has been adding some missing role pages to the wiki. Things like goo now exist and some pages have been merged together or improved.
"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 #153  (ISO)  » Tue May 19, 2015 6:32 pm

Hey wgeurts so im dumb

How do I add the setups to that category?

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #154  (ISO)  » Wed May 20, 2015 12:44 am

"type=Design Contest Winning
type2=Design Contest Winning"

Or any type up to type6. This is for the {{Setups
#Stuff#
}}
By the way.
"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 #155  (ISO)  » Wed May 20, 2015 4:04 am

ty

Maruchan
Noodles
 
User avatar
Joined: July 06, 2011
Location: Norfolk, VA

Post Post #156  (ISO)  » Mon May 25, 2015 5:50 pm

In post 13, wgeurts wrote:Thanks, it started with me getting fed up with finding stuff at I got carried away.

I did this once on some website for some wiki that I don't remember.

Then i got burnt out.

and now i never have the time.
Used to love playing with the wikis.


Speaking of wiki, I just started (before i read any of this) a setup page for Grand Idea, I might want your help with later.
Show

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #157  (ISO)  » Tue May 26, 2015 10:17 am

I'm not burnt out, I'm just busy with my education at the moment. I usually do stuff in the holidays.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #158  (ISO)  » Sun May 31, 2015 12:34 pm

So in 4 weeks I'm free because of holidays, I'm planning to finish my to-do list during this period. This currently consists of:
  • Sorting and categorising the Theory and Templates category.
  • Add the setupHistory template to all setups and generate statistics using it.
  • Redo the CSS template to fix some flaws (my JavaScript has improved since I made this).
  • Make the Auto Navigation Menu more aesthetically pleasing.
  • Finish the guide to making cool scummers pages.
If you would like anything done now's the time to say so.
Setup Page? Sure.
Sort Something? Sure.
Some Random Feature? Sure.
Anything you want added/changed.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

Plotinus
Jack of All Trades
 
User avatar
Joined: March 13, 2015

Post Post #159  (ISO)  » Thu Jun 04, 2015 1:20 pm

It would be neat if there was a way to search the wiki by setup. like 4:9 or 3:1:9 or 2:2:9. I tried typing “2:2:9” into the search and it didn’t work.

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #160  (ISO)  » Fri Jun 05, 2015 9:05 am

What do you mean by "search by setup"?
If you mean by searching ratio of roles it would have to be done by adding that info to all the pages.
Maybe I could make a tag template to do this?
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

Plotinus
Jack of All Trades
 
User avatar
Joined: March 13, 2015

Post Post #161  (ISO)  » Fri Jun 05, 2015 9:14 am

i mean searching by ratio, yeah. If I wanted to see all 15 player games that have 5 scum in them (singleball) or 10:4:1 or 10:3:2 or whatever.

Like, Matrix6 is 7:2. If I want to see what other 7:2 setups are out there, there currently isn’t a good way to do that.I could start here: http://wiki.mafiascum.net/index.php?tit ... pen_Setups and then have to click on each page 1 by 1. Or Elemental Large was 3:1:12 and if I was interested in what other 3:1:12 setups exist I wouldn’t be able to find that easily.

This would also solve the question of “okay, we have 11 people, if 1 of them is moderator, what setups can we run together?"

Psyche
mr. personality
 
User avatar
Joined: April 28, 2011
Location: pacing the road to damascus
Pronoun: He

Post Post #162  (ISO)  » Fri Jun 05, 2015 9:32 am

In post 160, wgeurts wrote:What do you mean by "search by setup"?
If you mean by searching ratio of roles it would have to be done by adding that info to all the pages.
Maybe I could make a tag template to do this?


couldn't you just have another set of categories
i know all the words to this song

Plotinus
Jack of All Trades
 
User avatar
Joined: March 13, 2015

Post Post #163  (ISO)  » Fri Jun 05, 2015 9:44 am

Matrix6 could be in Category:9p and Category:7-2 and Elemental Mafia could be in Category:12-3-1 and Category:16p

N
Jack of All Trades
 
User avatar
Joined: August 03, 2012

Post Post #164  (ISO)  » Sat Jun 06, 2015 2:58 am

is there a quick way to find all links to the old normal queue and replace them with links to the new queue?
GTKAS

Share And Enjoy (go stick your head in a pig)

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #165  (ISO)  » Sat Jun 06, 2015 4:00 pm

In post 164, N wrote:is there a quick way to find all links to the old normal queue and replace them with links to the new queue?

Yes.
But it's not really an elegant solution.

It'd basically involve me adding JS to replace all the old links with a new one each time the page loads. Which I'd rather not do. I'm willing to do so while you're replacing them to fill any gaps left, but it'd just be lazy (and slow down load times every so slightly for slower devices) to rely on this.

@Psyche:
How many setup categories do we need?
You'd need a seperate category for each ratio as the sort key has already been used to sort them all by size.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

N
Jack of All Trades
 
User avatar
Joined: August 03, 2012

Post Post #166  (ISO)  » Sun Jun 07, 2015 12:17 am

I don't want to automatically change the links, I just want a quick way to find them all so that I can then change them.
GTKAS

Share And Enjoy (go stick your head in a pig)

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #167  (ISO)  » Sun Jun 07, 2015 3:11 am

what's the link?
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

N
Jack of All Trades
 
User avatar
Joined: August 03, 2012

Post Post #168  (ISO)  » Mon Jun 08, 2015 3:59 am

the old thread is viewtopic.php?f=4&t=29494 and the new thread is viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?
GTKAS

Share And Enjoy (go stick your head in a pig)

toolenduso
Mafia Scum
 
User avatar
Joined: April 10, 2007
Pronoun: He

Post Post #169  (ISO)  » Mon Jun 08, 2015 5:21 pm

So I've been messing around with game record templates, as in tables that you use to keep track of all your games and what your roles were and who the mod was and whether you win or lost, etc., etc. It takes a lot of copying and pasting and a lot of going through game by game and gathering little bits of info.

I like these tables on people's wikis because it makes it easier to research meta and easier for each player to keep track of their own games and which player's they've played with. It's kind of like a mafia journal.

So I started thinking of ways to make it easier for players to make their own tables using templates, and I started wondering whether it would be all that difficult to build some sort of interface that would make things easier for people who don't know how to handle the template codes. Like just a bunch of boxes that ask each thing about the game that the code asks, but in a more user-friendly way.

Another thing is that I need to figure out a way to make the template I'm using work better with roles that don't have their own wiki pages. Right now, if it looks for a wiki page that doesn't exist it'll mess up the code and return a bunch of brackets along with the text and no link. Would be better to just have it redlink.

Anyway, this stuff is beyond my very limited coding know-how so I was wondering if anybody has some thoughts on how to accomplish either of those things? Or with the UI idea, whether that would even be worth the work that it would take.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437

"THIS IS SOLID BEER CAP LOGIC." -- LlamaFluff

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #170  (ISO)  » Tue Jun 09, 2015 12:32 am

In post 168, N wrote:the old thread is viewtopic.php?f=4&t=29494 and the new thread is viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?

http://wiki.mafiascum.net/index.php?tit ... rofile=all
Voila, only one page in need of updating.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #171  (ISO)  » Tue Jun 09, 2015 12:35 am

As for tool, I can look into making one however it won't be made anytime soon as I've got other things first on my list. As for fixing the roles link:
Try {{#IFEXIST... Google it and you'll find an article on it along with all the other default template functions.
"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

N
Jack of All Trades
 
User avatar
Joined: August 03, 2012

Post Post #172  (ISO)  » Tue Jun 09, 2015 7:14 am

In post 170, wgeurts wrote:
In post 168, N wrote:the old thread is viewtopic.php?f=4&t=29494 and the new thread is viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?

http://wiki.mafiascum.net/index.php?tit ... rofile=all
Voila, only one page in need of updating.

pretty sure there should be more
GTKAS

Share And Enjoy (go stick your head in a pig)

toolenduso
Mafia Scum
 
User avatar
Joined: April 10, 2007
Pronoun: He

Post Post #173  (ISO)  » Wed Jun 10, 2015 3:21 pm

In post 171, wgeurts wrote:As for tool, I can look into making one however it won't be made anytime soon as I've got other things first on my list.


Yeah it's more a pet project than a priority I think.

In post 171, wgeurts wrote:As for fixing the roles link:
Try {{#IFEXIST... Google it and you'll find an article on it along with all the other default template functions.


Cool I'll look into that, thanks.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437

"THIS IS SOLID BEER CAP LOGIC." -- LlamaFluff

toolenduso
Mafia Scum
 
User avatar
Joined: April 10, 2007
Pronoun: He

Post Post #174  (ISO)  » Wed Jun 10, 2015 3:33 pm

Haha wow so that turned out to be a far easier fix than I thought it would be. Turns out the template called for the role cell to jump through a bunch of hoops. I just replaced it with |align="center"|[[{{{role}}}]] and now it just redlinks whenever the page doesn't exist.

That ifexist tag is interesting though, could be useful for the future.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437

"THIS IS SOLID BEER CAP LOGIC." -- LlamaFluff

PreviousNext
[ + ]

Return to Mafia Discussion