[06:05:11] I'm wanting to embed (not execute) code hosted on github for documentation purposes. Instead of updating the wiki whenever there is a code change, it should read the up to date version of particular file off github and embed the contents of the file on a page in mediawiki (ideally within
 or  tags) similar to the way a PHP get_file_contents('http://url.com/file.py') 
[06:05:12] 	 function might work.  Is there an obvious way to do this without extensions?  Are there any extensions that might help? 
[08:47:33] 	 y0
[08:47:56] 	 got a slight problem with none of the email stuff working on http://wiki.study
[08:48:34] 	 I have LocalSettings.php set up the same way as another wiki where email works ok
[08:49:12] 	 I'm using TLS protected transport to my hosting guys' SMTP server
[08:54:21] 	 I don't get it
[09:04:39] 	 The wikis are running on the same VPS
[09:05:46] 	 but wiki.study does not seem to have any of the email stuff enabled even if I've checked the conf to be good
[12:27:06] 	 is there a way to customize mediawiki, so that it would not number entries, listed with '==' ?
[12:27:43] 	 it's nice that it creates this list at the beginning of the page, but i'd like to get rid of numbers.
[12:29:11] 	 noch: I think it's a user preference, let me see
[12:29:40] 	 aha?
[12:31:16] 	 oh, my bad that's for adding the numbers to the headings themselves
[12:31:21] 	 not the table of contents
[12:31:22] 	 hmm
[12:31:44] 	 yes, i mean table of contents.
[12:32:02] 	 you could add .tocnumber { display: none; } to your wiki's CSS
[12:32:19] 	 let me try
[12:32:26] 	 (in MediaWiki:Common.css)
[12:32:41] 	 oh, via web?
[12:32:43] 	 okay
[12:32:46] 	 !css
[12:32:46] 	 To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS
[12:33:00] 	 aaaand, after update, i need to remember to set it again?
[12:33:25] 	 no, it's a wiki page so it doesn't get affected by updates
[12:33:32] 	 you shouldn't need to touch any files
[14:04:50] 	 hello everyone
[14:05:37] 	 can anyone help me in setting up mediawiki from scratch
[14:12:35] 	 Guneet: You want to setup a development environment? Have you tried mwvagrant?
[14:15:09] 	 o/ LauraHilliger 
[14:15:37] 	 hello kim_bruning
[16:22:51] 	 is anyone onlinee
[16:22:54] 	 online
[16:24:04] 	 if yes then please tell me how can I activate gadgets on my wikimedia account
[16:24:37] 	 is anyone online
[16:27:21] 	 Special:Preferences
[16:28:11] 	 what?
[16:29:15] 	 can you please please tell step by step
[16:29:31] 	 actually i am new to mediawiki
[16:29:42] 	 and don't know anything
[16:29:58] 	 about it
[16:42:50] 	 I am getting session hijack precaution message on login-in page, I cannot login
[16:43:11] 	 Version is 1.28
[16:50:18] 	 anybody to help out on this issue?
[17:26:16] 	 purpleMoon: What's the exact message?
[17:27:06] 	 Guneet: You want to try a gadget on your dev environment or wikipedia? Your question isn't clear. 
[17:27:07] 	 from where can I use the gadgets in wikidata
[17:28:06] 	 Guneet: Go to preferences (link at the top of page) and click on Gadgets tab. 
[17:28:19] 	 i have activated my gadgets 
[17:28:28] 	 but how do i use them
[17:28:38] 	 what to do after this 
[17:28:47] 	 where are they located
[17:29:04] 	 Depends on the Gadget. You need to read and learn about the gadget.
[17:29:29] 	 would you please provide the link
[17:29:45] 	 No, because I cannot.
[17:29:52] 	 what?
[17:29:55] 	 No, because I cannot.
[17:30:04] 	 but why?
[17:30:25] 	 You need to read https://www.wikidata.org/wiki/Special:Preferences#mw-prefsection-gadgets and understand what each gadget does. And where to see it and how to use it. We cannot do that for you.
[17:30:39] 	 ok
[17:30:48] 	 thanks for your help
[17:31:18] 	 Guneet, if you have questions about Wikidata, there is also the #wikidata channel.
[17:32:03] 	 ok
[17:34:47] 	 hello folks
[17:34:53] 	 I can upload a file
[17:35:00] 	 but I cannot see it, says login required
[17:35:08] 	 "Please log in to view other pages."
[17:35:36] 	 and just now I noted that I disabled varnish proxy, and it works... so.. not sure why, everything else seems to work fine
[17:35:53] 	 and apache has module remoteip so ..
[17:39:48] 	 cusco: so my next question was whether your wiki is set to be private and what caching you have
[17:40:42] 	 Because "privileged" users may be served cached versions meant for unprivileged users
[17:40:51] 	 Or similar issues
[17:43:33] 	 Nemo_bis: that seems like the issue at hand yes
[17:43:49] 	 but varnish respects ctrl + f5 that sends pragma no cache header
[17:43:55] 	 and fetches content from the backend
[17:44:21] 	 looking at https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads I see a bit on the bottom
[17:44:37] 	 about "proxy for curl requests"
[17:58:54] 	 cusco: perhaps you should "just" make registered users avoid varnish
[18:06:26] 	 Nemo_bis: yea I bypassed varnish altogether...
[18:54:11] 	 Hey all, since Varnish is currently being discussed, I have a question/problem regarding Varnish, MW 1.27, and hit ratios.
[18:54:38] 	 I upgraded everything a week ago, including Ubuntu, Varnish, MW 1.26 to 1.27, PHP 5.3 to 7, etc.
[18:54:47] 	 However, my hit ratio tanked as a result.
[18:55:05] 	 hi all, can someone tell me how i get the note icons running? what extension do i need to have for that?
[18:55:39] 	 note icons?
[18:55:43] 	 After lots of testing and asking around, I got some help from the Varnish list yesterday that basically helped me discover that lots of requests were getting TTLs of -1 from the backend, including lots of images and thumbnails, leading to them not being cached.
[18:55:59] 	 yes in the content there are some icons like the gree arrow 
[18:56:17] 	 warning note and such things its a template i guess but i dont know what extension does that
[18:56:43] 	 if i just insert the template {{note}} nothing happens and i would like to integrate it with the wysiwig editor if possible
[18:56:51] 	 Is there some behavior in MW regarding this that would have changed in MW 1.27? I added a TTL setting of 24h to images in vcl_backend_response but I don't understand why that now seems necessary.
[18:56:52] 	 well, it's just a template
[18:57:23] 	 template for what?
[18:57:28] 	 this one, i guess? https://www.mediawiki.org/wiki/Template:Note
[18:57:40] 	 yes
[18:57:58] 	 but this needs some extension i guess?
[18:58:14] 	 you can copy that to your wiki, and you'll have the template. the icon is hosted on Commons, so it'll display if you set $wgInstantCommons=true;.
[18:58:30] 	 no extension needed, beyond ParserFunctions
[18:58:32] 	 !instantcommons
[18:58:32] 	 InstantCommons is a feature for MediaWiki 1.16+ that allows any MediaWiki installation to use media on the Wikimedia Commons. This has basically been realized via $wgForeignFileRepos. See . If you're only looking to use images from Wikimedia Commons and no other wikis, you can use the shortcut setting $wgUseInstantCommons to true.
[18:58:36] 	 !parserfunctions
[18:58:36] 	 "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see .
[18:59:24] 	 thx
[19:00:14] 	 justinl: i don't know much about varnish, but mediawiki doesn't serve images itself in most cases. they're just put in a web-accessible directory and server by your, well, server. (unless you have some fancier file repo setup)
[19:00:45] 	 or unless you're talking about requests to img_auth.php or Special:UploadStash or load.php or some such
[19:01:06] 	 MatmaRex thank you again might come back if i still face problems have a nice day
[19:01:31] 	 MatmaRex: But MW does handle decisions about TTL settings, as I've seen in searching through the code.
[19:01:46] 	 MatmaRex: Just standard requests for thumbnails and images via page loads.
[19:02:12] 	 Oops, have to run to a meeting. I'll check back in a bit. :)