[Bug 38932] Downloadable code blocks (suggestion from IRC)
https://bugzilla.wikimedia.org/show_bug.cgi?id=38932 --- Comment #3 from Tim Landscheidt --- (In reply to Tim Landscheidt from comment #2) > [...] > - Gists are saved server-side, DokuWiki seems to parse the page on every > call which also means that the link may lead to updated (= different) > content than shown. I haven't tried it, but data URIs should be performant, > stable and supported by enough browsers. > [...] data URIs work fine, but unfortunately do not bear a "filename", so for example Google Chrome wants to save all data URIs as "Download". So it's probably necessary to imitate Dokuwiki and parse the page again, probably cached. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38932] Downloadable code blocks (suggestion from IRC)
https://bugzilla.wikimedia.org/show_bug.cgi?id=38932 Tim Landscheidt changed: What|Removed |Added CC||t...@tim-landscheidt.de --- Comment #2 from Tim Landscheidt --- The DokuWiki link changed to https://www.dokuwiki.org/wiki:syntax#downloadable_code_blocks; for the use of Gists on blogs, cf. http://www.sandywalsh.com/2011/06/effective-units-tests-and-integration.html. Some thoughts: - Some code blocks should be downloadable, some (snippets?) maybe not. I'd prefer the default to be downloadable. - There's always lots of drama with user-specified filenames on insecure browsers that MediaWiki fosters, so this needs to be checked. - Gists are saved server-side, DokuWiki seems to parse the page on every call which also means that the link may lead to updated (= different) content than shown. I haven't tried it, but data URIs should be performant, stable and supported by enough browsers. Otherwise: Really cool! :-) In many cases, I just want to copy and paste bits of the code block, but often enough I'd like to save the lot and so far have to carefully maneuver the mouse pointer twice and then still face whitespace issues & Co. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38932] Downloadable code blocks (suggestion from IRC)
https://bugzilla.wikimedia.org/show_bug.cgi?id=38932 Andre Klapper changed: What|Removed |Added Priority|Unprioritized |Low -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 38932] Downloadable code blocks (suggestion from IRC)
https://bugzilla.wikimedia.org/show_bug.cgi?id=38932 --- Comment #1 from Mark Holmquist 2012-08-01 21:54:27 UTC --- Note for later: This is for people on #octave, and the person who asked for it was carandraug+...@gmail.com (no BZ account) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l