[00:22:52] hi, I have a question about AbuseFilter, specifically this page: https://wikisource.org/wiki/Special:AbuseFilter/1 [00:23:21] it looks like this means that users can't add links unless they are in the autoconfirmed group, correct? [00:23:40] and by default they aren't in that group until after 4 days, according to here: https://www.mediawiki.org/wiki/Project:Autoconfirmed_users [00:26:36] among other things, this means that a new user can't add a user script for themselves that loads an external js script. that may or may not be intended, not sure -- does that seem dangerous or inadvisable to allow new users to do? [00:52:01] AntiComposite: hey, did you see the question? [03:37:30] any thoughts on my question above? [10:56:50] Do I need to somehow configure VE to use Parsoid/PHP on 1.35-rc.1? I installed a wiki using the installer and enabled VE and it's complaining that "Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached" [15:29:14] hello, I'm trying to install Wikibase client on my wiki. My aim is to have access to Wikidata to be able to use some Wikipedia templates/modules. But I probably didnt understand the settings correctly. This is the part of my LocalSettings: https://termbin.com/18xt [15:29:38] but all I get is those errors: https://termbin.com/sg17 [15:29:47] any idea how to fix this? [17:03:51] hi, I asked this question yesterday but no one responded: https://hastebin.com/iyihajufuz.cpp [17:04:02] would appreciate any thoughts [17:07:23] ningu: it does not block you from loading a userscript from an external source [17:07:53] it blocks naive attempts at adding links (which is all that spambots do) [17:08:48] but it's very easy to work around that filter if you legitimately need to load some js from elsewhere on a user subpage [17:09:22] Skizzerz: yes it does, I just had someone test it yesterday [17:09:31] "ht" + "tp://whatever" [17:09:53] haha ok [17:09:56] sure [17:10:31] I didn't think of that :) [17:13:03] that said, I'm not a wikisource admin and can't say how they would react to circumventing the filter. imo it'd be fine because the filter is probably to stop spambots, and loading some user js doesn't fall within that [17:13:19] I can't think of any reason other than spam to prevent new users from adding external links [17:13:31] yeah [17:13:43] I was thinking of adding an exception for User: pages, but your workaround is maybe more sensible [17:14:32] adding an exception => asking them to, I mean [17:14:48] because who knows what spam could end up on user pages otherwise [17:17:24] you can add in a check for new_content_model == "wikitext" to make it not apply on css/js/json pages [17:17:50] ahh right [17:17:55] ok, well I'll at least ask them [17:19:47] or without a workaround needed, assuming you're accessing both over https, is to use protocol relative urls: "//example.com/something.js" [17:19:58] oh right [17:20:01] I forgot about that [17:20:19] any idea what functionality controls the CSS critique in the MediaWiki namespace? [17:20:31] Skizzerz: does wikitext not allow those? I guess it doesn't [17:20:34] it does [17:20:52] Skizzerz: so in other words the spammers could do that too :) [17:20:54] only in [] syntax though [17:20:56] iirc [17:21:19] c: critique? [17:21:26] yeah idk what crique meant either tbh [17:21:33] *critique [17:22:04] https://i.imgur.com/VLeD62e.png [17:22:36] c: if there is a css content handler it would be in there, I guess? [17:23:13] no, content handler checks only run on save [17:23:26] that's either part of the CodeEditor extension or added via a Gadget [17:23:39] (or other custom js) [17:23:43] oh it might be CodeEditor [17:23:44] ah ok [17:23:57] i ask because the cursor is messed up [17:28:07] c: confirmed it's part of the Ace editor component that CodeEditor brings in [17:30:05] if there's a bug with that, may be better to report on the upstream's github rather than or in addition to phabricator, since it'll need to be fixed upstream [17:31:00] on another topic, I'd like to add support for a language to LanguageConverter and also a new core parser function which invokes LanguageConverter. any idea who I should talk to about that? [17:31:12] I've already written the code actually but before submitting I'd like to talk to someone [17:31:33] basically, I want the function to transliterate text from one variety of a language to another [17:39:54] Skizzerz: 677 open issues on their github, that doesn't instill confidence for something required by an extension that comes with out-of-the-box mediawiki [17:46:51] * Vulpix counts how many open bugs are for mediawiki-core [17:47:49] c: on the contrary, it instills confidence that it's actually in use by a lot of places other than mediawiki [17:49:16] and yeah, mediawiki's open issue count probably beats that by a couple orders of magnitude [21:35:31] hi, I'm trying to run Wikibase so that my wiki can use Wikidata but I didn't really understand the installation guide. So far I've come up with this LocalSettings.php settings but it doesn't work.. https://termbin.com/cmot [21:35:37] any idea how to fix this? [21:35:49] what doesn't work [21:35:49] ? [21:36:38] ningu: I copied the Wikidata module from English Wikipedia and created basic template which works on English Wikipedia.. showing the data but on my wiki it doesn't show anything [21:37:33] {{Wikidata|property|eid=Q213|P1082}} this works on English Wikipedia but on my wiki it doesn't show anything [21:37:45] even though the templates and modules are the same [21:38:16] did you check logs? [21:39:28] ningu: what logs? I see no errors after I set error_reporting( -1 ); [21:39:29] ini_set( 'display_errors', 1 ); [21:40:01] in LocalSettings.php, $wgDebugLogFile = "/path/to/file"; [21:43:08] ningu: https://termbin.com/wffs [21:43:14] I don't really understand it [21:48:42] ok, well it shows it's looking it up [21:48:42] [Wikibase] Wikibase\Lib\Store\Sql\WikiPageEntityRevisionLookup::getEntityRevision: Looking up entity Q213 (revision 0). [21:49:00] is Q213 a page on the wiki? [21:49:23] no, it's Czech Republic on Wikidata [21:49:51] specifically Item:Q213 [21:51:24] well yes :) [21:51:33] can you point to the docs you followed for the config? [21:52:48] ningu: https://www.mediawiki.org/wiki/Wikibase/Installation#Adjust_your_LocalSettings.php [21:57:49] baruna: not sure if important but can you try changing to this: $wgWBClientSettings['repoUrl'] = '//wikidata.org'; [21:57:52] remove the "www" [21:58:57] also you might need this: https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Optional_settings_2 [21:59:02] the repoNamespaces [21:59:18] ningu: removing the www doesn't change anything [21:59:54] baruna: yeah I haven't set this up myself so I am not sure. my coworker has done it though [22:00:02] or rather, has used wikibase, not sure if he's used wikidata directly [22:01:30] $wgWBClientSettings['repositories']['']['repoDatabase'] = [22:01:37] should this be the same name as my wiki database? [22:02:23] apparently yes [22:02:52] unfortunately I don't know offhand which of those settings are required for what you're doing [22:04:27] I got this errors after changing it to wiki db: https://termbin.com/dld4