[00:11:07] Repton: actual file path works well [00:11:07] http://hypotheticalhurricanes.hol.es/wiki/images/8/81/Hypothetical_Hurricanes.png [00:13:23] yay it worked thank you! =) [02:12:36] !wg Logo | Repton [02:12:36] Repton: https://www.mediawiki.org/wiki/Manual:%24wgLogo [06:39:42] qgil: thank you for the Phabricator additions - to answer your question about AffCom - it has come up - but we are actually looking for something even simplier for user group applications - but I would say it’s on the blip screen for other affiliate applications which we will soon be looking to give a more permenant non-email based home [06:40:09] qgil: it hasn’t “officially” been announced yet - but we’re moving to a faster and simpler form/email based approval system for WUGs [06:41:12] qgil: however - I am starting to think about Phabricator has a means for tracking affiliate related questions and such beyond the approval process - AffCom is making a shift towards supporting the life of affiliates beyond just recognition - so it’s something I mentioned during our meeting - but I don’t think it will likely be a serious topic until our May mtg in Berlin [06:42:25] qgil: right now we’re pretty focused on WUG processes, some new start up benefits for affiliates, committee related tasks, and the Affiliate Handbook - a blog post and Meta page with this info is coming soon :) [06:43:45] qgil: would it be alright if I looped you into an email with AffCom to convey your offer to maybe arrange for some Phab training? :) [07:18:27] Decrease! https://www.mediawiki.org/w/index.php?title=Gerrit/Reports/Open_changesets_by_newbie_owner&diff=next&oldid=1392537 [08:00:22] varnent, hi [08:01:51] varnent, I'm definitely up to any effort involving Phabricator promotion and training across Wikimedia. And I like you AffCom people a lot. :) [08:34:40] Hi all [08:35:25] Is there a developper available to help me please ? [08:46:39] !ask | Kallys [08:46:39] Kallys: 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. :) [08:48:16] Makes sense, even if my problem is not easy to describe in few words :s thanks! [08:48:20] So : M [08:50:48] I try to find a better hook than "onArticleAfterFetchContentObject" in order to dynamically modify content of some articles in a extension i'm currently developping. If someone has some experience in extensions and time to help, please tell me :) [08:51:57] dynamical modifying on view time or edit/save time? [08:53:51] view time [08:55:02] currently it is almost working, except one thing, after editing, page has to be purge in order to print my dynamic content... [09:12:45] Hi! When you are deploying the MediaWiki to different servers at different timezones and users also come from different timezones which timezone settings do you use for server / PHP? Also how do you guess timezone by IP? [09:22:45] Kallys, how about using ContentGetParserOutput? [09:23:57] My dynamic content contains some wikitext, i'm afraid it won't be parsed no ? [09:26:02] You can manually render your wikitext with mediawiki core parser [09:26:53] ho that is interesting ! [09:27:10] how can i do this thing ? [09:27:28] QuestPC, unregistered users have wiki default, registered users can set their own (I think) [09:27:38] there's a some function that receives wikitexts as argument and returns rendered html [09:28:03] does it work with external extensions parsers ? [09:29:20] um what is 'external extensions parsers' exactly means? [09:31:21] I mean that my dynamic content contains some magicwords that has to be interpret by a parser defined in an extension [09:35:15] Yes, it works well unless manual wikitext parsing is located before than magic worlds initializing. [09:35:56] this is ridiculously complicated [09:36:08] You should put your manual render codes after magicwords initializing. [09:36:16] I have mediawiki physically installed at /var/www/wiki/ and I want to have URLs that look like http://hostname/wiki/Main_Page [09:36:32] !shorturl [09:36:32] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [09:36:38] Milos, please see this [09:36:41] but if I make wgScriptPath empty then it redirects to http://hostname/Main_Page [09:36:53] and if I make wgScriptPath "wiki" then it goes http://hostname/wiki/wiki/Main_Page .... [09:37:12] read it a million times [09:37:20] wouldn't be asking here had I not [09:37:46] ah, sorry about that [09:38:19] hum ok devunt, i'll try something like that, thanks ! [09:38:35] is webserver's root directory is /var/www ? [09:38:37] yes [09:38:43] and I don't want to install mediawiki directly in it [09:38:52] hence it's been installed in /var/www/wiki [09:39:23] than you should install mediawiki at /var/www/w or /var/www/mediawiki or like that [09:39:43] you think I should reinstall it? [09:39:50] no just move it [09:39:55] I was installed at /var/www/mediawiki originally, but I've moved it to /var/www/wiki [09:40:06] s/I/it/ [09:40:51] hence it's been installed in /var/www/wiki [09:41:02] if you are want to access wiki pages by domain.com/wiki/Pagename, you should not install mediawiki at /var/www/wiki [09:41:18] please use other names than wiki [09:41:34] you mean, I can do domain.com/w/Pagename? [09:43:16] in current circumstance, yes. [09:43:42] so I can have /var/www/wiki, and I can have domain.com/w/Pagename, but not domaine.com/wiki/Pagename - is this correct? [09:43:58] yes. [09:44:26] so, how about I install in /var/www/mediawiki - now, can I use domain.com/wiki/Pagename ? [09:44:33] yes. that it. [09:44:44] I see. I will try that then - thanks for the tip! [09:45:04] welcome [10:04:00] devunt, actually it works fine with both /var/www/wiki and domain.com/wiki/Pagename :) [10:05:14] Milos, well, as far as i know It's not recommended [10:06:59] cause it will conflict with filesystem files [10:07:19] like CREDITS, FAQ, HISTORY, ... etc [10:43:34] is this related to that the /var/www vs. /var/www/html thing? [10:50:20] I created a support query in the forum yesterday, but it has not appeared in the list. Is the support list moderated, and if so how long does it usually take to get added? [11:00:03] I'm having a problem with Exporting and Importing templates, specifically the DocumentHistory template. I followed all the instructions, but am getting Scripting Errors [11:08:29] I've added a support query for my Template problem, but it has not appeared in the on-line list. Are entries moderated, and if so how long does it usually tkae for them to appear? [12:04:16] hi! [12:05:24] i'm trying to use python mwclient to update a page in a mediawiki. however, the wiki is behind an apache login and the mwclient hangs trying to connect to the host [12:05:32] any tips, is this doable with mwclient at all? [12:23:13] and if not, any other tools? [12:30:35] i guess i can just curl it against the /w/api.php [12:33:35] I don't see any auth support in a quick glance at mwclient, fwiw [12:35:01] yeah me neither [12:35:14] i guess i'll try to curl it, then [12:52:18] umm i'm not getting this [12:53:14] first i action=login [12:53:28] then i action=query&meta=tokens [12:54:32] get a +\\ [12:54:57] but when i try to action=edit&title=foo&text=bar&token=+\\ i get just the api-page [12:56:00] ah stupid [13:02:29] http://www.mediawiki.org/wiki/API:Client_code/Bash i guess i got it now [13:02:30] thanks [14:04:19] wouldn't it be possible to have a "You will be logged at at $time" in a tooltip on the nick or similar? [14:30:46] ok, problem: i can't add an interwiki prefix. the .lst and .sql both are in /usr/share/mediawiki/maintenance but i'd think new prefixes are added elsewhere? [14:37:58] hey is anyone there? [14:38:40] no [14:38:42] nice [14:38:44] okay [14:38:46] :p [14:39:17] my question is, how do I get the * user group, once they create an account, to automatically be giving permissions of a user group that I have defined? [14:39:35] the 'user' user group applies to logged in users [14:39:46] '*' applies to all users, regardless of whether they're logged in or not [14:40:45] okay, so if someone logs in they are put into the user group? [14:41:11] I ask because when a friend made an account, I had to manually give him his permissions [14:41:40] I created a user group with permissions I liked, and had to manually make him a member of that group [14:41:55] to be more specific [14:42:01] he couldn't do anything on the site [14:45:17] A questions to ALL aministrators on #mediawiki: how long must i wait after a question before i can put it into the "won't never be answered" box? [14:52:10] EdePopede: I don't think we ever put a question in that box [14:52:30] Though I guess I'm not an op here. [14:52:48] !interwiki [14:52:48] Interwiki links are links between wikis. For instance, on Wikibooks, [[w:Article name]] or [[wikipedia:Article name]] will link to a Wikipedia article. To set up interwiki links, see and . For easy configuration, use [14:52:54] How do i add interwiki links? [[Special:Interwiki]] seems broken: Prefix "meh" could not be added to the interwiki table. Possibly it already exists in the interwiki table. [14:52:57] EdePopede: Any of those helpful? [14:53:13] EdePopede: Did you try using it on a page? [14:53:16] do i have to hack the sql? [14:53:23] Probably not. [14:53:42] Define "seems broken" [14:53:54] see the error message [14:54:06] Ahh. [14:54:12] the admin account can't add a new interwiki link [14:54:50] if i set the access on all files to 777? [14:55:36] Probably not going to help [14:55:55] EdePopede: Did you try doing something like [[:meh:Main Page]] in a random page on your wiki yet? [14:55:58] so i have to do a request on the mediawiki project for my own wiki? [14:56:22] no, would this change something? let me see [14:58:33] of course it tries to link to [[foo:bar]] instead of $foowiki/bar [14:58:38] Got it. [14:58:48] EdePopede: OK, you might need to muck around in MySQL then. [14:59:00] if, then sqlite [14:59:32] until i find the time to get back into mysql... and sqlite keeps it quite portable i think [15:01:01] table interwiki? [15:01:35] ok, dir and .sqlite belong to www-data:www-data [15:02:18] err, of course THIS must work. user was added, pages are added... access rights in sqlite? [15:07:49] marktraceur: could i bring that instance back to preinstalled state? i would recreate the admin etc and add my interwikilink manually to the .sql to see if it works. [15:08:19] Sure [15:08:25] Just wipe out the database and start over [15:09:11] that's the answer i was hoping for (and the reason why i decided to use sqlite for now). will report success... or not ;) [15:11:07] You can also destroy mysql databases [15:11:31] or i simply change the value for $wgDBname? [15:14:58] Or that. [15:15:25] on debian even better. with their typical symlinking usr -> var -> etc i'd only have to change the link in /var/lib/mediawiki [15:16:12] What...do you have installed in /var/lib/mediawiki [15:16:20] EdePopede: Did you install MediaWiki from a debian package? [15:18:12] good question... i installed it relatively close to ikiwiki (the workflow there with editing text files and compiling pages is very practical sometimes), not sure atm which one i installed from the repo and which one from a package file [15:18:37] EdePopede: If you did install from Debian, that would probably explain any issues you could be having [15:18:41] !download | EdePopede [15:18:41] EdePopede: The latest stable release of MediaWiki can be downloaded from . Files are supplied in a .tar.gz archive. MediaWiki can also be obtained direct from our Git repository . [15:19:35] ok, both is marked as installed. but mediawiki is 1.19, so i THINK i tried to get 1.24 running here and after all i decided to be pragmatic and use the repo version [15:20:33] EdePopede: I've learned to never trust Debian with a web application [15:20:34] marktraceur: i've been here for WEEKS. and in #debian and ##php and and and... in the end the problem is the split between debian freeze and "don't use this, it is outdated" [15:20:54] Yeah...sorry, it can sometimes be hard to get someone at the right time [15:28:06] marktraceur: https://teamput.com/canvas/yz6Lsyjov84EpbBiB [15:28:15] this was the problem i had to solve [15:29:22] i hat this ready in the middle of december [15:32:35] !package [15:32:35] Many Linux distributions provide MediaWiki in a packaged format for that distro. These packages typically contain obsolete & unsupported versions of MediaWiki; they also like to move around & change files, & do other super-counterproductive things. You'll get the best support here if you install MediaWiki directly from one of our tarballs - https://www.mediawiki.org/ - or Git https://www.mediawiki.org/wiki/Download_from_Git [15:33:40] Betacommand. i suppose this is targeted to me? [15:34:27] EdePopede: Actually no, I am responding to a mailing list question [15:34:33] But it does apply :) [15:35:32] EdePopede: If you want my suggestion is to remove all packaged mediawiki installs and use the guide for manual install [15:37:35] well it does not for one single, though important reason: i tried to install 1.24 from the website, but with that many things involved (debian as distro, apache as httpd, $mod_somephpstuff, php as used language, mediawiki as the actual software package in question) i was sent for weeks(!) from Pontius to Pilatus (as a German saying goes). in the end i decided, it would be easier to use the repo (though i first want [15:37:36] ed to get the then (iirc) freshly released 1.24 [15:38:53] Betacommand: do you know that joke with the waiter on the table in the surgery, grabbing the first doctor coming by "please help me, i'm dying..." and getting the answer "sorry, not my table"? [15:38:56] EdePopede: I can get you configured if you can return to a clean slate [15:39:00] that's how i felt back then... [15:40:15] Betacommand: unpacking to /usr/local should be enough? [15:41:18] EdePopede: you need to remove all of the packaged medawiki installs and revert your changes to apache and what not [15:41:48] EdePopede: what version of linux is it again? [15:42:14] that reminds me of the effort to make skype usable again. with the result i didn't have sound at all for a short period of time [15:42:29] debian 7.8 [15:43:01] wait... i started with 7.0? oO [15:43:39] > Depends: apache2 | httpd, php5, php5-mysql | php5-pgsql | php5-sqlite | php5-mysqlnd, mime-support, libjs-jquery, libjs-jquery-tipsy, libjs-jquery-cookie, libjs-jquery-form, debconf (>= 0.5) | debconf-2.0 [15:44:21] EdePopede: what do you mean with the depends stuff? [15:44:24] iirc, the problem was with php on apache. prefork vs worker or whateber [15:44:41] the output from aptitude [15:44:48] debian package dependencies [15:45:15] did you see that link i posted before you joined in? https://teamput.com/canvas/yz6Lsyjov84EpbBiB [15:45:29] just uninstall mediawiki, and apache2 if you want to make things simple [15:45:39] i tried to use an apache module that (with php as MITM) would support mediawiki [15:46:05] I would also remove mysql too [15:46:36] i don't even use mysql [15:46:53] EdePopede: what did you use? [15:47:35] sqlite [15:47:41] no problems so far [15:47:46] user creation: ok [15:47:51] page creation: ok [15:47:54] I woudnt use sqlite [15:47:57] interwikilinks: FAIL [15:48:13] there was no warning on the website [15:48:24] if it is not recommended, there should be one [15:49:04] EdePopede: depends on who you talk to. That is my personal recommendation from years of working with MW. [15:49:32] * bd808 waves to Niharika [15:49:42] The way I set users up tends to be the easiest, with the fewest issues [15:49:43] oh btw: i copied the original version of the config file again and changed the link in /var/lib/mediawiki. result: pages still there, my changed logo is not. as i expected [15:49:46] * Niharika waves back. [15:49:47] Niharika: did you get my meeting invite? [15:50:06] bd808: Nope. When did you send it? [15:50:26] EdePopede: is this machine only going to be used for mediawiki? [15:50:30] Betacommand: are you part of mediawiki or somebody who well.. manages installations/web presences ant the like? [15:50:33] no [15:50:41] Niharika: about 15 hours ago. :( Maybe I picked the wrong email address [15:50:43] it is my private machine [15:51:02] and i don't have the ressources for VMs [15:51:12] bd808: Ah. I didn't get it. When is the meeting? [15:51:34] at least not if i want to do "daily stuff" [15:51:47] Niharika: will PM [15:52:13] EdePopede: I have been involved with MW and wikipedia for about 10 years. I host two personal websites and have personally configured mediawiki to run on both windows, and linux. [15:52:36] I hang out and give help where I can [15:53:18] EdePopede: your tring to set mediawiki up for the first time correct? [15:54:25] Betacommand: i did some time ago, no idea if it was debian back then or suse (i changed to it at some point because of ISDN iirc) [15:54:48] i MAY have notes, what worked or what not, but please don't ask where *g* [15:55:14] EdePopede: I mean your not upgrading an existing mediawiki install [15:55:41] only what i don't get, since it is ONE sql file, page creation and updates work fine, but i can't add a new link? [15:55:53] ah, no. i NEVER upgrade ;) [15:56:20] OK, lets step back wipe the slate clean [15:56:24] backup and play back step by step (including reorganizing and cleaning up) [15:56:59] wait... you're going to get me through a 1.24 (or 1.25 now?) fress install? [15:57:04] please uninstall apache2, and any packaged mediawiki install [15:57:30] let me see the cache [15:57:51] EdePopede: I am going to walk you thru a 1.23 install [15:59:04] including apache? [15:59:15] yes [15:59:56] which is why I want you to remove all the old stuff [16:02:16] "all the old stuff" sounds vital on debian OO [16:02:43] the starting point would be apache including all modules? [16:03:06] EdePopede: I need you uninstall apache, and meiawiki packages [16:03:22] first would be the mediawiki [16:03:39] inculding autoinstalls thru deps [16:03:59] you have command in your nick, so i will trust you :) [16:06:55] auto installs for at least mediawiki should be nuked, apache not really needed [16:10:10] it will remove php5{u}? ok then... [16:12:51] EdePopede: keep in mind that we will be re-installing this stuff too [16:13:07] meh.. mediawiki itself is purged, the extensions only removed as it seems [16:13:34] the main thing is we want to remove any customization you may have made [16:13:47] EdePopede: go ahead and nuke apache too [16:14:58] i always backup stuff (at least i do a poor man's CVS, with moving the original to $file,0 and then copying back to $file) [16:15:31] oh, will i get apache 2.4 now? would really love that :) [16:15:58] EdePopede: your going to be getting apache2 [16:16:32] i have (at least had) 2.2.whatever from the repo [16:17:14] EdePopede: are those removed? [16:17:23] weird. i purged, but still have the configs [16:18:22] EdePopede: go ahead and delete the configs [16:18:46] with purge they SHOULD have been deleted [16:21:33] and again the most trivial trhings don't work here -.- [16:22:03] OK first thing is to install mariadb [16:22:15] https://downloads.mariadb.org/mariadb/repositories/#mirror=ut-austin&distro=Debian&distro_release=wheezy--wheezy&version=5.5 [16:22:23] 2$ aptitude purge apache2-common >>> No packages will be installed, upgraded, or removed. [16:23:01] this is what usually is called a obscure source? [16:23:15] like freesoftwaredownload.com or similar [16:23:34] EdePopede: uninstall apache2 not apache2-common [16:24:09] EdePopede: not really Mariadb is what the Wikimedia Foundation uses for their databases\ [16:24:33] See http://en.wikipedia.org/wiki/MariaDB [16:27:14] EdePopede: Done? [16:27:17] lol, never knew why mysql was called like that, always thought it is something like that idiotic my. whatever.com :D [16:27:58] btw: fuck oracle. and i mean it like that -.- [16:28:23] especially after i've just read about markdown and CommonMark... [16:29:20] EdePopede: let me know when your ready for the next step [16:30:35] Betacommand: give me a few minutes to read a bit, is this ok? i didn't really care about mariaDB before [16:31:34] hm, another open question: why does debian have mysql but not mariadb? i mean, free as in free speech and so... [16:32:38] EdePopede: I have no clue, odds are its just easier for the maria devs to host their own repo [16:38:47] maria gives me a choice between 5.5 and 10.0? wow [16:39:16] 5.5 [16:39:23] stable and old stable [16:39:33] 5.5 is old stable [16:39:36] 10 works fine [16:39:48] Reedy: 10 is ready? [16:39:53] Yeah [16:39:57] EdePopede: then go with 10 [16:40:01] Wikimedia have been running it for a while [16:40:09] Missed that memo [16:40:13] On some, but not all servers (literally, they just haven't been upgraded) [16:40:33] Last I heard was the 5.X upgrades [16:40:42] Reedy: only wondering about that difference. what happened to 6–9? underway with larry laffer? [16:41:29] I guess they skipped away from mysql numbering [16:42:39] EdePopede: Maria installed? [16:43:16] > apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db << don't know, but since i use debian... evereytime when i come across *ubuntu* somehow it sounds a bet strange [16:44:00] EdePopede: most of the lunix platforms are very very similar [16:45:36] i know, especially with debian being a (really, really popular) fork of debian. only i have the impression that there's some rivality (possibly based on the differend aproaches) [16:47:05] ok, that's really weird now. i made an update && upgrade before starting with mariadb and the new repo. and now: [16:47:16] The following NEW packages will be installed: libmariadbclient18{a} mariadb-common{a} [16:47:16] The following packages will be upgraded: libmysqlclient18 mysql-common [16:47:48] btw, that's just another round of update && upgrade. is mariadb treated as update of msql? [16:47:56] No [16:47:57] s/msql/mysql/ [16:49:16] Get: 2 http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.0/debian/ wheezy/main mariadb-common all 10.0.16+maria-1~wheezy [3292 B] [16:49:30] then all that setup... and now mediawiki? [16:51:08] No [16:51:29] sudo apt-get install apache2 php5 php5-mysql libapache2-mod-php5 [16:51:53] hmm, trying an install of 1.24.1 on postgres. it however failed with a 42P01 error. retrying I now get a 42P07 error saying 'relation "mwuser" already exists' even though afaict postgres is empty [16:51:54] ah, i forgot :) [16:52:43] dreamer: the user exists as a database user [16:53:23] narf.. i always forget to start the xterm log before doing such things [16:53:55] Betacommand: \du only shows the postgres user [16:54:23] i still have /usr/bin/php5 but php5 isn not installed? [16:54:46] EdePopede: lets just see if we can get this going [16:55:03] and: postgres=# DROP USER mwuser; [16:55:04] ERROR: role "mwuser" does not exist [16:55:29] so how the mw-install thinks that this user is there .. beats me .. [16:55:29] dreamer: are you using the web installer? [16:55:35] yes [16:55:38] Betacommand: usually i use aptitude's cli (i don't want to remember all those apt* and dpkg* commands :( ) ...should work here too? [16:55:44] go back and set a different username [16:55:49] hm [16:56:23] Betacommand: I don't see where this is set [16:56:35] I'm using the regular postgres user for installation [16:57:14] EdePopede: it shouldnt make much of a difference [16:57:24] Betacommand: and here we are again: The following packages have unmet dependencies: apache2-mpm-prefork : Conflicts: apache2-mpm which is a virtual package. --- wants to remove apache2-mpm-event [16:57:45] and that mpm crap was exactly the problem last time [16:57:56] dreamer: there should be a section for a database user name [16:58:29] EdePopede: what happens when you remove the -event package [16:58:39] Betacommand: 'Database username:' and like I said I'm using the postgres user for that [16:58:40] i have here... event (installed), itk, prefork, worker [16:58:44] not 'mwuser' [16:58:51] which one should i use? [16:59:17] iirc it was worker the years before [16:59:30] but this one is like "you don't want to use it anymore" [16:59:48] itk is 3rd party and prefork, dunno anymore [16:59:53] EdePopede: can you pastebin terminal output? [17:00:50] dreamer: can you pastebin the error message? [17:00:56] https://dpaste.de/U7ts [17:01:26] do you remember that thing i posted from mid-december? [17:01:33] Betacommand: ok, I found the part where you can specify the user for the wiki to use to access the db. set that to mwuser, and that it should create this user. now I get a different error ;) [17:01:59] http://pastebin.com/1zewTv56 [17:02:49] so, if you ask me the postgres implementation is completely b0rked ... [17:03:08] dreamer: the mwuser doesnt have the privileges needed to setup the database [17:03:17] well, mw created it [17:03:20] EdePopede: is that all of the output? [17:03:30] so mw should've given it the proper privileges [17:03:38] i hit q, so yes [17:03:56] dreamer: My suggestion is always to use Mariadb\ [17:04:22] I don't want to install multiple databases on this machine [17:04:33] I already have postgres, and using it successfully [17:04:46] EdePopede: I dont see that option in the text you pasted [17:04:49] besides, postgres is superior to mysql/mariadb ;) [17:05:23] paste.append("Accept this solution? [Y/n/q/?] q") [17:05:40] Accept the solution [17:06:49] it seems to have fetched prefork [17:07:09] dreamer: postgres support has always been kind of flakey, which version are you installing [17:07:15] ok, ikiwiki still working (better said the pages precompiled by it) [17:07:45] ikiwiki? [17:08:00] manybubbles: 1.24.1 [17:08:14] dreamer: ? [17:08:17] eh [17:08:19] Betacommand: * [17:08:23] k [17:08:25] sorry, b and m are close on my keyboard :P [17:08:39] and tab-completion failed it :# [17:09:08] dreamer: I have no clue then, suggest emailing the mailing list [17:09:21] Betacommand: i installed it because of the workflow. it compiles textfiles in some markdown dialect to html and writes them to the webspace. imho good for notes and moving from text files to a wiki system [17:09:36] meh, will look in to wysql/mariadb then >_< [17:09:50] really quite a shame. can see that for big wiki's people'd like to use postgres [17:10:30] interlude: does mediawiki support something similar? like e.g. entering a grep expression that is passed to a script (python or perl or bash, whatever) and then can be used for example on a log file? [17:11:22] atm i do this with a script that produces wikisource and i pu tthe results into the ikiwiki source tree and compile it then [17:12:12] there is a wikimedia page with some stats of their servers, and so i think, realtime content should be possible [17:20:27] EdePopede: download http://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.8.tar.gz [17:21:18] is there a reason why not 1.24.1? [17:21:46] LTS [17:21:57] 1.23.x is a 'Long Term Support' release [17:22:06] <<< luvs LTS [17:22:26] well, then that's why not 1.24.1 [17:23:18] EdePopede: LTS is the preferred release\ [17:23:24] at least for the beginning they give a good starting point without all that updating stress [17:24:11] joy, the 'create account' function doesn't see that I entered an email adress .. [17:31:46] can I get back the "This page has been accessed <#> times" statistic at the bottom of pages in MW 1.25? [17:33:39] Betacommand: got it. unpack to /usr/local ? [17:34:47] EdePopede: let me look debains path up [17:36:18] Betacommand: i have no problems to dive into the dirt of using a text editor on config files and i've learned that /usr/local is out of reach for package tools [17:36:30] I think its /svr/www/ [17:37:30] i hav war www (actually changing DOCROOT to /var/www/html and putting some virtual hosts under /var/www) [17:37:40] No [17:37:50] use /var/www/html [17:38:18] I extracted and renamed the mediawiki folder to w [17:38:54] i have DocumentRoot /var/www/html [17:39:30] iirc i had /usr/local on a rw partition a long time ago [17:39:35] OK so extract mediawiki to /var/www/html/w [17:40:49] i had: Alias /mediawiki /var/lib/mediawiki [17:41:05] EdePopede: all of that should have been removed [17:41:26] (as in: put into the docroot only what must be reachable with http) [17:41:59] can it be that /opt now is used for this kind of stuff? [17:42:09] NO [17:42:22] Please just place it where I ask [17:42:53] so into docroot? [17:42:57] adding additional steps/nonstandard changes will make this far harder in the future [17:43:03] OK so extract mediawiki to /var/www/html/w [17:43:57] GOT: /var/www/html/w/mediawiki-1.23.8 [17:44:34] I have copied Template:DocumentHistory and got it working in my Wiki, but I'm unable to get the 'I' icon working. [17:45:03] EdePopede: Not what I was going for but fairly easy to fix [17:45:24] I've never worked with .svg or .svg.png files and I think that is the problem! [17:45:31] mc is one of my best friends in linux [17:45:39] EdePopede: Move mediawiki-1.23.8 to /var/www/html/mediawiki-1.23.8 [17:45:51] delete /var/www/html/w [17:46:02] Betacommand: done [17:46:13] then rename /var/www/html/mediawiki-1.23.8 to /var/www/html/w [17:46:41] * EdePopede likes the Alias directive, just mentioning [17:46:52] EdePopede: KISS [17:47:57] EdePopede: mysqladmin -u root password "" [17:48:12] mysql? not maria? [17:48:18] or is it for both? [17:48:40] Both [17:48:52] you shouldnt have mysql installed [17:49:03] remember we uninstalled it [17:49:38] Or at least should have [17:50:10] sure? client, server, common and some others are still installed [17:50:29] hi! doubts with extension development, please help: I want to implement a feature where a mysql query is executed when you click on a link. [17:50:37] "maria" gives me libmariadbclient18 mariadb-common [17:50:52] For example, a link saying "Delete" must delete the entry from table, and remove it from the page, preferably without refreshing, how to do that? [17:54:45] EdePopede: go ahead and remove all the mysql stuff [17:55:01] maria replaces them all [17:55:27] Betacommand: elt me see in #debian how i do this for sure... i don't want to be left back with dependant packages again [17:55:43] I would nuke the client and sever packages, the rest should take care of themselfs [17:56:23] ankita: I'm new here and wonder exactly how this chat service works, does one just hope someone will kindly respond to questions? (sorry I can answer your query). [17:56:26] i prefer purge to remove and to save the configs. only purge does not purge dependat packages as it seems :/ [17:57:24] Robin__: this is an open room anyone here can respond if they are around and know about your issue [17:58:20] Betacommand: ok thanks for that, perhaps I'll try asking my query again later [17:59:27] Robin__: is your wiki public [18:00:11] Betacommand: yes, I have a test page showing the problem http://www.hrca.net/wiki/Robin_test_page [18:00:51] Robin__: you need to upload the file to http://www.hrca.net/wiki/File:Information_icon4.svg [18:01:07] Robin__: what template did you copy? [18:02:04] Betacommand: I've tried uploading information_icon4.svg into mediawiki/image but it doesn't find it for some reason: I copied DocumentHistory template [18:02:35] Robin__: you dont upload files that way [18:03:04] You need to upload them thru special Upload [18:03:33] otherwise mediawiki doesnt know how to handle them [18:03:48] betacommand: ah ok, I've been using an FTP client [18:04:13] I'll give that a try, thanks [18:06:23] Betacommand: for the files: aptitude purge '~c' purges dependencies. removes "mediawiki-extensions-base{p} php-wikidiff2{p}" for the moment [18:06:53] EdePopede: go ahead [18:07:09] now let's see for mysql [18:45:39] Betacommand: if i don't use it, there should be no problem? or does it conflict with mariaDB? [18:47:36] EdePopede: Might cause conflicts [18:58:56] Betacommand: libaio1{u} mysql-server{p} mysql-server-5.5{u} mysql-server-core-5.5{u} are gone now [18:59:42] i didn't use them yet, can i go on with maria as if nothing has happaned? [19:05:56] yeah [19:06:19] EdePopede: see http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Optional:_Configure_PHP [19:07:38] why is that file so incredibly big? [19:08:05] EdePopede: its a detailed walkthru [19:08:33] not tha one, i mean the php.ini :) [19:08:53] EdePopede: Oh, PHP is massively ugly [19:10:48] extension=msql.so <-- tha missing y is irritating [19:11:09] EdePopede: you dont need that [19:11:30] EdePopede: Extensions (Ubuntu 9.04 and lower only) [19:11:47] compared to debian? [19:11:49] Oah nevermind [19:12:02] ubuntu is 14.10? [19:12:11] yeah [19:12:16] lets move on [19:12:42] http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Configure_MediaWiki and http://localhost/w [19:15:21] "Alias /mediawiki /var/lib/mediawiki" is contrary to " /var/www/html/w" where MW actually is placed [19:15:50] EdePopede: dont do that [19:16:25] EdePopede: your skipping ahead [19:16:32] index.php or what exactly must be in docroot? [19:17:03] EdePopede: you should have a folder called w in your doc root [19:17:17] thats it [19:17:33] lol? clicking on the localhost link triggers ABE? [19:18:02] ABE ? [19:18:13] from NoScript [19:18:46] https://noscript.net/abe/ Application Boundaries Enforcer [19:18:56] disable no script [19:20:29] no problem, but: "Navigate your browser to http://localhost/mediawiki" <<< that's a reason why i prefer Alias [19:21:03] as for naw "Alias /mediawiki /var/lib/mediawiki" but installation went to /var/www/html/w [19:23:09] EdePopede: Please for the love of god forget abotu aliases and just follow my instructions [19:23:34] There's nothing wrong with Aliases. [19:24:30] Fiona: If he wants to add them later, he can, I want to get him functional because he has been having problems doing so [19:24:47] it keeps things out of docroot that don't have to (or even SHOULD NOT be) reachable there [19:25:10] aliases and other stuff increase the risk of problems [19:25:34] EdePopede: mediawiki should be in doc root [19:25:36] Betacommand: the discrepanxy is between the directory you told me to use and the one from your last link [19:26:38] "Alias /mediawiki /var/www/html/w" does the job for now [19:26:40] EdePopede: if you followed the full page instead of what I said w would be mediawiki [19:27:21] EdePopede: the link I gave you was to http://localhost/w [19:27:36] LocalSettings.php not found. \n Please set up the wiki first. <<< what i will do now [19:27:52] OK, thats good news [19:28:17] try: http://localhost/w/config [19:28:26] section "Configure Apache": Alias /mediawiki /var/lib/mediawiki [19:28:43] 404 [19:28:57] but http://localhost/mediawiki/mw-config/index.php works [19:29:26] plying around with Alias and direcotories later shouldn't break anything? [19:29:35] s/plying/playing/ [19:29:37] EdePopede: thats because your not listening and fucking around [19:30:12] /mediawiki shoudnt work [19:31:35] EdePopede: had you actually followed my instructions I would have had your site up two hours ago [19:31:39] it has to if i follow the section following http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu#Optional:_Configure_PHP [19:32:20] EdePopede: there are twp sectons there. One about upload limit the other about memory [19:32:21] ok, ignoring that section brings me to /w/ [19:32:45] thats all that is in that section [19:32:53] http://localhost/w/mw-config/index.php is the installation screen [19:33:19] EdePopede: so please follow on screen instructions from there [19:33:52] can i add git later? i have it in my profile backup from the last sysupgrade anyway [19:34:17] EdePopede: why would you use git? [19:34:47] i found some interesting packages using git, so why not? [19:35:04] I mean for mediawiki [19:35:17] is this for mediawiki upgrades or for page versioning? [19:35:21] oh k [19:36:00] EdePopede: git is one of several ways to download mediawiki, which you shouldnt even think about [19:36:35] using the tarballs is the safest, and least chance of breaking something methold [19:37:07] not for mediawiki, should i get 1.23 running (which i expect), that would be ok. but git per se isn't bad as i've seen [19:38:02] database: mysql, right? [19:38:09] EdePopede: git for other projects is fine, but irrelevant to this subject [19:38:16] EdePopede: yes [19:39:05] should i change at least the username from root to something else? don't remember what i did last time [19:39:29] root is fine [19:40:00] its your database username [19:42:21] passwort should be doublechecked [19:43:28] > DB connection error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") (localhost). [19:43:32] let's see... [19:44:01] go ahead and re-install maria since you have removed mysql [19:45:51] they might have had some files in common [19:46:31] Remove the following packages: 1) mysql-client-5.5 <--- again? OO [19:47:41] its still around? [19:47:49] nuke mysql [19:48:50] done. and now: "While not mandatory, it is highly recommended that you set a password for the MariaDB administrative "root" user." (long not see) should i use the same pw as in the MW installation? [19:50:14] EdePopede: yeah [19:50:27] but your wiki user should have a different password [19:51:09] wow, here i have to type the pw twice [19:51:30] [ ok ] Stopping MariaDB database server: mysqld. <<< this sounds.... good i hope? [19:52:16] yay now it could connect [19:53:00] inno or myisam? iirc isam was #1 for mysql (at least when i've read those books) [19:53:08] EdePopede: yeah it ensures you type it correctly when changing it [19:53:24] inno is what I think we use [19:53:45] one thing i'll probably never understand: why the stars/dots? i don't expect the nsa to stand behind me.... [19:54:08] EdePopede: anyone standing near you can peek at your screen [19:54:33] at home its not that big a deal [19:54:36] may be an argument in an office, but not at home [19:55:01] EdePopede: correct, devs dont know where you are [19:55:10] so they play it safe [19:56:15] though i remember an article about hardware spying the signal from the cable connecting your computer with the monitor.. or even the wall behind you.... that's just... wow [19:58:17] btw, the tolltips during the installation procedure deserve a +1 [20:00:48] ok, now i don't get the difference between the 2 half open settings. "account needed" vs "only proved editors" [20:01:38] for both settings i must be logged in to edit? [20:03:04] EdePopede: what do you mean only proved editors? [20:04:06] config-profile-no-anon vs. config-profile-fishbowl [20:04:24] looks like "who can edit?" [20:04:43] Ah, fishbowls all content is blocked until you login [20:05:12] account creation is disabled for non-users [20:05:13] wouldn't that be option #4, "closed wiki"? [20:06:02] EdePopede: account needed is the half way point [20:06:17] anons cannot edit, but can create accounts [20:06:43] let me double check something [20:07:55] Im not sure if it actually blocks the public wiki or if that's a second setting [20:08:35] subbu: do you know? https://www.mediawiki.org/wiki/Thread:Extension_talk:Poem/poem_with_VisualEditor [20:08:40] not crucial for now, since it is a privvate one anyway. but it should be clear i think [20:09:15] i will keep it as-is for the moment [20:09:26] Nemo_bis, some context please .. :) .. do I know what? [20:09:30] fishbowl [20:09:45] ah, the qn. there. [20:10:42] well, parsoid marks up extension content / output with a type and the name of the extension. special editing support requires work in VE though. [20:12:00] hmm, poem would probably be a branch node or something. i wonder how well that'd work [20:15:11] Nemo_bis: have you filed a bug yet? :) [20:17:21] whould be nice if every shipped extension would have a README [20:18:51] EdePopede: its all on mediawiki.org [20:18:58] !e Checkuser [20:18:58] https://www.mediawiki.org/wiki/Extension:Checkuser [20:19:19] !e Parserfunctions [20:19:20] https://www.mediawiki.org/wiki/Extension:Parserfunctions [20:20:01] Cite and Poem and some others don't have one, i'm just goingt through the directories [20:20:28] !e cite [20:20:28] https://www.mediawiki.org/wiki/Extension:cite [20:21:21] EdePopede: ^ [20:23:42] to ConfirmEdit::Assira: afaik the service is history [20:28:34] installing... [20:33:07] the step with downnloading LocalSettings.php, is it new? [20:33:40] new as introduced in like 2 or more years ago? :) [20:35:33] so brandnew for a user of debian stable ;) [20:36:02] truestory! [20:37:26] EdePopede: the download itsnt new [20:39:22] debian puts it into /etc/mediawiki linked from /var linked from /usr [20:42:19] nice, my logo is around [20:45:47] is the user who logs in first automatically accepted as admin? [20:46:16] no [20:46:34] the installer should have asked you to provide username and password for the first administrator user [20:47:17] if you forgot the username, check out the list at Special:ListUsers [20:48:29] i just logged it with name/pw and no registration procedure [20:53:30] hi is there someone here familiar with extension:translate? thanks [20:54:03] Nikerabbit: [20:54:12] that is, familiar with the internals of it - i'm not getting a correct display [22:08:52] I'm trying to add a page to the Anarchism wiki and it won't let me because I'm a new user trying to use external links. Can somebody change this for me? [22:09:16] my username is the same as in the IRC [22:09:22] No, we can't [22:09:29] antonomasia: We don't run that wiki. [22:10:10] crap, I went to the wrong irc, sorry. [22:10:16] Heh, it's OK [22:17:43] Debian/Ubuntu, why must you have such an old version of mediawiki? :( [22:18:25] ToyKeeper, that's one of (many) reasons we don't recommend to use packages at all [22:18:34] Looks like I'll be removing the packages and going with an upstream install soon. [22:19:54] The old version was fine... for a week. Then I tried to clean up after an attack, and none of the relevant tools work on such an old version. [22:20:21] Not a big deal, I was meaning to upgrade anyway... just wasn't planning on doing it so soon. [22:25:08] !debian [22:25:08] https://www.mediawiki.org/wiki/Debian/Ubuntu [22:25:27] !debian del [22:25:27] Unable to find the specified key in db [22:25:31] ...wat [22:25:34] !botbrain [22:25:34] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [22:25:53] !debianubuntu del [22:25:53] Successfully removed debianubuntu [22:26:31] !debianubuntu is While there is a MediaWiki package in the Debian/Ubuntu repositories, you should probably not install it. It's very out of date, and we can't necessarily help you with it. Please see https://www.mediawiki.org/wiki/Debian/Ubuntu for how to get MediaWiki running on your machine. [22:26:32] Key was added [22:26:37] !debian [22:26:37] While there is a MediaWiki package in the Debian/Ubuntu repositories, you should probably not install it. It's very out of date, and we can't necessarily help you with it. Please see https://www.mediawiki.org/wiki/Debian/Ubuntu for how to get MediaWiki running on your machine. [22:31:37] Heh, it'd probably be a little more effective to update debian/control for the packages, since that's what people will generally see first. ;) [22:32:13] Of course, that'd take a lot more time and effort and convincing the maintainers to do it. [22:32:57] ToyKeeper: Yeah, I think there are politics between most of the MW maintainers and the guy who maintains the debian package [22:35:39] hi, how can i use smtp in mediawiki without pear? [22:35:53] every machine i have is only hhvm; wgsmtp breaks down horribly in this situation [22:39:04] I just apt-get install ssmtp and then configure /etc/ssmtp/ssmtp.conf [22:39:47] I point it at my actual mail server and then it works. But if you don't have a smarthost, you'll probably need to do a lot more config than just that. [22:40:26] Er, email smarthost. A.k.a. actual mail server configured properly for relay from internal sites. [22:40:39] i have a "smarthost", but it requires tls and user+pass [22:40:57] so i have to run some kind of local sendmail relay [22:41:05] since MW requires pear mail? [22:41:31] i'm getting warnings trying to install pear mail too, because it requires net_smtp, and net_smtp requires net_socket (unmaintained for a decade), auth_sasl (unmaintained for a decade and tells you to use another package), so urgh [22:42:02] It doesn't strictly require pear... it can fall back to sendmail (and you can provide whichever sendmail binary you want, such as ssmtp or postfix). [22:42:39] Last I checked, ssmtp won't do authentication, but you can configure a very minimal postfix instance to do that. [22:43:07] this machine hosts multiple sites too, and i need to use a different login for each one or it's rejected [22:43:17] urgh [22:43:19] Or maybe exim, I think debian has an off-the-shelf config setting to make it behave as a dumb client. [22:46:49] Not sure; I haven't needed anything for this specific situation. I'm using IP-based access rules instead of tls, because it's easy and I only need full access from internal hosts. [22:47:36] You can do it with postfix, but it might be a pain. Not sure what simpler options are available. [22:47:37] [<-] 354 Continue [22:47:38] [->] Received: by mediawiki (sSMTP sendmail emulation); Wed, 04 Feb 20 [22:47:45] ssmtp does support auth now [22:47:48] and starttls/tls [22:47:49] thanks :) [22:48:29] Ah, good to know. :) [22:50:18] reloaded and now 'Unknown error in PHP's mail() function' [22:50:20] damnit [22:50:39] Leftovers from an aborted pear install? [22:50:49] no, i removed all of that from include path [22:54:13] Dunno. When I set up mediawiki a week ago, it was the first time I had touched PHP in a decade. [22:55:22] i just saw https://www.mediawiki.org/wiki/Extension:SwiftMailer and wget'd it [22:55:26] wgsmtp worked after that