[07:48:56] anyone here write wikimedia bots? [07:56:41] reputation premium [07:57:17] Hi, at https://sk.wikipedia.org/wiki/Port%C3%A1l:%C5%A0ach we have a problem. Some pictures goes somewhere else they should be (when you're zooming). Can somebody help me how to fix it? I would like the image have 400px maximum, not everytime. [07:57:20] Is there any param for it? [07:57:24] Thanks in advance! [07:59:46] title trader please [08:03:12] Anybody can reply to this topic in the following links? https://www.mediawiki.org/w/index.php?title=Extension_talk:Wikibase_Client/Lua&curid=118904&diff=2279502&oldid=2269087 [08:04:10] It's about function in wikibase module that always return the english opposite of the wikidata item. [08:16:06] Any help? [08:19:23] ASammour, sorry i'm not sure [08:23:11] It's ok. If I use regex for example with the function, it may be solved? [08:23:32] "string.find" [08:27:58] gengy: What is "title trader"? Was it for me? [08:28:25] i got lv 7 trader so i wanna title of it [09:05:59] Hi [09:06:37] a few days ago, i upgrade my ubuntu from version 14 to 16 [09:07:23] and now, my mediawiki installation is broken [09:08:13] i cant talk ? [09:08:21] /var/lib/mediawiki/extensions/WikiEditor/WikiEditor.php doesn't exist anymore [09:09:37] and I dont have index.php at /var/lib/mediawiki [09:10:06] do you know why and which is the best way to repair it ? [09:10:55] plomo: have you tried re-running the package installer [09:13:09] not for the moment ;) [10:16:05] How to remove index.php from url [10:16:06] >? [10:20:56] !shorturl | ctmarco [10:20:56] ctmarco: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [10:39:12] reputation premium [10:41:09] hi, I'm trying to make a template {{mine|foo}} do [[something#{{{1}}}|...]] but the link is rendered as something#_foo instead of #foo. but {{{1}}} renders as foo (no leading space). how can I get rid of that '_' ? [10:44:47] gengy: this channel is for support relating to the mediawiki wiki package, it appears you may be in the wrong channel [11:07:00] p858snake|L2: htaccess fils doenst works for me [11:07:03] file [11:07:31] i know nothing about shorturls, and can't give you any assistance other than linking to that page [11:09:19] p858snake|L2: I have index.php file [11:09:28] I need remove url with index.php [11:33:29] p858snake : where is the righte channel ? [11:33:51] gengy: what are you looking for support for? [11:34:27] p858snake : i wanna to change my reputation points to premium [11:34:43] in what? [11:46:32] p858snake|L2: I need remove index.php from mediawiki url [11:46:40] i tried everything but not working [11:47:09] ctmarco: as i've pointed out, I don't have personal knowledge of that area and can't help you [11:47:48] but "not working" is extreamly vague if someone does come online and wants to help you [11:55:34] gengy: you've been spamming several channels in the last days with your "premium" stuff and nobody understands what that is and what you want. Will you stop this or do we have to block you? [11:56:46] gengy: if you have "reputation points" somewhere, you need to explain the somewhere. [12:10:32] Hi [12:13:50] I'd like to create something similar to a database. Say I want to create one Wiki page per Employee. I want to enter structured data (name, room number, phone number, etc.) in something like json or yaml and display it on that person's wiki page along other text. And I want to create one overview page which lists all my Employees in a table which takes the data from each Employee. Is that possible? [12:19:34] you could probably do that with some Scribunto Lua modules. [12:19:36] !e Scribunto [12:19:36] https://www.mediawiki.org/wiki/Extension:Scribunto [12:21:25] isn't wikibase more appropriate? [12:23:40] not to mention also that this use case is quite pointless because human resources such as this can be stored and retrieved as needed in the company's active directory or any other ldap database [12:23:54] MatmaRex , Wulf [12:24:38] sure, there are probably other ways to do this, but it can be done this way too if you really want. [12:27:37] MatmaRex: lua scripting.. I'm not sure if anyone here is able/willing to do that [12:27:51] arseny92: got a link where I can see it in action? [12:32:24] Wulf: you can do it with old-fashioned templates too, if that fits your idea of "structured data". e.g. https://en.wikipedia.org/w/index.php?title=Template:Country_data_Germany&action=edit [12:32:37] used by https://en.wikipedia.org/w/index.php?title=Template:Flag&action=edit and https://en.wikipedia.org/w/index.php?title=Template:Flag/core&action=edit [13:32:40] [14:27] arseny92: got a link where I can see it in action? - what? wikibase? [13:33:03] wikidata atm [13:47:02] hi, I'm trying to make a template {{mine|foo}} do [[something#{{{1}}}|...]] but the link is rendered as something#_foo instead of #foo. but {{{1}}} renders as foo (no leading space). how can I get rid of that '_' ? [15:53:11] Can anyone tell me an efficient means of steal-- importing the template:reflist on wikipedia into my wiki? I've updated Cite and now I have a drunk reflist template [15:53:19] and it seems awfully like dependency hell getting it sorted again [16:00:51] * Ulfr RTFMs and withdraws the question [16:42:35] hi, I'm trying to make a template {{mine|foo}} do [[something#{{{1}}}|...]] but the link is rendered as something#_foo instead of #foo. but {{{1}}} renders as foo (no leading space). how can I get rid of that '_' ? [17:02:03] mnemoc: you probably have a space when calling the template, like {{mine| foo}}. positional patameters preserve whitespace. [17:02:14] parameters* [17:12:08] whitespace in templates is the devil. [17:41:56] MatmaRex: oh. I assumed that was trimmed out.... like it happened with my {{{1}}} test. I'll remove the whitespace from the calling code. thanks! [17:43:09] for safety, is there a mechanism to expand {{{foo}}} with left and right whitespace removed? [17:44:07] calls to templates without some degree of whitespace to align things is pretty hard to maintain :< [17:53:52] mnemoc: named parameters are actually stripped of whitespace… yeah, it's a mess [17:54:44] https://meta.wikimedia.org/wiki/Help:Template and https://meta.wikimedia.org/wiki/Help:Advanced_templates are the main docs on the matter btw [17:54:46] mnemoc: if you have ParserFunctions installed, {{#if: whatever | {{{1}}} }}. (positional parameters to parser functions are also stripped… don't ask) [17:55:20] brilliant. thank you! [20:24:16] hi, is it possible to add a clickable(but doesn't necessarily do anything) checkbox in my wiki? [20:24:41] I kind of liked that feature of Zim [20:25:19] What's the point of it then? ;) [20:28:25] You'd need an extension... [20:40:34] MrKeuner: clicking the checkbox would need to make an edit, right? [20:41:56] MrKeuner: maybe this https://www.mediawiki.org/wiki/Extension:Checklist [20:42:28] the page looks a bit broken and there isn't much detail. but it's apparently part of BlueSpice, so it should be functional and maintained [21:00:51] Hi all; I'm trying to center two images on a page. So I created a 2-wide wikitable that is 100% wide, and I am trying to follow the guide on centering found here: https://www.mediawiki.org/wiki/Help:Tables#Cell_contents_alignment [21:01:09] First, when I copy/paste that to my wiki, everything aligns to the top, not the middle or bottom [21:02:12] digimer: What's wrong with just doing
[[File:Example.png|50px]] [[File:Example.png|50px]]
[21:02:44] I want the two images equally spaced across the page [21:03:04] image a full width, two cell table and an image centered in each cell [21:04:08] https://alteeve.ca/w/User:Digimer <- trying to center those two images, plus the example table from the mediawiki link not rendering properly [21:06:20] digimer: So in the table you're saying everything in the cell should be centered, but in the image syntax you're using the "left" keyword to left align the image. [21:06:38] GAH! [21:06:40] >_< [21:07:02] * digimer <- ID10T error [21:07:54] OK, so next issue is the center the two images horizontally [21:08:01] which brings me back to the sample table [21:08:24] https://www.mediawiki.org/wiki/Help:Tables#Cell_contents_alignment renders differently on my wiki: https://alteeve.ca/w/User:Digimer#Misc [21:09:14] I think its because you're vertically aligning the table row, instead of the table-cell [21:09:40] but I copy/pasted the table data directly from the mediawiki page [21:09:44] is it wrong there then? [21:10:00] wtf, https://www.mediawiki.org/w/index.php?title=Help:Tables&action=edit§ion=20 section cannot be found [21:10:17] Anyone break section editing recently? [21:10:43] oh, probably translate's fault [21:11:43] digimer: It appears to be due to the skin you're using on your wiki [21:11:51] o_O [21:11:52] ok [21:12:03] there's a css rule table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { vertical-align: top { [21:12:06] } [21:12:24] that is overriding the vertical align when you specify it at a row level (instead of the cell level) [21:13:01] understood [21:13:14] thank you kindly for the help [21:13:20] glad to help