[02:34:29] hello. i'm learning more about using APIs, and practicing with wikipedia. https://en.wikipedia.org/w/api.php?action=help&modules=main#main:format says the default format is "jsonfm", but when i omit the "&format=" option, the results are equal to when i specify "&format=json". specifying "&format=jsonfm" yields something very different. so i think [02:34:29] the documentation is supposed to say 'the default format is "json"' instead of "jsonfm". [02:37:14] this is what i tried: [02:37:15] prefix='https://en.wikipedia.org/w/api.php?action=opensearch&search=meow' [02:37:15] curl  "$prefix" [02:37:16] curl "$prefix"'&format=json' [02:37:16] curl "$prefix"'&format=jsonfm' [14:00:51] hi. is there a http cookie i can set to change mediawiki skin? i don't like rewriting all links to end with ?useskin=monobook because that gets written to disk when I save the web page with SingleFile (the firefox addon) [14:39:16] sudden: you can log in and select a different skin in your preferences [14:42:08] i'm looking for a solution that doesn't involve creating an account on 123 different wikis [15:02:32] That would be kinda neat tbh. [15:02:52] Having to log in to set a skin does feel silly when it could be a cookie thing. [15:04:04] MediaWiki isn’t really built to let anonymous users customize the site though, because that’s bad for caching [15:07:03] I think the appearance menu in V22 (text size, width, color light/dark) only works because it’s fully client-side, which is not the case for the skin [15:09:04] oh, so true [15:09:27] the internet people should make it so we don't need caching or something [15:09:46] :blobfoxangrylaugh: [16:03:51] fixed it. i append `?useskin=monobook` to the address if it doesn't exist, call `window.history.replaceState({}, "", window.location.href.replace("?useskin=monobook", ""));` to visually strip `?useskin=monobook` from the addressbar without reloading, then install `a.onmouseenter` and `a.onmouseleave` on every same-domain link that adds `?useskin=monobook` to avoid loading pages twice when navigating. [16:03:57] when downloading such a page with SingleFile, the recorded URL does not contain `?useskin=monobook` and all links are clean! [16:06:08] if anyone wants the userscript, link me a file uploader, i don't know of any