Wiki Needs Your Help! Calling all translators ~

Discussion in 'Site Discussion' started by Beth, Jul 13, 2015.

  1. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    Something that we need to work on beyond this are potions/foods/use items.
     
  2. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    Ya, I started working on the spreadsheets, but there were quite a few and I got tired of formatting them. I have them finished now, will post shortly. We also need maps too...if anyone could set that up for the wiki that'd be awesome =)
     
  3. ThatWasMyKil

    ThatWasMyKil The Battle Bishop!
    Administrator

    Messages:
    403
    Likes Received:
    273
    Level:
    30
    Job:
  4. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
     
  5. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    #25 ayumilove, Jul 17, 2015 at 6:08 PM
    Last edited by a moderator: Jul 17, 2015
    2 people like this.
  6. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    Awesome work! I saw that the cannons page were not formatted like the rest but was too lazy to update them all XD.

    I started working on the monsters and noticed we don't actually have a link to it from the sidebar navigations, and I don't have the administrative rights to make that change. So I was wondering if @Zelkova or someone who can could add a link to http://tria.tv/wiki/Monsters from the side bars. We will eventually also need links for Maps, and Etc/Consumables but since the modules for those aren't set up I wouldn't worry about those for now.

    I'm currently working on a spreadsheet for all the maps. But the way the info is presented on Maview is making my life difficult. I have some trouble trying to figure out which map correspond to where on the world map, and also figuring out a best way to label them. Maybe you guys can help look at it and make some suggestions when I post it, hopefully tmr if I manage to get things sorted out @@.
     
  7. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    #27 ayumilove, Jul 18, 2015 at 9:37 AM
    Last edited by a moderator: Jul 18, 2015
    I have created the following pages:
    1. http://tria.tv/wiki/Module:Usable
    2. http://tria.tv/wiki/Template:UsableNav
    3. http://tria.tv/wiki/Crystals
    4. http://tria.tv/wiki/Pagers
    5. http://tria.tv/wiki/Potions
    6. http://tria.tv/wiki/Buff_Potions

    I have populated these pages with few items as examples on how to populate the rest of the items from Maview.

    The item is split into 2 sub-categories: Consumable and NonConsumable.
    NonConsumable : http://tria.tv/wiki/Red_Crystal
    Consumable : http://tria.tv/wiki/Red_Herb

    I have also added a quick link in each page for easier access to edit the item data.

    p.s. Is there a way to delete pages as Wiki Editor? I find the redirect a bit pointless if it's used for renaming pages as it makes a more of a mess as time goes by. Redirected pages:
    http://tria.tv/wiki/Air_Taxi
    http://tria.tv/wiki/Trader_Helicopter
    http://tria.tv/wiki/Ambulance_Helicopter
     
  8. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    @ayumilove I can enable the ability to delete pages for Wiki Editors. We had a bot problem about a month back and since then I tightened up permissions quite a bit.

    As of right now you should be able to delete and protect pages as a Wiki Editor.
     
    2 people like this.
  9. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    #29 Beth, Jul 18, 2015 at 11:43 AM
    Last edited by a moderator: Jul 18, 2015
    Thanks for setting these up! I really like having the edit data link for the item pages instead of having to go through the data page. Is it possible to implement the EditDataURL function for the other modules?

    Also I've added the map sheets to the original post, I was wondering what you suggest for the formatting of the world map. I really want to embed it as an image map like this:
    [​IMG]
    So that clicking on the image can bring you to the map instance directly. But I'm also worried you can't embed an image map into a zoomable image plugin or something of that sort. I think alternatively we could use a smaller version of the map that's subdivided into regions (1A, 1B, 1C, 2A, 2B, 2C etc) , which loads the full size map when selected, and from there you can link each map instance? Or what do you think is the best way of handling the world map-instance map linking? Considering the map is probably going to expand in size relatively quickly in the future.
     
    2 people like this.
  10. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
  11. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    #31 Beth, Jul 18, 2015 at 9:53 PM
    Last edited by a moderator: Jul 18, 2015
    These could be really helpful with the thumbnail table format. But I can't find these anywhere on Maview. Where can I find an updated/complete set of these icons?

    Also I need another favour @Zelkova. I'm hoping to set up the world map as an image map (In addition to the labels) and I noticed we have the ImageMap extension already in the Extensions folder, however it doesn't seem to be enabled.
    According to the MediaWiki help page found here. For the MediaWiki version we have (1.24 I believe?) you need to add this code:
    require_once "$IP/extensions/ImageMap/ImageMap.php";
    to the file LocalSettings.php with some sort of code editing software.
    The alternative is to enable raw HTML codes for the wiki which was not recommended.

    Also with the amount of pages/data now on the wiki, making a small change might mean going back through hundreds of pages to make the same edit. I think an extension like MassEditRegex would be helpful. But it's just a suggestion, up to you if and when you want to implement it.

    I hope all this is not too much trouble. Thanks!
     
  12. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Hi guys,

    I have created a few pages in http://tria.tv/wiki/Equipment
    1. http://tria.tv/wiki/Earrings
    2. http://tria.tv/wiki/Pendants
    3. http://tria.tv/wiki/Rings
    4. http://tria.tv/wiki/Belts
    5. http://tria.tv/wiki/Capes
    6. http://tria.tv/wiki/Face_Accessories (moustache, sunglasses, etc)
    7. http://tria.tv/wiki/Warrior_Hats
    8. http://tria.tv/wiki/Warrior_Tops
    9. http://tria.tv/wiki/Warrior_Bottoms
    10. http://tria.tv/wiki/Warrior_Gloves
    11. http://tria.tv/wiki/Warrior_Shoes

    using the http://tria.tv/wiki/Module:Equipment .

    I have customized this module so it can be used flexibly for all equipment (weapon, armour, accessory) since they share the same behavior/aspects. This also helps reduce the number of modules created for each specific types.

    The armour format can be re-used for Common, Bowman, Magician, Rouge.

    Sample of new format:
    List : http://tria.tv/wiki/Pendants (primary stat, secondary stat)
    Item : http://tria.tv/wiki/Ruby_Pendant (primary stat, secondary stat, notes for tradeable/dyeable/disassemblable)

    I noticed there are skins in Maview which can be used to apply on shields,etc (not sure how to categorized this under, Skin Equip?)
     
    2 people like this.
  13. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    Looks great! Thanks for all the hard work, especially with coding/editing all the modules since it's beyond the abilities of most of us. I'm not sure about the skins as I've never seen them, but I noticed that many level one equip/weapons are cash items? Should we create a separate column/category for cash items? Or just include them with w/e category they belong to and somehow indicate it as cash shop item?
     
  14. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    They were extracted from the Alpha client. I wish I had more.

    I have enabled this plugin now.

    I'll think about this one.
     
    2 people like this.
  15. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    Thanks!
    I decided to split the Maps page into the Map View and List View since both have their advantages. The map view lets you locate the map you are looking for in relation to the overworld map, while the list view lets you compare and sort maps by levels or other comparable attributes.

    http://tria.tv/wiki/Maps
    http://tria.tv/wiki/World_Map
    http://tria.tv/wiki/Map_List

    Currently, the only functional links on the World Map image map are for the maps that I've created which can be seen through the map list page. But all the hotspot coordinates are there and already set up, so all that needs to be done is to update the link when you create the page.

    I managed to figure out and set up the module and template for maps but someone should probably look it over to make sure they are ok.
    http://tria.tv/wiki/Module:Map
    http://tria.tv/wiki/Template:Map

    I'm really sleepy so let me know if I fucked anything up.
     
  16. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    #36 ayumilove, Jul 19, 2015 at 9:23 AM
    Last edited by a moderator: Jul 19, 2015
    List of all major modules on Tria and Google Spreadsheet (URL) can be found on my page http://tria.tv/wiki/User:Ayumilove

    Fixed http://tria.tv/wiki/Module:Map to point to the correct Maview page.

    Also did some code refactoring by moving duplicated functions into http://tria.tv/wiki/Module:Util

    Added a new module and template to cater for NPC :
    http://tria.tv/wiki/Module:NPC
    http://tria.tv/wiki/Template:NPC
    http://tria.tv/wiki/Template:NPCNav

    Sample NPC:
    http://tria.tv/wiki/Tria
    http://tria.tv/wiki/Maya

    @Beth
    Looks awesome, what software you used to determine those poly coordinates for each particular area/map?

    Yeah, I just edited the page so it includes the direct link to the page with the label [[page name | label - page name]] . This is to link to map pages with proper name instead of labels.


    I fixed the map issue a bit. Should be ok now.

    @Zelkova
    Do you know any ways modules installed on the mediawiki that allows lua to perform http request?

    I'm thinking of a way of to have Lua grab XML data from (e.g. http://tria.tv/wiki/api.php?action=...egorymembers&cmtitle=Category:Bows&cmlimit=20 ), then parse it into a proper table used in the pages. Just by calling a function automatically do all of this job instantly.

    This way, we can avoid doing manually populating tables in all other departments (equipment/usable/maps/etc) Example: http://tria.tv/wiki/Map_List which has a many maps.
     
  17. Beth

    Beth City Guard
    Wiki Editor

    Messages:
    33
    Likes Received:
    31
    Level:
    30
    Job:
    I used Adobe Fireworks to draw the image maps. If you want to edit/add to it I can send you the image file over Discord or something. I believe there are also free online softwares for generating imagemaps but not sure how good they are.

    Thanks again for checking the codes!
     
  18. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    @ayumilove I am unfamiliar with a plugin for Mediawiki that performs that task. B> @Locke ><
     
  19. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    #39 ayumilove, Jul 20, 2015 at 4:37 PM
    Last edited by a moderator: Jul 20, 2015
    @Beth @Zelkova @Locke

    I have added some new functionality to the http://tria.tv/wiki/Module:Util and added a new module http://tria.tv/wiki/Module:Helper
    - This includes http://tria.tv/wiki/Template:Helper

    Take a look at the http://tria.tv/wiki/Map_List - The table rows are populated automatically.

    1. The {{Helper | {{PAGENAME}} | getRows}} grabs data from http://tria.tv/wiki/Map_List/data
    2. That particular data page contains the XML data, TemplateType, ModuleFunction
    - Syntax : {{TemplateType | pageName | moduleFunction }}
    - Equivalent to: {{Map | Amherst | row }}

    3. The Module:Helper will pass those data to the Module:Util to process it before returning MediaWiki format rows.
    - The Module:Util derives the pageName from the XML data.

    Reason that the XML is put inside the ../data page because :
    I couldn't find any built-in/extension on Tria MediaWiki for Lua script to grab the data from tria.tv api.php

    Note: Until the above solution can be obtained, you will need to manually grab the XML from the api (example: http://tria.tv/wiki/api.php?action=...egorymembers&cmtitle=Category:Map&cmlimit=500) and update the http://tria.tv/wiki/Map_List/data (xml = ???) page.

    Note-2: To use this functionality on other listing pages, simply edit the following: templateType, moduleFunction and xml
    -- Syntax {{templateType | pageName | moduleFunction}}
    - example: {{Usable|Red Herb|consumable_row}} --> templateType = Usable, moduleFunction = consumable_row
    - example: {{Map|Amherst|row}} --> templateType = Map, moduleFunction = row


    ------------------

    p.s. If you are wondering about the Test pages, I created these to perform the test above:
    http://tria.tv/wiki/Test
    http://tria.tv/wiki/Test/data
    http://tria.tv/wiki/Module:Test
    http://tria.tv/wiki/Template:Test
     
  20. Locke

    Locke City Guard
    Wiki Editor

    Messages:
    54
    Likes Received:
    62
    #40 Locke, Jul 21, 2015 at 8:57 AM
    Last edited by a moderator: Jul 21, 2015
    Only skimmed this thread. Sorry, I've been busy with stuff (zeldadungeon marathon, moving). I'll look into it within a couple days.

    Does Module:Monster replace Module:Mob then?

    I use Replace Text on my wiki, idk which is better. If you do install one, it should be restricted to admins only, since it's an expensive function.

    What do you think about doing that with Usable -> Item?

    site.stats.pagesInCategory looks promising if we have the Site library.

    I think if there's no Lua way to do it then it's easier to just add all the pages to the list like we were doing before.
     
    2 people like this.

Share This Page