[04:04:09] Hmm, there's no built-in base64 library for Scribunto? [04:07:36] I found https://github.com/iskolbin/lbase64/blob/master/base64.lua as public domain, seems good enough [04:15:22] nvm, I switched to JSON (d'oh) [11:46:34] got a question about API parameter vs. MW version dependency and how to handle these in an API library [11:47:10] example: https://www.mediawiki.org/wiki/API:Delete introduced the deletetalk param in v1.38, and v1.39 added undeletetalk to the Undelete action [11:47:43] but if those params are used in older versions, the 'Unrecognized parameter' warning is returned [11:48:52] that is not so elegant. one way to deal with this is to get the MW version from a siteinfo request, and use that in the library [11:49:29] building knowledge about parameter/version dependencies into the library, is that good practice, or is there a better way? [11:49:54] i ask as co-developer of Wikimate https://www.mediawiki.org/wiki/API:Client_code/All#PHP [11:50:09] how are other API libraries handling this? [12:19:21] Xymph: yes you have to have a version checker [12:22:23] RhinosF1: would you know an example of a library doing this, so i can peek? [12:22:48] Xymph: auto wiki browser does version checking [12:24:14] thx [13:16:25] RhinosF1: I found in AWB source how siteinfo generator value is stored in MediaWikiVersion, but that is not used anywhere [13:16:53] e.g. https://www.mediawiki.org/wiki/API:Logout requires token parameter since v1.34, prior versions give unrecognized param warning [13:17:13] but AWB source show Logout is invoked w/o token param regardless [13:18:06] the warning is not that interesting after logging out. just another example of param/version dependencies [13:19:02] i have some idea how to do it in Wikimate, but if there is another library handling this already, a comparison of approaches would still be helpful [13:25:17] anyone else perhaps? [14:43:19] hi [14:43:51] i see in the main.css .capitalize-all-nouns .portlet h3 { text-transform: none; ... [14:44:13] when does that happen? i have all nouns in the sidebar lower case [14:48:00] navigation content ... is lower case in the sidebar [14:48:18] how do i define these as nouns so it gets .capitalize-all-nouns ? [16:21:46] Xymph: you can use the action=paraminfo module to know what MediaWiki supports [16:22:18] But also I'd look at Pywikibot, which does a mix of that and explicit version checking [16:31:07] legoktm: doh, don't know how I overlooked that on the Siteinfo page. thx!