[07:18:09] Hi, I need am on a wiki farm (Miraheze) were some wikis are public, some private. I currently have editinterface but I can't edit interface pages on private wikis. I need to be able to edit interface pages on private wikis but not to be able to read ANYTHING on them. Config page: https://github.com/miraheze/mw-config/blob/master/LocalSettings.php [07:20:39] Reception123: I don't think you can edit without read rights [07:21:12] Hmm. But is there a way for me to be able to access only Special:Listusers, Mediawiki pages and talkpages? [07:21:15] it wouldn't make sense from a security POV either, since you could read the content anyway by opening it for editing [07:22:51] not with core, I don't think so [07:23:13] https://www.mediawiki.org/wiki/Manual:Preventing_access has the details, but I don't think you can have a dynamic view whitelist [07:23:34] Hmm. The only thing is I really need to be able to place sitenotices on these wikis, and check for inactivity [07:23:44] But I'm not allowed to read pages, as we promise that private wikis are private. [07:23:54] there are extensions for that, with the usual caveat that MediaWiki was not designed for selective read access and you should expect to be holes in there [07:24:30] well if it's only the sitenotice, you can put that one page in the view whitelist [07:25:24] $wgWhitelistRead = array( 'Special:Userlogin', 'Special:Userlogout', 'Special:Listusers', 'MediaWiki:Sitenotice' ); [07:25:27] something like that [07:25:39] Yes but I also need to check if there is actually any activity using RecentChanges. [07:26:02] well, you can add that too [07:26:17] Ok thank you very much [07:26:18] although of course that will expose page names [10:22:40] hi, just a quick question, in a css file, can you include other css files? [11:03:45] I am trying to use SolrStore extension for improving SMW search.The SOLR installation zip does not possess any .war file anymore, which SolrStore says to copy into the tomcat/webapps folder. Also, after installing the extension and clicking on the Solr Search option on Special page, it says "You have requested an invalid Special page." [11:03:53] Can anyone help pls???/ [11:13:01] I am just installing mw 1.26 on PHP 7.0.3 and install reads: PHP 7.0.3 is installed. Warning: Could not find APC, XCache or WinCache. But I have both APCu and OPca PHP extensions installed. Why are they not recognized? Thx. [11:16:55] there is some internal problem due to which it does not recognises. I got them as well and read somewhere that the problem persists. You can go on with the installation [11:17:42] Solr! [11:17:50] I am trying to use SolrStore extension for improving SMW search.The SOLR installation zip does not possess any .war file anymore, which SolrStore says to copy into the tomcat/webapps folder. Also, after installing the extension and clicking on the Solr Search option on Special page, it says "You have requested an invalid Special page." [11:18:02] what should i do/ [12:03:31] quit [12:20:53] I am trying to use SolrStore extension for improving SMW search.The SOLR installation zip does not possess any .war file anymore, which SolrStore says to copy into the tomcat/webapps folder. Also, after installing the extension and clicking on the Solr Search option on Special page, it says "You have requested an invalid Special page.". [12:21:06] Searching in the search text box also gives the error: "Declaration of SolrResult::getTitleSnippet() should be compatible with SearchResult::getTitleSnippet() " [12:21:19] how to move forward? [14:07:30] morning [14:08:52] hi. [14:30:18] Can I get someone to help with an error I'm having with the FlaggedRevs extension and my Chameleon themed wiki? [14:31:36] The problem is that with the extension enabled, any normal page prevents me from clicking on the "user" icon in the top right. The only thing that happens is an addition to the url that is a "#" [14:31:49] If I'm on a special page, the user icon works as expected. [14:32:20] baaaaas, https://phabricator.wikimedia.org/T126269 ? [14:32:36] Awesome, thanks andre__ [14:32:43] yw [14:33:02] oh haha andre__ that's me [14:33:06] Am I famous yet? [14:33:07] well then. :D [14:33:21] Thanks for the bug report! [15:07:29] If I move Wikimedia to a parent directory, do I need to update it? [15:16:27] Am I to ask here about Wikipedia improvements etc? It's unclear to me where exactly to do so [15:24:50] C0pr, depends on the kind of area [15:25:30] Well defined and specific feature requests can be filed in Phabricator. Discussing more general ideas is probably be better done on wikis or mailing lists. [15:25:38] (in case you refer to technical aspects) [15:29:06] andre__: the very same thing we were talking before [15:29:15] but with other devs [15:30:02] C0pr, as I wrote before: If you have specific questions about VE, #mediawiki-visualeditor might be a good place [15:30:25] (and for high-level ideas, IRC might not be a good audience for structured discussions.) [15:30:39] "the very same thing" were a lot of different things to me actually :) [15:30:53] and I'm not sure why developers are your target audience. [15:30:55] anyway. :) [15:34:31] I understand that you don't know the reason [15:34:48] (for the very same reason you don't understand i'm not interested in VE's improvements) [15:35:02] where should the high-level ideas be discussed? [15:35:53] Again: Depends on the idea. [15:36:03] I guess you want to first describe the problems you see here. [15:36:10] Then people might be able to point ot venues. [15:39:05] it doesn't seem that you would know where best to address my thing [15:39:12] i guess i'll try in the phabricator [15:40:08] !ask | C0pr [15:40:08] C0pr: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [15:40:44] C0pr: What I want to say is: Please actually describe here which problems/issues you see. [15:40:54] "better integration" can mean anything. [15:41:23] C0pr: and I would not recommend to put abstract high-level ideas into Phabricator. Also see https://mediawiki.org/wiki/How_to_report_a_bug [15:42:29] C0pr: so I'd love to offer you better venues, but for that you'd need to describe the specific topics you'd like to discuss [15:42:45] I've got a topic I'd like to discuss! [15:42:47] pick me! [15:43:12] ..sorry, couldn't help myself. Does anyone know where I can find a copy of Erudite that's been updated to stop giving 1.26 tummy aches? [15:43:27] What is "Erudite"? :) [15:43:40] https://www.mediawiki.org/wiki/Skin:Erudite [15:43:45] ah, a skin. Thanks [15:44:12] my apologies, I've just been trying to get fonts to stop freaking out for far too long now and my ghast is fairly well flabbered [15:44:43] I imagine if there's nothing in version control, then it doesn't exist [15:44:56] * bawolff takes a look at the skin [15:45:13] don't judge me, I didn't pick the skin [15:45:16] I use monobook [15:45:23] Ulfr Flabbered ghasts are the worst :) [15:45:41] It's 10:45 here and I'm already seriously considering liquid lunch [15:45:46] cscott: there? [15:45:50] liquid brunch? [15:46:08] There's a joke about liquid threads somewhere in there [15:46:29] Oh, god. Migrating away from liquid threads was a nightmare. Bugger kept hijacking pages [15:47:54] So nobody's updated it then, alright. Less work for me and more being grumbled at. I can deal. [15:48:11] How come I can't clone erudite [15:48:22] distributor works fine [15:48:25] ah, because its lowercase [15:48:28] spelling is hard [15:48:37] you spelled it fine, you just were overemphatic [15:50:46] bawolff: Honestly, the more I think about this the more I'm okay with picking a new skin and modifying it correctly. Turns out the sneaky guys were modifying the actual CSS server side rather than doing it intelligently [15:52:31] Ulfr: What exactly is the issue you're experiancing. It appears to work mostly on 1.27 (except the lastmodified footer is in an ugly place [15:53:03] A lot of very small things that aren't quite right, like fonts and certain bits of spacing [15:53:07] and polluting my error logs [15:54:26] PHP Warning: OutputPage::getModuleStyles: style module should define its position explicitly: skins.erudite ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in blah blah blah [15:57:06] Hmm, Krinkle removed that warning in 9435cd81b07f94a82 [15:57:25] ... [15:57:56] Seriously? I actually put in effort to make those bloody warning stop and you lot just turn them off? D: [15:58:08] https://gerrit.wikimedia.org/r/#/c/249054/ [15:58:50] I don't doubt it in the least, but at least that's pseudo-good news. Means I just need to fix the hiccoughs using Erudite.css and I'm done [15:59:57] I guess its just weird timing that got those warnings into the last release. Kind of silly to only have them for one release. There may be an argument for backporting that change [19:06:03] OAuth extension-related question: How would I let the user customize the callback URL? [19:07:57] Or I guess, more precisely, how can I vary the callback URL? [19:09:13] My tool will render the interface in a certain language depending on the URL parameter (e.g. /en/, /fr/), and I want the callback URL to keep that in mind [19:18:26] Hey! Second dumb question of the day. My site gets a fair amount of traffic, and I've been told to make the math extension happen again. I noticed in the documentation that you can call this API: https://api.formulasearchengine.com which seems to be hosted by you lot [19:18:47] Are there any rules in particular that I need to be aware of before I shamelessly mooch? Or will I get a face full of angry pokemon if I do so [19:21:04] woot [19:21:27] it seems to be ran by Physikerwelt [19:21:41] who's on IRC under this nickname, but not in here, apparently [19:24:14] it says "Wikimedia content and services", but i'm afraid that might just be hard-coded in RESTBase… [19:24:27] although who knows, maybe it is Wikimedia running it. [19:25:11] Ulfr: formulasearchengine is hosted by Moritz Schubotz, the volunteer behind Mathoid [19:25:33] the documentation is indeed the standard restbase text, and not accurate in this case [19:26:42] gwicke: Sorry, I was educated under the it's better to ask forgiveness than permission system of education [19:27:03] I don't intend to permanently use the poor guy's API, but I'm not sure if it's kosher to use it temporarily [19:28:46] Reedy: Hey, do you have some time? [19:28:49] Well, you folks don't run it, so I'll just roll with what I know [19:28:50] :D [19:29:53] Ulfr: we have recently opened up access to the wikimedia math API as well, but haven't finalized the policy on access yet [19:30:46] so, for now I think it's fine to use Moritz' API, but we'll likely have a more official / long-term alternative soon [19:31:13] You're my hero. I was going to cry if I had to configure another *oid server on my webservers [19:31:46] heh [19:32:29] we have recently started mediawiki-containers, a project that makes it a lot easier to run a fully-featured MW [19:32:52] math is next on the todo list [19:33:08] https://github.com/wikimedia/mediawiki-containers [19:33:39] I'll have to look into that, but at this point I've got most of it all running right [19:33:46] Would've just been another launch script to add [19:35:30] Very big fan of Visual Editor now that Parsoid is actually getting load balanced, though it's tragic that my users seem incapable of trying it [19:35:52] Spend hours grumbling about wiki code, and when I give them something that they don't have to code? Oh, it's too hard to learn [19:36:21] Amir1 ? [19:37:03] Reedy: Hey, I want to schedule a deployment of extension:ORES [19:37:05] in fa.wp [19:37:33] it's a beta feature, it passed the security review, also got community consensuses [19:38:07] :) [19:38:31] I'm not really the right person for that, but I can do it anyway if we can find a window [19:38:45] I should be on my laptop in a bit, so will have a look then [19:38:53] oh thanks [19:38:58] great [19:39:12] tell me who should I tell to too [19:39:16] Anyone else blinded by the annacronism of IRC on a bloody smartphone? [19:39:30] anachronism* [19:40:12] I'm not the only person doing it ;) [19:40:39] I get that, but it's like hooking up a VHS to a 4k TV [19:40:50] marginally more sensible, but still [20:00:50] Amir1: Got some links to tasks etc? [20:01:13] Reedy: yeah [20:01:20] https://phabricator.wikimedia.org/T120923 [20:07:47] Amir1: Just got the OK from greg, so will start making patches and look for a deploy window [20:08:19] awesome, thank you Reedy :) [20:09:05] Amir1: Do you know what specific config needs doing? [20:09:06] if any [20:09:24] yes, some config is needed [20:09:34] let me find it and write it for you [20:11:31] Reedy: $wgOresModels = array('damaging', 'reverted', 'goodfaith') [20:11:37] (order is not important) [20:12:14] $wgOresDamagingThresholds['soft'] = 0.90 [20:12:24] $wgOresDamagingThresholds['hard'] = 0.80 [20:12:42] i think you guys totally need to file a task ;) [20:13:34] * Reedy files MatmaRex [20:14:33] MatmaRex: Should I update your residence info to that one cabinet over there? [20:14:45] $wgOresWikiId = 'fawiki' (I'm not sure if this is needed at all) [20:14:50] heh [20:14:58] brb [20:15:42] Amir1: FYI, it doesn't seem that the fa translation is complete of ORES [20:16:06] or, at least, it's not exported yet [20:16:21] gwicke: speaking of services, does the Parsoid have a public API for people to use, or should I set up my own Parsoid? [20:19:26] harej: honestly it's not that tricky to set up unless you've got a load balancer [20:19:31] and even then it's not THAT bad [20:19:41] fair enough [20:20:48] Amir1: also, https://phabricator.wikimedia.org/T120923#1912770 [20:21:33] Amir1: Or, are we deploying with it pointing to labs? [20:25:40] hi [20:26:00] hi [20:26:08] Reedy: I do the translation right now [20:26:18] :) [20:27:27] It's different, ORES as a service is ores.wmflabs.org and the ORES extension uses ORES service data [20:28:05] hi if am new here [20:28:07] what should i do [20:28:48] The config says "OresBaseUrl": "https://ores.wmflabs.org/", [20:28:52] Hence confusion [20:33:29] it's okay [20:34:18] when an edit is being made, the extension asks ores.wmflabs.org for probability of that edit being vandalism and stores it in ores_classification table [20:34:43] then if it's more than a certain threshold, it flags it in RC and watchlist [20:35:03] you can test it in mw-revscoring.wmflabs.org [20:35:21] (you need to make an account in enable it in beta features) [20:35:53] obviously it stores edit regardless of users enabling the feature, just showing the flags are related to enabling the feature [20:38:46] who is the best person to ask about oauth? [20:40:04] anomi.e [20:40:55] * harej awaits anomie [20:43:09] * anomie is in a meeting [21:14:21] Once you're available: the OAuth consumer registration form references the ability for users to customize the callback URL but I don't see anything in the documentation that describes how this customization actually works. Is it a get parameter that the user sends, or is it something else?