Pillars of Eternity Wiki
(CSVLoader)
 
No edit summary
Line 5: Line 5:
   
 
Otherwise I may have to write another script. Or... shudder... do it all manually. Darn it. This whole "minor task" became a freakin' mammoth. Why does this always happen? :D [[User:Pangaearocks|Pangaearocks]] ([[User talk:Pangaearocks|talk]]) 17:30, 31 March 2020 (UTC)
 
Otherwise I may have to write another script. Or... shudder... do it all manually. Darn it. This whole "minor task" became a freakin' mammoth. Why does this always happen? :D [[User:Pangaearocks|Pangaearocks]] ([[User talk:Pangaearocks|talk]]) 17:30, 31 March 2020 (UTC)
  +
:CSVLoader is a useful beast, but... And that's a big BUT... It requires mastery of regular expressions to use. I based on the [https://en.wikipedia.org/wiki/Wikipedia:CSVLoader/Find_and_replace tutorial here] and it took me more than a few tries to get it right. The good news is, it can be used to update values, you just need to figure out what to input. It's the reason why I shifted towards formatting values through the infobox and using just data input straight from the files. [[User:Tagaziel|Tagaziel]] ([[User talk:Tagaziel|talk]]) 07:18, 1 April 2020 (UTC)

Revision as of 07:18, 1 April 2020

CSVLoader

Empty? What gives? :P

Recall you were a CSVLoader expert. I'm scratching my head trying to update heaps of data from game XML files (on the Witcher wiki). It becomes tricky since I'm working with existing infoboxes, which may or may not contain the "whatever = " that I can search for. Therefore Advanced Find and Replace in AWB may be useful (I've never used it before). However, I seem to recall reading somewhere that CSVLoader didn't work with advanced search and replace, only the normal F&R. Have you tried this? Does it work with advanced as well? I was thinking that the "If" tab there could come in handy. Then I could search for each field, and if it doesn't exist insert it, and replace if it exists.

Otherwise I may have to write another script. Or... shudder... do it all manually. Darn it. This whole "minor task" became a freakin' mammoth. Why does this always happen? :D Pangaearocks (talk) 17:30, 31 March 2020 (UTC)

CSVLoader is a useful beast, but... And that's a big BUT... It requires mastery of regular expressions to use. I based on the tutorial here and it took me more than a few tries to get it right. The good news is, it can be used to update values, you just need to figure out what to input. It's the reason why I shifted towards formatting values through the infobox and using just data input straight from the files. Tagaziel (talk) 07:18, 1 April 2020 (UTC)