help me upload patterns to the /pattern directory
Posted: October 15th, 2019, 6:38 am
WHY DOES IT SAY YOU CAN UPLOAD ONLY IMAGES
Forums for Conway's Game of Life
https://conwaylife.com/forums/
Interesting combination -- all-caps shouting at 85% size. What's that about?
The following paragraphs explain how the RLE:{pname} namespace works, and the current setup for automagically turning RLE-namespace articles into uploaded pattern files... every now and then.One action that can only be performed by the site administrator or other LifeWiki moderators is uploading pattern files. These are the files in RLE and plaintext format that are downloadable from most pattern pages, as well as the macrocell, compressed RLE and macrocell, and .zip archive files available on some pattern pages) to the LifeWiki. The reason for this restriction is twofold. First, it is for security reasons as people download and execute those files on their hard drive so the last thing we want is someone uploading a virus or some such malicious thing. Second, the server that LifeWiki is run on simply doesn't like automatic uploads of files in strange file formats.
Then it takes a lot more effort to download the RLE itself (I don't believe there's an easy way to access the raw contents of a wiki page).testitemqlstudop wrote: October 15th, 2019, 9:18 am Okay, but why can't we host everything on pages like "RLE:long10boat" on LifeWiki?
Clicking 'view source' or 'edit page' usually does this, although I'm not sure if this is what is needed.calcyman wrote: October 15th, 2019, 12:04 pmThen it takes a lot more effort to download the RLE itself (I don't believe there's an easy way to access the raw contents of a wiki page).testitemqlstudop wrote: October 15th, 2019, 9:18 am Okay, but why can't we host everything on pages like "RLE:long10boat" on LifeWiki?
Yes, that's as close as you can get at the moment, without some automated code to extract just the contents of the "wpTextbox1" text box. If your URL is of this formdanny wrote: October 15th, 2019, 12:17 pmClicking 'view source' or 'edit page' usually does this, although I'm not sure if this is what is needed.
We could definitely get by with that if we had to. But at least for the moment, we're still trying to support the old standard LifeWiki pattern links, which allow for cleaner links to the RLE pattern file with no HTML junk, and also allow the "all.zip" LifeWiki pattern archive to be automatically regenerated every night.testitemqlstudop wrote: October 15th, 2019, 9:18 am Okay, but why can't we host everything on pages like "RLE:long10boat" on LifeWiki?