[08:06:54] Anyone familiar with Wikibase? I'm having trouble getting a fresh install up and running with 1.35.5 [17:24:16] Is there a way to create nested lists in wikitext? [17:24:32] The Markdown syntax doesn't work [17:24:33] https://pbarcwiki.kj7rrv.com/wiki/Android [17:29:24] kj7rrv: almost like that, you need to remove the space between '*'s [17:30:54] Oh okay [17:31:59] That worked, thank you [22:12:05] Is there an open source bot available for fixing links to redirects? [22:13:13] pywikibot [22:13:26] https://www.mediawiki.org/wiki/Manual:Pywikibot/fixing_redirects.py [22:13:44] Okay thank you! [22:14:48] Is there a way to run that on all pages? [22:16:31] python pwb.py fixing_redirects -start:! [22:16:49] ^ I guess since it then starts at the page named '!' [23:10:42] I use https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/HEAD/scripts/redirect.py with `both -moves -always`. I honestly have not compared with fixing_redirects.py to decide if one is "better" than the other. [23:14:51] redirect.py is for fixing double and broken redirects. fixing_redirect is for fixing links to redirects in an article, when there is an article, which contains a link [[Foo]] which itself is a redirect to [[Bar]], fixing_redirect replaces [[Foo]] with [[Bar|Foo]] in the article. [23:15:12] does that make sence? [23:16:40] And I at least understood the question to mean that the second was intentional, but it may also be that I misunderstood the question. [23:26:06] Is this info incorrect? From the composer page: "Composer 2.x and Composer 1.x are supported by MediaWiki >= 1.35.2 (along with the REL1_36 branch and master)." Attempting to use composer 2.x in the wikibase install with 1.35.5 generates an error stating that the method of mapping packages is deprecated. Composer 1.x works just fine, though. [23:26:14] Thats https://www.mediawiki.org/wiki/Composer [23:26:55] Or maybe it was supposed to work but is bugged? [23:27:06] Composer 1.x is deprecated upstream but we've mostly not switched. both should work though [23:28:05] I figured that was the case. I tried a vanilla 1.35.5 with the wikibase extension, and it gives me this: "Package::setProvides must be called with a map of lowercased package name => Link object, got a indexed array, this is deprecated and you should fix your usage." [23:28:41] That's on the pre-update hook and it causes the script to fail with an error [23:28:59] Like I said, though, 1.x still works [23:29:56] I looked around to see if maybe I could fix it myself, but I don't know enough about composer to understand where to look. Plus, with 1.x working, I can do what I need to. Just thought it might be worth bringing up in case it's an actual bug. [23:32:06] https://phabricator.wikimedia.org/T298261 [23:33:57] looks like it's been fixed and backported but not included in a release yet [23:36:05] So the official 1.35.5 release currently does not contain the fix? [23:36:16] yes [23:36:35] Gotcha. That makes sense. Thanks for finding that ticket! [23:39:32] it's in the REL1_35 branch on Git, and will be included in the next release (probably around May if I had to guess, since that's when 1.38 is scheduled) [23:41:45] I would rather guess it to be end of march / begin of april. The releases are usually every quarter. [23:46:35] Ah, okay. [23:58:23] zabe: ah, that makes more sense about why two different scripts. Thanks for teaching me something today.