Wiki Needs Your Help! Calling all translators ~

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

  1. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Yeah. Previously I couldn't find one so I made 1 module for it.

    It could be done too :)

    The pagesInCategory seems not to be returning any page names. Looking for a function that is able to list them based on the input category.

    Yeah, but its a tedious work especially the ones that has many.
     
  2. Locke

    Locke City Guard
    Wiki Editor

    Messages:
    54
    Likes Received:
    62
    #42 Locke, Jul 22, 2015 at 11:49 AM
    Last edited by a moderator: Jul 22, 2015
    Maybe something like this to grab the page names (use it on the list page within the template invocation), then parse its output and make the list in lua?

    Here's a JQuery image zoomer that works with imagemaps: http://www.doogal.co.uk/zoomable.php I'm sure there are several more.
     
    2 people like this.
  3. Chesher

    Chesher City Guard
    Wiki Editor

    Messages:
    79
    Likes Received:
    45
    Level:
    50
    Job:
    Does anyone have a very high res copy of the world map or a high res version of all of those map tiles?
     
  4. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    @Zelkova : Could we have the Extension:DynamicPageList installed on the wiki (the one Locke mentioned)? It would be quite helpful to grab those pages from a specific category. Here is the link : https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)

     
  5. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    2 people like this.
  6. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Could you help install the DynamicPageList (third-party) extension as it provides additional features which allows to call function from Lua script.
     
  7. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    I have replaced the other DynamicPageList with the third party one now.
     
    2 people like this.
  8. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Could you help check if the downloaded package contains "getPageNames" in the lua?
    I'm getting this error message: Lua error in Module:Test at line 7: attempt to index field 'dpl' (a nil value).
    It seems it could not find the mw.ext.dpl.getPageNames (dpl <--)


    tria\mediawiki\DynamicPageListEngine-1.0.0\DynamicPageListEngine-1.0.0\DynamicPageListEngine.lua (2 hits)
    Line 18: dpl.getPagenames = php.getPagenames
    Line 18: dpl.getPagenames = php.getPagenames
    tria\mediawiki\DynamicPageListEngine-1.0.0\DynamicPageListEngine-1.0.0\LUA (2 hits)
    Line 15: === mw.ext.dpl.getPagenames ===
    Line 17: <code>mw.ext.dpl.getPagenames{ parameters }</code>
    tria\mediawiki\DynamicPageListEngine-1.0.0\DynamicPageListEngine-1.0.0\Scribunto_LuaDynamicPageListEngineLibrary.php (3 hits)
    Line 71: 'getPagenames' => array( $this, 'getPagenames' ),
    Line 71: 'getPagenames' => array( $this, 'getPagenames' ),
    Line 137: public function getPagenames( $params ) {
     
  9. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    I have no idea how to enable this feature. I did not disable anything within the plugin itself, nor have I limited Lua on the wiki installation.
    If you can tell me what I need to do to make this work correctly, I can get the settings put in place.
     
    2 people like this.
  10. Locke

    Locke City Guard
    Wiki Editor

    Messages:
    54
    Likes Received:
    62
  11. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Oh I see, perhaps I linked the incorrect Dynamic Page List extension, sorry about that. It's the one that Locke pointed above.
     
  12. Locke

    Locke City Guard
    Wiki Editor

    Messages:
    54
    Likes Received:
    62
    I think it might be handy to add a "Data" tab along with "Page" and "Discussion" (and rename the latter to "Talk" for brevity's sake) either through javascript or editing the template. Might be a bit tricky to get it to work right though, making it 'selected' when you're on the data page and changing the links for the "Page" and "Discussion"/"Talk" tabs.
     
  13. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    @ayumilove
    I've enabled the Dynamic Page List Engine.

    If you need this + one of the previous page list extensions let me know. I've disabled the previous 2.

    @Locke
    Thanks for your help.
     
    2 people like this.
  14. Ditzy

    Ditzy Newbie
    Active Member

    Messages:
    23
    Likes Received:
    55
    Job:
    I am horrible with complicated computer stuff (?), but if you guys can give me a list of things to be translated I can do so easily being Bilingual and having years of translation / interpreting exp. I can see MS2 being a hit overseas and would like to contribute.
     
    2 people like this.
  15. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    #55 ayumilove, Jul 25, 2015 at 5:20 AM
    Last edited by a moderator: Jul 25, 2015
    @Beth, @Zelkova, @Locke Below is the list of pages using the DynamicPageListEngine Extension
    http://tria.tv/wiki/edit/Category:Pages_using_DynamicPageListEngine?redlink=1
    It will automatically retrieve all the added items/equip/maps based on its category and populate the list.

    Kindly refer to http://tria.tv/wiki/Holy_Scroll and http://tria.tv/wiki/Holy_Scroll/data page if you would like to add/update the other weapons in tria.tv/wiki using the latest template!

    Hi Ditzy, you could help with translating the items inside the Google Spreadsheet :)

    Weapon:

    Elite & Boss Monsters:

    Etc Items:

    Maps:
     
  16. Ditzy

    Ditzy Newbie
    Active Member

    Messages:
    23
    Likes Received:
    55
    Job:
    Whew, translating the slang / fictional / kanji-hanja words sure are a pain. Did my best with the equipment, please review.
     
    4 people like this.
  17. Sini

    Sini City Guard
    Wiki Editor

    Messages:
    104
    Likes Received:
    29
    Job:
    *Hugs*
     
  18. ayumilove

    ayumilove City Guard
    Wiki Editor

    Messages:
    25
    Likes Received:
    11
    Great job. :D

    @all :
    1. I have added a new feature in http://tria.tv/wiki/Module:Monster . It will now automatically list monsters by level!
    2. Also updated the MonsterNav template page http://tria.tv/wiki/Template:MonsterNav using these new monster listing pages (which implements DynamicPageListEngine)
    - http://tria.tv/wiki/Monster_Level_1-10
    - http://tria.tv/wiki/Monster_Level_1-10/data
    - http://tria.tv/wiki/Monster_Level_11-20
    - http://tria.tv/wiki/Monster_Level_11-20/data
    - http://tria.tv/wiki/Monster_Level_21-30
    - http://tria.tv/wiki/Monster_Level_21-30/data
    - http://tria.tv/wiki/Monster_Level_31-40
    - http://tria.tv/wiki/Monster_Level_31-40/data

    Basically, the monster module will process the monster's data level by calculating min max level (e.g. level 29 -> min level = 21, max level = 30) before defining its monster level category.
     
    2 people like this.
  19. Zelkova

    Zelkova Royal Warden
    Administrator

    Messages:
    1,601
    Likes Received:
    540
    IGN:
    Shugo
    Level:
    50
    Job:
    I'm starting to update the weapon list today. After I get weapons updated I'll work on monsters. Then we can work on what drops what!

    R> more helpers though. This is no small undertaking.
     
  20. Locke

    Locke City Guard
    Wiki Editor

    Messages:
    54
    Likes Received:
    62
    @Phuuz @Zelkova for drops you can use e.g. {{Item|Red Herb}} and it'll show the icon followed by the name linked to its page. Could use some css improvements though (uses class "data-inline").

    Same is true for "Dropped by" monsters on item pages ({{Monster|Monster Name}}), though again we'll need some css to control the size of the image.
     

Share This Page