Path of Exile Wiki talk:To-do list/SMW migration

From Path of Exile Wiki
Jump to: navigation, search

I have some lua experience. How can I help?

I can't find any resources on getting up to speed on how the pages actually work. How did anyone figure it out, is it just trial and error for a few weeks to understand it, or can I just read something that describes the abstractions? And which things are custom to this wiki vs. the Gamepedia network? —The preceding unsigned comment was added by Multihuntr (talkcontribs)

In principle, the lua modules parse arguments to templates, show stuff on the wiki and either store things in the database via cargo or retrieve things from it (or both). The modules that still need to be ported require replacing of SMW functions to cargo equivalents. Those modules are all custom to the PoE wiki. There isn't much description on how individual modules work, you'll have to look at the respective source code.
What the specific function used on a page via template call is supposed to do is usually described in the template help page, though this needs some serious updating for the modules that already have been ported as well. --OmegaK2 (t|c) 07:17, 3 January 2018 (UTC)

An idea ???

Hello, I just came across your wiki and it's just amazing, there is so much data! I am currently migrating from SMW to Cargo on my wiki and I am having a problem with my Cargo tables. When I create the data tables, it works but some lines are duplicated. Would you have an idea to solve this problem? Thank you :) SKkulLD (talk) 16:39, 31 January 2018 (UTC)

We have the same issues, you can get around it with using group by in your queries, see Path_of_Exile_Wiki:Known_issues as well. Contact the developer and remind him that this is a problem. --Illviljan (talk) 16:48, 31 January 2018 (UTC)

How to query Cargo from Python?

I'm new to API's and I wanted to grab data from the Wiki, however I'm unsure about what I need to connect to in order to make a Cargo query. Is this possible or will I have to just do sent a normal REST request for a Json? Thanks!

I just figured it out, thanks Reddit!--Eulers ID (talk) 03:10, 8 April 2018 (UTC)
See Path_of_Exile_Wiki:Data_query_API. --Illviljan (talk) 05:29, 8 April 2018 (UTC)