[12:12:47] hi, is there a API function for ChangeContentModel ? I did not found one yet [12:31:12] Sagan: action=edit [12:32:00] Vulpix: huh, I expected an own action [13:35:01] I tried connecting my ssh to gerrit mediawiki account,but recieved an error....ssh -p 29418 Mohith10@gerrit.wikimedia.org [13:35:02] when i ran this command,the error was Permission denied (publickey). [13:35:03] When i ran this command sh -p 29418 Mohith10@gerrit.wikimedia.org -v, i recieved an error specified under Unable to connect to gerrit.wikimedia.org with ssh in the link https://www.mediawiki.org/wiki/Talk:Gerrit/Tutorial . [13:35:13] can anyone help me with this please ? [13:40:27] Hi mohit10. [13:40:49] mohit10: Did you upload your public SSH key to wikitech.wikimedia.org or gerrit.wikimedia.org ? [13:49:15] yes, i did so [13:51:48] Hmmm. [13:52:00] mohit10: Did you try with lowercase username? [13:52:08] yes i did. [13:52:08] What's the exact command you're running? [13:52:31] i even tried delting the key and adding it again but still that problem is there [13:52:44] ssh -p 29418 Mohith10@gerrit.wikimedia.org [13:53:18] i tried by adding -v at last to debug but still it also ended with same result. [13:53:48] And you're running that `ssh` command from your local machine where your private key is? [13:55:18] yes [13:55:38] Hmmm, not sure, then. [13:55:47] bd808 may be able to help. [13:56:46] mohit10: Are you able to paste the `ssh -v` output to https://dpaste.de or similar? [13:56:53] It may have a clue as to why your key isn't being used. [13:57:16] I don't think it will have any private data in it... [13:57:48] debug1: Offering RSA public key: /Users/mzmcbride/.ssh/id_rsa_labs [13:57:48] debug1: Server accepts key: pkalg ssh-rsa blen 279 [13:57:48] debug1: Authentication succeeded (publickey). [13:57:56] Ideally you'd see output like that. [13:59:41] by that -v command some debugging happens, but finally it gives tha same result [13:59:46] few final lines are [14:00:02] debug2: service_accept: ssh-userauth [14:00:03] debug1: SSH2_MSG_SERVICE_ACCEPT received [14:00:03] debug1: Authentications that can continue: publickey [14:00:04] debug1: Next authentication method: publickey [14:00:04] debug1: Offering RSA public key: /home/mohit/.ssh/id_rsa [14:00:04] debug2: we sent a publickey packet, wait for reply [14:00:05] debug1: Authentications that can continue: publickey [14:00:05] debug1: Trying private key: /home/mohit/.ssh/id_dsa [14:00:05] debug1: Trying private key: /home/mohit/.ssh/id_ecdsa [14:00:06] debug1: Trying private key: /home/mohit/.ssh/id_ed25519 [14:00:06] debug2: we did not send a packet, disable method [14:00:06] debug1: No more authentication methods to try. [14:00:07] Permission denied (publickey). [14:02:03] mohit10: please use dpaste next time if you need to paste several lines [14:12:15] mohit10: You're sure your username is correct? [14:12:26] mohith10, mohit, mohit10 [14:51:45] mohit10: already tried lowercase spelling of your email address? [15:02:23] yes it is Mohith10 [15:02:45] should i delete my ssh folder and try it again? [15:02:51] migrated my wiki from Debian 8 to 9 and installed Visualeditor+Parsoid after hearing good things about it here, really slick :-) [15:26:46] thnk you friends.FInally i did it! thnks for help [15:30:52] yw [18:15:20] Hello all! Quick question whose answer is probably no. Is it possible to append a source for Special:Booksource? [18:22:49] Ulfr: see https://www.mediawiki.org/wiki/Manual:ISBN [18:24:21] Vulpix: Well, thank you very much for the assist. Now I need to think of another reason why I have to tell this guy no :( [18:25:36] It is good to know, I had a lot of trouble googling because everyone's booksources pages kept coming up. [18:26:35] I just searched for "booksource" in mediawiki.org and voilá :D [18:28:57] I have upgraded the server I run Mediawiki on from Ubuntu 14.04 to 16.04 and installed MW via the guides manually (version 1.28.2) and configured it to point to the existing database using /mw-config/index.php . This all appears to have run successfully but when I try to access the wiki, I get the following error in my apache logs: [18:29:04] [Wed Jul 05 19:23:44.184343 2017] [:error] [pid 15708] [client 192.168.10.251:49812] PHP Fatal error: Uncaught Wikimedia\\Assert\\PostconditionException: Postcondition failed: Wiring file /var/www/mediawiki-1.28.2/ServiceWiring.php is expected to return an array! in /var/www/mediawiki-1.28.2/vendor/wikimedia/assert/src/Assert.php:140\nStack trace:\n#0 /var/www/mediawiki-1.28.2/includes/services/ServiceContainer.php(117): Wikimedia\\A [18:29:36] I've googled for this issue but I can't find anything. Does anyone have any suggestions? Thanks, Euan. [18:30:16] I'm running Ubuntu 16.04 with PHP 7.0.18-0 [18:30:51] Hi, could I get help to see why the customTogglers is not working on the h3 titles here : https://gist.github.com/etlel/c56fa1e3b40da38e470fe037f76b0961 [18:31:41] euan: could you run 'tree' in /var/www/mediawiki-1.28.2? (presumably the root of your mediawiki install) [18:32:07] um that's too long wait :P [18:32:32] !wg ServiceWiringFiles [18:32:32] https://www.mediawiki.org/wiki/Manual:%24wgServiceWiringFiles [18:32:46] oh, no documentation for that :( [18:33:41] Yes Darmock, loads of output if I run that. [18:33:53] ahh forget it, just ls /var/www/mediawiki-1.28.2 - servicewiring.php should be found in /includes/, not in the root, so i think you might have extracted things to the wrong place or something [18:34:13] [1~$ find . -iname 'ServiceWiring\.php' [18:34:13] ./includes/ServiceWiring.php [18:34:22] indeed [18:34:26] whoops [18:34:58] output confirms it's in includes/ [18:35:20] I'm puzzled as to why it's looking in the project root [18:35:55] could you paste your Apache config? i assume you're using libapache2-mod-php7.0 or whatever it's called, not php7.0-fpm [18:36:15] This is a fresh untar into /var/www/mediawiki-1.28.2 . The only change I made was to copy includes/DefaultSettings.php as /LocalSettings.php and amend the database details. [18:36:30] ahhh! that's the problem [18:36:33] I'll check the packages first [18:36:35] never do this [18:36:46] yeah Vulpix will explain :P [18:36:51] Ok, thanks Vulpix, my bad. [18:37:16] LocalSettings.php must be generated by the installer, or by hand [18:37:43] Right, thanks Vulpix. So I delete that and hit the mw-config/index.php again and start from scratch? [18:37:50] in fact, DefaultSettings.php contains some __DIR__ directives that will break paths because it's relative to the location of the file [18:37:56] yes [18:38:30] ah! Thanks so much for your help Vulpix, Darmock, I really appreciate your quick responses, I'll give that a try now. [18:40:31] good luck ^.^ [19:01:45] I have problems with https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/jQuery.plugin.makeCollapsible ... If there is someone that can help me... [19:01:57] !ask [19:01:57] 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. :) [19:02:59] Thanks, my usage of the parameter $customTogglers in not working very well. https://gist.github.com/etlel/c56fa1e3b40da38e470fe037f76b0961 [19:04:54] it is strange, obviously, something happened to the target, but still it doesn't become a toggler. [19:10:23] hmm [19:13:45] louperivois_: actually i don't think this is a problem with $customTogglers. you're apparently not supposed to add stuff to the container after it has been made collapsible [19:15:00] hmmmm [19:19:58] louperivois_: so aaaactuallly, i think the .wrapAll() method call clones your 'contenant' element, rather than use the existing one. so the 'makeCollapsible' call later applies to an element that is not actually present on the page. [19:20:51] MatmaRex : ok. I have moved the line 8 before makeCollapsible. It works but I have to reselect « contenant » with a selector. I guess this is normal behavior with wrapAll [19:21:42] yes, that's just what i arrived at too [19:21:44] $(this).nextUntil("h2").wrapAll( '
' ); [19:21:44] var contenant = $(this).next(); [19:22:03] jquery is just unpleasant in general [19:24:10] MatmaRex : ah good I take this next(). I was using an ID [19:24:20] thank you for your help! [21:44:26] Dereckson: https://phabricator.wikimedia.org/p/Dereckson/ <-- You should upload a higher resolution avatar. :P [22:37:51] Esther: done, thanks [23:24:54] Nice! [23:24:59] :-) [23:26:58] Isarra, wooo - just noticed Timeless on beta labs [23:27:03] looks great! [23:28:04] any chance we get it in prod? :P [23:31:02] MaxSem: Still waiting on this and a couple of random things that have come up since, but yeah, that's the plan! https://gerrit.wikimedia.org/r/#/c/354739/ [23:32:15] (The other things should be easy. But that's... er... well, how do you get people to review things? The age old problem.) [23:34:58] MaxSem: you need to get the Language team, err i mean the Global Collaboration team, to review that