[00:41:47] Anyone want to code review - Disallow loading JS/CSS/Json subpages from unregistered users and log [core] - https://gerrit.wikimedia.org/r/433094 - I'd kind of like to get that merged sooner rather than later [00:43:39] * legoktm clicks [03:08:29] Hello, friends! I am looking for assistance in trying to make the categories on my personal Wiki populate. [03:12:58] GauchoDude: Usually if its not working, that points to a job queue issue [03:13:01] !jobqueue [03:13:01] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue [03:14:17] what os do you recoment use with mediawiki? [03:17:19] @bawolff How do I remedy this? I'm not as familiar with the coding aspect of everything, but I've managed to self-install a working version of a personal wiki. [03:18:04] fou: Linux is best supported, but others should work to. If you want a specific variant of linux, I would suggest debian, but they all should work pretty much equally as well [03:18:08] @fou I'm not sure if there's a recommended one, but I think based on a lot of the explanations a lot may run off of Linux or a Windows-based operating systep [03:19:00] Windows tends to be a little bit less well tested [03:19:55] GauchoDude: Could you try running runJobs.php from the command line to see if that fixes it (See https://www.mediawiki.org/wiki/Manual:RunJobs.php for details). If it does fix it, we know its a job queue issue and can go from there. If it doesn't fix it, then we know its something other than job queue [03:21:21] @bawolff To where would I input that? For reference, I'm running on a Windows-based system and XAMPP [03:21:33] Oh in, windows its a tad harder [03:22:40] @bawolff Story of my life [03:23:38] GauchoDude: So you can do it by opening a command prompt window, going to the mediawiki/maintinance directory, and running php runJobs.php. But often this is complicated by php usually not being in your path on windows [03:24:13] GauchoDude: Instead, maybe just set $wgJobRunRate = 10; in LocalSettings.php and then browse around a little bit to see if that fixes it [03:24:32] @bawolff That I can do. Give me a moment. [03:25:19] GauchoDude: You could also check the number of jobs pending at api.php?action=query&meta=siteinfo&siprop=statistics on your wiki [03:30:33] Apologies for the delay. The coding attempt did not seem to fix the issue of Category pages not populating. Looking at the statistics page you sent, it shows 976 jobs. I am unsure if that is a pending number. [03:38:03] Yeah, that's a high number. It might indicate MW is encountering some error when trying to process the jobs. If you make a couple random edits, does the number go down, or stay the same? [03:38:31] I will attempt, give me a moment. [03:40:52] I made two random edits to one page. Jobs went from 976 to 862. [03:49:37] Ok, so its probably just a bit of a backlog. [03:49:54] You could try setting $wgJobRunRate even higher temporarily to clear the backlog [03:51:21] Assuming the backlog eventually hits 0, A. will that populate the categories and B. will that coding line stay in LocalSettings.php forever? [04:00:49] Hello again, @bawolff. Reducing the jobs to 0 did populate the categories so thank you for that fix. Moving forward, will that coding line remain in LocalSettings.php forever or was that a workaround? What are common causes for such a large job backup? [04:01:26] thank you GauchoDude [04:01:27] GauchoDude: Probably you want it higher than what you had originally, but not as high as we had set it [04:01:46] Maybe $wgJobRunRate = 3; [04:02:08] If you set it to too high a number, then some requests might take a long time [04:02:31] It was not originally a line in LocalSettings.php for some reason. To my knowledge, I didn't remove it. [04:02:33] The best solution is to have the script set up as a scheduled task, but that's more complicated [04:03:01] If its not in LocalSettings.php, then it uses the default value which is 1 [04:03:47] GauchoDude do you know how to install visual editor? [04:04:32] I could probably figure it out, but I'm much more familiar utilizing the Wiki-mark ups and prefer to write in that code if that's what you're refering to? [04:05:24] really so that would be faster be best to use media wiki your saying ? [04:53:40] !visualeditor [04:53:41] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [04:53:48] for some docs around it, if you were looking [04:53:56] non-tech users do seem to really like VE [04:54:07] tech users seem to dislike WYSIWYG in general [04:55:59] ok ok [13:42:14] freephile: is it back up now? [13:45:46] Im using the DynamicPageList3 extension to display a list of pages (countries), i want to also display an image from those pages (a flag) does anyone have a suggestion on how i can get dpl3 to display an image from a page? [13:48:10] kevindank: I don't know about DPL3, but perhaps you might want to check out Semantic MediaWiki that allows queries and different result formats [13:49:05] Nikerabbit: im using smw and page forms currently...however it wont allow me to do the query that im attempting to do with page forms where as dpl allows me to [13:49:17] specifically the linksto parameter [13:52:03] really? I would imagine something like format=template and template being [[File:{{{1}}}|link={{{2}}}] to create a clickable flag [14:10:09] Nikerabbit: so a different scenario, I created a form called Contributor Profile, on Contributor Profile page it has a field called Company and a field called Logo and a field called Contributing Countries. On each Country Page, i have an area called Contributors, I want to display all Companies that have that specific Country Page linked in the Contributing Countries field and also display a logo next to that company [14:10:59] I wasnt able to determine how to use the inline query to display users who have a country linked using the contributing countries field, but i do know that pageforms allows me to use template= to display an additional template [14:13:39] that sounds a bit complicated to explain over IRC [14:14:31] it is [14:16:00] so your subjects are contributors, on your country page you would query contributors [[Country::X]] and display properties ?Company | ?Logo [14:16:10] or is this completely incorrect understanding? [14:20:46] Nikerabbit: so the template is here: https://pastebin.com/tQfwCBqv i want to use this somehow to display within a given country {{FULLPAGENAME}} the Page title of the form (organization name) with the logo/avatar field displayed next to it [14:21:02] the country name would be defined based off the field contributing countries [14:21:38] which is a token....i figured the easiest way to do this would be in my inline query display results that link to {{fullpagename}} [14:22:30] so if i fill out that form and list canada as a contributing country, on the page canada it would show me as a contributor based off the page name of the form submission and also my avatar/logo [14:23:35] since i wasnt able to figure out how to do that with an inline query i tried to use dpl 3 and this was the simple example...https://pastebin.com/dTU7rQzK although it tells me the template does not exist even though i created it. [14:25:10] I am not sure what is the difference between Has country and Has contributing countries [14:27:06] I would suppose a simple {{#ask: [[Has contributing country::{{FULLPAGENAME}}]]| ?Logo | .... }} would do it, but I assume there is some complication I have missed [14:27:09] has country is the users country of origin...so i can list that i am from the united states. contributing countries asks which countries do you plan to contributing documentation to [14:30:49] that looks like what im trying to do...i have a template called countries that is used on all country pages...i.e. Ireland,Canada. I pasted that snippet you just shared in there and it should display a list of contributors that use that country in contributing country and there logo, however it is displaying blank [14:31:39] https://www.ipdocketengine.com/index.php?title=Algeria#tab=Contributors [14:31:46] outputs it into a table which is nice though [14:36:39] so the only thing it is not doing is actually displaying the logo [15:17:24] freephile: there was network maintenance on Cloud VPS this morning, there's going to be another short outage later today I think [15:41:08] NikeRabbit: Figured it out using PageForms, thank you [15:47:13] Hi all, sorry for re-posting this, i have still to makle progress. any help apprecited! [15:47:14] I use mw 1.30.0 with the translate extension. German is our base language, but the strings for the menu are somehow stuck in the english version. [15:47:15] i tried clearing cache, emptied the Mediawiki:Sidebar, disabled cache, touch LocalSettings, etc… nothing brings up the original german strings in the translation page. Here´s the link to the translation interface: http://dein-lastenrad.de/index.php?title=Spezial:%C3%9Cbersetzen&filter=translated&group=wiki-sidebar&language=en&action=proofread [15:54:20] fleg[m]1: which specific example string do you expect to be in German but it is in English, and where to see that example string in the UI? [17:42:58] andre__: http://files.fleg.de/mediawiki-CEJ2lxK0Mq/ left side should be german. [17:47:04] andre__: i do the following: 1. delete the all text in mediawiki:sidebar & MediaWiki:Sidebar-messages. 2. Check the translation interface, strings have gone. 3. Re-add strings in both files. 4. Check translation interface: strings on the left (which should be german, since that´s the source lang) are english. [19:44:17] hi, there is an option to get the amount of rows returned from #cargo_query without count(*) (maybe something with #arraydefine and so on)? [20:32:37] Hey all, I'm trying to determine the best way to insert GoogleTagManager