[02:44:48] Does the extension distribution system typically NOT hand out updated versions of extensions for older versions of Mediawiki? (I've just updated from 1.23.9->1.23.10, but using the extension distribution selection widget to select version 1.23 of the various extensions mentioned in the update email seems to be giving me the old versions.) [02:45:26] (And trying to use the 1.25 version causes a "this extension requires 1.25" error message.) [03:00:26] jimt: newer versions of the extensions sometimes are based around the changed interfaces of newer versions of mediawiki; thus, older versions are handed out for compatibility [03:00:59] But the security fixes are not backported? [03:01:54] backporting takes place; i don't work with that stuff and I'm not sure what is backported, though [05:59:02] Hi, [05:59:03] I'm looking for someone to help me restore my old personal (non-commercial) wiki. [05:59:05] I have restored the wiki from an SQL backup, but some of the extensions produce parser errors when I enable them in LocalSettings.php [05:59:06] Unfortunately fixing these is beyond my scope of understanding, so I'm looking to pay someone to help me with this. [05:59:08] (It's probably pretty straight-forwards though, for someone familiar with this sort of stuff). [05:59:09] It may ALSO lead to further MW extension coding work down the track, since my last 2 coders are unable to work for me anymore, having taken other permanent full-time jobs. [05:59:11] Anyway, please PM me if you are interested: https://www.mediawiki.org/wiki/User_talk:BradLeeBH [05:59:12] Or you can email me instead: bwhorwood AT gmail DOT com [05:59:14] If you want to check it out, the website address is: http://smiliepedia.org/w/index.php?title=Main_Page [05:59:15] Thanks, BradLee [06:01:16] ಠ_ಠ [10:32:36] I am getting the following error after vagrant up and vagrant provision. http://i.imgur.com/oUVEETt.png Can someone please help. [12:03:15] Hi@all, i use the API for userlogin. But now i want to implement RememberME feature. But how i can check when the user-token expired? [12:06:37] In the user table i can not found a expired timestamp :/ [12:57:50] i use the API for userlogin. But now i want to implement RememberME feature. But how i can check when the user-token expired? [12:57:53] In the user table i can not found a expired timestamp :/ [12:57:58] anybody here? [13:14:04] https://github.com/wikimedia/mediawiki/blob/master/includes/User.php#L1313-L1320 [13:14:38] I don't think there is one explicitly [14:11:44] Hi guys [14:12:26] It seems "alternance" and "collapsible" class have no effect on my mediawiki wikitable. Any hints ? [14:16:42] Anyone ? [14:27:45] hi rgarrigue, what effect should these have? [14:27:52] i'm pretty sure they're not part of MediaWiki. [14:30:13] MatmaRex: have a look at the "Exemple récapitulatif" in this Wikipédia FR page https://fr.wikipedia.org/wiki/Aide:Ins%C3%A9rer_un_tableau_%28wikicode,_avanc%C3%A9%29 [14:30:45] That's just the usual table, with an alternance of grey and white for a better reading [14:31:30] rgarrigue: they're probably specific to the French Wikipedia. you'll probably find the definitions on [[MediaWiki:Common.css]], which you can copy to same-named page on your own wiki. [14:32:33] Ok... I guess it'll be removed if we update mediawiki ? [14:34:01] no [14:34:41] rgarrigue: see https://fr.wikipedia.org/wiki/MediaWiki:Common.css , search for the class names, and copy the relevant bits to your wiki [14:35:05] that page has existed there since 2006 and does not disappear with MediaWiki updates :) [14:38:43] ok, stored in database, I see [14:44:32] Thanks MatmaRex :) [14:47:52] :) [14:52:55] Anyone got an example how to fill a double entry table using data from externaldata ? [15:23:26] hello everyone! [15:24:10] I am a newbie to open source communities. I want to learn and contribute to mediawiki. [15:25:46] From last few hours I am trying to install Mediawiki in ubuntu using this link https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu [15:28:27] Under Database Config, you may change the database name and DB username to new values, but you must turn on "Use superuser account", name: debian-sys-maint. But I am not able to find this option of using superuser [15:29:24] I would deeply appreciate the help. I know this might be silly, but I tried a lot before asking this. [15:30:47] nisha: I guess you need to fill a mysql account that's granted ~all privileges, which will create mw user and database [15:31:10] I'ld fill "root" with the password you should have update using mysql_secure_installation [15:31:19] should have updated* [15:34:13] But it says to configure MediaWiki using this link http://localhost/mediawiki to make a LocalSettings.php file . [15:34:34] Yep [15:35:07] That's what it'll do, create a LocalSettings.php that you will download and drop under wiki/somefolder/LocalSettings.php [15:37:36] The database config is about adding mediawiki's data to a database. Either you create a database and a user with the full privileges on this database, or you create nothing and give mediawiki an account it'll be able to use to create the database & user & fill it with data [15:37:57] Gotta go, good luck [15:38:11] Okay, thanks a lot rgarrigue [15:40:27] hello who can help me ? I have a media wiki problem [15:42:49] don't ask to ask, just ask [15:42:59] don't know yet if we can help because we don't know the problem yet :) [15:43:02] neonlife, ^ [15:43:57] I have mediawiki at my server but I have my adminname and password forget. I had it longtime never used. [15:44:13] How can i find out the adminname ? [15:46:54] neonlife: you can create a new administrator user using the createAndPromote maintenance script [15:46:56] !maintenance [15:46:57] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [15:52:40] I'm using a local wiki(non-vagrant) for development, and I'm seeing the imagelinks table as empty. However I can still goto Special:WhatLinksHere and type an image title and get which page is linking it [15:53:01] is this possible with imagelinks table being empty? [18:16:45] is there a simple way to list all things in a category without pagination? [18:17:45] use an extension like dynamic page list, which usually allow queries about pages in category, etc [18:18:25] if you want the list of pages to feed a bot or something, you can use the api... well unless you hit the 500 items limit [18:19:28] 500 item limit? :p [18:20:23] the api will only let you return a certain amount of results depending on rights [18:21:26] huh [18:21:29] thanks =) [18:40:23] ok, the Variables module was installed but doesn't show in versions. I tried updating it and it still doesn't show in versions [18:46:06] (the correct line is in LocalSettings.php) [19:00:32] I am having the following problem with vagarnt up and vagrant provision. http://i.imgur.com/oUVEETt.png Can someone please help [19:03:54] anmol: I haven't used vagrant, but the error message says SSH failed. maybe you can't connect through SSH to the server (whichever it's trying to connect?) I've heard this is a common problem for people connecting behind a proxy [19:05:45] Vulpix: vagrant ssh is working fine, so that is probably not the issue. Although I am behind a proxy. [19:25:16] anmolK: see https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Vagrant_behind_proxy [19:27:26] bd808: I have installed this particular plugin. Some packages download when I try vagrant up. Some fail. Like this. http://i.imgur.com/52Z8YE3.png e [19:28:16] hmmm.. so git inside the VM isn't seeing your proxy settings [19:29:16] or ... the proxy is corrupting the git-fetch? [19:30:37] Possibly. Is this a problem which people behind proxies usually face? Could it be because of some kind of a download limit declared by the proxy server? [19:31:30] We have seen plenty of people behind proxies have problems. I don't remember this specific one [19:31:41] apt-get usually gives the most problems [19:32:46] Okay. I will try to find solutions specific to this. [19:33:12] anmolK: you can try cloning those repos from your host os [19:33:23] and see if you have better luck [19:33:35] Alright. Thank you very much. :) [19:33:45] the mediawiki/core.git clone is a huge one [20:28:06] is there a quick way to test if your wiki is capable of sending email properly? [20:28:24] I have a user claiming he never received a requested password change email [20:29:07] QuasAtWork: create an account with an email address you own, then request a password change [20:51:34] wow http://brewster.kahle.org/2015/08/11/locking-the-web-open-a-call-for-a-distributed-web-2/ [20:59:55] Is there a way to get the gender of a user (if disclosed) other than by asking MediaWiki to parse {{gender:Guillaume (WMF)|male|female|unknown}} ? [21:00:20] first day of school argh [21:00:58] guillom: php? [21:01:25] no, from outside. [21:01:30] JS/API etc. [21:03:12] I don't think we expose it [21:03:37] yes we go [21:03:40] we do* [21:03:51] Oh no, we do [21:03:53] https://github.com/wikimedia/mediawiki/blob/master/includes/api/ApiQueryUsers.php [21:04:00] action=query&list=users&ususers=Guillaume_(WMF)&usprop=gender [21:04:04] We just don't in userinfo [21:04:20] https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&meta=userinfo&format=json&uiprop=options&titles=User%3ASn1per [21:04:25] Hah! Thanks, Krenair. [21:04:29] if you use options, gender is inside [21:04:33] meta=userinfo vs. list=allusers vs. list=users [21:04:34] * Krenair sighs [21:04:35] but Krenair's idea is better [21:05:03] not in allusers either [21:20:14] Im getting a really weird error [21:20:39] http://pastie.org/10344841 [21:20:46] when trying to visit my mediawiki [21:21:07] no problem with email; we're just blacklisted by outlook live >_> [21:21:23] err outlook.com [21:21:49] aelevadoan: php version? [21:22:19] GEOFBOT: PHP 5.5.9-1ubuntu4.11 (cli) [21:23:31] aelevadoan: the error you provided looks like a portion of mediawiki source code [21:23:46] no particular error code or description, maybe you missed it? [21:24:02] GEOFBOT: I have been changing to php5-fpm with fastcgi [21:24:09] to optimize resources on my vps [21:24:14] and disabled de mod_php [21:24:21] now I have the mediawiki broken [21:24:25] and my wordpress multisite [21:24:31] but someother siteres are ok [21:24:52] http://nad-ege.net/ http://wiki.lab-interconectividades.net/w/ [21:24:53] are broken [21:25:11] PHP is not working correctlyt [21:25:24] Server is set to show the source rather than running it [21:26:48] aelevadoan: apache (or whatever server you are using) is not running php [21:27:06] (or it might be something else, I have a reputation on here for bad advice) [21:27:16] http://presentacion.nad-ege.net/info.php [21:27:18] now it is [21:28:30] sorry, not sure what the issue is [21:29:18] probably somethign to do with server config [21:29:27] ahá [21:29:39] is that a php issue? [21:31:21] apache issue, methinks [22:03:05] are there specific issues with fcgi and mediawiki? [22:03:30] I turned of mod_php in apache on my vps [22:03:35] could that affect mediawiki? [22:12:20] aelevadoan: googled it; mod_php enables php execution by apache [22:12:35] ahá [22:12:35] there are other ways of achieving it but I think mod_php is the easiest [22:12:37] Does anyone know if a simple example of using the EDIT API to edit a page? [22:12:54] the thing is mod_php was consuming my modest 512 mb of memory [22:12:57] that I need to optimize better [22:13:25] huji: https://www.mediawiki.org/wiki/API:Edit [22:13:27] so i need a php-fpm cgi solution [22:14:03] GEOFBOT: Yeah I checked it out. I need a full example though [22:14:34] I sure can use the example at the end, but was looking for more [22:15:50] Grab a token: http://sn1per-api-tests.wmflabs.org/w/api.php?action=query&meta=tokens [22:17:13] Send an edit request [22:17:19] http://sn1per-api-tests.wmflabs.org/w/api.php?action=edit [22:18:21] POST data: title="Main_Page", text="New Text", token="The token you got previously", summary="Edit summary" [22:19:00] You can also set basetimestamp to prevent edit conflicts [22:19:30] GEOFBOT: thanks :) [22:24:29] anyone tried this out? https://www.mediawiki.org/wiki/Apache_configuration#PHP_as_CGI [22:26:13] aelevadoan: Insomuch as I'm using php-fpm, yes [22:26:29] cougrimes: and how did you configure it? [22:26:38] Im getting this error http://wiki.lab-interconectividades.net/w/ [22:26:54] I have a global fastcgi config in /etc/apache2/mods-enabled/fastcgi.conf [22:27:35] thats what the config looks like http://pastie.org/10344874 [22:28:01] Granted, I made the choice to switch to nginx/php-fpm rather than Apache/php-fpm so my advice will likely be a bit limited in this specific case :X [22:29:34] Two stupid questions to start: did you restart Apache with no errors, and did you do a phpinfo() test to see if everything's loading correctly? [22:29:43] cougrimes: yeah, i want to do that, but Im still learning a bit more about nginx [22:29:53] cougrimes: yes to both [22:30:10] What's your phpinfo output? [22:30:12] cougrimes: http://presentacion.nad-ege.net/info.php [22:30:42] cougrimes: thats my mediawiki virtual host http://paste.ubuntu.com/12058301/ [22:31:23] cougrimes: and the only that jumps up when restarting apache is AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.71.218.226. Set the 'ServerName' directive globally to suppress this message [22:31:29] which is a warning more than an error [22:34:14] I think your permissions aren't quite set up correctly [22:34:15] http://wiki.lab-interconectividades.net/w/images/ [22:34:32] Make sure ownership and permissions are set as they should so your CGI pool can see them [22:34:44] Because clearly that's not honoring the conf you shared [22:35:06] umm [22:35:09] its a mediawiki farm [22:35:14] what I have set up there [22:35:19] code goes in the w folder [22:35:48] images directory [22:36:02] goes in wikis folders [22:36:46] http://wiki.lab-interconectividades.net/ [22:37:04] cougrimes: what permissions should they have? [22:39:42] cougrimes: but the error http://wiki.lab-interconectividades.net/ [22:39:44] sorry [22:39:53] The requested URL /php5-fcgi/w/index.php was not found on this server. [22:40:06] its looking for something in a php5-cgi directory? [22:40:09] I dont understand that [22:45:57] GEOFBOT: one more question if I may: how can I get the last section in a page, and edit in that? [22:48:06] lemme comb through the manual for a minute [22:48:20] GEOFBOT: doing the same but no clue so far [22:48:42] get number of sections using separate request and use that? [22:48:49] GEOFBOT: yes but how [22:49:05] GEOFBOT: specifically, I want to edit the last section and add a new section after it, but I don't want to use the "new section" feature of API becuase that forces teh header and teh edit summary to be the same [22:49:12] I want to manually add the header, and use a desired edit summary [22:50:03] GEOFBOT: in theory, I can get the entire page and add my stuff to teh end [22:50:19] GEOFBOT: but I'm afraid that'd be slow if page is large, hence the "last section" trik [22:50:22] trick* [22:51:14] https://www.mediawiki.org/wiki/Special:ApiSandbox#action=parse&format=json&page=API%3AEdit&prop=sections get sections [22:52:06] huji: you can then get the number of the last section, and add the new section by editing hte previous section [22:52:10] s/hte/the/ [22:52:22] yeah that is what I'm thinking [22:52:51] let me look at the link ... [22:54:54] GEOFBOT: yes, the "index" property will do what I need, Thanks! [22:56:20] no problemo [23:03:03] cougrimes: you there? [23:03:39] GEOFBOT: silly question: can you show me how to do exactly that using mw.api ? [23:03:49] i.e. using JS, jQuery style? [23:07:06] huji: https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Api [23:07:26] not much different [23:07:41] just parameters declared in the object [23:10:42] Anyone here uses CGI Wrap on MW? [23:10:57] Im using globally on my vps php5-fpm fastcgi [23:11:09] because my vps memory limit was reaching the top [23:11:14] very quickly [23:11:16] with mod_php [23:12:46] aelevadoan: http://blog.starcklin.com/2013/08/install-mod-fastcgi-and-php5-fpm-on-ubuntu/ ? [23:13:33] GEOFBOT: did you try that out? [23:13:44] No, I don't work with servers [23:13:49] just found it and thought it might help [23:14:10] I'm just a student who submits fixes little bugs and tries to help people here :) [23:14:12] i need specific advice [23:14:20] thanks :) [23:14:52] good luck [23:26:41] GEOFBOT: I really can't use API docs :( Which action gives you the page's existing text? [23:27:59] huji: no worries, the params are actually kinda strange [23:28:02] https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=jsonfm&titles=Main%20Page [23:28:41] another example (more readable): https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=jsonfm&titles=User:Sn1per [23:29:22] including my silly poem i made up one day [23:54:14] GEOFBOT: I wrote this function: http://pastebin.com/qtxgKvim but when I call it, it only reloads the page wihtout anything being saved [23:54:20] GEOFBOT: any clue? [23:56:02] huji: you did action=query so you didn't edit the page [23:56:19] action=edit uses title, not titles [23:56:24] ah [23:56:27] damn copy paste [23:56:29] etc. [23:56:30] thanks! [23:56:42] make sure the parameters are correct, not sure if you got any else wrong with copy paste