[01:59:38] is there an option for collapsible blocks of text in mediawiki? [02:08:05] mnathani_: https://www.mediawiki.org/wiki/Manual:Collapsible_elements [02:08:24] thanks bawolff [02:08:53] it probably was one of the first web results. My apologies for not googling first [02:11:41] mnathani_: no worries. Its a little obscure [02:22:04] bawolff: do you want to be an op in this channel? [02:23:59] heh [02:28:15] also marktraceur, Nemo_bis, Krenair, saper? [02:28:37] sure, I'll be op [02:35:21] done [02:35:34] ok. will keep a closer eye on the channel [05:32:19] how can one add an already-uploaded-image to a my user page? [05:39:10] ankita_: [[File:Filename.jpg|thumb|Description]] on the page's source is a way [05:39:38] c: Yes, I saw and tried that [05:39:53] and what happened? [05:40:27] However, I want the image to be dislayed on my wikipedia user page while the uploaded image is on https://mediawiki.org/ [05:41:24] ankita_: Which image? [05:41:40] Have a look at this page: https://en.wikipedia.org/wiki/User:Ankitashukla [05:41:40] I want the image here :https://www.mediawiki.org/wiki/File:Ankitashukla.jpg to be displayed [05:42:16] Are you familiar with Wikimedia Commons? [05:42:26] It's probably a better place for that image. [05:42:28] as a beginner [05:42:38] https://commons.wikimedia.org/wiki/Main_Page [05:43:01] Images that are uploaded to Commons can be used on mediawiki.org and en.wikipedia.org and any other Wikimedia wiki. [05:44:37] Katie: thanks! :) [06:23:40] TimStarling: yes I know how to use op [07:15:29] TimStarling: me too :) on IRC before I knew what HTTP is :) [07:29:14] should I have an account on melange for outreachy? [07:33:34] akangupt_: no, only on Outreachu [07:36:32] saper: Well, it was written here https://www.mediawiki.org/wiki/Outreach_programs/Selection_process#FAQs_for_candidates , which created confusion. I guess it is only for GSOC. Thanks :) [07:45:33] akangupt_: "Phabricator" is for Outreachy projects [07:48:27] am I the only one where Vector page tab overlaps the logo? [08:26:58] hi, is there some extention which helps anonymizing ip etc...? [08:29:53] of the user or the site? [08:38:55] Nemo_bis, saper: done, you have +o [08:47:47] saper: user [08:55:51] thanks [09:55:00] can i have specific tranclude automatically on specific new pages? [10:01:10] TimStarling: thank you! [10:02:03] !extension NewArticleTimplate | jirib [10:02:03] jirib: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See http://www.mediawiki.org/wiki/Manual:Extensions for instructions to install extensions, as well as for writing them. See http://www.mediawiki.org/wiki/Extension_Matrix for an overview of known extensions. [10:02:15] NewArticleTemplate, even [10:02:24] !preload [10:02:24] https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [10:02:29] !preload | jirib [10:02:29] jirib: https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [10:03:07] saper: thx [10:05:41] Extension:Boilerplate [10:05:44] and few other [10:05:49] others [11:05:41] hello .. is there a way to "flatten" a mediawiki install .. effectively reducing it to html and nothing else .. [11:06:10] im currently just web crawling to do it .. but im looking for a more effective way to complete it from server side [11:06:34] the reasoning behind this is for a disaster recovery plan [11:06:58] dumping a wiki content as XML does not do the trick? [11:07:14] it probably needs to stay readable in case of the disaster, right? [11:08:38] https://dumps.wikimedia.org/other/static_html_dumps/ <- old HTML dumps of Wikimedia wikis [11:24:32] that might work [11:26:20] !export | znx [11:26:20] znx: To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [11:52:20] thanks saper [12:33:18] I'm using lastrevisionbefore (http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#lastrevisionbefore) in a dplquery, and it seems to be doing template expansion with newer revisions, I'm not sure if I can do anything about it [12:34:04] my next solution is getting all the relevant pages and doing the template parsing myself, but I'd better avoid it [12:43:13] can't edit http://semeb.com/dpldemo/index.php?title=DPL_talk:Manual_-_DPL_parameters:_Criteria_for_page_selection ... [12:49:46] ah right the pages I'm getting are themselves using a dpl query through a module, and that query doesn't include a lastrevisionbefore obviously [12:51:23] I'll parse it myself then.... [14:11:04] hello [14:11:36] I'm getting a weird error: MediaWiki 1.25 requires at least PHP version 5.3.3, you are using PHP 5.5.9-1ubuntu4.14 [14:12:03] Mmmm [14:12:09] Isn't that a vendor bug IIRC? [14:12:11] hi Reedy [14:12:25] my google was failing, but now I found some hits [14:12:32] You're definitely not the first person to have soemthing like that [14:13:45] actually, not finding much [14:19:48] Just re-downloaded the 1.25 tarball and it works now [14:20:10] translation extension looks great! [14:21:46] I got a notice that my account was blocked 14:15, 29 October 2015 Abuse filter (talk | contribs) blocked BosnaZmaj (talk | contribs) with an expiry time of indefinite (account creation blocked) (Automatically blocked by abuse filter. Description of matched rule: Temporary mass spambot attack) [14:22:03] any suggestions as to how to unblock it? [14:23:03] Is there a process? [14:24:30] hi BosnaZmaj [14:24:35] Hi [14:24:35] on which wiki? mediawiki.org? [14:24:41] Yes [14:24:52] You're such a spammer BosnaZmaj [14:25:04] just ask, it seems you're a human and not a spambot, i'll unblock you :) [14:25:28] Thank you MatmaRex [14:25:53] I wish I was a spambot, they get to know all the cool things lol [14:26:02] BosnaZmaj: done [14:26:13] Thanks once more [14:26:20] BosnaZmaj: i'm not sure how the filter works, if it blocks you again, say so and i'll try to figure out how to prevent it :D [14:26:59] Thank you [14:27:27] I was trying to post a issue with the Scribunto module when it happened [14:27:47] Maybe someone has an answer for it? [14:28:05] I am getting an error Lua error in package.lua at line 80: module 'Module:Navbar' not found. [14:28:09] BosnaZmaj: it's possible that someone in your range was previously spamming [14:28:18] i.e. your host ip address may not be stable [14:28:42] That is certainly a possibility, I am on Verizon FiOS so [14:28:50] urg, on to teh next 'vendor specific' problem, Could not find a suitable database driver [14:29:04] BosnaZmaj: looks like you have to import the 'Navbar' module from the same wiki from which you imported that script that wants it [14:29:28] oh, error includes solution [14:29:35] BosnaZmaj: i think no modules are built-in, or almost none [14:30:01] That is what I thought as well so I added the Module:Navbar and copied the code from Wikipedia for it but the error is still there [14:31:54] Unless there is a special way of doing it, I thought creating a Module is the same way as with everything on a wiki create a page with Module:Name of module and add the code in it. Right? or am I way off on this one [14:32:04] it should be [14:34:54] Hmm... I installed php5-mysql via apt, but I still get the error about "Could not find a suitable database driver" [14:35:46] might need to restart apache/whatever? [14:35:53] ah, good point [14:36:12] thansk MatmaRex [14:44:20] MatmaRex: Yes, you need to restart apache [15:02:52] hi? [15:14:15] hello allies! I noticed that search engine tend to pick up the license info contained in the footer of every page. Is there some way to remove it from showing up without having to use "display:none" in css [15:14:16] ? [15:31:07] what's the tag? [15:33:54] notthatguy: I think you can change $wgRightsText [15:35:49] if the various $wgRightsXXX config vars are null, they won't appear [15:45:25] That is the thing that lets you output icons like featured article/good article at the top corner. [16:28:51] ah, thanks [17:37:08] how do I run the tests? [17:37:56] oh... php parserTests.php [18:07:49] @seen Vulpix [18:07:49] legoktm: Last time I saw Vulpix they were quitting the network with reason: Quit: Wikia - Destroying communities N/A at 10/28/2015 10:25:39 PM (19h42m10s ago) [18:07:54] I will let you know when I see Vulpix around here [18:07:54] @notify Vulpix [19:05:40] Could someone please review https://gerrit.wikimedia.org/r/#/c/249418/ it is about adding a missing @import statement to two css files. Without adding this the css file would cause other extensions that depend on the skin to fail. And would cause users who use those files to find the css wont work and instead cause the css not to show. [19:05:58] The patch is for BlueSky skin. [20:19:35] Isarra: hey! I heard you are scheduled for a tech talk next week. I've done a couple of them remotely so if you have any questions I'd be glad to chat [20:19:47] HALP. [20:19:59] step1) breathe [20:20:10] I'll try. [20:20:26] It's actually probably a very good thing it's remote because I have a horrible cough. >.> [20:20:32] step2) just be you. funny, smart, snarky [20:20:50] step3) use a headset [20:21:20] Mmm, aye. [20:21:47] don't try to pack too much into the talk. I had loads of slides and content for my first one and only covered 60% [20:21:59] talking takes time [20:22:03] So I'm planning to just run through a quasi-basic tutorial, showing people steps with git commits of an existing skin. Does that seem reasonable? [20:22:17] I don't know how to use slides at all. ^.^ [20:22:27] * Isarra is hopeless. [20:22:43] heh [20:23:01] so you want to show code in a terminal? [20:23:20] that should work, but you will want to make the font HUGE [20:23:22] Text editor, terminal, browser window. [20:23:41] Terminal people don't need to see. [20:23:57] Browser window is just to show what it actually looks like at each stage. [20:24:03] *nod* [20:25:01] If you can take screen shots before hand and then just flip through them then you'll be less likely to get flustered by your browser having a hiccup in the middle or something [20:25:04] Honestly the text editor will probably just be a lot of my waggling a mouse at it saying "you got some stuff and you can rearrange it and crap" and "shove some css in here" and the like. [20:25:08] but a live demo can work fine [20:25:56] Well, all else fails I can... uh... just kludge the entire thing by talking? [20:26:08] Does that ever work? [20:26:13] blah blah blah CSS blah [20:26:30] talking is good [20:27:20] what about screen sharing via ssh and 'screen -x' :) [20:28:14] Wouldn't work for something this visual, would it? [20:28:29] for git+code part [20:28:37] Ah. [20:28:47] of course w3m can help with a text mode view, but that's ... probably not what you want [20:28:53] (I always check my skins on w3m) [20:28:55] I honestly wouldn't know how to edit the code in a terminal. o.O [20:29:22] live screen -x demos are not a great idea ;) [20:29:48] I'm a designy person. I'm all about visuals. [20:29:57] And then hurling the visuals at people's faces when they break. [20:30:35] Isarra: I have ported two skins to 1.25/27 recently: http://repo.or.cz/NaiadSkin.git (wiki.blender.org) and http://repo.or.cz/BeagleSkin.git (old Beagle project skin, unfortuntely still working on licensing that properly) [20:31:09] They need porting for that? [20:31:11] bd808: I find text terminal shared via compressed video horrible [20:31:27] yeah. I do code snippets like this -- https://commons.wikimedia.org/w/index.php?title=File:MediaWiki-Vagrant_Tech_Talk_2014Q4.pdf&page=21 [20:31:36] I have ported both, they work now with master [20:33:05] This is going to be so disorganised. >.< [20:33:31] Isarra: why... doesn't have to be [20:34:23] I don't have slides or anything, just a process to run through. [20:35:27] At least this shouldn't need much for code snippets. [20:35:39] Most of the actual code should already be there. [20:43:28] when is your talk scheduled? [20:48:39] Tuesday. >.< [20:50:10] can't find on mw.org [21:00:29] It wasn't official. Now it is. Maybe. [21:00:32] * Isarra flees. [21:02:33] Isarra: o/ If you want to vent/rant before or after you can probably find me here [21:11:44] Vulpix: hi, can I pm? [21:14:14] yes! [21:49:25] hmm, i just migrated a wiki, but i've noticed that dates are formatted incorrectly on the wiki, is that something that's normal immediately after migrating a wiki? [21:50:22] wait, never mind, i believe i just found the answer to that question. thanks for you help :-) [21:50:48] greeter: what was the problem? [21:52:02] well, i noticed that dates on the wiki, such as in edit histories, were using DMY by default, although i thought i had changed the wiki settings to use YMD by default [21:52:56] turns out i had set that, but as i just learned, edit histories work a bit differently, and it looks like user preferences are unavailable as long as i have the database set to read only [21:54:42] ultimately, migrating the wiki was really painless. you guys have great documentation on your website :-) [21:55:57] We've had a lot of people dispute that last claim :P [21:56:01] * bawolff is going to have to stop saying: "MediaWiki has great documentation. SAID NOBODY EVER" [21:56:05] greeter: glad to hear it :) [21:56:15] what versions did you upgrade from/to? [21:56:49] legoktm: Kinda off topic, but Regarding the bug thingamajig, I have to confess I haven't really read up on how ResourceLoader works. Lemme dig thru the guts and get back to you guys [21:57:18] greeter: Glad to hear it went smoothly [21:57:24] i didn't do any upgrading, i just needed to move the wiki from one server to another. tried running mediawiki on a tiny vps which had several other things already running on it. the site was going down too often for my liking [21:57:25] Hydronium: ok, probably best to talk to Krinkle since he seems to have a much better idea on what to do [21:57:30] ahh [21:58:27] and truth be told it was either move the wiki or work on my irc bot, so i picked the one that sounded the least painful lol [21:58:56] k, brb [22:09:49] legoktm, Hydronium: which RL bug? [22:12:00] saper: https://phabricator.wikimedia.org/T99107 [22:13:02] this is where i find out i did something horribly wrong and broke the wiki :-P [22:51:53] hi, is there a way i can merge 2 mediawiki installs? i have one on my hosting but im not going to have it anymore so i want to merge it with my local install [22:52:29] export the content of one and import into another? [22:52:41] !export | autofsckk [22:52:41] autofsckk: To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [22:55:43] saper: is there a way to see or list all my pages? [22:56:35] autofsckk: visit Special:AllPages on the wiki [22:58:00] MatmaRex: thanks [22:59:36] is there maybe a way to export all of them ? do i have to put all of them individualy? maybe a plugin or a script? [23:00:27] i also have images and files, or could it be easier to just backup the data folder and db and then just put them locally? [23:01:42] autofsckk: you can set $wgExportAllowAll = true; to allow exporting all pages at once [23:02:06] MatmaRex: that doesnt include images and files right_ [23:02:12] righ? [23:02:22] autofsckk: for images, export/import should handle the description pages, to copy the actual files you'll probably need to use the importImages.php maintenance script [23:02:54] !maintenance [23:02:54] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [23:03:04] i think it will be best to instead of exporting the content, i think i need to move everything [23:03:46] MatmaRex: ok thanks, ill read the maintenance page [23:06:41] i think this is what i need https://www.mediawiki.org/wiki/Manual:Moving_a_wiki but ill still read about exporing/importing [23:07:52] well looks like i get to migrate wikis again :-P [23:12:45] I am getting this error Uncaught SyntaxError: missing ) after argument list when using mediawiki 1.27 wmf 4. [23:13:01] It shows load.php?debug=false&lang=en&modules=ext.centralauth.ForeignApi|ext.collapsiblevector.collapsibleNa…:38 Uncaught SyntaxError: missing ) after argument list [23:13:11] (c);};moment.suppressDeprecationWarnings=!1;moment.createFromInputFallback=deprecate('moment construction falls back to js Date.This is'+'discouraged and will be removed in upcoming major'+'release.Please refer to'+'https:strict;c._pf=defaultParsingFlags();return makeMoment(c).utc();};moment.unix=function(input){return moment(input*1000);};moment.duration=function(input,key){var duration=input,match=null,sign,ret,parseIso,diffRes;if(moment. [23:13:11] isDuration(input)){duration={ms:input._milliseconds,d:input._days,M:input._months};}else if(typeof input==='number'){duration={};if(key){duration[key]=input;}else{duration.milliseconds=input;}}else if(!!(match=aspNetTimeSpanJsonRegex.exec(input))){sign=(match[1]==='-')?-1:1;duration={y:0,d:toInt(match[DATE])*sign,h:toInt(match[HOUR])*sign,m:toInt(match[MINUTE])*sign,s:toInt(match[SECOND])*sign,ms:toInt(match[MILLISECOND])*sign};}else [23:13:12] if(!!(match=isoDurationRegex.exec(input))){sign=(match[1]==='-')?-1:1;parseIso=function(inp){var res=inp&&parseFloat(inp.replace(',','.'));return(isNaN(res)?0:res)*sign;};duration={y:parseIso(match[2]),M:parseIso(match[3]),d:parseIso(match[4]),h:parseIso(match[5]),m:parseIso(match[6]),s:parseIso(match[7]),w:parseIso(match[8])};}else if(typeof duration==='object'&&('from'in duration||'to'in duration)){diffRes=momentsDifference(moment(duratio [23:13:17] n.from),moment(duration.to));duration={};duration.ms=diffRes.milliseconds;duration.M=diffRes.months;}ret=new Duration(duration);if(moment.isDuration(input)&&hasOwnProp(input,'_locale')){ret._locale=input._locale;}return ret;};moment.version=VERSION;moment.defaultFormat=isoFormat;moment.ISO_8601=function(){};moment.momentProperties=momentProperties;moment.updateOffset=function(){};moment.relativeTimeThreshold=function(threshold,limit){if(rel [23:13:22] ativeTimeThresholds[threshold]===undefined){return false;}if(limit===undefined){return relativeTimeThresholds[threshold];}relativeTimeThresholds[threshold]=limit;return true;};moment.lang=deprecate('moment.lang is deprecated. Use moment.locale instead.',function(key,value){return moment.locale(key,value);});moment.locale=function(key,values){var data;if(key){if(typeof(values)!=='undefined'){data=moment.defineLocale(key,values);}else{data=mo [23:13:29] ment.localeData(key);}if(data){moment.duration._locale=moment._locale=data;}}return moment._locale._abbr;};moment.defineLocale=function(name,values){if(values!==null){values.abbr=name;if(!locales[name]){locales[name]=new Locale();}locales[name].set(values);moment.locale(name);return locales[name];}else{delete locales[name];return null;}};moment.langData=deprecate('moment.langData is deprecated. Use moment.localeData instead.',function(key){ [23:13:34] return moment.localeData(key);});moment.localeData=function(key){var locale;if(key&&key._locale&&key._locale._abbr){key=key._locale._abbr;}if(!key){return moment._locale;}if(!isArray(key)){locale=loadLocale(key);if(locale){return locale;}key=[key];}return chooseLocale(key);};moment.isMoment=function(obj){return obj instanceof Moment||(obj!=null&&hasOwnProp(obj,'_isAMomentObject'));};moment.isDuration=function(obj){return obj instanceof [23:13:39] Duration;};for(i=lists.length-1;i>=0;--i){makeList(lists[i]);}moment.normalizeUnits=function(units){return normalizeUnits [23:13:40] oh please [23:13:45] pastebin~ [23:13:51] paladox: don't paste so many lines here [23:13:55] Sorry. [23:14:21] http://pastebin.com/A5MEuiCP [23:15:35] It is causing my js to not work. It seems to be with moment.js but that hasen't been touched in months. So not why it is brining me to moment. Maybe an extension uses it but is using deprecated code. [23:18:54] Ive pasted it in pastebin now. [23:19:22] paladox: how does it look like with ?debug=true [23:20:36] It looks like http://pastebin.com/dsrXYfXc [23:24:03] I think its this one http://pastebin.com/giQNTmmu [23:28:42] Pastebin.com has blocked your IP [23:28:43] We have blocked your IP from accessing our website because we have detected unnatural browsing behavior. [23:28:58] how ominous [23:33:09] Oh they havent blocked my ip. [23:33:20] My website is http://simple-random-wikisaur.tk [23:36:29] paladox: appears to be working (after an initial config error), though it seems to have a spam problem [23:36:38] (According to recent changes) [23:37:13] c: seems that adding the last link on the Main_page didn't help :) [23:37:30] c: Oh so the website js is working for you does the collapsible nav work for you and does wikieditor work for you and search bar since i carnt get it to work. [23:37:37] http://simple-random-wikisaur.tk/load.php?debug=true&lang=en&modules=ext.centralauth.ForeignApi%7Cext.collapsiblevector.collapsibleNav%7Cext.math.editbutton.enabler%7Cjquery.async%2CcheckboxShiftClick%2Ccookie%2CgetAttrs%2ChighlightText%2CmakeCollapsible%2Cmw-jump%2Cplaceholder%2Csuggestions%7Cmediawiki.ForeignApi%2CForeignStructuredUpload%2CForeignUpload%2CTitle%2CUpload%2Capi%2Ccldr%2CconfirmCloseWindow%2Ccookie%2Cicon%2CjqueryMsg%2Clangu [23:37:37] age%2CsearchSuggest%2Ctemplate%2Cuser%7Cmediawiki.ForeignApi.core%7Cmediawiki.ForeignStructuredUpload.BookletLayout%7Cmediawiki.Upload.BookletLayout%2CDialog%7Cmediawiki.action.edit.collapsibleFooter%2CeditWarning%2Cstash%7Cmediawiki.api.edit%2Cupload%7Cmediawiki.language.data%2Cinit%2CspecialCharacters%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.widgets.CategorySelector%2CDateInputWidget%7Cmoment%2Coojs%2Coojs-ui%2 [23:37:37] Csite%7Coojs-ui.styles%7Coojs-ui.styles.icons%2Cindicators%2Ctextures%7Cuser.defaults&skin=vector&version=87c559aea609 [23:37:50] again, please don't paste long or multiple lines [23:37:50] woops that was ment to be one big link [23:38:13] http://pastebin.com/tzBb7brq [23:38:31] paladox: i've only tried randomly visiting different "articles" and special pages, i haven't tried editing or searching yet [23:39:01] c: Oh ok thanks for replying. JS is broken. [23:39:17] paladox: on which page do you have a collapsible nav? [23:39:39] special:random only turns up anonymous spam pages [23:39:45] c: All pages should show it. I have the extension collapsiblenav installed. [23:40:43] paladox: if you mean a nav in the header, i don't see it. just the default sidebar [23:41:18] c: No on the side bar like it was in vector before it was removed. The extension is based on brining it back in the form of an extension. [23:41:52] c: It will only work if js works. If js wont work then that means js is broken and requires that js be fixed. [23:42:15] paladox: okay, well I'm not sure what's wrong with your javascript [23:42:38] Me to it points to something to do with moment.js. [23:46:33] paladox: Note that that includes "user" in the modules list [23:46:39] paladox: Can you reproduce when you're logged out? [23:46:57] Yes i produced it when logged out. [23:47:22] I am logged in now. But was logged out when i produced that. [23:47:58] "site" is also in there [23:48:07] So there could be a syntax error in the site JS [23:51:15] the migrated wiki works perfectly :-D heck it was harder to confirm that i was indeed on the right server, no thanks to firefox :-S [23:52:52] greeter, you're using firefox? [23:53:18] yes. i couldn't tell which server the domain name was resolving to and had to download a plugin to see which ip was being used [23:53:59] i tried entering the v4 address of both servers, but firefox translated that into the url instead, which to me looks like a bug, but i'm sure the firefox devs call it a feature (no offense to any devs who are here) [23:54:47] Ok. [23:55:05] I am not sure where i would look to find the syntax error. [23:55:14] yeah i get that sometimes. it's annoying [23:55:34] alright, i'll be back in about 30 mins or so. [23:58:51] I uninstalled all my extensions, js worked. So i re installed now uninstalling one by one to check which extension is causing the error. [23:59:19] good luck