[01:04:07] Shalom [01:04:21] I have a question. [01:04:29] So this is my Wiki: https://www.thecryptowiki.org/Ripple [01:04:43] Where it says "Price" on the infobox, I would like to have a live price imported from CoinMarketCap [01:04:52] Is that something that's possible with MediaWiki? [01:06:21] Oh, you're back. [01:06:23] Hi DeepChill. [01:06:40] Look at that pretty infobox! [01:07:14] DeepChill: Sure, anything's possible. You could do it with PHP or with JavaScript. [01:16:24] Thanks Ivy. I finally got the website to work like I've wanted it to. [01:18:20] Do you think it would be possible to have a page like this? https://www.livecoinwatch.com/ [01:18:29] Which updates automatically without having to refresh [01:23:37] Its possible, but it doesn't exist yet so you would probably have to write the code yourself [01:24:29] I have never coded before. [01:25:02] or otherwise convince/pay someone to do it [01:25:07] I wanted to create a table and have the live updated data in there. Do you think it would be extremely complicated? [01:25:19] On a scale of 1-10, how easy of a job is this? [01:25:34] If you already know javascript, probably about a 3 [01:25:43] 1 being the easiest, right? [01:25:51] yeah [01:25:59] I'll ask my dev if he can do [01:26:37] As long as you have some source where you can easily get the data from [02:13:19] Are we doing ticket estimation?! [02:18:37] I have a question. How do I adjust image size in an infobox? [02:18:51] I have this in the code: "| image_1 = Ethereum logo 2014.svg [02:18:52] " [02:19:15] Is there something to add ahead of it to limit it to an x amount of pixels? [02:33:16] DeepChill: Depends on your template. [02:33:42] Sometimes people do weird hacks like "Ethereum logo 2014.svg{{!}}50px". [02:33:52] Where {{!}} is Template:!, a single vertical bar. [02:34:35] This is the template I'm using: https://www.thecryptowiki.org/index.php?title=Template:Infobox_cryptocurrency1&action=edit [02:35:10] should I change "image_width_1" to px value? [02:35:44] Probably not. [02:35:53] Not in the template, anyway. [02:36:09] That would make it the same for all images using that template [02:36:11] On the page where you're calling the template, try specifying "| image_width_1 = 10px" [02:36:17] Is that your goal? [02:36:32] Actually, let's just change it on this one [02:36:38] You probably want a default value with the ability to override on specific pages. [02:36:53] right [02:37:03] https://www.thecryptowiki.org/index.php?title=Ethereum&action=edit [02:37:09] | image_1 size = 65px [02:37:13] That should be _width instead. [02:37:25] Since "image_1 size" isn't a valid template parameter for this template. [02:37:37] Spaces v. underscores can matter sometimes. [02:37:50] In lots of MediaWiki, they're treated the same, but not everywhere. [02:38:00] Pretty secure template parameters are sensitive to them. [02:38:16] Yes it worked [02:38:25] Great. [02:38:30] :) [02:38:31] You can specify a default by changing your template code to... [02:38:52] Oh, it already has a default, I guess. [02:39:00] {{#invoke:InfoboxImage|InfoboxImage|image={{{image_1}}}|size={{{image_width_1|}}}|sizedefault=252px|alt={{{alt1|}}}}} [02:39:07] sizedefault is probably the default width. [02:39:14] I see [02:39:18] Alternately, you could do... [02:39:29] |size={{{image_width_1|252px}}} [02:39:32] So previously before I edited it, it was 252 px? [02:39:39] Probably? [02:39:44] Hmm [02:39:52] And if an image is smaller, it increases it? [02:40:05] Heh, Admin. [02:40:14] ? [02:40:23] https://www.thecryptowiki.org/index.php?title=Ethereum&direction=prev&oldid=17660 was 252px wide, yes. [02:40:31] ok [02:40:33] Just noticed your default user name. It's cute. [02:40:42] If an image is smaller, it probably will stay small. [02:40:56] Depends on your thumbnailer, I guess. [02:41:50] Alright [16:31:00] trying to set up $wgCookieDomain on a wiki family type setup, but it only seems to work properly (as in log me in on all subdomains) when "keep me logged in" is checked [16:31:32] kind of lost [18:06:49] I was looking over the formatting page, and couldn't find what I was looking for. [18:07:01] Is there a way to center text on a page [18:07:03] ? [18:08:47] wrap it in a
with appropriate stylings [18:08:55] e.g.
Centered text goes here
[18:09:54] Thank you very much! [20:46:44] cats: even if you share the cookies, the backend session won't be shared [20:47:02] and without that checkbox the only thing stored in a cookie is the session id [20:48:09] T149573 is the related task if you feel like fixing it in MediaWiki [20:48:10] T149573: Add a configuration variable that allows Session Backend and Session manager share sessions across multiple wikis. - https://phabricator.wikimedia.org/T149573 [21:01:03] tgr: alright I see, thanks [21:02:12] Ooh, first adopter problems. I’m hitting this error while writing a custom ContentHandler: “MediaWiki\Storage\IncompleteRevisionException from line 226 of /vagrant/mediawiki/includes/Storage/SlotRecord.php: Uninitialized field: cont_address" [21:04:26] It’s supposed to come from… rev_text_id, I think. [21:04:39] lol I’m probably not saving any content [21:20:16] Man my Wiki is getting so much better every day [23:27:36] Hey :) Is there any build in way to only allow account creation from a certant email host, a whitelist instead of a blacklist? Or do I have to look after a third-party extension? Running Mediawiki 1.30