# RationalWiki:Technical support

Archives for this talk page: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>, <17>, <18>, <19>
Shortcuts:
Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it!

Herein goeth anything regarding the technicalities of the wiki

• Problems with accessing/editing the wiki
• Problems with MediaWiki/HTML/CSS/Javascript/etc.
• In short, anything tech-y goes here

To view or suggest changes to configuration files and MediaWiki extensions, see RationalWiki's GitHub.

Users:

Users with Tech rights: see Special:ListUsers/tech
Users with root on the servers: David Gerard (dgerard@gmail.com) and Tmtoulouse

If your IP is blocked from editing as an open proxy: You need to go to your provider about it. The lists we use are xbl.spamhaus.org, dnsbl.tornevall.org, all.s5h.net. If your IP is on one of these lists, then your provider has a serious problem they need to resolve. We cannot get your ISP out of the blacklist.

What extension does Wikipedia use to get the subsection links next to each subsection title? 32℉uzzy; 0℃atPotato (talk/stalk) 13:39, 24 July 2017 (UTC)

What r u talking about? ClickerClock (talk) 04:45, 10 September 2017 (UTC)
I think Fuzzy means the "§" link that appears next to the headings, that links to the anchor for that heading. (once again, memorising the ASCII code for section signs comes in handy!) —Kazitor, pending 08:28, 16 November 2017 (UTC)

, yall happy now?

See the main article on this topic: Goat § What to do with a Goat and a stool

Encyclopedia § Etymology See the Wikipedia article on Encyclopedia § Ancient times. —ClickerClock (talk) 05:24, 17 November 2017 (UTC)

Not what I meant... I mean, that's really good :) But I recall there once being a § link next to the actual sections on a page. I'm not sure where it went. —Kazitor, pending 05:35, 17 November 2017 (UTC)
I have no idea what you mean. —ClickerClock (talk) 05:44, 17 November 2017 (UTC)
Like, on the page there is a heading that says "Subsection link (sticky)". Next to it, either before or after the "edit" link, there was a single, grey "§" link that appended the appropriate anchor to the URL, e.g. §. —Kazitor, pending 06:13, 17 November 2017 (UTC)
Screenshot? —ClickerClock (talk) 12:34, 6 December 2017 (UTC)

## Subsections playing up (sticky)

I've seen this a few times, it was this revision and the wikitext seems normal. Christopher (talk) 09:33, 4 September 2017 (UTC)

The error occurs when a subsection is immediately before the end of a page. I'd bet that this is a result of the MediaWiki upgrade, but I've really no idea. αδελφός ΓυζζγςατΡοτατο (talk/stalk) 17:06, 4 September 2017 (UTC)
And as these edits should make clear, this only occurs on certain pages. It could also be a template -- maybe something didn't close a div or a span and it's fucking with the subsections. FuzzyCatPotato!™ (talk/stalk) 17:07, 4 September 2017 (UTC)
This is not a result of the recent upgrade. This has been an issue for years.—HamburgerPlate  (talkstalk) 17:09, 4 September 2017 (UTC)

## Content dumps (sticky)

All of the internal links to backups on RationalWiki:Content dumps fail. Also, what is the status of 's archive.org port? Bongolian (talk) 02:15, 29 August 2018 (UTC)

yeah, they're all old. No, haven't pushed that forward at all, sorry - David Gerard (talk) 12:27, 29 August 2018 (UTC)
reminder to do this -- might be convenient to do on same day you take elections live Herr FüzzyCätPötätö (talk/stalk)

## Saloon Bar edit blocked by filter?

Hello. I tried to make a comment on the Saloon bar subthread 'Deport Neo Nazis first. Illegal immigrants can wait.' but it was blocked by the filters. The comment was in response to Rationalzombie94's 2nd post. I can't post it here either. Should I PM it to someone? MirrorIrorriM (talk) 13:18, 15 January 2019 (UTC)

Na, I will just make you autopatrolled and you should be able to make the edit. 13:33, 15 January 2019 (UTC)

## Inline math rendering

It appears to me that RationalWiki's rendering of inline mathematical variables and expressions is rather clumsy. Consider the following bit:

...where $I(t)$ is the current as a function of time, $R$ is the resistance, $L$ the inductance, and $C$ the capacitance.

And compare with with the same from Wikipedia. The variables don't stand on the same line. Is there a way to address this? Nerd (talk) 02:32, 16 January 2019 (UTC)

Thanks! Looks like there isn't much I can do then. Perhaps it will be fixed in the next software update. Nerd (talk) 03:38, 16 January 2019 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── The english wikipedia uses 118% for math fonts. — span.mwe-math-mathml-inline { font-size: 118%; } per MediaWiki:Common.css
mw:Extension:Math

• RW renders as PNG: ...53921.png
• WP renders as SVG: <svg xmlns:xlink="http://www.w3.org/1999/xlink" width="1.583ex" height="2.176ex" style="" viewBox="0 -791.3 681.5 936.9" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" aria-labelledby="MathJax-SVG-1-Title"> <title id="MathJax-SVG-1-Title">{\displaystyle L}</title> <defs aria-hidden="true"> <path stroke-width="1" id="E1-MJMATHI-4C" d="M228 637Q194 637 192 641Q191 643 191 . . ."/> </defs> <g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)" aria-hidden="true"> <use xlink:href="#E1-MJMATHI-4C" x="0" y="0"/> </g> </svg>

Dbz (talk) 04:28, 16 January 2019 (UTC) && 18:07, 16 January 2019 (UTC)

RationalWiki's math engine is two years older than Wikipedia's. But then RW is six MediaWiki versions out of date so that's to be expected really. 21:28, 16 January 2019 (UTC)
That explains everything. The rendering is in PNG and so appears pixelated, which is not a problem for SVG. I have thought that the software RW is outdated, having spent some time at Wikipedia, but I did not know it was that outdated. Anyway, thanks! Nerd (talk) 22:07, 16 January 2019 (UTC)

## History merging

After a discussion in the Saloon about copy-paste vs. moving pages from Draftspace to Mainspace (RationalWiki:Saloon_bar#A_note_on_Draft_Space), it became apparent that there is a problem that the Special:MergeHistory should be able to solve. I knew that the Donald Trump page had been forked into several pages, so I tried the MergeHistory on one of the daughter pages (Trump-Russia connection), but it failed because "Source revisions overlap or come after destination revisions." Is there a way to fix this?

If not, might there be a way for pages moved out of Draftspace to Mainspace to get recorded as new Mainspace pages on here Special:NewPages? Bongolian (talk) 18:03, 22 January 2019 (UTC)

Wikipedia has this but we don't. I think it could prove useful. Thoughts? Nerd (talk) 21:38, 27 January 2019 (UTC)

Yes, good idea. Bongolian (talk) 21:48, 27 January 2019 (UTC)
It's also reliant on some software we don't have, namely the wikitech:Analytics/AQS/Pageviews API relied on by the local version of mediawikiwiki:Template:Graph:PageViews which wikipedia:Template:Annual readership is a wrapper of. 22:54, 27 January 2019 (UTC)
Ah, I suspected that. Can we import it? It is going to require a system upgrade? Nerd (talk) 23:35, 27 January 2019 (UTC)
Unfortunately this is not something included in MediaWiki core. Wikimedia maintains a Hadoop cluster for the purposes of analytics, and we simply don't have that. It would require significantly more than a simple upgrade to get that template to work here.
Of course we have some analytics, and we could simply put the numbers in a graph and mount that in the template. It would be static, less accurate, and generally inferior in ever way to the Wikimedia implementation, and it would need manual updates, but visually it would look the same. 01:05, 28 January 2019 (UTC)
I see. Thanks! I guess we'll have to wait till the hypothetical day when we are as visible on search engines as Wikipedia. Only then will we have sufficiently high traffic volume to justify such an expenditure. Nerd (talk) 16:25, 28 January 2019 (UTC)

## Cover editnotice

The {{cover editnotice}} template gives a redlink for the cover abstract. See for example this page: Template:Editnotices/page/Evolution. This should be a simple fix. Bongolian (talk) 08:12, 1 February 2019 (UTC)

Fixed. By replacing {{FULLPAGENAME}} with {{SUBPAGENAME}}. 12:12, 1 February 2019 (UTC)

## If your IP is blocked from editing as an open proxy

It says "You need to go to your provider about it. The lists we use are xbl.spamhaus.org, dnsbl.tornevall.org, all.s5h.net."

Is this still an accurate list of lists? Are these cached? How exactly does this work in practice to block?

12:05, 1 February 2019 (UTC)

## Auto-refresh button for recent changes

Should we add an auto-refresh button to the recent changes log? has created an excellent piece of code to enable us to do it. Seeking mob consent for whether we should ultimately add it or not. 16:33, 2 February 2019 (UTC)

Not unless you also update the site to version 1.30 or newer if you don't mind. 23:45, 2 February 2019 (UTC)

## dark mode

Various people have been asking to implement a "dark mode" for Rationalwiki, you can:

15:01, 7 February 2019 (UTC)

Idea:

• Modernize Rationalwiki with things invented since 2017 (MediaWiki 1.27).

Method:

n.b. OATHAuth gives users the option of using two-factor authentication.

Other things to do at the same time:

And

• Setup a template to enable WikiSEO descriptors and an edit filter to avoid direct use.
• Check that everything we already have won't break.

Rationale:

• Wikis, specifically Wikipedia, have several new features that weren't around when the site was last upgraded. The notable upgrades include Scribunto, a Lua template engine which is supposedly faster and easier to use (it allows for some advanced templates to be copied from the wikipedians who know how it works anyway). MobileFrontend and it's skin, which switches the sites reading view on mobile devices to a "mobile compatible" mode (users can switch back), it does make pages significantly easier to read on mobile devices. TemplateStyles allows per-page or per-template css styles, it uses a sanitized set of css rules to avoid security issues, this can be used to enable @media queries for templates to display differently on different devices. 'Thanks' is the extension which gives you the option to ping people for an edit, it is kinda optional but practically all other wikis have it. And finally, WikiSeo allows for a template which invisibly controls how a page displays when shared on social media, you can specify a description and image which, using semantic meta markup will be used by facebook/google/etc instead of a pretty random looking link.

Comments, feedback, ideas and support/oppose of the proposed thingys welcome. 15:54, 7 February 2019 (UTC)

I'm all for modernizing our infrastructure, as long as what we already have do not break. I really like the "Thanks" template. I first saw it on Wikipedia a couple years ago (when someone thanked me) and have used it occasionally ever since. The "Timeless Skin" looks like something the gods would approve. The Multimedia Viewer is something I almost always forget we don't have because it is so intuitive.

Sorry if this is implied, but most of it is too technical for me. Will this upgrade include the visual edit gadget? I have been using it on Wikipedia for a quite some time now, and I love it! Finding the appropriate templates, citing sources, editing equations, changing photographs or illustrations. Amazing!

While we are at it, does this proposed upgrade include the template that automatically converts units for you? It looks like this on Wikipedia. If you typed {{convert|1|mi|km}}, the output would be 1 mile (1.6 km). I find this template very convenient. Nerd (talk) 18:42, 7 February 2019 (UTC)

The list I presented doesn't include Visual Editor. Although to be clear the main reason I left the Visual Editor thing out, is because it requires a very complicated additional setup so may be better suited as another task. However, the convert template would be made possible with Scribunto which I have listed up there, so that is included. 22:26, 7 February 2019 (UTC)
I see. The visual editor can be a little resource-intensive. Thanks! When will this upgrade be implemented? Nerd (talk) 03:01, 8 February 2019 (UTC)
I hope sometime this year, if everyone agrees and it gets organised properly. 14:22, 8 February 2019 (UTC)
It's only February, but there is no harm in getting started early. How to get organize ourselves for it? Nerd (talk) 16:18, 8 February 2019 (UTC)
We need to finalize a set of things we want, get general agreement for it, and ideally test it all works on a test wiki, before then asking for it to be deployed, bearing in mind that Tmtoulouse/David Gerard are the operations people. The main thing is not to break the wiki, and the other thing is not to add things that will be there by default that everyone hates. 16:37, 8 February 2019 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── How about setting up a sub-page, "2019 upgrade" for bullet point items, etc. for the implementation. – Dbz (talk) 00:30, 11 February 2019 (UTC)

I hate the "visual edit gadget". 10:20, 11 February 2019 (UTC)

Last time I check Trent Toulouse was a university professor. (David Gerard appears to be a programmer and book author.) This means we can potentially get this done before summer is out. Nerd (talk) 22:47, 26 February 2019 (UTC)

## 503

I'm getting 503 errors like crazy. What in the name of all that is perverse is going on? Is there a site update that I'm unaware of? Is some script-kiddy impotent again? What? ☭Comrade GC☭Ministry of Praise 17:50, 21 February 2019 (UTC)

There's something wrong with the varnish cache. It seems to be intermittent, but if it persists then go poke so he can poke the servers. 18:01, 21 February 2019 (UTC)

Example error for reference:

Error 503 Backend fetch failed
Backend fetch failed

Guru Meditation:
XID: 88849978

Varnish cache server

that's when apache3 overloads. I need to restart it at some point, so it gets a free Linode upgrade - David Gerard (talk) 13:37, 24 February 2019 (UTC)
actually I should probably schedule that sooner rather than later, we're doing something that hammers the shit out of our CPU - David Gerard (talk) 00:16, 25 February 2019 (UTC)
Don't think I didn't notice the sly insult, . :p 15:08, 24 February 2019 (UTC)

## I fucking hate certbot

and I have ONE DAY to make our certs renew or everything breaks! No pressure ...

I'm thinking Varnish is actually being dumb for some reason. But I don't see how, because the port 80 call is handled only by nginx and HOW THE HELL CAN IT PASS REQUESTS TO A BACKEND IT'S LITERALLY NOT CONFIGURED FOR and wtf - David Gerard (talk) 13:39, 24 February 2019 (UTC)

According to dig there is an rationalwiki.org. 299 IN AAAA 2600:3c03::f03c:91ff:fe7a:f3c3 although this doesn't say why it is happening. 13:53, 24 February 2019 (UTC)
yeah, I just hit it over the head and forced a correct DNS entry. Certs renewed! Let's see how it goes - David Gerard (talk) 17:03, 24 February 2019 (UTC)
Congratulations. xD 18:56, 24 February 2019 (UTC)
It's not DNS
There's no way it's DNS
It was DNS
- David Gerard (talk) 00:18, 25 February 2019 (UTC)

It may be that this is not fixable, but when one uses a section link to a section that follows a lengthy collapsed segment, the link takes one to the end of the page rather than to the appropriate section. An example is: QAnon#Inciting violence. Bongolian (talk) 19:16, 26 February 2019 (UTC)

Works fine for me. :shrug: (Chrome on Linux) 20:26, 26 February 2019 (UTC)
Browser specific behavior. The onload->javascript collapse->locate and scroll to anchor pattern versus the onload->locate and scroll to anchor->javascript collapse pattern. There's no technical solution possible that you could reasonably expect to implement server-side. ikanreed 🐐Bleat at me 20:29, 26 February 2019 (UTC)
I went and removed the collapse templates. Of course this could still be a problem on talk pages. 20:35, 26 February 2019 (UTC)
(ECx2 BONGOLOIAAAAAAAAAAAAAAAN)Piles of trash that people might want to see, but also sit between the article section and reference material like external links is something of a special case. I'd say that this particular situation maybe warrants a subpage? Or... a transclusion? We're different from wikipedia in that we sometimes collect piles of garbage that cranks produce. Presumably there, all included information is relevant and prosaic. Having it uncollapsed is kinda ugly. ikanreed 🐐Bleat at me 20:43, 26 February 2019 (UTC)
A subpage would probably be wise. I doubt a transclusion would do anything much. I suppose technically it could be a sub-article, maybe. 20:46, 26 February 2019 (UTC)
The advantage of keeping it on the page rather than on a subpage is for search indexing if nothing else. Perhaps move it to a footnote? Bongolian (talk) 20:49, 26 February 2019 (UTC)
Sounds like a good compromise. 20:53, 26 February 2019 (UTC)

## How do you rename an account?

Someone made an account with an asinine name, how can I rename it? Public School Girl (talk) 03:42, 28 February 2019 (UTC)

You need to be a tech or a mod to do that, sorry. We could assign naming rights to sysops, but to do that would require a vote, and this isn't the place to do that. 04:25, 28 February 2019 (UTC)
If you need to rename an account, you can always ask one of the mods or techs. RoninMacbeth (talk) 04:34, 28 February 2019 (UTC)