[06:59:34] good morning, I'm tryin to install VisualEdito and Prsoid, when i launch the curl command as explained on the parsoid troubleshooting webpage I obtain a curl erro: 7 connection efused on port 8142, how can I fix it? [08:50:29] good morning, I'm tryin to install VisualEdito and Prsoid, when i launch the curl command as explained on the parsoid troubleshooting webpage I obtain a curl erro: 7 connection efused on port 8142, how can I fix it? [09:25:56] cheip_, firewall maybe? [09:26:11] or your parsoid service isn't running at all [09:27:24] p1rate: how can I check it? I think my parsoid is'nt running, beacuse ps -aux | grep parsoid give no results [09:27:36] service parsoid restart ? [09:28:09] p1rate: it gives good feedback, but problem is not solved, I've restarted the service lot of times during my checks [09:34:05] anybody has other ideas? [09:50:29] what did the command I gave do ? [09:51:20] I have a lot of pages with "{{Atemplate|x=y}} some text" . Template:Atemplate uses style="float:right" and all puts the page into one or more categories. These categories instead of displaying at the bottom of the page, have moved up into the left side. Is there a way to get a "
" before the footer that displays the categories? [09:54:38] p1rate: * Restarting Parsoid HTTP service parsoid Started Parsoid server on port 8142 then prompt [09:57:52] so it's running now ? [09:59:31] p1rate: no, ps -aux doesen't show parsoid, and the error si always the same [09:59:44] check the parsoid logs then [09:59:48] Maybe it's time I finally joined this channel after running wikis of my own for 4 years... [10:00:51] p1rate: it seems some error occurred: module.js:340 throw err; ^ Error: Cannot find module 'handlebars' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/usr/lib/parsoid/src/api/ParsoidService.js:11:11) at Module._compile (module.js:456:26) at Object.Mo [10:02:26] https://www.npmjs.com/package/handlebars [10:02:30] install this and try again ? [10:07:12] p1rate: the instructions say I have to copy it in the "directory of my project" which is this directory? [10:07:38] i think you will have to install it globally [10:08:00] parsoid and visualeditor isn't easy to setup, beware of that [10:08:51] I have done npm install --save handlebars in the /var/log/parsoid directory, and it created a folder named npm.modules with a handlebars directory in it... [10:09:08] p1rate: yes, I'm experiencing it... :^( [10:09:41] try -g for a global install [10:11:40] Can't be worse than CirrusSearch :P [10:12:00] Which relies on an outdated version of Elastica that it gives you no clue how to find -_- [10:12:39] Meneth: Eh? [10:12:42] Get it through composer [10:12:58] I really should look into composer I guess :P [10:13:17] It's built against an older version because WMF use an older ES version... [10:13:18] Though I did get it working fine manually. That was a year or two ago. Went through it again when setting up a new server tho. [10:15:23] s/Elastica/ElasticSearch [10:15:51] p1rate: ok, I have found where parsoid was looking for handlebars [10:16:10] now I try to check other errors by me.. [10:19:45] Is 1.27 releasing today? [10:22:24] p1rate: now the error is: /usr/lib/parsoid/src/lib/mediawiki.ParsoidConfig.js:386 this.reverseMwApiMap.set(url.parse(apiConf.uri).host, prefix); ^ TypeError: Cannot read property 'uri' of undefined at ParsoidConfig.setInterwiki.ParsoidConfig.setMwApi (/usr/lib/parsoid/src/lib/mediawiki.ParsoidConfig.js:386:44) at Object.exports.setup (/etc/mediawiki/parsoid/settings. [10:22:40] I have configured my settins.js like explained in the instructions [10:22:48] Reedy: Seems Composer doesn't work well with wiki farms anyway? "In April 2015[3], an RfC to make Composer based extension management the preferred method of managing all MediaWiki extensions was pulled from discussion. This was motivated by the seemingly intractable problem of managing extensions for a Wikifarm when using Composer." [10:22:52] I've seen multiple versions of the settings file... [10:23:10] let me check mine [10:23:40] Meneth: Eh? [10:23:49] Reedy: https://www.mediawiki.org/wiki/Composer/For_extensions Says so here. [10:23:50] don't use it for extensions, use it for other dependencies [10:23:56] such as 3rd party libs [10:24:36] cheip_, http://pastebin.com/XPTNKUNx [10:25:01] thats the contents of my /opt/parsoid/localsettings.js [10:26:59] ie not CirrusSearch, elastica lib it uses [10:28:49] Reedy: So that'd install the correct binary of ElasticSearch and such, or? [10:37:46] p1rate: mine is under /usr/lib/parsoid/src/api/localsettings.js is it possibile? [10:51:20] Meneth: it'll install the libraries, not ES itself [10:51:42] Finding and setting up the right version of ES was the hard part though :P [10:53:06] Why? [10:53:08] What OS are you using? [10:53:22] For debian based, they just provide the debs [10:53:22] Ubuntu. [10:53:50] It wasn't *that* difficult, but the extension page just links the ES site, rather than the latest version that works. [10:54:26] Easiest way to actually find the right version in my experience was googling it rather than trying to navigate there via the link the extension provided. [10:54:38] Once I found it, it was simple enough. [10:56:07] Actually, it just links a site that doesn't exist any more for good measure; the ES site redirects to the elastic.co site. [10:56:12] Not even to the actual ES product :D [10:58:19] There, now it at least links the actual ES page rather than the Elastic main page. [11:00:31] parsoid.log: http://pastebin.com/S79wj6wN some ideas to solve this issue? [11:12:58] cheip_, not sure, mine is installed under AWS CentOS linux [11:13:31] p1rate: I am aunder Ubuntu 14.04 [11:14:00] I also made it work on debian before, paths were exactly the same for both [11:15:24] p1rate: but it was setting.js or localsttings.js? reading the log it seems to search in setting.js [11:15:42] it was /opt/parsoid/localsettings.js [11:17:13] mm, wait [11:17:20] it was this on debian it seems: /usr/lib/parsoid/src/api/localsettings.js [11:17:47] so that matches your file [12:45:53] p1rate: nothing happens, always the same error, it seems it can't read uri property in some file... [13:23:50] cheip_, don't know what to do man [13:24:01] like I said: getting parsoid to work with visualeditor is hard [13:24:10] parsoid is not user friendly at all [13:38:00] p1rate: and I think that is not another friendly editor for mediawiki, or another way to make visual editor working... [13:38:59] once you get it to work it's an awesome editor [13:39:12] I played around for hours to make it work too [14:08:33] p1rate: it works! Not completely, but the log file says me that the parsoid server is running! Now i get a 404 error when i make the request... [14:08:43] great :) [14:08:47] good news [14:09:07] not sure but I think a 404 is normal [14:11:10] and how can i edit my pages if I get a 404 when click on Edit? :^) [14:11:41] the 404 is in mediawiki itself? [14:12:14] because then it's not related to parsoid [14:13:56] the error message shown by my browser is: Error loading data from server: 404: parsoid-htt HTTP 404 [14:14:23] Checked the logs to see if they say anything useful? [14:15:54] Meneth: here I can find the log? The parsoid logfile doesen't say aniything [14:15:58] *where [14:16:37] Then I don't know, sorry. [14:16:44] Haven't used parsoid personally. [14:21:36] did you configure mw config correctly ? [14:22:48] you need to make sure the parsoid config is using the exact same domain and prefix as the parsoid config is [14:27:45] this is the line in my settings.js: parsoidConfig.setMwApi('custom_name', {uei: 'http://localhost/api.php'}); [14:28:26] http://pastebin.com/XPTNKUNx [14:28:29] thats my parsoid conf [14:28:52] and this the lines in my LocalSettings.php: $wgVirtualRestConfig['modules']['parsoid'] = array( // URL to the Parsoid instance // Use port 8142 if you use the Debian package 'url' => 'http://localhost:8142', // Parsoid "domain", see below (optional) // 'domain' => 'localhost', // Parsoid "prefix", see below (optional) 'prefix' => 'custom_name' ); [14:29:07] http://pastebin.com/ZJ8ZHgqw [14:29:10] thats my MW conf [14:40:22] also, if you installed parsoid from a package manager it's probably old [14:40:34] I installed them manually [14:55:56] morning [17:01:51] a page i created, namely "Vera el Khoury Lacoeuilhe" was deleted by Bgwhite [17:02:08] what can i do to undelete it ? [17:02:24] i have written on Bgwhite 'talk' page but to no avail [17:03:15] adibmb: Welcome to the MediaWiki software technical support channel. [17:03:52] adibmb, *If* your question is about Wikipedia or some specific website and its own rules, please ask in a related channel for that :) [17:05:17] adibmb: errrm... You wrote that message on the talk page today. Hence "but to no avail" sounds rather impatient to me. [17:05:33] precisely it is a wikipedia page i am referring to [17:06:31] adibmb: #wikipedia-en [17:06:36] dear andre the matter is extremely grave since Vera is a public figure and i am part of her campaign team... so yes avail is of the essence here [17:07:08] adibmb, in that case I also see https://en.wikipedia.org/wiki/Wikipedia:COI here. [17:07:18] adibmb: andre__ is telling you that you are speaking in the wrong channel. #mediawiki is for technical support on the MediaWiki software, and not for discussion about actions on any individual wiki outside of mediawiki.org [17:07:20] adibmb: anyway. #wikipedia-en, please [17:08:18] oops sorry i'll go there now... thanks for the link [17:22:09] Hello [17:22:38] Anyone free to help? [17:22:48] !ask | LowKee [17:22:48] LowKee: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [17:24:26] Ive uploaded mediawiki to a free webhost I registered with but I cant seem to get it to install. [17:24:49] Ive tried adding /install.php to the web address [17:25:40] LowKee: which exact steps did you perform, and which exact output do you get? [17:25:52] which installation guide do you follow? [17:26:55] I downloaded mediawiki.tar.gz, I unzipped it then uploaded it via ftp to the website in the 'htdocs' folder they specify I use [17:28:03] when I goto the site it just shows the directory listing [17:29:37] which installation guide do you follow? [17:31:19] the mediawiki wiki? I dunno exactly, I just googled it, its the same one from where I downloaded it [17:32:06] you wrote that you "cant seem to get it to install" - can you elaborate **how** you tried to install it so far? [17:32:33] or maybe you already did. :) If that's the case, see https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki [17:33:59] By going to the website link followed by /install.php and also /install, as it suggests in the cpanel help file [17:34:19] from my understanding Ive uploaded it correcly, I just need to trigger an install script [17:34:51] feel free to provide the website link. [17:35:31] takeoverfacion.info [17:35:41] takeoverfaction.info [17:36:15] They have a MediaWiki installation guide on their frontpage? [17:36:41] (heh, I cannot even access that website as I block cookies) [17:36:42] Nope. [17:36:54] Then that's not the guide I was hoping to see :) [17:37:16] In any case: So you did create a database and database user and set up that user for MediaWiki via "cpanel" (whatever that is)? [17:38:35] Ah nvm, I got my brother to look, ive somehow just uploaded folders, no files :c [17:41:21] I pointed to https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki [17:41:35] without clearer info which exact guide you tried to follow etc I'm afraid I cannot help. [17:41:46] Maybe someone else can. Good luck :) [17:42:14] Thank you [23:33:13] Hi [23:33:18] I have a question [23:33:18] Hi SsSs, just ask! There is no need to ask if you can ask [23:33:37] woow [23:33:43] nice [23:34:26] Can I run something on it for free? [23:34:43] Like? [23:35:00] Like a bot [23:35:05] MediaWiki is a free software, you can do a billion things with it! [23:35:19] Yes you can [23:35:29] ok [23:40:17] hmm