[00:22:14] @kostajh Idk how my job queue is set up. Is there a configuration option to change what jobs get run? I followed the steps on the arch wiki and the mediawiki installation page, but I didn't see a step to "set up the job queue" [00:41:53] DeltaF1: did you setup anything at all? [00:42:28] if you didn't set $wgJobRunRate to 0, it will run automatically on pageview [00:42:50] you may always run maintenance/runJobs.php [06:13:42] i have a mediawiki instance on 1.31, can i upgrade directly to 1.34 or do I need to do each point release? [07:01:27] nm, worked it out [07:03:46] Hello, how can I remove the fancy UI on Recent Changes and stuff such as discussions on Talk pages? I've just installed MW on my instance [07:04:01] well, revert to the previous simpler iteration [08:49:55] after updating to 1.34, I'm having some issues with parsoid [08:50:19] when i click the Edit link, i momentarily see the loading bar, then it disappears and nothing else happens [08:51:23] i see this in the console: http://ix.io/2fY9 [08:51:29] any ideas how to diagnose further? [09:25:43] nm, I fixed it [09:25:51] forgot to update the submodules [09:47:05] Hello all...I have one question...I would like to style, with bootstrap, category page. I have see that the category has wp-category class....It it possible to add another class to this div? [09:50:22] Hi, on Special Pages there is Broken redirects page. Is there also a page for dead links? Or is it possible to get it? [09:55:12] Ok, I have found the code ....function columnList in CategoryViewer.php produce this div....How I can add a class? Edit this function or it's clear add an hooks? [10:32:29] temuccio: Generally, I wouldn't advise changing MW core as it becomes a maintenance nightmare [10:32:57] The function has no hooks... So it's probably easiest to open a task (and possibly submit a PR too) requesting some sort extra class adding [10:35:44] Reedy, now I try to add a class with javascript in template... [10:35:53] sorry, in skin :D [10:49:19] joel841: isn't that the wantedpages special page? [11:01:53] Reedy: looks like there isn't a Git tag for 1.34.1? [11:02:33] bootc: There is [11:02:33] https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/core,tags?filter=1.34 [11:02:59] It does look like it hasn't replicated through to github though [11:03:27] Reedy: ah that's what I've been going on because pulling from Gerrit is *slow* [11:03:42] (and I don't want our CI pipeline knackering your Gerrit) [11:04:27] How much are you hitting it? :P [11:06:06] Just filed https://phabricator.wikimedia.org/T248842 [11:23:49] Reedy: well, when I'm updating MW it gets hit quite hard; not so much these days but we go through spates of fiddling with it [11:24:23] what made me switch last time was Gerrit falling over for us while we were working on it, breaking our pipelines, so GitHub was an easy win [11:53:06] bootc: tags are there now [11:54:01] Brill, ta. OOI, what caused it? [11:54:33] oh nm I see the updates on the ticket [11:55:03] Yeah, I dunno what caused it [12:12:16] hi, where i can find out translation for {{int|apierror-mustpostparams}} [12:20:07] cronolio: What are you looking for exactly? [12:20:08] https://github.com/wikimedia/mediawiki/blob/master/includes/api/i18n/en.json#L1818 [12:24:06] Reedy: i thinking what means "$1" in documentation. even think it's some translation marking error :) [12:24:31] https://github.com/wikimedia/mediawiki/blob/master/includes/api/i18n/qqq.json#L1706 [12:26:39] in real message $1 $2 is replased ofcource [12:27:13] Yeah [12:27:27] $2 will be a number, $1 is the name of a parameter [12:45:32] sometime i am providing both languages (eglish and my native) for error messages. i think it is better for google serch :) [13:14:49] how can i call api with prefered language https://www.mediawiki.org/w/api.php?action=help&modules=login ? [13:16:57] cronolio: https://www.mediawiki.org/w/api.php?action=help&modules=login&uselang=de [13:25:27] Hi, is it possible to merge a category to another [13:27:56] yes, but you basically do it manually (adjust the category on every page that's a member) [13:42:07] Reedy: how do i can declare "uselang" with "Special:Foo" pages [13:42:28] In the same way [13:42:34] ?uselang=foo [13:42:41] If there's already a ?, swap it for a & [13:44:26] https://www.mediawiki.org/wiki/Special:Special:ApiHelp/login?uselang=ru [13:44:36] no such page [13:44:46] You've got Special twice [13:45:28] https://www.mediawiki.org/wiki/Special:ApiHelp?uselang=ru seems to eat the parameters [13:45:38] https://www.mediawiki.org/w/api.php?action=help&modules=login then this [13:46:19] https://phabricator.wikimedia.org/T248855 [13:47:15] cronolio: Are you logged in? As you could just set the language in your preferences [13:47:53] thank you. im logged in but in preferences in english [13:48:05] is english [13:49:52] this page https://www.mediawiki.org/wiki/API:Login#API_documentation uses this block [13:50:12] Set it to Russian? [13:51:18] it's not marked for translation at all curently. i think how i can do this [13:52:27] or maybe translation for api it's bad at all ? :) [13:52:58] No, the API is fully translateable [13:53:14] https://github.com/wikimedia/mediawiki/blob/master/includes/api/i18n/ru.json [13:53:19] You can do it on translatewiki.net [13:56:30] in russian language some hystorical mess with translation of words like "user", "contributer". cause i'm not there [13:56:37] https://translatewiki.net/wiki/Special:Translate?action=translate&group=mediawiki-api&language=ru&filter=%21translated [14:00:58] this conversation (in russian) https://translatewiki.net/wiki/Thread:User_talk:Stjn/small_revolution_changes [14:12:17] bawolff thank you for the answer "yes, but you basically do it manually (adjust the category on every page that's a member)" [14:12:31] Isn't there a script for that? [14:13:19] Not really [14:13:25] There's various bots and extensions you could use [14:13:44] As the page text needs altering, it's not just stored in a structured form [14:15:57] Hi Reedy what extension is that? [14:16:15] Something like Replace Text? [14:17:56] !pywikipedia [14:17:59] !pywikipediabot [14:17:59] pywikibot is a bot framework written in Python that allows for easier automated actions on a wiki. For more information, see . For alternatives, see . We're in #pywikibot if you want to chat :) [14:18:03] Is a common one [14:18:11] But ReplaceText is also a common choice [14:18:28] OK, thank you [14:18:34] I will try it [14:18:45] ReplaceText is probably the easier choice to get started with [14:28:02] Looks like it will work with Replace Text [14:45:07] Reedy: https://www.mediawiki.org/wiki/Transclusion#Special_pages says URL parameters can be given like template parameters, e. g. {{Special:RecentChanges|namespace=10|limit=5}}. but it din't work for {{foo|uselang=xx}} [14:47:16] cronolio: its probably because there's other stuff to hard code that transcluded special pages always use the wiki's content language. [14:47:21] I would guess [14:48:02] Plus https://phabricator.wikimedia.org/T89768 [14:48:51] yeah requred to back api response with another language (not required to change all enterface language) [14:49:31] $context->setLanguage( $this->mOptions->getUserLangObj() ); [14:49:48] on line 3415 of includes/parser/Parser.php [14:50:16] Personally though, i wouldn't be opposed to allowing uselang to override if explicitly specified [14:53:12] since mw is multilang software maybe there required different variables for interface and content inself [14:53:34] * cronolio not a programmer [14:55:04] MW may be multilingual, but the support for multiple language content is poor and inconsistent at best [15:17:27] How do I make a portal like example.org instead of example.org/$1 ? [15:22:02] There's only one page on the wiki an that should be the portal page and I want it accessible with example.org not example.org/$1 [15:22:37] mediawiki doesn't support that [15:23:02] it also sounds like a wiki is completely overblown for your use-case if all you are trying to maintain is a single page [15:23:54] Yes, a single portal page like at wikipedia.org [15:24:07] that's www.wikipedia.org [15:24:35] I don't want something like www.wikipedia.org/$1 [15:24:50] There's no such thing at www.wikipedia.org [15:25:21] that isn't a wiki [15:25:56] What's that? [15:26:19] trying to see if I can dig up source to see if it's using some other software or if it's just hand-rolled html [15:27:01] Okay, I'm here. [15:31:51] Nothing can be done to the .htaccess to achieved this? [15:32:17] What about creating a page with an empty title, is it possible? [15:32:50] https://phabricator.wikimedia.org/diffusion/WPOR/browse/master/dev/wikipedia.org/ is the source behind www.wikipedia.org [15:33:19] no, you can't create a page with an empty title [15:33:49] you could set up a reverse proxy like nginx or varnish that sits in front of the wiki and transparently proxies behind to the actual site [15:34:07] the issue with using .htaccess is that mediawiki will notice that you aren't accessing via the canonical url for that page and redirect you [15:34:33] my personal recommendation would be to not use mediawiki for a single-page landing page/portal however since it's a lot of bloat for something that is intended to be only one page [15:34:35] Damn! [15:35:00] failing that however, reverse proxies will work [15:35:03] What do you advised? [15:35:16] I'm on a share host. [15:35:22] depends on the complexity of what you're trying to do, really [15:36:24] I would say that many shared hosts have site builders you can use to easily spin up a home page, but I can't vouch for how good they are or whether or not they're responsive (aka mobile friendly) [15:36:36] there's no complexity at all. All I want is to host a single page on a mediawiki installation that is accessible with example.org and NOT example.org/$1 [15:38:23] you want something wrong [15:38:39] Okay, let me see if WordPress would accept raw html [15:39:11] wordpress is also overkill [15:39:15] just write your raw html directly [15:39:25] a html generator is maximum what yuo need [15:39:26] to a page called index.html [15:39:45] How do I do that? [15:39:53] I'm on BlueHost [15:39:54] create a file called index.html, write html to it, save [15:40:01] drop it in your public_html folder [15:40:05] Good [15:40:30] and... that's it. It'll automatically be served when someone visits example.org [15:40:31] Let me quickly do that now, pls standby [15:40:48] (delete any mediawiki or other installs first, those will take precedence) [15:41:22] sure. [15:45:40] Skizzer, it works like science. [15:45:54] For the sake of others, the following is what I did. [15:46:53] 1. I created a page called 'index.html' and pasted the html code for the page [15:47:51] I did not delete any mediawiki installation but when I visited example.org, the page show without redirecting to example.org/$1 [15:47:57] That's all. [15:48:22] It works but I don't know why it works but it does. [15:50:32] Bye for now [17:37:03] @Platonides I haven't set JobRunRate to anything. Running "runJobs.php" gives "Job queue is empty." [17:51:15] Hi all, not much traffic over on the SMW channel, so I thought I'd try here. I've been getting a lot of deadlock errors when running the SMW rebuildData.php script, both when rebuilding all data and when just trying to delete outdated entities. Anyone have experience with this particular problem? [17:51:24] https://pastebin.com/MkK3AgR0 [17:52:15] Generally re-running the script tends to pick up where it left off to process as much as possible, but I'm wondering what kind of data-related or other issues there could be in our wikis that could cause this. [18:00:23] I also seem to have another issue regarding the MW JS resource loading and I'm not really familiar with how the resource loading works in general. Here's what one of our main community editors wrote: https://wiki.guildwars2.com/wiki/Guild_Wars_2_Wiki:Reporting_wiki_bugs#Javascript_resource_modules_loading_separately_instead_of_in_one_package [18:00:38] Where would I start looking to resolve that kind of issue? [18:01:47] Putting some sort of caching infront would probably help [18:02:42] take two: how i can remove the fancy ui on recent changes, talk pages, etc and revert it to the simpler version that used to be before? i'm on a 1.33 fresh instance [18:03:25] You can't [18:04:05] I have Varnish in front of it. [18:04:34] Shouldn't be anything in the VCL preventing it from caching except perhaps cookies. [18:04:59] My VCL is based on that provided in the MediaWiki docs for using Varnish. [18:05:48] Our upgrade also went from Varnish 4.1 to 6.3 (due to Ubuntu 16.04 to 18.04 upgrade) so perhaps some behavior changed. [18:07:34] Well the load.php requests do all seem to have Pragma: no-cache set. [18:10:19] Actually I do have "if (req.http.Cache-Control ~ "no-cache") { return (pass); }" in my vcl_recv function, but it's been there for ages. [18:11:58] so, nothing i can do other than downgrading which makes matters worse? Reedy [18:13:11] Juesto: Nope, it's not things that are feature flagged etc. So no way to turn it off [18:14:25] right [18:14:32] i still want to get rid of them [18:14:49] Why? [18:17:04] it's not fast enough [18:17:13] im not happy of how flashy it is [18:17:31] Not fast enough? [18:17:40] It doesn't seem to cause perf issues on Wikipedia [18:19:24] If there are, you should file bugs for them so someone can look at them and getting them resolved [18:19:30] Just turning it off isn't useful longer term [18:19:58] i just prefer the simpler ui, and havent seen a way to just see absolutely everything [18:20:15] making it toggleable is actually useful for the minority who doesnt like it [18:20:53] for talk pages apparently keeping the page from an upgrade seems to be the only way to prevent the discussions mode [18:21:07] Discussions mode? [18:21:19] Talk pages only change if you enable an extension to do so [18:21:33] Like LiquidThreads or Flow (StructuredDiscussions) [18:22:04] oh [18:28:23] [20:02:26] the fact that recent changes has a loading bar for the filters bothers me already [20:02:49] wait 2 weeks more [20:02:56] see if it still bothers you [20:03:02] Hi guys, if you use in editor == something == then you get

something

Is it possible to give it an ID generated from the text between the tags. So =>

something

? [20:03:15] harmaahylje: wdym [20:04:07] raaatt: id's are supposed to be unique, don't know if it matters in this case tho, just pointing out something [20:06:55] raaatt, you should get them by default? inside the h2 should be a span.mw-headline that has an id [20:08:19] Juesto: you might get used to it and realize that it is wonderful [20:11:13] harmaahylje well the text will be unique, it was just an example if I could set it automatically for a page. [20:11:33] sure [20:11:49] shauno I will take a look [20:14:21] damn shauno thank you, didn't saw that (y) [20:15:29] that's what the ToC uses for deeplinking, so it's pretty baked-in [20:15:47] ToC? [20:15:51] table of contents [20:15:57] aah ok [20:16:10] im a bit annoyed about this too [20:16:12] https://i.imgur.com/lcXKnPw.png [20:16:20] it doesnt even fit the style of other skins [20:16:27] the previous one wasn't a big deal [20:16:51] again, the minor loading bar bothers me [20:17:01] i see it can be a issue on slow connections [20:56:38] Juesto: If you want to supply your own OOUI theme for your skin you can. [22:09:46] James_F: OOUI? [22:10:09] Juesto: The control framework that MediaWiki uses. [22:10:19] oh nice [22:10:49] can i revert the flashy ui from there or something? [22:26:45] I need some help working with templates. Is it feasible to have the first part of a mediawiki call (like ) pulled from a tempalte via transclusion? I'm testing it and it's coming up just as raw data itself. [22:27:15] And not causing the PDF to render, just showing the as raw text.