RationalWiki:Technical support

From RationalWiki
(Redirected from TECH)
Jump to: navigation, search
Archives for this page
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.
  • Questions about RW's configuration/extensions/servers/etc.
  • In short, anything tech-y goes here

External links

Users

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.

Subsection link (sticky)[edit]

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)

@FuzzyCatPotato, yall happy now?

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

Encyclopedia § EtymologyWikipedia's W.svg 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)[edit]

===Goat===.jpeg

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. FuzzyCatPotato of the Charming Monsters (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. Fuzzy. Cat. Potato! (talk/stalk) 17:07, 4 September 2017 (UTC)
This is not a result of the recent upgrade. This has been an issue for years.—Hamburguesa con queso con un cara Spinning-Burger.gif (talkstalk) 17:09, 4 September 2017 (UTC)

Content dumps (sticky)[edit]

All of the internal links to backups on RationalWiki:Content dumps fail. Also, what is the status of @David Gerard'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)
@David Gerard reminder to do this -- might be convenient to do on same day you take elections live Herr FuzzyKatzenPotato (talk/stalk)

I made some dumps and uploaded them to archive.org. -- Tim Starling (talk) 12:07, 9 July 2019 (UTC)

Thank you, @Tim Starling! Bongolian (talk) 17:54, 9 July 2019 (UTC)

2019 software upgrade (sticky)[edit]

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. — Dysk (contribs) 15:54, 7 February 2019 (UTC)

Nerd's comments[edit]

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. — Dysk (contribs) 22:26, 7 February 2019 (UTC)
@Dysklyver 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. — Dysk (contribs) 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. — Dysk (contribs) 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". Palaeonictis Fossil beds 10:20, 11 February 2019 (UTC)

@Dysklyver 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)

@Dysklyver Why hasn't this been done yet? What exactly is the problem? Damn. BlackWhite Speak 22:39, 15 May 2019 (UTC)
A combination of laziness and procrastination. Somebody needs to figure out if certain existing extensions would work nicely with the proposed new software. — Dysk (contribs) 23:31, 15 May 2019 (UTC)

The visual editor is amazing for doing proper citations, which is a big problem on RW from what I can see (too many bare URLS). However I understand it is a large task. Debunky (talk) 02:03, 30 March 2020 (UTC)

The time approaches[edit]

I did the last MW upgrade, and I expect I'll do the next one too, some time in the near future. MW 1.27 is EOL so it needs to be done so that we can continue to receive security upgrades. I'd be comfortable installing the WMF-deployed extensions Dysklyver proposed above, specifically CategoryTree, CodeEditor, MultimediaViewer, OATHAuth, Scribunto, MobileFrontend, TemplateStyles, Thanks and the skin Timeless. I think VisualEditor is a reasonable stretch goal, if you want that.

Instead of WikiSEO, which is unmaintained and not in Gerrit, I would suggest OpenGraphMeta, which is in Gerrit and is written by a well-known author, or PageImages, which is simple but WMF-deployed.

The servers also need to be upgraded to Ubuntu 18.04. I'm thinking about the order of operations. Traditionally you do the OS upgrade first, so that you're more likely to have the dependencies needed by the new MW version. Linode's volume feature is now out of beta and available in Newark, which opens up some new possibilities for the kind and number of instances.

If anyone wants to help, the number one thing that needs to be done is to test the RationalWiki-specific extensions against MW 1.31 and to update them as needed. They are all in RationalWiki's GitHub, but nobody has ever submitted a pull request against them despite their comically bad state. Note that I moved Wigo3 to Gerrit, so the GitHub version is outdated and non-canonical. Wigo3 is the best of RationalWiki's extensions. -- Tim Starling (talk) 11:22, 7 July 2019 (UTC)

This is great. I won't specifically comment on the OS and how the load balancing works since I don't deal with that here, but as far as the extensions are concerned;
The rationale for WikiSEO was to generate descriptions for Google Search, and to get our articles to display previews on social media and chat applications, as a Wikipedia article would do if linked. Now it seems to me that OpenGraphMeta will generate previews for Facebook and presumably most social media sites, however it occurs to me that we could benefit from also installing Description2 from the same author to get the Google Search descriptions which are currently rather lacklustre.
I am not personally bothered about VisualEditor either way, since from a technical viewpoint it needs that additional Parsoid service I think it would be an optional thing to do if you think that isn't too hard to setup and maintain. I don't know how the mob would consider it, I believe it is still generally a good extension but older editors hate using it, heh. :)
Otherwise, all good. :) — Dysk (contribs) 12:49, 7 July 2019 (UTC)
Just think about how you want to spend my time, in priority order, and I'll think about how far down the list I want to go. What do you want more: VisualEditor or, say, analytics? Apparently Robert Lazar is the most popular article on this wiki. Is that something you want to know? Does that make you want to improve it? -- Tim Starling (talk) 13:52, 7 July 2019 (UTC)
Most important things on this list would be MobileFrontend and it's associated skin. And in my personal opinion analytics is better than the Visual Editor. The rest is good to have but also easy-ish to install so not a huge concern I suppose. — Dysk (contribs) 20:17, 7 July 2019 (UTC)
Hell no to Visual Editor. Oxyaena Harass 22:46, 7 July 2019 (UTC)
I'm with Oxyaena on that.   — Jeff G. ツ 12:19, 9 July 2019 (UTC)
I think the main thing we can be said to need is something that works on mobile without looking like a web page for ants. I realise this is not a tiny thing of course - David Gerard (talk) 14:37, 8 July 2019 (UTC)
I'm going to second Dysklyver and David Gerard on prioritizing MobileFrontend. The main reason I created an account here (which I just now finally got around to doing) is to request a proper mobile view. I'm not picky. I just want *something*! (I don't particularly care either way about any of the other MediaWiki extensions under discussion.) TMqWQfNP9zx2FbrA (talk) 11:59, 2 November 2019 (UTC)

Making time[edit]

Evidently the time for upgrading MediaWiki was not approaching as rapidly as I anticipated. I haven't had much free time, so I was considering just taking annual leave. I spoke to my manager at WMF about this, and he said that upgrading MediaWiki at RationalWiki could be a 10% time project, i.e. he would support me doing it during work time. The project would start in early February after our all staff meeting, and I'd have about one day a week to work on it. -- Tim Starling (talk) 23:41, 14 January 2020 (UTC)

That sounds nice that you'll get paid for it! Bongolian (talk) 23:48, 14 January 2020 (UTC)
nice to hear EK (talk) 12:14, 28 January 2020 (UTC)

Trying to create custom CSS getting caught by the "Blackhat SEO Spammer" filter[edit]

I tried adding custom CSS for myself at User:Sangv/common.css because the default MediaWiki theme and all the extra available themes give me headaches due to being black text on a white background. When I tried to submit the page, it was flagged with "Blackhat SEO Spammer". I guess part of the issue here might be that I literally just signed up and immediately went to go and create that page? Sangv (talk) 05:21, 2 February 2020 (UTC)

I'm so sad no one helped you. All you needed was to keep posting a few times and get autopatrolled. ikanreed 🐐Bleat at me 17:53, 5 March 2020 (UTC)

Drafts in search results[edit]

Just got a draft I was working on coming up at the top of a Google search results list. Do we want drafts to appear in Google, based on the fact that they may not be reliable? I know it's possible to exclude pages from search results but is it technically possible to do this automatically for all drafts? I'm not demanding you fix this, I just thought I'd flag it up. --Annanoon (talk) 13:10, 5 March 2020 (UTC)

I agree that that would be a good idea. Bongolian (talk) 17:46, 5 March 2020 (UTC)
Just checked, and my drafts show up in Google too. This should definitely be disabled with the potential liabilities it poses. Debunky (talk) 08:58, 28 March 2020 (UTC)
Someone with access to the backend would need to insert no-robots/no-indexing code into draft page code. I think that limits this to small number people who can do this. Am I right @Oxyaena? Bongolian (talk) 17:05, 28 March 2020 (UTC)
Only @David Gerard or @Tim Starling can do this, sorry. Oxyaena Harass 19:22, 28 March 2020 (UTC)

You could simply put the noindex function in the draft template and add that template to every draft. EK (talk) 19:26, 28 March 2020 (UTC)

Thanks, EK. Done. Bongolian (talk) 07:30, 4 April 2020 (UTC)

How will side by side work in mobile format?[edit]

Considering RW will eventually shift to a responsive mobile layout, how will side by side templates display? It almost seems like the format needs to change to a red box / green box approach, so that they will display on top of each other in clear form rather than shrinking to SBS on mobile. If they were just stacked without colour boxes it would be hard to see which is a response and which is a claim/original quote. Debunky (talk) 00:06, 4 April 2020 (UTC)

SEO spammer edit filter[edit]

User:Breeze got blocked by the SEO editfilter. Just reporting this here as I saw it on recent changes and they're blocked so of course they can't report it. We really should have something like Wikipedia's w:Template:Unblock. --47.146.63.87 (talk) 21:24, 17 April 2020 (UTC)

I have removed the block. There actually is an unblock command on RationalWiki (Special:Unblock). — Unsigned, by: Bongolian / talk / contribs
Don't take this personally but I know my way around MediaWiki. Follow the link. That template is for placing on your talk page if you're blocked to ping admins for an unblock request. Every stock MediaWiki wiki has Special:Unblock because it's part of core. --47.146.63.87 (talk) 06:47, 18 April 2020 (UTC)
OK. Bongolian (talk) 07:21, 18 April 2020 (UTC)

Redirection404[edit]

I'm not sure this is an issue but say somebody types out https://rationalwiki.org/blahblahblah instead of https://rationalwiki.org/wiki/blahblahblah it ends up sending the user to a blank 404 page rather than redirecting to a 404 page within the wiki? Is there anyway it could instead send it to a useful page that encourages them to search within RW? Maybe the home or search page? For example take a look at how Wikipedia handles it: https://en.wikipedia.org/blahblahblahblah they are encouraging the user to search in the wiki instead. --Debunky (talk) 08:08, 19 April 2020 (UTC)

this should be possible ye, I'll look into it. EK (talk) 12:40, 19 April 2020 (UTC)

Quotebox issue[edit]

Maybe somebody could update the Quotebox template? It appears to always extend out under the navigation template on pages. For example take a look at Nick Fuentes and you can see the blue box is actually extended full width under the sidebar, however the text remains placed ok. --Debunky (talk) 16:16, 23 April 2020 (UTC)

@Debunky The behavior of the quotebox template can be controlled by using the width parameter. In the Nick Fuentes article, I updated the first two quote boxes to specify width=70% so that these boxes do not extend under the navigation boxes. This isn't a perfect solution but it works without jacking around with the template itself. Cosmikdebris (talk) 14:04, 25 April 2020 (UTC)
Thanks cosmikdebris. Of course when things go mobile optimized this may not be ideal. Hopefully we can get some new standardized templates similar to Wikipedia's to ensure consistency. --Debunky (talk) 00:15, 26 April 2020 (UTC)

"Phantom of Liberty" filter[edit]

Several users have been blocked as false positives by this filter, I recommend disabling it until it can be fixed. ☭Comrade GC☭Ministry of Praise 15:57, 24 April 2020 (UTC)

@Bongolian @GrammarCommie I disabled this filter pending a review. Cosmikdebris (talk) 16:31, 24 April 2020 (UTC)
OK Bongolian (talk) 17:31, 24 April 2020 (UTC)
I removed a 'not' (!). That should fix it. Have a look and reactivate if you think it's OK. Bongolian (talk) 18:28, 24 April 2020 (UTC)
OK, I re-enabled it and will keep a watch. Cosmikdebris (talk) 19:58, 24 April 2020 (UTC)
i think it was just a little wide to include all contents rather than just added contents. EK (talk) 21:29, 24 April 2020 (UTC)

It got fixed.[edit]

Who woke up the Elder One @David Gerard? Oxyaena Harass 18:30, 2 May 2020 (UTC)

duce pinged me. I won't go into details, but someone was showing their deep appreciation for the site - David Gerard (talk) 10:06, 3 May 2020 (UTC)

How do I force the capturebot to screengrab CP?[edit]

That would be useful to know.𝔖𝔲𝔪𝔪𝔞 𝔄𝔱𝔥𝔢𝔬𝔩𝔬𝔤𝔦𝔠𝔞 (𝔮𝔲𝔢𝔯𝔢𝔩𝔦𝔰) (𝔰𝔠𝔯𝔦𝔭𝔱𝔲𝔯𝔞) 17:56, 22 May 2020 (UTC)

There used to be a functioning capturebot that would do this sort of thing automatically. You're basically on your own, but we have instructions for the manual methods here: Help:Screenshots. Bongolian (talk) 20:04, 23 May 2020 (UTC)

SEO Spammer False Positive[edit]

Hello,

I'm trying to create a page in User:DamnYouDaria/sandbox/Gavin Seim as I want to work on a page about libertarian wing-nut Gavin Seim. I was creating a rough draft and got the error message

Warning: This action has been automatically identified as harmful and you will be blocked from editing you if you click submit.
Your action matched the edit filter: Blackhat SEO Spammer
Unconstructive edits such as spam are unwelcome, however there are occasional false positives, if this is a false positive, please report it at RationalWiki:Technical support. Do not try to make the edit again even if making minor changes, as you will be blocked and then unable to report the error.
If you believe this edit to be constructive, please contact an administrator. If you ignore this notice and get blocked, you should let us know on your talkpage."

However, since it doesn't say what admin I should contact or where I can contact an admin and since I was directed here, I wanted to post here about this error message.

--DamnYouDaria (talk) 04:29, 29 May 2020 (UTC)

@DamnYouDaria, I've autopatrolled you. That should solve the problem. Bongolian (talk) 07:52, 29 May 2020 (UTC)