Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Guide How To Make A Wiki Page

Discussion in 'Wynncraft' started by Grvphene, Oct 6, 2015.

Tags:
?

Is this guide helpful?

  1. Yes

    64.3%
  2. No

    7.1%
  3. tl;dr

    28.6%
Thread Status:
Not open for further replies.
  1. Grvphene

    Grvphene Wiki guru VIP+

    Messages:
    1,103
    Likes Received:
    2,478
    Trophy Points:
    153
    Guild:
    Minecraft:
    Welcome!

    This guide is for everyone who wants to become a wiki editor but doesn't know where to start. At first the source code seems very confusing, but it's easy once you understand how it works. So without further ado, let me show you how to add a quest to the wiki using the Thieving Rodents quest as an example. You can see the full source code here: https://wiki.wynncraft.com/index.php?title=Thieving_Rodents&action=edit

    There's a message on the page that you don't have permission to edit the text, because you have to be logged in. To do that, click "Log in" at the top right of the page or "Create account" if you don't have an account yet. When you are logged in and confirmed your email address, you can edit the page. All changes will be saved and listed in the Recent changes so vandalism can be reverted.

    In this guide I will first explain what a page looks like and how the code works. In the second part I will show you how to take the quest dialogues and quest book information from the game to the wiki.

    Part 1: The code

    Now let's look at the code. First you'll see a so called Infobox. This is a template that displays the data that you enter in a nice fashion and adds an image. Be sure to use the fitting infobox for each kind of page you create. The list of usable infoboxes can be found here: https://wiki.wynncraft.com/index.php?title=Template:Infobox#Pre-built_Infobox_Templates
    You can recognize templates by their curly braces: {{Template}}. Inside the template, the parameters are separated by a "|". They consist of the parameter name (e.g. "name") and the value (e.g. "Thieving Rodents"). In the next row you can see a link, recognizable by the square brackets: "[[Ragni]]". If you click on it, you get to the wiki page with that name. Under "reward", there is a list of items, made by the asterisks "*".

    Code:
    {{Infobox/Quest
    | name = Thieving Rodents
    | location = [[Ragni]]
    | level = 2
    | reward = As follows
    * 80 [[Experience Points]]
    * 20 [[Emeralds]]
    }}
    
    After the infobox comes the first paragraph of the article. It usually only has one or two sentences and gives a brief description of the subject, also known as the abstract. The title of the page has to be in the sentence, usually as the first word, and designated with three apostrophes, making it fat. Two apostrophes make the word italic instead, but should only be used sparingly, for example to mark a message that appears in the chat, but is not part of the dialogue. The abstract is followed by the table of contents, which is automatically created. You don't need to do anything here. The table of contents lists all the headlines in the article. Headlines are created by adding equal signs (=) around the word. The number of equal signs determine the level of the headline. For example, ==Stage 1== is a level 2 headline. Level 1 headlines are reserved for the title of the page and should not be used. All quest stages should have their own section with a level 2 headline. A section for a quest stage consists of the quest book entry and the dialogue when the stage is completed. If a specific NPC is mentioned in the quest book, add a link to that NPC: "Talk to [[Farmer Kelri]]". The dialogue is formatted as a list with the NPC names in bold. If any special items are mentioned that have their own wiki page, add a link to them: "and [[Furious Wife|my wife]] would kill me". As you can see here, the displayed text of the link can be changed by adding the preferred text behind a vertical bar, much like in templates.

    After the quest stages, you can add personal tips in the ==Tips== section, and bugs in the ==Bugs== section. This concludes part one of the wiki editing guide. Continue reading in part two where I show you how to add the dialogues to the page.
    ________________________________
    Part 2: How to copy the dialogues

    This part is rather tricky, as it involves digging in the game files and some formatting magic. After you start the game, look in your .minecraft folder and go to the logs folder. It contains all archived chat messages you ever wrote and read, plus internal game information. The file "latest.log" contains the log of your current game session. Open this file in an editor, preferably Notepad++ or a similar code editor that can handle regular expressions. Then you go to the start of the quest and open your questbook to put the location and level of the quest into the infobox. When you're done, talk to the NPC and look at your log file afterwards. You'll find something like this:

    Code:
    [16:21:11] [Client thread/INFO]: [CHAT] [1/6] Farmer Kelri: Oh ho ho! A fresh recruit!
    [16:21:11] [Client thread/INFO]: [CHAT] [2/6] Farmer Kelri: Good to see the army is starting to grow again! I've been waiting for a bit of help from someone with some backbone!
    [16:21:12] [Client thread/INFO]: [CHAT] [3/6] Farmer Kelri: You see, I have a bit of a rat infestation on my farm.
    [16:21:12] [Client thread/INFO]: [CHAT] [4/6] Farmer Kelri: Nothing I can't handle myself I assure you! But you see, one of the blighters stole my wedding ring, and my wife would kill me if she ever found out.
    [16:21:12] [Client thread/INFO]: [CHAT] [5/6] Farmer Kelri: I don't know which one took it, but if she sees me looking for it, she will find out. So could you go thump a few of them and find it?
    [16:21:13] [Client thread/INFO]: [CHAT] [6/6] Farmer Kelri: Bring me back [1 Wedding Ring] as soon as you find it! Oh, and, don't tell my wife. If you're able to help me, I'll reward you kindly!
    [16:21:16] [Client thread/INFO]: [CHAT] [New Quest Started: Theiving Rodents]
    
    Copy that into a new text file. Now look at your quest book again. It contains the instructions for the second stage. Type them manually under the copied chat log. Continue like that for all quest stages. Keep looking for the chat message "Quest book updated", especially in very long quests like Wynn Excavation Site D. When you're done, your file will look something like this:

    Code:
    Talk to Farmer Kelri near Ragni at [-756,67,-1661]
    [16:21:11] [Client thread/INFO]: [CHAT] [1/6] Farmer Kelri: Oh ho ho! A fresh recruit!
    [16:21:11] [Client thread/INFO]: [CHAT] [2/6] Farmer Kelri: Good to see the army is starting to grow again! I've been waiting for a bit of help from someone with some backbone!
    [16:21:12] [Client thread/INFO]: [CHAT] [3/6] Farmer Kelri: You see, I have a bit of a rat infestation on my farm.
    [16:21:12] [Client thread/INFO]: [CHAT] [4/6] Farmer Kelri: Nothing I can't handle myself I assure you! But you see, one of the blighters stole my wedding ring, and my wife would kill me if she ever found out.
    [16:21:12] [Client thread/INFO]: [CHAT] [5/6] Farmer Kelri: I don't know which one took it, but if she sees me looking for it, she will find out. So could you go thump a few of them and find it?
    [16:21:13] [Client thread/INFO]: [CHAT] [6/6] Farmer Kelri: Bring me back [1 Wedding Ring] as soon as you find it! Oh, and, don't tell my wife. If you're able to help me, I'll reward you kindly!
    [16:21:16] [Client thread/INFO]: [CHAT] [New Quest Started: Theiving Rodents]
    Kill Rats until they drop a wedding ring and return to Farmer Kelri
    [16:34:50] [Client thread/INFO]: [CHAT] [1/8] Farmer Kelri: Oh, back so soon? That means you found it!
    [16:34:50] [Client thread/INFO]: [CHAT] [2/8] Farmer Kelri: Here, give it to me, and hopefully my wife won't see.
    [16:34:50] [Client thread/INFO]: [CHAT] [3/8] Farmer Kelri: Oh...
    [16:34:51] [Client thread/INFO]: [CHAT] [4/8] Farmer Kelri: ... This isn't my ring. This is a washer! The dang rodents must be in the nest! They really will eat anything.
    [16:34:51] [Client thread/INFO]: [CHAT] [5/8] Farmer Kelri: Maybe you could take a look in their hive for me? I know, it is a horrible place and I've been meaning to close it up.
    [16:34:51] [Client thread/INFO]: [CHAT] [6/8] Farmer Kelri: But the chances are the rat we're looking for is in there. Its over in the field, and don't forget to make sure my wife doesn't see you.
    [16:34:51] [Client thread/INFO]: [CHAT] [7/8] Farmer Kelri: Bring me [1 Wedding Ring] as soon as you take care of the rat who stole it!
    [16:34:52] [Client thread/INFO]: [CHAT] [8/8] Farmer Kelri: The nest is in the cave right over there.
    Find the ring in the hive and return to Farmer Kelri
    [16:37:15] [Client thread/INFO]: [CHAT] [1/4] Farmer Kelri: Ohh, you found it! Thank the king! I think I might have gotten away with this afterall!
    [16:37:16] [Client thread/INFO]: [CHAT] [2/4] Farmer Kelri: Well, thank you very much soldier. Are you looking to head to Detlas soon? Its the hub city of the whole province, everyone goes there!
    [16:37:16] [Client thread/INFO]: [CHAT] [3/4] Farmer Kelri: I wanted to go once, but my wife wouldn't let me. You should go! Just follow the emerald trail through the forest.
    [16:37:16] [Client thread/INFO]: [CHAT] [4/4] Farmer Kelri: There are dangerous monsters there though, so make sure you are strong enough. Anyway, heres a small reward for helping me out.
    [16:37:16] [Client thread/INFO]: [CHAT] [Quest Completed: Thieving Rodents]
    [16:37:16] [Client thread/INFO]: [CHAT] [+80 Experience Points]
    [16:37:16] [Client thread/INFO]: [CHAT] [+20 Emeralds]
    [16:37:16] [Client thread/INFO]: [CHAT] [1/1] Farmer Kelri: You'll have to tell me all about Detlas sometime! I've not had too much time to talk lately, my wife keeps me busy.
    
    Now you need to get all this into the correct format to add it to the wiki. The easiest way is using regular expressions to remove unwanted parts. But first, add the rewards to the infobox. After that, you can remove those lines. Now make a section for each quest stage and add the instructions from the questbook with an asterisk in the front. Remove those lines and all lines that are not part of the dialogue from the log now. Then, you have to get the NPC's name fat and with an asterisk in front. As I said, the easiest way is to use a regular expression similar to "^.+(Farmer Kelri:)" to replace the matches with "*'''Farmer Kelri:'''". For complicated quests with a lot of NPCs, you have to repeat this process several times.

    [​IMG]
    [​IMG]

    Now you can conveniently add the dialogue to the wiki page. Don't forget to add '''Dialogue:''' before each dialogue. Now you are almost done! Add a few links to the items used in the quest (e.g. the wedding ring) and the NPCs (e.g. Furious Wife). When you're done, enter a summary in the box and click on "Show preview". This will display the results under the page. Look for any formatting and spelling mistakes and fix them in your code. When everything is correct, click "Save page" and you're done! You have now created a quest wiki page. I hope this detailed guide helped you to understand how everything works and wasn't too long.

    For compact reference in the future while editing pages, look at these guides:
    https://www.mediawiki.org/wiki/Help:Editing_pages
    https://www.mediawiki.org/wiki/Help:Formatting

    Thank you for reading! I hope we can see some more editors for the Gavel update, because adding 50+ new quests will be an awful lot of work. On top of that, we need to make pages for all the new NPCs and items! So, see you soon! I'll keep an eye on the recent changes list!
     
    Last edited: Oct 6, 2015
  2. Recku

    Recku The lord of the ducks VIP

    Messages:
    245
    Likes Received:
    119
    Trophy Points:
    69
    Guild:
    Minecraft:
    Thanks! I knew how all this codes worked, but didn't knew that they were used by a wiki too! Thanks for all the info mate :D
     
  3. pelopo3546

    pelopo3546 Nope im to dope for soap. VIP+

    Messages:
    278
    Likes Received:
    342
    Trophy Points:
    72
    Minecraft:
    First guide ive ever seen on this nice.
     
  4. BriBoy

    BriBoy Specialist

    Messages:
    29
    Likes Received:
    9
    Trophy Points:
    47
    Yea I would agree. Good work on making a Wiki Guide!
     
  5. Enderman1234

    Enderman1234 Famous Adventurer VIP+

    Messages:
    1,021
    Likes Received:
    728
    Trophy Points:
    117
    Minecraft:
    Nicely done :D
     
  6. Edam_Cheese

    Edam_Cheese The Cheesiest of them All

    Messages:
    133
    Likes Received:
    55
    Trophy Points:
    55
    Minecraft:
    This will be pretty useful, I've been meaning to get around to properly understanding the code to improve my articles.
    Looking a the NPC speech though, I created all of Wynn Excavation A by manually typing up the text as it came. I feel this would be much easier for shorter quests than going through the game files.
     
  7. TheRagingHorse

    TheRagingHorse Skilled Adventurer

    Messages:
    14
    Likes Received:
    7
    Trophy Points:
    28
    Thanks for the help!
     
  8. Grvphene

    Grvphene Wiki guru VIP+

    Messages:
    1,103
    Likes Received:
    2,478
    Trophy Points:
    153
    Guild:
    Minecraft:
    For short quests like this example, it could be faster if you type it by hand if you don't have experience in this technique. However, my technique ensures you copy the original text without spelling mistakes, and is much more convenient for longer quests. Look at Wynn Excavation Site D with its 29 quest stages. That would be a pain to copy by hand.
     
    SaltedsMum and Edam_Cheese like this.
  9. Thunder

    Thunder Chief Thunder HERO

    Messages:
    3,818
    Likes Received:
    6,408
    Trophy Points:
    217
    Guild:
    Minecraft:
    *tries to confirm email*
    Failed to add recipient: (email here) [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)]

    This is why the wiki isn't being updated. Stuff like this happens. This error has been around for two or more months.
     
  10. Grvphene

    Grvphene Wiki guru VIP+

    Messages:
    1,103
    Likes Received:
    2,478
    Trophy Points:
    153
    Guild:
    Minecraft:
    So all the new users that register almost every day can't verify their email?
     
  11. Thunder

    Thunder Chief Thunder HERO

    Messages:
    3,818
    Likes Received:
    6,408
    Trophy Points:
    217
    Guild:
    Minecraft:
    Pretty much. Tama hasn't gotten around to fixing it yet.
     
  12. Grvphene

    Grvphene Wiki guru VIP+

    Messages:
    1,103
    Likes Received:
    2,478
    Trophy Points:
    153
    Guild:
    Minecraft:
    It's been a while since I last used this gif
    [​IMG]
     
  13. MapleJava

    MapleJava Simplay Here

    Messages:
    44
    Likes Received:
    51
    Trophy Points:
    49
    thanks obama
     
Thread Status:
Not open for further replies.