Forum:Bot Request: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11:
:Some errors like this may be tricky, like the "quote box" error. The picture and any captions are usually separated with their own template markup, so bot fixing this errors would be a challenge. As for the images, you may wish to speak with Vorticity. I could probably clean up any path goofs with a bot (or manually, if I had to), but you may wish to consult with him about which images those might be since he was the one who cobbled together the images for upload to Orain. [[User:GethN7|GethN7]] ([[User talk:GethN7|talk]]) 16:59, 22 November 2013 (UTC)
::I was afraid of that (the trickiness of botting the problem, I mean). As far as the path issue is concerned, the files were not put in subdirectories, they're all where they're supposed to be; it's just that the original markup had path info in it, and it got preserved in the import. -- [[User:Looney Toons|Looney Toons]] ([[User talk:Looney Toons|talk]]) 17:56, 22 November 2013 (UTC)
::: <code><nowiki> s/\{\{quote box\| \[\[File: (?: lt\/)? ([^\]]+) \]\] \}\}/[[File:$1]]/ig;</nowiki></code> Now I just need a place to apply that to the data. [[User:Vorticity|Vorticity]] ([[User talk:Vorticity|talk]]) 21:32, 22 November 2013 (UTC)