[03:24:49] Hello [04:31:48] P5N4PPZ: Hello there. [05:05:12] are there working open DNSBLs that can be used with mediawiki still? [05:05:29] tornevall seems to have changed their address w/o bothering to post what the new one is. [05:05:43] I got tired of looking at their wreck of a webpage trying to find it [07:45:39] I need help [07:45:40] Hi Dorami-Doraemon, just ask! There is no need to ask if you can ask [07:45:59] A user of here , can speak spanish? [07:46:45] A user of here , is specialist in mediawiki? [08:05:07] Dorami-Doraemon: Several people here know several things about Mediawiki. :) [08:05:28] Just ask your question, please. Anyone who knows shall come forth and answer thee! [08:06:11] OK , mi wiki with the local.gender , is possible upload files? [08:08:26] Dorami-Doraemon: Um, what do you mean by local.gender? [08:08:45] a wiki , only in mi server [08:10:26] Dorami-Doraemon: Sorry. :( I don't understand the question. Nor do I know any spanish beyond "Hola, amigo!" [08:14:35] Dorami-Doraemon: If you don't get any responses, please try asking again in ~8 hours. Thanks for dropping by! [08:16:52] Bueno te lo digo yo en espaƱol: [08:17:21] Que hago para subir una imagen en ese wiki que estoy creando con un archivo en mi ordenador? [08:22:40] Dorami-Doraemon: http://www.example.com/ ... /Especial:SubirArchivo [08:27:11] thanks [08:27:33] De nada. [08:28:25] pero si le doy yo a la opcion de subir archivo en mi wiki , da error [08:28:44] Da error de que se ha desactivado la subida de archivos [08:30:19] Sorry, I do not believe there is a Spanish translation. Also, I know little Spanish so this is where I get lost in translation. https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads [08:32:31] Thanks1 [08:32:35] ! [08:32:35] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [08:38:11] Hi, does anybody know a Template or Integration for showing a GIT-Summary of a repository on a page (like this: https://www.mediawiki.org/wiki/Extension:Randomrootpage) [08:38:30] It should work for a private git repository. [08:43:52] hmrc87: what do you mean by git summary? [08:44:55] In our company wiki I would love to show repository information on a wiki-page dedicated to the software-project. Information like number of branches, latest commit etc [08:46:44] The timestamp of the latest commit should be enought. It does not have to be another git-interface, just a quick overview. The easisest integration would be a plain link to the repository - that is my fallback plan [08:50:20] Maybe I have to build my own extension pulling the repo-meta-data via webservice from our GIT-Server and showing it in a box within th epagecontent [08:50:26] *the pagecontent [08:52:39] hmrc87: on mediawiki.org, we just used the RSS extension to display a feed from the git viewer [08:54:19] That's a good idea, thank you! [10:26:48] Hm, why is each edit listed twice http://directory.fsf.org/wiki?title=Special:ApprovedRevs&show=notlatest [13:30:40] morning [13:40:51] Morning, Auger. [15:51:30] Hi, I am using the mediawiki API. I want to now for example, the links that point to another user page [15:51:42] For example, this bot: https://en.wikipedia.org/wiki/User:.anacondabot [15:52:02] points to this user https://it.wikipedia.org/wiki/Utente:.anaconda [15:52:27] I have tried : https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=links [15:52:57] and it only gives me the links to https://en.wikipedia.org/wiki/Wikipedia:Bot_policy [15:53:05] Can someone help me? [15:53:05] Hi ruthygg, just ask! There is no need to ask if you can ask [15:53:18] thanks! [15:58:24] From this page https://en.wikipedia.org/wiki/User:.anacondabot how to obtain the link to https://it.wikipedia.org/wiki/Utente:.anaconda with the API? I have tried https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=links but no success [15:58:51] ruthygg: it might be 'langlinks' or something like that [15:59:14] actually, yeah. https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=langlinks [15:59:21] wm-bot turns intelligent ? :/ [15:59:37] or is it just a string trigger [16:00:20] codezee: yeah, it has a few clever regexes. thanking it also triggers something similar [16:00:26] wm-bot: thank you! [16:00:26] Hey MatmaRex, you are welcome! [16:00:40] :D [16:01:12] but apparently in this case the regex triggered at a bad time [16:01:18] :P [16:03:52] Hey There. Can someone help me with my Problem? https://www.mediawiki.org/wiki/Topic:T0f5tlszaqe3psfw [16:04:03] MatmaRex: I tried that one as well, what is weird to me is that the link is Utente:.anaconda but the result of https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=langlinks gives me Utente:.anacondabot [16:05:47] ruthygg: ohh, wait, i've misunderstood [16:06:17] Or perhaps do you know [16:06:26] how to know automatically the owners of bots? [16:07:12] I have a list of bot names (some of them are not active), I would like to know their owners [16:07:21] ruthygg: http://i.imgur.com/F90AgwW.png - i was thinking of link B, you're thinking of A apparently :) [16:08:47] MatmaRex, yes [16:08:56] link A, which seems to be the owner [16:09:58] ruthygg: hmm, it should be prop=iwlinks: https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=iwlinks but that doesn't seem to return that link. weird [16:11:12] I know, right? very strange [16:11:36] it's not possible to get the "real owner" of an account automatically, afaik [16:12:43] its crazy [16:12:55] is there a way of knowing the user info in any language [16:14:24] ruthygg: i've null-edited the page and the link is there now. https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=iwlinks [16:14:31] https://en.wikipedia.org/w/api.php?action=query&titles=User:.anacondabot&prop=iwlinks&iwprop=url [16:14:49] https://en.wikipedia.org/wiki/Wikipedia:Purge#Null_edit [16:15:12] i imagine some bug back in 2008 when the page was last edited caused this not to be recorded. [16:17:56] Thanks a lot MatmaRex [16:18:02] :) [16:20:48] hello, I've a question about thumbnails from the API, for two similar images I'm getting different thumbnail urls. The ending is either /86px-thumbnail.jpg or /86px-title-of-the-image.jpg. Is there some way of calculating whether the system will use the long or short version? Both endings, if crafted correctly are not interchangeable. https://gist.github.com/timwaters/a713793c29f144a67786 for calls and responses [16:21:33] I think in the example, the difference is that one title is one character less in length than the other [16:21:55] with the longer title getting the shorter thumbnail url [16:25:45] Currently I am crafting the thumbnails based on the imageurl - and so its only with images with the longer titles that thumbnails are not found [16:31:13] chippy: yeah, there's some length limit beyond which it'll use just 'thumbnail' [16:31:37] chippy: the only supported way is to use the URLs returned by 'prop=imageinfo' [16:32:50] MatmaRex, I believe one needs to get the thumburl from it also https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=url|size&iiurlwidth=100&iiurlheight=100&pageids=40312297 [16:32:57] and then parse that to see what ending it is [16:33:14] chippy: you'll run into additional problems with different file types, i think some require additional parameters in the ending part (e.g. the page number for multipage files) [16:33:30] yeah, exactly [16:33:49] I'm just concerned with images [16:33:55] i think there could be issues with tiffs [16:34:14] I don't know if the API allows specifying lossless or lossy for the thumbs. [17:14:14] #wikimedia-dev [19:23:19] Hello, all [19:24:01] I'm trying to set up a shared usertable for PostgreSQL. I have the shared DB prefix, but I can't populate the shared prefix because Postgres uses schemas instead. [19:42:11] I'm trying to set up a shared usertable for PostgreSQL. I have the shared DB prefix, but I can't populate the shared prefix because Postgres uses schemas instead. [19:42:36] I'm trying to set up a shared usertable for PostgreSQL. I have the shared DB prefix, but I can't populate the shared prefix because Postgres uses schemas instead. Is there a schema equivalent to $wgSharedPrefix? [21:22:41] I'm trying to set up a shared usertable for PostgreSQL. I have the shared DB prefix, but I can't populate the shared prefix because Postgres uses schemas instead. Is there a schema equivalent to $wgSharedPrefix? [21:27:09] DarkFeather: maybe you only need to use $wgSharedDB that should work like a schema [21:28:18] I'll try. [21:29:20] No such luck. It may just not be supported on PostgreSQL [21:29:24] still, it may not work, since I see a bug open about that https://phabricator.wikimedia.org/T18794 although https://www.mediawiki.org/wiki/Manual:$wgSharedDB claims "Support for PostgreSQL was added in MediaWiki 1.19." [21:29:40] Yep. [21:30:00] I'll consider it unavailable then and move forward with deploying OpenLDAP. [21:30:41] Thanks [21:31:49] the only possibility would be to put all wikis under the same schema, and use different $wgDBprefix for each wiki... still, it may be a mess if there are a lot of wikis [21:32:13] that's where $wgSharedPrefix may be useful [22:36:36] damn... scribunto doesn't play well when the module is used to create rows of a table in HTML syntax :S [22:43:31] Vulpix: it doesn't? [22:45:20] jackmcbarn: I have a structure where a scribunto template is used to create rows of a table. Outside of the template there's the table in wiki syntax, and I'm using mw.html in the module [22:45:31] Vulpix: is this on a public wiki? [22:45:44] yes [22:47:40] jackmcbarn: http://es.pokemon.wikia.com/wiki/WikiDex:Zona_de_pruebas?action=edit&preview=yes&useskin=monobook [22:47:59] ah, wait, I pasted the wrong code [22:48:06] Here was some guy from the Gamepedia, which worked on the Achievment Plugin. Are you still there? :D [22:48:37] well, I forgot I had a subst: there... [22:49:05] I guess the problem here is mixing HTML table syntax with wikitext [22:49:24] does this wiki have Tidy on? [22:49:31] i think you can only do that with Tidy, independent of Scribunto [22:50:01] no, wikia doesn't have TIDY afaik [22:50:41] that would be why i think [22:50:45] creating tables using mw.html looked neat... I guess I'll have to rewrite it to use wiki syntax... [22:50:49] you can confirm by trying the raw html without scribunto [22:51:10] yeah, I tried it (by subst:ing the module) and result is the same [22:51:28] can you just build the outer table with html too then? [22:53:00] yes, building the outer table with HTML syntax works as expected, but this is the rewrite of an existing template using Lua instead of wikitext, and I can change the surrounding table syntax "easily" enought [22:55:14] I read somewhere that the return string of a module should be already parsed somehow... I wonder if returning tables in wiki syntax would actually work... [22:56:33] also, the way wikitext handles whitespaces may make it even more difficult to write in Lua [23:00:45] jackmcbarn: thanks, I'll have to rethink that table... it seems the solution is to use HTML for this [23:53:33] StartSSL apparently has a vulnerability in its email verification. http://oalmanna.blogspot.com/2016/03/startssl-domain-validation.html [23:53:57] *wrong chat, but still relevant