BZH314 wrote:Some pages with missing .rle file (404)...
Thanks for doing this!
However, it shouldn't be necessary to report very many more missing RLE files in this format. As of yesterday there were a total of 319 patterns with missing RLE files on the LifeWiki, and the way I'm trying to handle this is with a bulk upload to the server.
See this
Tiki bar discussion for a starting point. Some of the later discussions are also relevant.
How raw RLE and uploads work on LifeWiki
Pretty much all recently added pattern articles make use of LifeViewer, which checks the RLE namespace to see if an RLE article has been created for that pattern name (or more precisely, that "pname", which is a parameter in the infobox that you have to edit the article to see.
All of the patterns you reported have raw RLE files, so the
auto-uploader script can collect them with no problem:
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
http://conwaylife.com/w/index.php?title ... ction=edit
The auto-uploader script automatically produces #N and #O lines, based on data from each article's infobox template. It also adds the two URL link lines. So when I ran the script yesterday, the script produced
Code: Select all
#N 42883m.rle
#O Adam P. Goucher, 2018
#C http://conwaylife.com/wiki/42883M
#C http://www.conwaylife.com/patterns/42883m.rle
x = 16, y = 16, rule = B3/S23
obo6b5obo$2b3obobob2o2bo$b2o2bobo2b2o3bo$2bobo2b2obo2b2o$o2bo4b3o3bo$
3bob3obo$6obobob2obo$6b2ob2ob2o$2b3ob8o$3b2ob4o4b2o$6obo2bo2bo$bo3b3ob
3o2b2o$5obo3bob2obo$2o6bo2bo$2ob3o2bob6o$2b2obobob2o2b2o!
... along with 318 other files, all in a single folder ready to zip up and send to Nathaniel.
The alternative is a fairly awkward interface to LifeWiki where I'd have to pick files one at a time and upload them to the server. It's easy to make mistakes that way, and the tedium is absolutely deadly.
Additional comments in RLE
Now, your comments were generally just a little better than what my script comes up with! I can only extract the discovery year from the infobox, and I've been putting that year on the #O line with the discoverer name.
As long as the link to the article is available, though, I'm not sure it's really necessary to have a short description of the pattern in the comments. And I definitely don't want to hand-edit all 320+ files.
So if you'd like to have any more of these uploaded RLE files contain short description lines, a great place to add them would be directly in the RLE:{pname} article on the LifeWiki. The script will pick them up along with the RLE, so they'll appear after the auto-generated URL lines.
Miscellaneous maintenance
I'm working slowly through a pile of technical cleanup issues. A bunch of Entity Valkyrie's capitalized pnames need to be un-capitalized, and various comments need to be hand-edited in the RLE namespace before I re-run the script and do the final bulk upload, and I have to double-check my synthesis-RLE collection code, and so forth. That means it will probably be another week or more before all these RLE files actually show up on the server -- but they're definitely going to get there!
If you have any questions about all this, please ask. There's a lot of cleanup to be done in this area, and I could definitely use some help -- it's just the particular missing-RLE problem you mentioned that can
mostly get handled automatically.
For example, one issue I ran into is that two of the raw RLE:{pname} files from the list above turned out to have been uploaded without headers. I don't know how widespread a problem that is, yet, but I can write some extra code to check for that condition. Probably that's something that should be fixed on the LifeWiki side.