Final Fantasy Wiki
Tag: Source edit
Tag: Source edit
Line 23: Line 23:
 
:Also, how will the bot handle multiple quests of the same name, such as [[Close to Home]]? While I built that as a single page, it actually represents eight different quests in the backend.
 
:Also, how will the bot handle multiple quests of the same name, such as [[Close to Home]]? While I built that as a single page, it actually represents eight different quests in the backend.
 
:Sidenote, I'm impressed the bot built the script section as well as it did. [[User:Adonzo|Adonzo]] ([[User talk:Adonzo|talk]]) 19:59, 4 May 2021 (UTC)
 
:Sidenote, I'm impressed the bot built the script section as well as it did. [[User:Adonzo|Adonzo]] ([[User talk:Adonzo|talk]]) 19:59, 4 May 2021 (UTC)
  +
:ETA: Also the infobox links to items and duties and be switched to their <nowiki>{{icon}}</nowiki> links as well. I actually got distracted from building the quest pages by uploading item icons specifically so I could integrate them with the infoboxes lol. [[User:Adonzo|Adonzo]] ([[User talk:Adonzo|talk]]) 20:12, 4 May 2021 (UTC)

Revision as of 20:12, 4 May 2021

FFWiki forum logo
Forums: Index > Rin's Travel Agency > Archive > XIVAPI integration



XIVAPI is a toolkit that allows people managing FFXIV websites to keep their sites updated with in-game data. I've wanted to integrate the FFWiki to XIVAPI for a while now, but always have hit either technical snags or real-life difficulties. However, I think it should now be feasible. In fact, XIVAPI now has a client written in Python (which is the same language as Intangir Bot), XIVAPI's Discord login bug has been fixed, and I have a bit more free time over the next few months than I usually do. Also, Endwalker is rapidly approaching.

Currently, my only explicit plan for the bot is to write quest pages, but I could potentially do anything with it that is in the scope of XIVAPI. Cat (meowhunt) 19:38, 4 May 2021 (UTC)

Quests

I wrote a script for Intangir Bot that can automatically write quest pages using XIVAPI's client. See Project:Sandsea/On Thin Ice. In total the bot would write about four thousand pages. It's not quite ideal yet, as I need to figure out how to integrate quest banners into it.

Some questions before I go run this script:

  • Most importantly, are we OK with this? I know when we started using bots just to fix links there was some backlash from some users who felt it was akin to sockpuppeting -- now that bots can write pages this is a significant expansion in the scope of what they can do.
  • Is this page format OK? I based it on Chasing Shadows. Do we want the bot to create empty sections like "Walkthrough" for humans to fill in?
  • Where should the item links point to? Specifically should they point to the relevant item pages? I think there was some talk about breaking up item pages because they are too long, and I don't want to generate thousands of pages and then learn that the links on those pages will die in a few weeks.
  • Should bot-generated pages have mboxes saying they are bot-generated so that humans can go in and fill in the little things that bots get subtely wrong? Cat (meowhunt) 19:38, 4 May 2021 (UTC)
Having bots write the pages and allowing users to go through and make necessary adjustments will save a gargantuan amount of work which I am more than ok with.
Once I get items integrated with {{icon}}, my plan was to just have them link to their name (and try to identify disambigs and the like), which atm will just mean a ton of red links everywhere. Once a decision is made on how to do item pages, the links for everything will be ready to go already, just redirects will need to be made if necessary.
Having a bot-generated box, that can also add them to a Category:Bot-generated pages or something, I think would be nice so we know which pages might need to be touched up, and we can remove them as we go.
When it comes time for new quest pages, like say when 6.0 hits, would we just run the bot again for the new quests? I can't imagine we'd have it rebuild every quest page every patch and overwrite user contributions, so users would have to keep an eye out for updates to old quests.
Also, how will the bot handle multiple quests of the same name, such as Close to Home? While I built that as a single page, it actually represents eight different quests in the backend.
Sidenote, I'm impressed the bot built the script section as well as it did. Adonzo (talk) 19:59, 4 May 2021 (UTC)
ETA: Also the infobox links to items and duties and be switched to their {{icon}} links as well. I actually got distracted from building the quest pages by uploading item icons specifically so I could integrate them with the infoboxes lol. Adonzo (talk) 20:12, 4 May 2021 (UTC)