Good question. I’m going to answer this generically, as I didn’t write MaxiGallery.
Firstly, some of the lines are version information and license information. Please remember to add them back in before you redistribute anything. These are important to the world but not to the app.
Secondly, I’ve never heard of limited scrollback before. I guess many people just expect Ctrl-A Ctrl-C Ctrl-V to work. Hence the
MODx slogan "take ctrl". Frankly I recommend you investigate ways of improving your copy/paste situation. What system are you on?
Thirdly, usually a snippet has more code, but some of the bigger ones end up including the bulk of code from a separate PHP include. 0.4.1 was part include, part in-snippet. So the change in 0.5 to have less code in the snippet is itself saving you lots of copy/paste.
Fourthly, documentation within the snippet is a convention. It is natural to look at the code to see what it does and to see what variables it supports. Over time, these have been documented in snippet comments in addition to being figurable-outable. This particular one happens to just have a lot of documentation. Personally, I like it being there.
Fifthly, this is a beta and as such more likely to contain version change info, so that people can see what to test for.
Now, I don’t know whether the final version of 0.5 will have all this stuff - maybe it will just include a link to the wiki. Who knows?
Oh, if you have a syntax-colouring file reader, it is easier to see what lines are comments and can be omitted.