[09:49:08] good morning everyone [09:52:58] well, Can I ask a question on this channel ? [09:54:48] yes, all questions are welcome, except that one ;) [09:55:14] (IRC 101 - do not ask to ask. just ask.) [09:56:52] =D I'm currently developping an extension to "certify" some article. I would like to add the action 'certify' and at the moment, the extension works great : I have the link and i do some little things when I click on [09:57:59] I would like to 'protect' the article and keep the edit right to certain groups [09:58:20] mediawiki 1.33.1 and the classes of permissionsManager have been changed since... [09:59:15] well it doesn't work as expected. [10:00:25] first question : If you have any extension like this to develop. How would you make it ? [10:00:44] Api ? pure php ? [10:01:51] I am a bit confused between right and actions and levels restrictions in the core classes of mediawiki [10:02:25] I don't know this code, but someone else might. [10:03:09] maybe :) thanks anyway [10:04:09] sounds interesting, though. you need an extra permission for the certify action, too? [10:04:29] and a table in the database to store what revisions have been certified [10:04:45] yes. exactly [10:05:35] I would like to use your extension, although I wouldn't want to restrict Edit. just have a button to show latest certified version. [10:06:14] or oppositely, show latest certified version and a button to show latest revision [10:06:20] no idea how hard that is [10:08:50] FlaggedRev Extension could be a better choice for you.but, in my opinion, it's too big for my need. [10:09:23] oh, thanks for the tip! [10:12:47] re [11:30:42] Yesterday I was asking about excluding translate tags from transcluded content OR excluding onlyinclude tags from translatable strings. Are both indeed impossible to achieve without Labeled Section Transclusion extension? [14:36:40] Good day. What's #qunit-fixture in qunit tests? "If you use fixture you can easy use fixture. [14:36:56] LF translation [14:37:29] ref: https://github.com/mixed/qunit-fixture [14:40:11] AronMan, how is that related to MediaWiki? [14:40:37] MediaViewer is full of QUnit tests [15:14:13] Anybody could help running QUnit test locally (not with jenkins, in docker) [15:14:16] ? [15:22:53] AronMan, what does "help" mean? :) [15:23:01] Do you have a specific question? [15:23:51] how to run QUnit tests. grunt test runs 3 different test [15:23:52] s [15:24:07] what do i neeed to npm install, what commands, etc [15:24:38] Or a link to documentation if there is one that I haven't found in many hours of searching [15:25:02] specific to mediawiki build tooling... [15:25:43] https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing [15:26:48] Which is the second result googling for "mediawiki qunit"... [15:40:58] OOOH, TIL: "There is a user preference to also auto-number the section headings, at Preferences > Appearance > Advanced options > Auto-number headings. This can be set globally for the whole wiki by defining $wgDefaultUserOptions['numberheadings'] = 1; in LocalSettings.php" [15:41:03] sooo nice. [15:41:19] at least for a technical wiki [16:32:30] Should I be using v12 node? Fibers won't build with v13, I guess that's the reason why the tests don't run. [16:58:37] fibers needs v12, but that wasn't the problem [16:58:44] npm ERR! code ELIFECYCLE [16:58:46] any idea? [16:59:04] in [16:59:04] Warning: Task "karma:main" failed. Use --force to continue. [17:22:46] Anyone have any idea why https://unofficial-tesla-tech.com/ goes to the old default page (which I'd set aside) instead of Home? [17:26:27] https://unofficial-tesla-tech.com/index.php?title=MediaWiki:Mainpage [17:30:37] Ah, thanks Reedy. [17:39:39] I'll drop in this shameless ad: for a discord-like drak theme you are welcome to steal from my css overlay: https://www.mediawiki.org/wiki/User:Aron_Manning/Skin_themes [17:49:38] QUnitTestModule -s are registered in mediaviewer, but it does not show up on Special:JavaScriptTest. Actually zero modules show up there. Something else necessary? [18:53:45] Anybody has experience with running QUnitTestModule -s? [18:59:15] having trouble with the "refreshLinks.php" maintenance script crashing. I have isolated the offending pageID and everything seems find with the page when I visit it in the wiki. Are there some database "repair" scripts that one should run from time to time? [18:59:55] * having trouble with the "refreshLinks.php" maintenance script crashing on a specific page id. I have isolated the offending page id and everything seems find with the page when I visit it in the wiki. Are there some database "repair" scripts that one should run from time to time? [19:00:19] crashing? [19:00:21] Any errors? [19:00:37] * revansx[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/oPCfjaDeJoCJAkCZIshtnHnM > [19:02:22] you'll probably need to ask in #semantic-mediawiki or report a bug in their tracker [19:02:35] ok. thanks [19:04:41] I can't find the room named #semantic-mediawiki. What am I missing? [19:04:55] it's literally named as that [19:04:57] I'm in it... [19:05:21] [19:05:10] [ChanServ] Information on #semantic-mediawiki: [19:05:21] [19:05:10] [ChanServ] Founder : JeroenDeDauw, FoxT, Nadir_Seen_Fire [19:05:22] [19:05:10] [ChanServ] Registered : Dec 22 09:14:03 2009 (10y 3w 6d ago) [19:05:22] [19:05:10] [ChanServ] Mode lock : +ntc-imslk [19:05:22] [19:05:10] [ChanServ] Email : semediawiki-user@lists.sourceforge.net [19:05:23] [19:05:10] [ChanServ] Flags : SECURE VERBOSE KEEPTOPIC TOPICLOCK GUARD [19:32:55] I figured this one out thanks to a post MWJames made for a similar issue - turns out that the SMW #show command will fail like this when it returns an empty queryresult [19:32:55] ref: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4349 [19:36:14] I'm looking for a gerrit mentor, who would trigger jenkinsbot tests on my patches, or persuade jenkinsbot to do its task without the need to beg for it. [19:38:38] AronMan: You just need to ask to be whitelisted [19:39:00] Cool, then I'm asking for it :D [19:41:05] It's easiest if you make a commit like https://github.com/wikimedia/integration-config/commit/68b2a5c1148a7a122cb01044daf9fbbc0035c20c [19:41:09] to that repo on gerrit [19:42:07] Whom should I mark as reviewer? [19:43:05] Link the commit here, I can can do it [19:43:16] You can just make the change through the gerrit web interface if you want rather than cloning the repo [19:49:20] K brb [20:09:30] This is an "exciting" way to manage authorization :D [20:09:39] Done [20:20:11] In cucumber there are these weird css selectors conforming to ruby syntax. Is it possible to skip the tagname from this, or replace with a ' * ' ? Looks like this [20:20:12] div(:mmv_image_metadata_links_div, class: 'mw-mmv-image-links-div')