Information icon.svg Please vote in the 2017 board of trustees election. The cabal thanks you for your service. There are 6 more days left to vote.

RationalWiki:Technical support

From RationalWiki
(Redirected from TECH)
Jump to: navigation, search

Archives for this talk page: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>, (new)

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:

Semi-frequent updates about RW's technical status are available at RationalWiki's blogspot.
To view or suggest changes to configuration files and MediaWiki extensions, see RationalWiki's GitHub.

Users:

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

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.

WIGOs[edit]

The up and down vote thingies on the WIGOs don't seem to do anything now. - Smerdis of Tlön, LOAD "*", 8, 1. 16:07, 28 June 2017 (UTC)

WIGO voting has some kind of bork going on. I vote something up and the green bit disappears. All the most recent WIGEAUX are showing zero votes. BicyclewheelToxic mowse.gif 13:51, 1 July 2017 (UTC)
Multi poll (mainly used in the pointless polls) is broken as well, it's impossible to vote. Christopher (talk) 15:25, 5 July 2017 (UTC)
Is it just me or are the vote thingies (WIGOs) broken? -- Onychoprion (talk) 16:07, 5 July 2017 (UTC)

I noticed that for the past week or so, the upvote and downvote buttons don't work on WIGO and To-do submissions. What's going on? Blitz (Complaints Box) 22:10, 6 July 2017 (UTC)

Resolved: Should work now, except for slider votes which I'll fix at some later time. -- Tim Starling (talk) 05:25, 7 July 2017 (UTC)

Doojang for adding next poll number is borked[edit]

It seems to work now, but the doojang for automatically adding and incrementing the vote code no longer works. - Smerdis of Tlön, LOAD "*", 8, 1. 03:29, 9 July 2017 (UTC)

The thing that would insert the next poll number is borked.-DïämöńđDïsc1 (talk) 20:06, 9 July 2017 (UTC)

You mean the gadget? Christopher (talk) 20:10, 9 July 2017 (UTC)

Why is Best of the World not working?[edit]

<bestof poll=world cutoff=50 dynamic> This code doesn't do anything anymore.-DïämöńđDïsc1 (talk) 20:47, 29 July 2017 (UTC)

Not sure -- @Tim Starling has adjusted the WIGO code to work with MW 1.27, he might've accidentally borked that. FᴜᴢᴢʏCᴀᴛPᴏᴛᴀᴛᴏ, Esϙᴜɪʀᴇ (talk/stalk) 17:09, 31 July 2017 (UTC)

Conservapedia:Best of Conservapedia[edit]

It seems that the list of the best WIGO entries is no longer visible. Please help.t 07:06, 16 August 2017 (UTC)

@Tim Starling Psst! Herr FuzzyKatzenPotato (talk/stalk) 22:28, 17 August 2017 (UTC)

Spam and vandal issue[edit]

Here are more suggestions (copied and pasted from Mediawiki) of blocklists:

  • fSpamlist - fspamlist.com
  • StopForumSpam - stopforumspam.com
  • Sorbs - sorbs.net
  • SpamCop - spamcop.net
  • ProjectHoneyPot - projecthoneypot.org
  • Bot Scout - botscout.com
  • DroneBL - dronebl.org
  • AHBL - ahbl.org

If the spam gets hellish than this mw:Extension:Moderation may be a good idea. ClickerClock (talk) 05:59, 30 June 2017 (UTC)

Atleast one type of bot seems to be getting through account creation at the moment, so the potential to these lists interest me greatly. Could also be related to our current CAPTCHA (or lack of it)? Tim would know. Reverend Black Percy (talk) 11:03, 30 June 2017 (UTC)
The spam bot got pass ReCaptcha NoCaptcha (our Captcha) and our honeypot. It's a very advanced bot. I would add mw:Extension:SpamBlacklist to our server to block spam URLs. ClickerClock (talk) 03:04, 4 July 2017 (UTC)
Can't we already block span URLs with the abuse filter? What can the spam blacklist do that the abuse filter can't? Christopher (talk) 18:55, 4 July 2017 (UTC)
Oops. Spamfilter comes preinstalled on this version of Mediawiki. ClickerClock (talk) 08:50, 6 July 2017 (UTC)
mw:Extension:SpamDiffTool is a mediawiki extension that makes editing Spam Blacklist easier. Spam Blacklist is like Abuse filter but focused on stopping spam. ClickerClock (talk) 09:22, 6 July 2017 (UTC)

@Tim Starling @David Gerard Of the above, fSpamlist, Sorbs, SpamCop, and DroneBL seem good. Not so for StopForumSpam, AHBL, ProjectHoneyPot, and Bot Scout. Thoughts? Herr FuzzyKatzenPotato (talk/stalk) 12:15, 10 July 2017 (UTC)

FCP what's the all the spam all of a sudden? Is it due to the MediaWiki update? Koi "dammit Koi stop making such long sigs!" development 01:17, 13 July 2017 (UTC)

Obsolete and deprecated gadgets[edit]

Lots of gadgets are out of date and should not be running. ClickerClock (talk) 06:59, 8 July 2017 (UTC)

Like userrights.js ClickerClock (talk) 08:07, 8 July 2017 (UTC)

Resource Loader[edit]

Gadgets added to ResourceLoader: Hotcat works!, Edittop nope, UTCliveclock nope, dropdownmenus nope, searchFocus works!, exlinks nope, ClickerClock (talk) 07:30, 8 July 2017 (UTC)

UTCliveclock now works! ClickerClock (talk) 07:37, 8 July 2017 (UTC)
exlinks now works! ClickerClock (talk) 08:07, 8 July 2017 (UTC)
added moremenus. moremenus nope! ClickerClock (talk) 08:24, 8 July 2017 (UTC)
Navigation_popups added to Resource Loader. removeAccessKeys added to Resource Loader. wiked added to Resource Loader. Navigation_popups nope. Wiked nope. Access keys nope. ClickerClock (talk) 07:53, 8 July 2017 (UTC)
What does resource loader do? Christopher (talk) 12:32, 9 July 2017 (UTC)
Mediawiki 1.26 and onwards require gadgets to be loaded through Resource Loader. mw:ResourceLoader is a better way to deliver javascript to readers and editors as it's faster and gives browsers only the javascript files that it can actually run. ClickerClock (talk) 12:42, 9 July 2017 (UTC)
I see, thanks. Christopher (talk) 12:58, 9 July 2017 (UTC)

Resource Loader

  • Hotcat ✅
  • searchFocus ✅
  • UTCliveclock ✅
  • exlinks ✅
  • new: moremenus I shouldn't be added new gadgets when most of our gadgets are broken.
  • Navigation_popups ✅
  • removeAccessKeys ✅
  • wiked ✅
  • CommentsInLocalTime ✅
  • FixedUserbar ✅
  • FixedUserbar2 ✅
  • edittop ✅
  • fakename ✅
  • userspaceLink ✅
  • sandboxLink ✅
  • userrename ✅
  • purgetab ✅
  • subpages ✅

Removed

  • AjaxPatrolLinks- obsolete
  • userrights- obsolete
  • dropdownmenus - outdated
  • Gadget-JSL - outdated
  • LongEditSummaries- obsolete

Apparently it messes up archiving if there isn't a timestamp at the end. (The above stuff is ClickerClock not me btw). Christopher (talk) 12:58, 9 July 2017 (UTC)

Oh, I thought there could be a timestamp anywhere. But that was the previous archive bot. BicyclewheelToxic mowse.gif 18:10, 9 July 2017 (UTC)
Tbh it's been too long since I read archivebot.py. More importantly, we just manually archive technical support threads. Fuzzy "Cat" Potato, Jr. (talk/stalk) 18:14, 9 July 2017 (UTC)

"RW" should be a namespace alias for project space[edit]

$wgNamespaceAliases['RW'] = NS_PROJECT;

Needs to be added somewhere. Christopher (talk) 18:25, 20 July 2017 (UTC)

You often have config suggestions -- here's how to implement them:
[1] Go to RationalWiki's GitHub (see top of this page). [2] Click rw-config. [3] Click RWSettings.php. [4] Click the pencil icon (top right, next to Raw-Blame-History). [5] Edit the code (either in Github or [recommended] in a text editor like Notepad++) to include your code somewhere. [6] Add a summary. [7] Click "create a new branch". [8] Click commit changes. [9] Click commit changes on the next page, too.
And you're done. Someone managing the GitHub will merge your request; someone will shell access will implement it on the wiki. 32℉uzzy; 0℃atPotato (talk/stalk) 22:39, 20 July 2017 (UTC)
Also: Consider adding equivalents like
$wgNamespaceAliases['CP'] = NS_CONSERVAPEDIA;
, if you think of any others. FuzzyCatPotato of the Hairy Fiddles (talk/stalk) 22:41, 20 July 2017 (UTC)
Ok, never used GitHub before, the main problem is I don't know any PHP. "CP" wouldn't work because it would conflict with an interwiki. Christopher (talk) 15:19, 21 July 2017 (UTC)
Neither do I. But since you're following the format of the manual, it's hard to go wrong. Fuzzy "Cat" Potato, Jr. (talk/stalk) 18:07, 21 July 2017 (UTC)

The second after I proposed the change I realised I probably did it wrong but I've created a pull request. Christopher (talk) 19:57, 22 July 2017 (UTC)

I should've used that array thingy right? Christopher (talk) 09:33, 23 July 2017 (UTC)
Added a change to add the array. Herr FüzzyCätPötätö (talk/stalk) 16:00, 23 July 2017 (UTC)

Special:ProtectedPages is broken[edit]

When I try and use this page this message (or something similar) comes up:


Internal error

[34f7892f1a5a4dcc619cf39f] 2017-07-21 15:28:42: Fatal exception of type "MWException"

Christopher (talk) 15:29, 21 July 2017 (UTC)

@Tim Starling FuzzyCatPotato of the Transparent Mushrooms (talk/stalk) 18:07, 21 July 2017 (UTC)
Still not working! Christopher (talk) 13:01, 22 August 2017 (UTC)

@David Gerard Just a guess, but Google turns up this page, which claims to "implement[ ]Special:Protectedpages". I figure it's worth a shot but don't know how to implement it. Thoughts? Herr FüzzyCätPötätö (talk/stalk) 02:52, 23 August 2017 (UTC)

Ping misbehaving[edit]

I'm not sure what the issue is or why is occurs, but sometimes {{ping}} does not notify a user. The FCP Foundation (talk/stalk) 17:22, 22 July 2017 (UTC)

Subsection link[edit]

What extension does Wikipedia use to get the subsection links next to each subsection title? Herr FuzzyKatzenPotato (talk/stalk) 13:39, 24 July 2017 (UTC)

New message blocked by firewall[edit]

This discussion was moved here from RationalWiki:Saloon bar.

Someone sent me a new message on my talk page. But I cannot read it, because my talk page is blocked by the firewall of the place I'm connecting from. So I cannot read it, and this yellow alert on the top of the site doesn't go away. The firewall block some pages, but only if they don't use HTTPS. If they use HTTPS, the firewall cannot block them.--200.223.199.146 (talk) 15:14, 3 August 2017 (UTC)

I find that hard to believe, especially considering your only other edit (deleted). You can get https but there are some bugs and it still defaults to http technical support has more info.
On the off chance you're telling the truth, the message reads:
Go bug David about it. Reverend Black Percy (talk) 12:44, 17 July 2017 (UTC)
Christopher (talk) 15:23, 3 August 2017 (UTC)
The issue: The site constantly redirects you to the HTTP mirror, even when the previous URL is explicitly HTTPS.—HamburgerPlate (talk) 17:45, 3 August 2017 (UTC)
Does it? It doesn't for me. Christopher (talk) 17:55, 3 August 2017 (UTC)
More accurate info, since my previous report was inaccurate. I spotted one redirect issue after I logged in. It redirects me to a non-SSL version of the site.—HamburgerPlate (talk) 18:05, 3 August 2017 (UTC)
And then got another SSL just now after logged in... If you are redirected to the non-SSL website, the website treats this as another new session and you are treated as a BoNs.—HamburgerPlate (talk) 18:08, 3 August 2017 (UTC)

Misunderstood you, it redirects to http for me as well. Christopher (talk) 18:12, 3 August 2017 (UTC)

Me too, every time I save. So I keep having to click my RW bookmark, which shouldn't really be necessary, and doesn't fill me with confidence re security. BicyclewheelToxic mowse.gif 19:41, 3 August 2017 (UTC)
User:Christopher, why don't you believe me? I can read and edit Rational Wiki, but every Talk Page of the project is blocked by the Firewall. The firewall blocks radio stations, chat rooms, social networks, and, as it seems, Rational Wiki talk pages. On Wikipedia this does not happens, because they have HTTPS and the Firewall is powerless near HTTPS. It seems that the Firewall considers talk pages as chat rooms.--200.223.199.146 (talk) 14:28, 4 August 2017 (UTC)
About 5 seconds after posting that comment I realised my reason for not believing you was bullshit, clicking this link may make the yellow banner go away. Christopher (talk) 14:31, 4 August 2017 (UTC)
User:Christopher, now I can read the message, but the yellow bar doesn't go away!--200.223.199.146 (talk) 15:06, 7 August 2017 (UTC)
  • My high school blocked all of Rational-Wiki as "adult content"... The White Wing Dove (talk) 14:33, 4 August 2017 (UTC)
If 201 is correct and it's a firewall causing issues, that can't be the reason. Firewalls aren't for blocking adult content (I think?) Christopher (talk) 14:39, 4 August 2017 (UTC)
I think he's talking about a content filter that his employer or school uses to keep network users from hanging out in chat rooms when they should be working or studying, and the filter is correctly detecting that the talk pages are places he or she should not be. Not to sound mean, but if that's the network policy, you probably shouldn't be editing from there either and you would probably get in trouble/get the wiki blocked if you got caught, just like I got in trouble for editing Wikipedia from the hospital computer. The White Wing Dove (talk) 14:47, 4 August 2017 (UTC)
Where do you think I'm editing from? Christopher (talk) 14:49, 4 August 2017 (UTC)
New York City Public Schools? LAUSD? Miami-Dade County Public Schools? The White Wing Dove (talk) 14:53, 4 August 2017 (UTC)
I have no idea what I was thinking when I typed that. Christopher (talk) 14:58, 4 August 2017 (UTC)
It's okay, we both need coffee. See y'all later. The White Wing Dove (talk) 15:01, 4 August 2017 (UTC)
User:The White Wing Dove, the filter is incorrectly detecting that Talk Pages are places I shouldn't be at. They are not chat rooms.--200.223.199.146 (talk) 15:06, 7 August 2017 (UTC)

Firewalls are determined by your workplace or school and we have no control over them. The FCP Foundation (talk/stalk) 15:33, 7 August 2017 (UTC)

User:FuzzyCatPotato, you have control over using HTTPS or not. Rational Wiki is not using HTTPS, so it's vulnerable to this type of blocking. It's a fault on your side.--200.223.199.146 (talk) 11:14, 8 August 2017 (UTC)
We're using https now, try the link in the yellow banner again. Christopher (talk) 11:24, 8 August 2017 (UTC)
User:Christopher, as I already said, this allows me to check the message, but the yellow banner does not goes away after checking the message. The HTTP version still thinks I have not saw the message. The yellow alert not being alerted that I have already checked the alert is a fault on your side of things. This alert is harassing me. Every page I go, it keeps chasing me.--200.223.199.146 (talk) 11:27, 9 August 2017 (UTC)

If your workplace's or school's firewall blocks non-HTTPS websites, just edit the URL to contain "https://" instead of "http://". If your school's firewall blocks RationalWiki based on keywords, then it's on your side. The FCP Foundation (talk/stalk) 13:53, 8 August 2017 (UTC)

Login & SSL stuff[edit]

First attempt at SSL! STILL TEST ONLY[edit]

Gets an A- in Qualys' tester!

Current issues:

  • Still haven't got certbot behaving. Renewing 12 (!) domain name variants every three months will be a massive PITA because Linode's DNS management is for shit. Definitely need this in pace.
  • The wiki still defaults to http:// - that's a config issue in LocalSettings.php. We don't want to change this until go-live.
  • Lots of mixed content warnings - should be changed to protocol-neutral URLs where possible, left if not

(I couldn't figure nginx and I know Apache so I just used a minimal Apache setup in front of the Varnish. Should be able to cope.)

Now to work on certbot ... - David Gerard (talk) 14:14, 22 July 2017 (UTC)

OK I think I've got this working. We can start making stuff default https at your leisure. When I say "we", I mean "someone other than me", because I gotta get back to book stuff. BUT WE HAVE SSL AND I'M PRETTY SURE IT AUTORENEWS!
You'll get redirected to http:// pages a bit and may have to enter https:// in the address bar manually. But you should mostly see a solid green lock. If it's a mixed-content lock, hit F12 and find what's being served in plaintext. Fix. Repeat.
There's also X-Proto-Header: for requests that come in via SSL - this will be useful when we wanna go live with something to auto-redirect all http requests to https.
I also fixed our DNS and edited the apache conf on apache3 so that our alternate domain names all still work. You can get here as any of: rationalwiki.org www.rationalwiki.org rationalwiki.com www.rationalwiki.com rationalwiki.net www.rationalwiki.net ru.rationalwiki.org www.ru.rationalwiki.org ru.rationalwiki.com www.ru.rationalwiki.com ru.rationalwiki.net www.ru.rationalwiki.net - the ru names go to ru.rationalwiki.org, the others go to rationalwiki.org.
- David Gerard (talk) 16:10, 22 July 2017 (UTC)
It logs me out every time I save an edit. Then I can only log back in by following the link above. BicyclewheelToxic mowse.gif 17:42, 22 July 2017 (UTC)
@David Gerard Should I use The Fuzz to replace http://(.*)rationalwiki(.+) with \\1rationalwiki\\2 sitewide, or nah? The FCP Foundation (talk/stalk) 23:14, 22 July 2017 (UTC)
iiiiiii would say do not do that - fix page furniture by hand, leave old links as they are - David Gerard (talk) 00:45, 23 July 2017 (UTC)

Blocked over https[edit]

Great to see some progress on https! Sometimes (seams to be random) when I try to edit a page over https I get the following message:

You've been blocked.
The intended blockee is 127.0.0.1, the intended IP is 127.0.0.1, and the block ID is #.
The person who gave the block is DNSBL, who gave the reason "Your IP address is listed as an open proxy in the DNSBL used by RationalWiki.".
The block started at 07:18, 25 July 2017 and will end at infinite.

87.192.220.205 (talk) 07:21, 25 July 2017 (UTC)

SSL on login[edit]

SSL should be enforced on login. So we don't as yet hard-force all http:// accesses to https:// - but if you hit "Log in" in http:// then it will first redirect you to https:// to log in, then keep you there. Please try to break this.

(the forced-redirection to https:// can wait until I'm less coldified) - David Gerard (talk) 22:16, 7 August 2017 (UTC)

Login across browser windows[edit]

It seems that as of yesterday, when I open a new window, the default is for me to not be logged in even if I am logged in on another window. This is not the case if the new window is opened directly from a link in a logged-in window. Bongolian (talk) 18:21, 8 August 2017 (UTC)

Would one window be http and the other https? - David Gerard (talk) 19:44, 8 August 2017 (UTC)
Yes, that appears to be the case, but I didn't specify one or the other and I basically did the same thing each time. Am I being randomly directed to http or https? Bongolian (talk) 01:46, 9 August 2017 (UTC)
Nah, I'm just guessing you're logged in on https and not logged in on http. If you hit "Log in" on http, does it just take you to https logged-in wihtout asking password? Does that for me - David Gerard (talk) 00:22, 10 August 2017 (UTC)
Yes login from http does take me to https without asking for a password if I'm already logged in on https. Bongolian (talk) 03:23, 10 August 2017 (UTC)

SSL is now nginx[edit]

The shoeonhead fans tried a pissweak DDOS. It was enough to flood the otherwise-bare Apache I was using as an SSL frontend, so I switched to the nginx I already had in place and stuff's working again. Varnish caches the site and reCaptcha means they can't flood us with actual edits. All good so far - David Gerard (talk) 23:36, 18 August 2017 (UTC)

Am logged out on each browser session[edit]

Uncertain why. Was not previously true. Blame SSL. I shake my stick vainly at David Gerard, the silicon god. FuzzyCatPotato!™ (talk/stalk) 03:56, 10 August 2017 (UTC)

God is dead - David Gerard (talk) (deceased) 16:07, 10 August 2017 (UTC)
Getting the same issue here. Worse, the site is not auto-completing my password and requires blind typing every time. - Smerdis of Tlön, LOAD "*", 8, 1. 17:26, 10 August 2017 (UTC)
The site doesn't autocomplete your password, that's your browser.
First thing to try: delete all rationalwiki.org cookies, try again - David Gerard (talk) 17:39, 10 August 2017 (UTC)
If it's any help, I noticed that when I followed a http bookmark to an unencrypted version of the site, I noticed that that acted as if I wasn't logged in. Then I added the "s" for "https" to the URL bar and found I was already still logged in. ~ 19:04, 16 August 2017 (UTC)
That's actually really helpful. FU22YC47P07470 (talk/stalk) 22:28, 17 August 2017 (UTC)
When I'm confident there's no more stupid BS like the 127.0.0.1 problem, I'll make everything https - David Gerard (talk) 23:47, 17 August 2017 (UTC)

Hide rename logs[edit]

How do I hide rename entries as a sysop to hide doxing in a username? The Reverend said he couldn't find the option.—HamburgerPlate (talk) 20:45, 16 August 2017 (UTC)

@David Gerard and Tim Starling The link to hide log entries has been missing since the update, this is quite important. Christopher (talk) 10:13, 22 August 2017 (UTC)
Will look later. (BTW, pings appear to work now! They don't email, but you get a notification on the site.) - David Gerard (talk) 12:16, 22 August 2017 (UTC)

SSL configured improperly[edit]

I get an error message on SSL on firefox:

The owner of rationalwiki.org has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

HamburgerPlate (talk) 23:58, 19 August 2017 (UTC)

Argh, looks like the full cert chain isn't there. nginx has no easy way of ading it ... I'll fiddle with it shortly - David Gerard (talk) 13:23, 20 August 2017 (UTC)
Try now - David Gerard (talk) 13:51, 20 August 2017 (UTC)
(We get A on SSLlabs; A+ would require HSTS, but that also means I think not serving on port 80, and we don't want that. A should do fine. Clients that won't work any more are IE6, IE8 and Java 6.) - David Gerard (talk) 14:24, 20 August 2017 (UTC)
Haven't encountered the issue since.—HamburgerPlate (talk) 03:14, 23 August 2017 (UTC)