[04:51:28] does anyone think it makes sense to add 'Content models' as a type to https://www.mediawiki.org/wiki/Template:ExtensionTypes ? [04:59:44] samwilson: I think so. Template:Extension supports a "content handler" implementation option [05:41:30] legoktm: good point. could you mark extensiontypes for translation? (i'm not an admin) [06:19:57] samwilson: fixed [06:38:12] thanks! [06:48:18] Hi all, I'm getting errors on invite links from InviteSignup if anybody can help with that. Emails are sent but links lead to a permission error "You are not allowed to execute the action you have requested." Anyone experienced similar? [08:47:49] can i make internal links case insensitive? for example, the link [[SoMme pAGE]] -> /index.php?title=Some_Page [08:50:52] wow this appears non-trivial: https://meta.wikimedia.org/wiki/Case_sensitivity_of_page_names [08:51:01] database level changes or page redirects required? D: [08:51:31] the issue is that im migrating thousands of pages from a wiki platform that has case insensitive links [08:52:07] so the result is thousands of broken internal page links [08:57:51] i don't care as much about searching yet as i do about the internal links which already exist [09:14:00] ... anyone know of a way to list all broken internal links? [09:14:18] the Extension:ExternalLinks is pretty cool, but i dont know that it would work for this [09:16:24] what do you mean by broken internal links? [09:23:17] so the platform i am migrating from has case insensitive page names. there may be a wiki page named "Foo Bar", and a link on another wiki page that looks like "[[Foo bar]]" [09:23:59] this works fine on that other platform, but the link is broken after migrating to mediawiki, because there is no page named "Foo bar" [09:26:04] [[Special:WantedPages]] will list pages with red links [09:26:33] nice [09:27:02] yeah... wow there are a lot of Wanted links [09:27:45] there is also https://www.mediawiki.org/wiki/Manual:$wgCapitalLinks [09:27:58] but that will only help with lower case at the start of the page name [09:30:06] i did see the CapitalLinks setting. I think that would only make things worse [09:30:26] the page names do not follow any consistent casing scheme [09:32:53] khalella: you can probably use one of the bot frameworks like AWB or pywikibot if you want to bulk rename of the pages [09:33:08] and/or to fix links [09:34:05] in order to fix the link, i would need to know what the correct page is. so the bot would need to perform some kind of case insensitive search [09:45:38] maybe write a pywikibot/awb script to 1) iterate over the 2000 or so WantedPages 2) perform a search for that page and blindly grab the first result 3) create a page redirect [09:49:40] something that automatically creates disambiguation pages would work as well [09:51:12] actually it wouldn't, because the links would still lead to pages that do not exist [14:36:04] h [19:28:43] Hello, Im experiencing an issue with several different extensions that i attempt to install displaying amessage like this: Database error A database query error has occurred. This may indicate a bug in the software.[WuduMy@s1yBsu4HyiT4pFgAAAVc] 2018-04-30 19:27:47: Fatal exception of type "Wikimedia\Rdbms\DBQueryError" [19:29:01] Some extensions work fine. Im using MW 1.30 [19:29:57] Product Version MediaWiki 1.30.0 PHP 7.0.29 (cgi-fcgi) MySQL 5.5.58-cll ICU 50.1.2 [19:30:17] the extension currently is the comments extension https://www.mediawiki.org/wiki/Extension:Comments [19:48:04] kevindank: re-run the update.php script [19:48:13] see if that fixes anything [19:48:48] otherwise set up exception logging (or if you can't figure that out, $wgShowExceptionDetails = true), so that you can get at the underlying issue [19:48:56] could be an ext that isn't compatible with your mw version [22:41:10] Hello, Is there is a way to dynamically change a URL on a page based on certain criteria (like, whether the user is logged in or not)? I assume that it would require some kind of table that a template can read...but I'd rather not reinvent the wheel if it has already been designed into mediawiki. [22:43:10] Amie: pretty sure there are some extensions that add a parser function like that [22:43:18] i found https://www.mediawiki.org/wiki/Extension:UserFunctions [22:44:07] this is not a built-in feature because it forces MediaWiki to parse pages separately for each user, rather than cache them, so for larger wikis this affects performance [22:46:41] I figured it would not be built in, but the UserFunctions extension gives me a starting place, thank you. We just need to do this for a couple of URLs on the wiki, since some URLs will not be available to someone not logged in. We need to know when to send them a recommendation to login or create an account.