Fork me on GitHub

Wikimedia IRC logs browser - #wikimedia-tech

Filter:
Start date
End date

Displaying 85 items:

2018-12-12 02:48:39 <MR70> Hi, I ran into merge conflict here. Any suggestions? https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/CheckUser/+/464472/
2018-12-12 15:00:21 <wm-bot> Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Thiemo_WMDE & @chiborg - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-12-12 15:50:17 <wm-bot> Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @Thiemo_WMDE & @chiborg - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-12-12 15:57:28 <ankry> is waiting...
2018-12-12 16:00:44 <chiborg> Welcome to the technical advice IRC meeting!
2018-12-12 16:00:49 <shreyasminocha> o/
2018-12-12 16:01:03 <psiconauta> hey
2018-12-12 16:01:09 <ankry> hi
2018-12-12 16:01:18 <psiconauta> thank you for doing this :)
2018-12-12 16:01:18 <Thiemo_WMDE> Hi TAIM people!
2018-12-12 16:01:29 <shreyasminocha> 'TAIM'?
2018-12-12 16:01:29 <ankry> I have problem with 2010 toolbar:
2018-12-12 16:01:32 <mahveotm_> Hi!
2018-12-12 16:01:35 <ankry> may I ask?
2018-12-12 16:02:23 <ankry> the ProofreadPage extension creates submenu/buttons in the toolbar
2018-12-12 16:02:32 <ankry> I wanto to modify them. How to wait until the extensions creates the buttons?
2018-12-12 16:02:38 <mahveotm_> Evening everyone, this is my first time attending the technical meeting.
2018-12-12 16:02:38 <mahveotm_> I do have a question about the pywikibot, is it OK if I asked?
2018-12-12 16:02:49 <ankry> This code does not work: https://pl.wikisource.org/wiki/Wikiskryba:Zdzislaw/common.js
2018-12-12 16:02:59 <chiborg> maheveotm welcome, of course!
2018-12-12 16:03:25 <ankry> any hints?
2018-12-12 16:03:43 <Thiemo_WMDE> I'm afraid PyWikiBot people are currently not here, or are you able to say something about it, chiborg?
2018-12-12 16:03:56 <mahveotm_> chiborg: than you very much!
2018-12-12 16:03:58 <psiconauta> I'm looking for some guidance on how to customize Vector (example: add bootstrap/bulma/ support)
2018-12-12 16:04:09 <mahveotm_> Thiemo_WMDE: ow.
2018-12-12 16:04:25 <chiborg> ankry you'd need to listen to a "hook" event in javascript instead of executing your code right away.
2018-12-12 16:04:49 <chiborg> ankry I'll look into it and give you some hints.
2018-12-12 16:05:27 <chiborg> mahveotm_ not sure if i'm able to help you, have used pywikibot last in 2015. But ask away.
2018-12-12 16:05:27 <ankry> chiborg: the pp js code that creates the butons is here: https://github.com/wikimedia/mediawiki-extensions-ProofreadPage/blob/master/modules/page/ext.proofreadpage.page.edit.js
2018-12-12 16:05:47 <ankry> maybe it needs to be modifiet to create the hook?
2018-12-12 16:06:28 <mahveotm_> chiborg: I've recently just unzipped the pywikibot core on a windows machine but i'm having some sort of issues getting to install it, when trying to generate user configuration file with this command ''python pwb.py generate_user_files'', I keep getting this error message ''python: can't open file 'pwb.py': [Errno 2] No such file or directory'', please what am I possibly doing wrong.
2018-12-12 16:07:20 <Thiemo_WMDE> ankry: It seems the only chance you have is to make sure your code is executed later, somehow. Utilizing one of the hooks MediaWiki provides in JavaScript might be helpful.
2018-12-12 16:08:04 <Thiemo_WMDE> ankry: mw.hook( 'wikipage.content' ).add( function ( $content ) { … maybe?
2018-12-12 16:08:12 <ankry> Thiemo_WMDE: it would be nice to see an example hoe to use them
2018-12-12 16:08:16 <ankry> thx
2018-12-12 16:09:16 <chiborg> Thiemo_WMDE do you know of a page similar to https://www.mediawiki.org/wiki/Manual:Hooks/ (which is PHP only) for the JavaScript hooks?
2018-12-12 16:09:19 <zhuyifei1999_> mahveotm_: make sure you are executing the command in the correct directory
2018-12-12 16:09:49 <ankry> Thiemo_WMDE: I want to remove sth that the extension creates as it takes too much space on the screen; and in useful for newbies only
2018-12-12 16:10:27 <ankry> zhuyifei1999_: maybe some W10 permission problem?
2018-12-12 16:10:30 <zhuyifei1999_> i.e. generate_user_files.py should be in your current directory
2018-12-12 16:12:33 <zhuyifei1999_> ankry: I don’t think EACCES would show as ENOENT. I could be wrong
2018-12-12 16:13:54 <psiconauta> can someone show me some lights on how to have custom logins (ex: github/patreon/etc) on one's wiki?
2018-12-12 16:13:54 <chiborg> mahveotm_ How do you start the command? Are you in the command line and did you cd into the directory that contains pwb.py ?
2018-12-12 16:14:58 <chiborg> psiconauta You mean Oath or more in general?
2018-12-12 16:15:06 <chiborg> OAuth
2018-12-12 16:15:11 <psiconauta> yes
2018-12-12 16:16:16 <chiborg> psiconauta you could try the https://www.mediawiki.org/wiki/Extension:OAuth2_Client extension
2018-12-12 16:16:39 <psiconauta> ohhh niiice
2018-12-12 16:16:47 <chiborg> For a more generailized approach/API you could have a look at https://www.mediawiki.org/wiki/Extension:PluggableAuth or https://www.mediawiki.org/wiki/Extension:Auth_remoteuser
2018-12-12 16:17:04 <chiborg> it depends on your use case.
2018-12-12 16:17:15 <psiconauta> yeah
2018-12-12 16:17:28 <psiconauta> have a bunch for read
2018-12-12 16:17:29 <psiconauta> ty
2018-12-12 16:18:54 <mahveotm_> chiborg: yes, that was What's did, wrong?
2018-12-12 16:19:49 <chiborg> mahveotm_ no, sounds right. Just be sure - if you do a `dir` command there, does it show you pwb.py?
2018-12-12 16:22:05 <mahveotm_> chiborg: nope, it doesn't show pwb.py, only shows pywikibot with no extension
2018-12-12 16:22:44 <chiborg> ah. and if you do `cd pywikibot` and then `dir` again, does it appear then?
2018-12-12 16:24:50 <mahveotm_> chiborg: error, directory name is invalid.
2018-12-12 16:24:50 <mahveotm_> I guess there's an issue with my installation but I don't know how to go around it.
2018-12-12 16:26:27 <mahveotm_> zhuyifei1999_: please how do I go around the directory please. I unzipped it in downloads.
2018-12-12 16:28:31 <zhuyifei1999_> mind pasting the output of dir to somewhere like pastebin or dpaste.de and link the paste here?
2018-12-12 16:32:17 <mahveotm_> zhuyifei1999_: heres the link dpaste.de/s1DA
2018-12-12 16:33:12 <zhuyifei1999_> uh, cd to the path of pywikibot
2018-12-12 16:33:55 <zhuyifei1999_> in explorer, in the path bar, you see something like “C:\blah\blah\pywikibot” right?
2018-12-12 16:35:03 <zhuyifei1999_> cd to it like cd “C:\blah\blah\pywikibot”
2018-12-12 16:36:01 <zhuyifei1999_> (you have to retype those double quotes; for some reason my phone refuse to type ascii double quotes)
2018-12-12 16:47:11 <mahveotm_> zhuyifei1999_: Hi, I've done that multiple times, but the error '''C:' is not an internal or external command, blah blah blah occurs
2018-12-12 16:47:29 <zhuyifei1999_> can you paste the command and output?
2018-12-12 16:49:11 <mahveotm_> here C:\WINDOWS\system32>''C:/Users/Marvellous/Downloads/core/pywikibot/''; '''C:' is not recognized as an internal or external command, operable program or batch file.
2018-12-12 16:50:26 <Reedy> You're missing cd at the start
2018-12-12 16:50:37 <Reedy> cd "C:/Users/Marvellous/Downloads/core/pywikibot/";
2018-12-12 16:50:43 <Reedy> Also you're using two of ' instead of "
2018-12-12 16:53:40 <ankry> cd C:\Users\Marvellous\Downloads\core\pywikibot
2018-12-12 16:53:53 <ankry> \, not / if this is Win*
2018-12-12 16:54:11 <ankry> quotes may be omitted if no space in names
2018-12-12 16:59:19 <mahveotm_> Thanks everyone, I got in without any error
2018-12-12 17:01:14 <ankry> However, the "Downloads" directore is not the best place for permanent instalation
2018-12-12 17:01:40 <chiborg> Thanks everyone for participating, asking questions and helping out in the Technical Advice IRC Meeting. See you!
2018-12-12 17:01:45 <Reedy> My download directories persist a long time...
2018-12-12 17:02:17 <ankry> if nobidy cleans it it mat be OK...
2018-12-12 17:03:11 <ankry> if reaching low disk space, the system may wich to clean it...
2018-12-12 17:03:19 <ankry> *wish
2018-12-12 17:04:08 <zhuyifei1999_> which is a really bad idea. the system should ask first
2018-12-12 17:04:15 <ankry> asks
2018-12-12 17:05:28 <ankry> but default option is to clen this dir; advanced user will know what they have there

This page is generated from SQL logs, you can also download static txt files from here