[00:40:23] hello [00:42:42] hello [00:53:11] Você sabe alguma coisa sobre APCu, XCache e WinCache? [00:53:48] Do you know anything about APCu, XCache and WinCache? [01:03:47] Hi NewWiki. [01:03:49] What's your question? [01:05:46] Do you know anything about APCu, XCache and WinCache? [01:06:56] In the installation of MediaWiki, it says this: Warning: Can not find APCu, XCache or WinCache. Object caching was not enabled [01:09:26] Do you know what this is? [01:10:21] <_TWS> optional stuff I think, but the php-apc thingie is easy enough to install [01:10:45] <_TWS> yum install php-pecl-apcu [01:11:27] Object caching improves performance because if it's installed, PHP doesn't have to compile the scripts every time a request comes in. [01:13:35] m [01:17:13] !cache [01:17:13] General information about caches can be seen at , for configuration settings see [01:19:25] thank you [01:21:58] New editor, looking to improve the final fantasy xv wiki. I tried adding some data to item pages (see eg: http://ff15wiki.com/wiki/Debased_Coin) but that data isn't visible on http://ff15wiki.com/wiki/Treasures [01:22:56] Tried using ?action=purge to force a refresh on individual Items and the Treasures page, no changge [01:23:03] s/changge/change [01:29:50] http://ff15wiki.com/mediawiki/index.php?title=Debased_Coin&diff=3370&oldid=2575 [01:30:32] mythgarr: You probably need to edit http://ff15wiki.com/mediawiki/index.php?title=Template:Item_Infobox&action=edit [01:31:05] "Catalyst Effect" is not configured as a template parameter. [01:31:11] You need to tell the template that those parameters exist. [01:31:13] Then they'll show up. [01:31:21] Some quick and copy-and-paste should fix it. [01:31:25] Yvette: I was just looking at that - had just found my way to documentation on symantic properties [01:32:03] You see that "{{#if: {{{Used For|}}}|" line at http://ff15wiki.com/mediawiki/index.php?title=Template:Item_Infobox&action=edit [01:32:17] Just duplicate those lines, replacing "Used For" with "Catalyst Effect". [01:32:27] And then your template will have those parameters. And the page will output them. [01:33:02] Thanks! [01:33:35] Do I need to worry about the {{#set: stuff? [01:34:05] I... don't know. [01:34:06] Maybe? [01:34:14] I'm not really sure what it's doing. [01:34:17] Actually, it looks like that's the part that exposes those to the parser/query [01:34:19] yes, thank you [01:34:46] mythgarr: So things like #if: are from the ParserFunctions extension. [01:34:54] #set: is from some other weird extension. [01:35:08] Semantic MediaWiki, I guess. [01:35:24] https://www.semantic-mediawiki.org/wiki/Help:Setting_values - so maybe I need both? I'll change both. [01:35:39] https://www.semantic-mediawiki.org/wiki/Help:Setting_values [01:35:41] Hah, yeah. [01:36:03] #set might affect other parts of the site. [01:36:13] It probably doesn't affect this template output directly, though. [01:36:25] Infoboxes are basically HTML tables. [01:36:44] So you're not seeing the template parameters because the template hasn't been configured to output a table row for those parameters. [01:36:50] Anyway, sounds like you're nearly there. :-) [01:39:00] Yep - looks like it's working for a couple of pages. The others will probably slowly update as the cache is rebuilt [01:39:04] Thanks for your help! [01:45:59] thank you [04:53:52] Great work, team. [06:40:44] Hey I ahve taken up a task where I am required to upload the screenshot of one of the extension of mediawekia. [06:41:20] i have installed media vagrant.Its up and running.But how i install extension in the developemnt environment [06:41:22] ?? [06:42:13] aaryansh-gci: Which extension do you need to install? [06:42:36] parseFunction say for example [06:42:55] like https://www.mediawiki.org/wiki/Extension:ParserFunctions [06:43:49] aaryansh-gci: There are installation instructions on that page, and most extensions have a similar page. [06:43:56] aaryansh-gci: This particular extension is bundled with MediaWiki 1.18 and above [06:44:54] aaryansh-gci: A lot of extensions also have vagrant roles so you can just, for example, 'vagrant enable-role popups' and 'vagrant provision' and you'll have the extension installed with all its dependencies [06:44:58] yup. so if I follow those instruction,would the extension be installed on my system or in the developmental enviorment of mediawiki? [06:45:59] aaryansh-gci: If you're using vagrant then the extension would get installed on that installation of mediawiki. The files will continue to live on your computer, the same as the rest of the mediawiki installation. [06:46:27] okay [06:46:33] thanks so much [06:47:37] aaryansh-gci: You're welcome. Let me know if you need help installing any particular extension. [06:48:18] so to install parserFunction extension [06:48:42] what the command would be? [06:48:57] According to that mediawiki page "Note: This extension is bundled with MediaWiki 1.18 and above. Thus you do not have to download and extract the extension as described. However, you still need to follow the other instructions provided." [06:49:40] aaryansh-gci: So, nothing. You can go to localhost:8080/wiki/Special:Version to check if its installed [06:50:25] host name and port name might differ based on your installation [06:54:09] it says under installed software : MediaWiki :1.27.1 (64f7660) [06:54:27] now how do i open the extension to take the screenshot [06:54:28] ? [06:55:11] aaryansh-gci: Could you share a link of the task you're doing? [06:55:26] https://codein.withgoogle.com/dashboard/task-instances/5350146877423616/ [06:58:41] aaryansh-gci: Ah! I don't think ParserFunction is going to benefit much with a screenshot [06:59:17] oh!!! okay [06:59:40] aaryansh-gci: Poem, ImageMap, those could use a screenshot [06:59:43] can you suggest i should i go abut selecting them [06:59:53] ahh [07:00:06] you just ream my mind !! [07:00:13] *read [07:04:20] aaryansh-gci: I just updated the installation instructions for https://www.mediawiki.org/wiki/Extension:Poem [07:05:27] that was so kind of you!! [07:08:14] i have installed poem and it shows on the version page under installed extensions [07:08:46] how do i open the extension now to take the screenshot [07:09:35] aaryansh-gci: Awesome! [07:10:26] aaryansh-gci: So in this case you can't really 'open' the extension. It's used to format poems. So on your local wiki create add a poem and format it using this extension - https://www.mediawiki.org/wiki/Extension:Poem#Usage [07:11:04] *create a page and add a poem [07:14:24] okay [07:16:28] how to create page? [07:16:48] http://127.0.0.1:8080/w/index.php?title=Main_Page&action=edit [07:16:54] is it this way? [07:18:42] When would one get "Database is read-only: Building cache" error if rebuildFileCache.php is tried? [07:19:22] I tried to run "php maintenance/rebuildFileCache.php" but getting "Database is read-only: Building cache" error [07:20:08] I can edit the wiki and haven't put "$wgReadOnly" on LocalSettings.php [07:20:20] Want to rebuild Filecache [07:23:41] aaryansh-gci: https://www.mediawiki.org/wiki/Help:Starting_a_new_page [07:29:56] If i am to use this "Using article creation template" where should a copy the template as per instruction specified there [07:31:43] ?? [07:32:51] You could edit the main page and add it there. [07:33:04] aaryansh-gci: But the easier way would be 'Using the URL' [07:33:35] aaryansh-gci: So you'd go to http://127.0.0.1:8080/wiki/TestPage, and create the page from there [07:46:43] hey i have uploaded the screenshot under https://commons.wikimedia.org/wiki/Special:UploadWizard [07:47:33] how do i insert the screenshot as mentioned in second last bullet of https://codein.withgoogle.com/dashboard/task-instances/5350146877423616/ [07:50:21] hey i have uploaded the screenshot under https://commons.wikimedia.org/wiki/Special:UploadWizard [07:50:28] how do i insert the screenshot as mentioned in second last bullet of https://codein.withgoogle.com/dashboard/task-instances/5350146877423616/ [07:50:57] aaryansh-gci: https://commons.wikimedia.org/wiki/File:Gci_mediwiki.png great [07:51:17] aaryansh-gci: You'll have to edit Extension:Poem to add it. That page uses Template:Extension to create the infobox on the right [07:53:05] aaryansh-gci: You can checkout an extension that already has a screenshot, like Extension:Popups to see what the wikitext of that would look like [07:53:24] can you share the url [07:54:39] aaryansh-gci: You should be able to search for both of these on mediawiki.org :) [07:58:26] actually i just have 15 min to submit this task [08:01:35] aaryansh-gci: Don't worry, I've added time :) [08:03:22] oh god thanku so much.I was holding on each breath to submit it [08:06:19] aaryansh-gci: Take your time, read the documentation, I'm sure you'll finish it soon. [08:25:22] hi [08:27:41] Can't find any help/samples on usage parameter rccontinue in API:RecentChanges https://www.mediawiki.org/wiki/API:RecentChanges [08:28:42] aaryansh-gci: You don't need [[File:...]] in this template. See other extensions that have screenshots [08:30:56] recent changes return things like {"recentchanges":{"rccontinue":"20161128235840|61993"}} in json format, but I can it? [08:35:24] evgen2: I guess you can use it for your next request, like in https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&list=recentchanges&rcprop=title%7Ctimestamp%7Cids&rccontinue=20161209081201%7C2743276 [08:37:08] Urbanecm: ping [08:37:08] I have added the screenshot https://www.mediawiki.org/wiki/Extension:Poem.How can i align the image and remove [[File:220px]].I i remove [[]]s in the source image diappears [08:39:22] prtksxna: yes, it works, thanks [08:40:43] aaryanshmbansal: See https://www.mediawiki.org/wiki/Extension:Popups?action=edit&veswitched=1 for example [08:40:48] evgen2: \o/ [08:41:03] aaryanshmbansal: I've fixed it, That template is coded so you just need to provide the file name without the namespace (File:) or brackets [08:43:03] got it.I was only remove [[]s not the namespace [08:43:07] thanks [08:49:58] Urbanecm, pong [08:50:10] MarcoA, pong [08:50:34] Urbanecm: i'm handling those sdwiki edits for the sandbox link [08:50:46] I've adjusted the sidebar, still nothing appears :/ [08:51:37] https://sd.wikipedia.org/?oldid=80356 [08:51:41] Thanks. [08:51:53] Translations should still happen at twn [08:53:01] it does now [08:53:14] I had to switch to sindhi language in prefs [08:53:15] MarcoA, I didn't understand the request fully so just for clarify. There should be sandbox link in the menu? [08:53:24] in the sidebar [08:53:27] that's done [08:53:32] for sdwiki [08:54:00] MarcoA, yes. I can see it with English version too (https://sd.wikipedia.org/wiki/%D9%85%D9%8F%DA%A9_%D8%B5%D9%81%D8%AD%D9%88?uselang=en) [08:54:30] I have the preferences in Spanish and can't see it [08:54:34] Hello and THanks Thanks for the awesome creative high-quality sw [08:54:37] well, not that it matters much, it's there [08:54:51] MarcoA, I don't see it with Czech as well... [08:55:48] I need to move from 1.28-alpha to REL1_28 .. is it best procedure to install REL1_28 as official instructions instruct and then upload the old database and hope for best? [09:00:21] jubo2, I think you can do it. If it break you can update db using update.php but I don't think it'll be needed. [09:00:36] MarcoA, is the request done? Or is there something to do? [09:00:52] Urbanecm: they've requested a lot of things [09:01:07] I'll add sdwiktionary's sidebar too and then close it [09:01:18] MarcoA, okay, thanks a lot. [09:01:21] the rest of requests ain't to be handled through Phab [09:03:13] MarcoA, how they should be handled? Guess using local sysops but as you may know they visit site rarely (maybe a reason for desysop and make a sysop another users?) [09:03:31] I'll defer that to m:SRM [09:03:55] desysopping is done via annual AAR reviews which already happened [09:04:12] and appointing new sysops is not something we do w/o community request [09:05:58] Is there a way to see a list of Wikimedia commons images on a wiki which uses InstantCommons? [09:06:32] I have used many commons images in a wiki and would like to see list of all those files [09:09:01] MarcoA, I know. But community can request this if they want to have sysops. AAR stands for what? [09:09:12] mw_, I don't think so... [09:09:37] m:AAR [09:09:45] Urbanecm, any special page? [09:10:01] MarcoA, what's AAR? [09:10:04] mw_, I don't think there is a list of files. [09:10:17] mw_, this was reply to me ( MarcoA, I know. But community can request this if they want to have sysops. AAR stands for what? ) [09:10:33] It isn't related to your request, we're talking about another problem. [09:12:05] MarcoA, thanks anyway for your work. [09:14:59] Urbanecm, okay thank you! [09:15:14] mw_, yw [10:51:47] Hello. I would like to publish a long ssh key (one line) to my mediawiki installation. How can I make this formatted so the long one line is wrapped at.. max width? [10:58:51] Blinkiz, like a good pastebin? [10:59:24] gry, I guess.. Just need it to wrap [11:00:08] Blinkiz, try dpaste.com, let me know please [11:00:43] gry, am not looking for a pastebin, just want to publish ssh keys to our company internal mediawiki [11:00:58] why not put them on your wiki main page? [11:01:48] gry, I do not believe you are understanding my question :) [11:02:45] I have a one line text string without whitespaces that I need mediawiki to wrap at max width or after xx letters, how can I do this? [11:03:05] checking [11:03:58] gry, guess I did not explain that good in my first question. Because of your answer I realize I needed to ask differently. [11:08:34] Blinkiz, check https://test.wikipedia.org/wiki/Sandbox?action=edit&veswitched=1, use a template if you need several times [11:09:05] it is a
, and the next line begins with a space for monospace formatting. the one space is optional. the style forces the line break [11:09:43] gry, nice, impressive. Works great, thanks! [11:10:08] you're welcome Blinkiz :) [11:10:22] thanks for using mediawiki at your company internal site! [11:10:42] gry, oh..eehh. your welcome :) [11:13:49] Hii everyone. I m shivam new in gci. [11:32:28] Hello everyone. [11:32:44] I m shivam new in gci [11:33:30] Hi shivamksingh :) [11:35:18] Are you mentor or student? [11:35:34] Hi everyone! [11:36:12] Hello andre__ [11:36:36] Yo! [11:40:37] shivamksingh: I am a mentor [11:44:07] mhutti1: which task should i do? [11:44:26] I don't know programming [11:44:50] shivamksingh: You can start with the beginner tasks such as setting up the medaiwiki development enviroment [11:48:18] I have done all 2 out of 2 beginner task. [11:49:17] shivamksingh: I am not sure what is best then. Try looking and seeing if there is anything you might enjoy doing [11:51:50] Thanks. [13:16:49] Hello everyone [13:17:36] i am doing a code-in task related to vagrant [13:17:59] i have to clone it from the site using git bash [13:18:46] but when i do so it says-"fatal: unable to access 'https://gerrit.wikimedia.org/r/mediawiki/vagrant/': Couldn't resolve host 'gerrit.wikimedia.org'" [13:20:46] can anyone help [13:21:21] Can you view gerrit in your web browser? [13:26:04] Guneet_: Hi. Which exact step on which wiki page are you at? [13:26:42] nope [13:26:43] lol [13:26:44] hi [13:27:12] well, next question would have been for the result of "ssh -p 29418 your-user-name@gerrit.wikimedia.org" ... [13:27:33] hello there everyone!!!!!! [13:27:33] hi unicorntkd! [13:27:39] andre__: It sounds more like a DNS issue [13:27:43] If it couldn't resolve... [13:28:13] what r u talking about [13:28:15] Yes, it sounds like my cliche of any university network in a certain country. [13:28:37] unicorntkd: that a previous IRC user (who just left) cannot reach the host 'gerrit.wikimedia.org' [13:28:46] that was the conversation before you joined this channel. [13:29:02] ohk [13:31:05] its so boring to stay here for 1hour [13:31:29] Do some reading whilst you're here? [13:31:34] There's lot of useful stuff on mediawiki.org [13:32:31] from where [13:32:39] i am new here [13:33:16] can u tell more about this [13:33:58] https://www.mediawiki.org/wiki/MediaWiki-Vagrant [13:34:34] these are the instructions for setting up vagrant [13:34:39] Guneet: Are you on a university network, by any chance? [13:34:49] no [13:34:59] its my personal network [13:35:04] oh [13:35:06] Guneet: What is the output of this command: ssh -p 29418 your-user-name@gerrit.wikimedia.org [13:35:11] Guneet, replace "your-user-name" accordingly [13:35:39] hmm [13:35:49] unicorntkd: about IRC? See https://www.mediawiki.org/wiki/MediaWiki_on_IRC :) [13:36:22] thanx [13:36:24] ssh: Could not resolve hostname your-user-guneetconvent2002.wikimedia.org: Name or service not known [13:36:34] this [13:36:45] is the result [13:38:39] what [13:38:47] Guneet: what's your username? [13:39:15] Guneet: I do not think you entered the correct command. [13:39:38] Guneet: please copy and paste the exact command that you entered here. [13:40:03] HOW TO CHANGE NICK HERE [13:40:17] unicorntkd, no need for yelling (capital letters). :) [13:40:44] ops i didnt noticed that caps lock was on [13:40:44] unicorntkd: depends on your IRC client. Most clients support just entering the command "/nick MyNewIRCUserName" [13:41:08] oki thanx :) [13:46:38] sorry for diconnecting [13:46:57] ssh -p 29418 your-user-Guneetconvent2002.wikimedia.org [13:46:57] ssh: Could not resolve hostname your-user-guneetconvent2002.wikimedia.org: Name or service not known [13:47:11] this is the result [13:47:50] Guneet: I asked beforehand: What is the output of this command: ssh -p 29418 your-user-name@gerrit.wikimedia.org [13:47:56] and: Guneet, replace "your-user-name" accordingly [13:48:14] Guneet: what is your Gerrit username? [13:49:54] i don't have it [13:50:24] how do i register [13:51:48] Ah. Heh. :) See https://www.mediawiki.org/wiki/Developer_access [13:52:19] Still, this won't solve the problem. [13:52:29] So you perform this command?: git clone --recursive https://gerrit.wikimedia.org/r/mediawiki/vagrant [13:52:46] And you get "fatal: unable to access 'https://gerrit.wikimedia.org/r/mediawiki/vagrant/': Couldn't resolve host 'gerrit.wikimedia.org'" [13:52:57] and that's something with your network, I am afraid. Not much we can do. :-( [13:52:59] yes [13:53:08] ok [13:53:16] thanks [13:53:23] maybe you could try from another network. :-/ [14:23:09] andre__ what is a mediawiki-vagragant login [14:24:14] ? [14:30:01] Guneet, isn't that explained on https://www.mediawiki.org/wiki/MediaWiki-Vagrant ? [14:30:12] Step 7 under "Quick start"? [14:34:56] Guneet: isn't that explained on https://www.mediawiki.org/wiki/MediaWiki-Vagrant ? Step 7 under "Quick start"? [14:36:30] andre__ when i open the vagrant environment in Virtual Box it asks for mediawiki-vagrant login [14:37:01] Guneet, did you see what I just wrote before? :) [14:37:16] i enter the login as admin and password vagrant [14:37:28] but it says its incorrect [14:38:34] what to do now [14:39:34] Guneet, how did you fix your problems in step 5? [14:39:48] You said that git clone --recursive https://gerrit.wikimedia.org/r/mediawiki/vagrant did not work for you. [14:39:53] Now you are suddenly at step 7. [14:40:00] And noone here knows what happened in-between. [14:40:42] earlier i was using the internet via hotspot but now its USB tethering [14:40:57] so it did work [14:41:31] so you performed all other commands listed there? [14:41:37] Like the setup command? [14:41:39] yes [14:41:54] yes [14:43:20] Guneet: which branch did you check out? or did you check out master? [14:43:29] (master = latest version) [14:43:35] master [14:43:52] Did you do anything in step 6? Or skipped those? [14:44:27] no i did use the commands [14:44:38] Guneet: And just to be absolutely clear, which exact command did you enter after entering "cd vagrant"? [14:45:17] ./setup.sh [14:45:23] but this dint work [14:45:33] so used the setup [14:45:44] and then then the other command [14:46:11] what is "used the setup"? [14:46:25] As I wrote: "which exact command did you enter"? [14:46:27] setup.bat in vagrant folder [14:46:45] vagrant hiera mediawiki::branch REL1_27 [14:46:45] okay. That's correct, and also what the comment says on that page which you maybe did not read. :) [14:47:00] Guneet, now you say something different than before. [14:47:21] ok [14:47:30] four minutes ago I asked you: Guneet: which branch did you check out? or did you check out master? [14:47:42] sorry [14:47:43] You replied "master". Now you say that you did "vagrant hiera mediawiki::branch REL1_27" [14:48:14] so I don't know anymore what you did. [14:48:34] (and I need to work on something different now, sorry...) [14:49:05] but what about the mediawiki-vagrant login [14:49:08] But in general I'm not sure what to do when people do not carefully read (and understand) the instructions. :-/ [14:49:11] its not working [14:49:59] the username and password didn't work [14:51:54] Can you maybe post your complete full terminal/console window activity with regard to setting up Vagrant on some public Paste? Like https://phabricator.wikimedia.org/paste/ if you have created an account already, or pastebin.com or fpaste.org or something [14:52:03] (Make sure to not include any passwords or private information) [15:00:43] Guneet, ^ [15:02:18] y0 [15:02:44] I need the best possible instructions for installing MediaWiki [15:02:56] I have a bare system now [15:03:23] no Apache, MariaDB or PHP yet [15:03:54] jubo2: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu [15:03:55] From what I've understood the processsing of .php can be set up in a multitude of ways [15:04:07] Thanks MatmaRex [15:05:14] oh yeah.. one more complication in the situation [15:05:35] got 2 existing MediaWikis that are 1.28-alpha [15:06:31] but now that REL1_28 is the stable wouldn't the databases be similar [15:06:55] at least if I git pull on them before moving the database to the new clean installation [15:09:04] jubo2: you can just update to 1.28 stable and run update.php [15:09:43] MatmaRex: sounds good. How do I do that? [15:10:01] i have installed LAMP server on my ubuntu 16.04 but when opening localhost in a browser, it says 404 NOT FOUND [15:10:57] sucode: maybe you don't have an index.html in /var/www/html ? [15:11:16] jubo2: same as if you were updateing from e.g. 1.27 to 1.28? i don't really understand the question, sorry [15:11:27] jubo2: yeah its there [15:11:37] i tried everything [15:11:45] askubuntu, stackoverflow [15:11:48] MatmaRex: Okk... I go searchengine updating instructions [15:11:55] !upgrading [15:11:56] http://www.mediawiki.org/wiki/Manual:Upgrading [15:12:35] MatmaRex: thanks [15:24:41] Hello. :) How can I make a [[File: image lead to a page when clicked, instead of that image's page? [15:25:34] Shatojon: [[File:Foo.jpg|link=Page title|Caption goes here etc...]] [15:25:39] Thank you, MatmaRex ! [15:27:09] what is debian "Stretch" ..? Debian9 ? [15:27:28] I'm on 8 I think [15:27:58] So I'm not sure if I should aim to install with php7 or php5 [15:28:00] i think that'll be the next release [15:28:06] php5 is fine [15:28:12] (php7 is also fine) [15:32:05] whoops [15:32:23] forgot I was intending to install MariaDB instead of MySQL [15:32:32] I can do that still [15:37:18] jubo2: what shall i do now ? [15:42:31] https://www.mediawiki.org/wiki/User:Guneetconvent2002/sandbox?veswitched=1 [15:42:53] andre__ here is the link [15:43:07] please have a look [15:45:00] Guneet: it says that Ruby has not been found. [15:45:23] Guneet, also, there is no need to post text as image files. You can post text as text. :) [15:45:28] that's why I proposed a pastebin. [15:46:18] (I can imagine someone might delete your screenshots from https://commons.wikimedia.org/ as that might not be in scope of what to upload to Wikimedia Commons. [15:46:58] * andre__ has to leave for a while [15:47:08] Guneet: So you need to fix your Ruby installation, it seems. :-/ [15:47:13] * andre__ is away from keyboard (afk) [16:02:42] andre__afk: commons isn't that bad :P [16:04:34] Guneet: I don't know if mw-vagrant has some passwords different from "vagrant", but you should be able to "$ vagrant ssh" into the box [16:06:58] (about commons, we usually require more descriptive filenames than "Vagrant6.png") [16:10:41] but how do i fix it [16:48:03] We've created some pages but the links to them are still red and the tooltip says (Page does not exist) - why is that? [16:48:08] It's not cache because we've tried on new machines too. [16:48:36] andre__ please tell me how to fix ruby installation [16:49:20] Shatojon: And when you click the red links you are taken to the correct page? [16:51:37] Yes, prtksxna [16:53:36] * prtksxna backs away from the computer and gets a blue sketchpen [16:55:21] I'm confused, prtksxna :P [16:55:31] What are you saying? [16:56:09] Purge [16:56:39] Sorry guys, I'm not sure what you're saying. I'm new to Wikimedia. [16:56:45] Mediawiki* >.> [16:59:54] lucifer: I do not know, plus you should ask *anybody* here and not only me specifically. [17:00:09] lucifer: But for that you'd need to describe the actual problem. [17:01:00] Shatojon: sorry, i was trying to make a joke. [17:01:56] I see, no worries. :) Would you happen to know how to fix it? [17:04:32] our CI testing infrastructure runs on sqlite or mysql? [17:05:47] mysql [17:06:00] ok, thanks [17:08:19] It runs on mysql and sqlite [17:08:34] depending on which tests your using, one of wikibase tests is using sqlite [17:08:39] whereas mw core uses mysql [17:09:10] tried to upgrade mediawiki from 1.24 to 1.28 and ended up reverting to 1.23 :-). upgrading is a nightmare with many of extensions in varying states of disrepair... [17:11:20] Shatojon: did you set up the job queue correctly? [17:11:22] For anyone that might be interested [17:11:24] I figured out a solution [17:11:28] Simply add ?action=purge [17:11:34] While visiting that same page and logged in as admin [17:11:40] https://www.mediawiki.org/wiki/Manual:Job_queue#Set_up [18:04:04] <_TWS> anyone familiar with the MsUpload extension? I have it installed per the docs, but I'm not seeing any evidence of it in the wiki itself [18:10:15] <_TWS> nevermind... version from github works [18:23:07] _TWS: are you using the "enhanced edit toolbar" (aka WikiEditor) or the classic toolbar? [18:24:05] <_TWS> right now, classic. looking at that next [18:24:31] <_TWS> are MsUpload/MsLinks compatible with the VisualEditor extension? [18:24:41] no [18:24:57] <_TWS> hrrm [19:24:18] andre__ i am still not able to login in it [19:27:58] Guneet: such lines are not very helpful. [19:28:16] if you are "still" not able to log in, nobody knows what you have tried since the last time you mentioned it here. [19:28:46] Guneet: http://catb.org/~esr/faqs/smart-questions.html#explicit [19:29:30] Guneet: so if you have a question, please ask the audience here so people can help. No need to ping me specifically. :) [19:29:46] I'm writing this because this is how IRC works, basically... [19:32:11] Guneet: last time I talked to you I told you that you're missing Ruby. So far only you know what has happened since then. :) [19:34:11] lol [19:34:17] Unstable internet. [19:34:27] Probably not much that Guneet can do about it... [19:35:12] it's frustrating when you realize you were talking to the wall [19:35:44] Nah. My walls have become good friends over the years! ;) [19:39:07] CKoerner_WMF, hi [19:59:05] HI Krenair [19:59:17] I was in a meeting. What's up? [20:02:43] did you see Nemo's comment on https://www.mediawiki.org/wiki/Project:Requests/User_rights/CKoerner_(WMF) ? [20:05:50] I did. [20:22:10] I replied. [21:00:16] CKoerner_WMF, done [21:01:46] :) [21:44:30] When using Composer to install Chameleon, I get fatal error: Cannot redeclare class SkinChameleon (from the skins directory). Am I supposed to not use Composer's autoloader somehow? Or? [21:46:44] If I remove Chameleon from the 'require' section of composer.local.json and just leave the extra: merge-plugin "skins/*/composer.json" a composer update will uninstall (delete) Chameleon; and you acttually have to run composer update 3x to get all dependencies removed [21:47:00] dependency hell has turned into composer hell [21:47:02] ugh, composer :/ [21:47:45] Is it possible to make pages have keywords that hint towards them? [21:47:51] freephile: we keep asking people not to make installation of skins/extensions depend on composer, and they keep doing it :( i'm not sure if anyone here can help you, maybe try poking the author somewhere [21:47:56] For example, we have a page called "Blocks" but if someone searches for "Brick", they probably mean that. [21:47:59] i found https://github.com/cmln/chameleon/blob/master/docs/installation-troubleshooting.md but it doesn't look very helpful [21:48:05] And it could suggest it to them? "You searched for Brick, but did you mean Block?" [21:48:11] Shatojon: it's possible to create redirects [21:48:20] https://www.mediawiki.org/wiki/Help:Redirects [21:48:38] I understand, thanks. [21:48:49] Are there logs, somewhere, of all the searches users have made that lead nowhere? [21:49:34] MatmaRex: I wasn't aware of the "do" or "don't" use Composer status (and I'm thinking that F.trott was doing it "right") [21:50:10] freephile: mediawiki uses composer for its own dependency management, and mixing that with using it to install extensions causes all sorts of weird problems for people [21:50:47] I'll just install it with git and do the composer install in the skins/chameleon dir for it's dependencies [21:51:28] MatmaRex: that's why I thought the composer-merge plugin would take care of things [21:51:38] Shatojon: hmm. i know that WMF's Discovery team have some sort of tracking for unsuccessful searches, but i have no idea how they are doing it. it might be some custom extension code (which is almost certainly public, but will probably need customizing)? try asking at #wikimedia-discovery [21:51:53] freephile: it's supposed to, but well… [21:51:54] Thank you, MatmaRex . [21:53:38] MatmaRex: exactly... I would love to get to the bottom of this as I'm working on an ansible automated mediawiki distribution [22:01:40] freephile: i'm not sure who worked on composer stuff in here… bd808 or legoktm? [22:02:12] hi [22:02:41] legoktm: hi :-) [22:03:21] freephile: using composer to install extensions (and skins I guess) is deprecated and discouraged, but some people still do it [22:03:44] freephile: can you pastebin your composer.json and composer.local.json? [22:03:46] I've been chasing my tail trying to get Lingo, Chameleon, SMW to install and the installs all say to use composer [22:04:05] sure [22:05:36] http://pastebin.com/1g65ivdM [22:06:27] http://pastebin.com/9jtTbUZz [22:07:40] As you can see the composer.json is default for 1_27 [22:08:34] freephile: and you said you were trying to add lingo to the require section of composer.local.json? [22:08:48] or Chameleon ? [22:09:07] right Chameleon [22:09:13] is that skin also in your skins/ directory? [22:09:20] right... I did, and have had many cycles of success, and then failure, remove start over [22:09:36] rm -rf vendor etc. [22:10:18] I just tried git cloning chameleon into skins/ and (locally) composer install --no-dev; then using wfLoad() but that complains that there is no skin.json [22:11:11] so I was going to see what tag i need for Chameleon, since it doesn't use branches like REL1_27 [22:11:46] okay so I think having it do both "require" and be pulled in the skins/* glob is causing the duplicate class registration [22:12:06] if you remove it from skins (or just move it somewhere else for now), and add it to require, I *think* it might work [22:17:58] except if I remove the skin from being specifically required in composer.local.json, then any subsequent composer update removes the skin [22:19:00] err, I meant to "require" it in composer.local.json, but move your cloned copy out of the skins/ repository [22:22:59] legoktm: I did rm -rf skins/chameleon; "require" chameleon-skin in composer-local.json and composer update -vvv -no-dev.... works great [22:23:11] awesome [22:23:19] except that doing the exact same thing for SMW doesn't work [22:23:43] and that's as far as I've been able to get for the last 48 hours :-( [22:24:22] I think it's an autoloader thing [22:27:16] legoktm: Ooops, I forgot.. I don't get an error with composer update, but insteadPHP Fatal error: Cannot redeclare class SkinChameleon in /var/www/freephile.com/www/w-1.27/skins/chameleon/src/SkinChameleon.php on line 111 [22:30:06] legoktm: so A.1 remove chameleon from composer.local.json and then composer update to UNinstall it [22:31:29] A.2 run composer update AGAIN and it uninstalls bootstrap [22:33:07] A.3 run composer update A THIRD time and in uninstalls twitter/bootstrap [22:34:47] I uh [22:35:02] uhhhh [22:35:07] composer makes my head hurt [22:35:28] freephile: I think, removing the skins/* and extensions/* from composer.local.json and explicitly specifying what things to include will help [22:41:37] legoktm: yeah, i think that's the only way this is going to work. I can't skip generating the autoloader and with the autoloader I get redeclare fatals [22:46:34] I want to selectively include or not include a part of a template (or page). I know there is , but it cannot be turned on/off selectively and does not support different "classes" of what to include and what not [22:46:48] Is there any hope of the solution? [22:47:06] legoktm: https://freephile.org/wiki/Special:Version [22:49:07] http://pastebin.com/1v6e3MnU [22:49:32] I removed the globs, and ONLY used the require section of composer.local.json [22:51:49] p.s. Here is a handy script that I whipped up today to move .git controlled extensions to the next REL http://pastebin.com/dHnvzQau [22:53:27] freephile: nice :)) [22:53:28] legoktm: thank you SO much! I have been beating the heck out of composer trying to get it to play nice with all three (lingo, chameleon, smw) when I already had a working wiki [22:53:43] np [22:54:53] script could use polish to add argv handing but hey it works :-) [23:01:45] shameless plug... https://freephile.org/wiki/QualityBox https://github.com/freephile/qb (AGPL) [23:03:00] contributions welcome! alpha-quality atm b/c many reasons [23:08:25] I propose this syntax: `
...
` should be excluded if "condition" template parameter is false. It works like #if but is easier to read. Good idea? [23:09:14] It targets also for nontechnical users who may have a trouble to understand #if syntax [23:10:49] It is also easier to read, even for technical users