[01:17:24] Inquiry: normally having a URL as an inline background style in an element is filtered out by the parser for not being secure. But if you are writing an extension, could you wrap it in HtmlArmor to get around that? The context is shoving rectangular images into square frames; the method we've devised involves specifying precisely how many pixels the image [01:17:24] should be offset within the container div. And we can't do this with CSS unless we have CSS classes for each number of pixel offsets (a stupid idea), and having inline styles is not possible when working with wikitext images. So the solution here is to have the image be used as a background, which again is not possible because the parser filters out [01:17:24] background URLs. Hence my question about using HtmlArmor. [01:35:37] How arbitrary are the images? [01:35:56] User input. [01:36:08] Users input rectangular images? [01:36:12] But HTMLArmor won't work here, since the output is wikitext, so you can't just shove HTMLArmor into that. [01:36:18] Most images are rectangular. [01:36:32] Most images on Commons are not perfect squares. [01:36:56] I think most people solve this by cropping the image. [01:37:52] I don't think that would be feasible here. The goal is to reduce images of arbitrary dimensions to squares for consistent presentation. [01:38:20] Is the offset also user-specified? [01:38:53] That is a bigger problem for Commons to solve: user-specified square versions of rectangular images. [01:39:03] Hashtag #structureddataoncommons. [01:39:24] "Structured data." [01:39:34] Whatever that means. [01:39:52] Anyways, you seem uninterested in answering my question so I'm leaving. [01:44:16] !xy [01:44:16] The XY problem is asking about your attempted *solution* rather than your *actual problem*. http://meta.stackoverflow.com/a/66378 [02:17:30] hello, i'm trying to move a mediawiki instance to another server but i'm getting an error on every request that just responds with "A database query error has occurred. This may indicate a bug in the software." there's nothing in the lighttpd logs either, thoughts? [02:23:30] !debug | grim [02:23:30] grim: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [02:24:26] i did the localsettings.php ones, somehow i missed the followup ones, i think i was on a different page [02:24:30] thanks for the link :) [02:28:24] ugh, looks like there was a database migration between the two versions.. [02:31:56] it's almost always the case when the second number is changed [02:32:36] yeah it went from 1.29.20 to 1.27.1, trying to figure out if i can run the migrations manually :) [02:33:12] m afraid 1.29.20 doesn't exist [02:35:56] 1.19.20, sorry fat fingers ;) [02:39:50] sweet that did it, thanks a lot MaxSem :-D [02:39:58] :) [08:36:47] hi [08:37:24] i'm trying to make a new installation of mediawiki 1.28, but i'm getting cannot connect to database [08:37:42] but i can do mysql -h databaseserver -u mediawikiuser -p [08:39:15] dear i have a problem my user is blocked [08:39:44] what to do [08:46:09] how to delete my user [09:20:59] How to set rights to category? [09:31:05] hi all, i need to do a category tree with some meaning. Something like fundamental categories and so on. You can see an example in Portals:Contents/Categories but that is hand-made. I should do it programmatically [09:53:10] When a user gets globally renamed, does the action get logged somewhere? If so, where? [10:43:22] sabbut, the central wiki mostly [10:45:38] Nemo_bis: do you mean MetaWiki? [10:53:58] sabbut: in Wikimedia's case, yes [10:57:02] (Random answers to gone users sout, not quite supported; bonettoeyou'd need to teach the computer how to extract meaning; newbee, per-namespace and per-category rights are allowed in SimpleSecurity but not quite wwell supported.) [11:08:58] Nemo_bis: OK, I can see the global rename log... problem is, it seems you can only search the old name, not the new one [11:23:21] Reedy: Hi I want to contribute to the Quiz extension project. I've already installed the codebase. How do I begin? [12:30:15] sanskrutishah_: Test it? Always good to know how it works. Find any bugs? Look at any filed bugs and see if you can fix any :) [14:10:17] can I somehow bring back the sidebar search box on 1.27 with the normal vector skin? [14:10:37] SEARCH is still a keyword in the default MediaWiki:Sidebar but it doesn't do anything [14:23:51] hi there, is there a safe way to end a user session (php session) and delete all its cookies? [17:44:10] my mediawiki sql ssl connections use only tls1.0 [17:44:16] anybody care to tell me how to force it to be 1.2 ?