RationalWiki:Technical support

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

This page is automatically archived by Archivist
Archives for this talk page: <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>


Autogenerated list of users with Tech rights: Special:ListUsers/tech.

Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it! Fix it!

The people with root on the servers are Tmtoulouse and David Gerard.

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.


[edit] Herein goeth anything regarding the technicalities of the wiki

FAQs & Problems:

  • Problems with accessing the wiki
  • Queries about extensions
  • Javascript Help
  • CSS Help
  • Wikitalk Help

If you've written, or are using, some extension or script that either might give others problems or is giving you a problem, then either describe it or link to it on this page.

If you've written some piece of code that you want help with, ask here with linkage.

If your browser acts up with some code, ask here.

In short, anything techy, ask, tell or link on this page.

If you think it is a server-type issue, feel free to email the goat at dgerard@gmail.com and David might see it soonish.

[edit] Gadgets don't work - squid1 problem? (sticky)

Special:Gadgets is empty sometimes, and then it works spontaniously. More people have this problem. I noticed that it works in Firefox but not in Chromium!

In Firefox I have:

X-Cache:MISS from squid2.rationalwiki.org
X-Cache-Lookup:"HIT from squid2.rationalwiki.org:80"

But in Chromium:

X-Cache:MISS from squid1.rationalwiki.org
X-Cache-Lookup:MISS from squid1.rationalwiki.org:80

After removing all cookies in firefox I'm "on" squid1, and it works!

So it seems that squid2 is caching stuff that it shouldn't... Or something...

"Everything's a fucking DNS cache problem" Carpetsmoker (talk) 15:44, 9 January 2016 (UTC)

We literally have a saying at work "there's always another cache", and that sort of shit is why. Applying the MCSE method, i.e. restarting both squids and memcached 'cos I can - David Gerard (talk) 18:43, 9 January 2016 (UTC)
Hm, doesn't look like that fixed it... Requests via squid2 still don't show gadgets; squid1 is still fine. :-/
Are the configs for both machines the same? Because that's typically been the issue whenever I've had problems like this... Carpetsmoker (talk) 06:00, 10 January 2016 (UTC)
Let me check again ... nope, not quite.
# cat /etc/squid3/squid.conf
http_port 80 accel defaultsite=rationalwiki.org vhost
cache_peer  parent 80 0 no-query originserver name=rwiki
acl our_sites dstdomain .rationalwiki.org
acl our_sites2 dstdomain .rationalwiki.com
acl our_sites3 dstdomain .rationalwiki.net
acl blog_sites dstdomain .rationalblogs.org
acl privateip dst
http_access allow all
cache_peer_access rwiki allow our_sites
cache_peer_access rwiki allow our_sites2
cache_peer_access rwiki allow our_sites3
cache_peer_access rwiki allow blog_sites
cache_peer_access rwiki allow privateip
cache_peer_access rwiki deny all
cache_dir ufs /home/squid 15352 16 512
cache_mem 512 MB
icap_uses_indirect_client off
logformat combined %{X-Forwarded-For}>h %ui %un [%{%d/%b/%Y:%H:%M:%S +0000}tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
logformat pagehits [%{%d/%b/%Y:%H:%M:%S +0000}tl] %ru
logfile_rotate 999
strip_query_terms off
access_log /var/log/squid3/access.awstats.log combined
access_log /var/log/squid3/access.pagehits.log pagehits
forwarded_for transparent
visible_hostname squid1.rationalwiki.org
# cat /etc/squid3/squid.conf
#debug_options ALL,1 33,2 28,9
debug_options ALL,1
http_port 80 accel defaultsite=rationalwiki.org vhost
cache_peer  parent 80 0 no-query originserver name=rwiki
acl blog_sites dstdomain .rationalblogs.org
acl our_sites dstdomain .rationalwiki.org
acl our_sites2 dstdomain .rationalwiki.com
acl our_sites3 dstdomain .rationalwiki.net
acl privateip dst
acl myaccelport port 80
http_access allow our_sites myaccelport
http_access allow our_sites2 myaccelport
http_access allow our_sites3 myaccelport
http_access allow blog_sites myaccelport
cache_peer_access rwiki allow blog_sites
cache_peer_access rwiki allow our_sites
cache_peer_access rwiki allow our_sites2
cache_peer_access rwiki allow our_sites3
cache_peer_access rwiki allow privateip
cache_peer_access rwiki deny all
cache_dir ufs /home/squid 15352 16 512
cache_mem 512 MB
icap_uses_indirect_client off
strip_query_terms off
log_mime_hdrs on
logformat combined %{X-Forwarded-For}>h %ui %un [%{%d/%b/%Y:%H:%M:%S +0000}tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
logformat pagehits [%{%d/%b/%Y:%H:%M:%S +0000}tl] %ru
logfile_rotate 999
access_log /var/log/squid3/access.awstats.log combined
access_log /var/log/squid3/access.pagehits.log pagehits
forwarded_for transparent
visible_hostname squid2.rationalwiki.org
This was all set up by Trent ages ago and I am reluctant to mess with it for obvious reasons ... last changed around March or April last year - David Gerard (talk) 16:27, 10 January 2016 (UTC)
What I presume is the same problem is also preventing MediaWiki:Sitenotice from being updated (again, only on squid2). I added a small change a few days ago, which never showed on squid2 in spite of multiple action=purge requests & clearing of local browser cache. Trent updated it this morning, and it still shows on squid2... Carpetsmoker (talk) 21:57, 12 January 2016 (UTC)

Stickied this since it's a common concern. Herr FüzzyCätPötätö (talk/stalk) 21:25, 13 March 2017 (UTC)

This has been going on for long time, here's a mention of it in May 2015. Christopher (talk) 19:02, 16 June 2017 (UTC)

[edit] Loss of session data

I just got this error message, without realizing it ever happens (thus no copy to back up). Very frustrating given the volume of text and references that were lost (thereby ensuring the epigenetics article remains a citation-deficient stub); trying to go back to the edit page didn't work. I don't know if this is due to high text volume--if so, this error would be happening every time someone tries to write a new article (e.g., on Whitehead's pray-the-gay-away text My Genes Made Me Do It!). (OverpoweredHellriegel1915) 14:03, 12 November 2016

[edit] References before navsidebars no longer working

How did we fix this last time? Fuzzy. Cat. Potato! (talk/stalk) 21:24, 19 April 2017 (UTC)

Searching through the archives doesn't turn up anything and it's still broken. Christopher (talk) 19:50, 7 May 2017 (UTC)
When I first tested this a couple of days ago clicking on the "[1]" did nothing, now it sends me to the first reference below the navsidebar which is sort of worse. Christopher (talk) 16:28, 11 May 2017 (UTC)
Oh, I didn't see this, this was the cause of the technical issue I raised on the saloon bar like a total noob. ikanreed 🐐Bleat at me 16:38, 11 May 2017 (UTC)
I don't think this was ever fixed. I don't recall with 100% certainty, but I believe I tracked it down to some bug in the MediWiki bug tracker. Carpetsmoker (talk) 01:53, 5 June 2017 (UTC)
I just remembered: it was a bug in the DPL extension that RW uses. I set up a test wiki with some drop-in rewrite of the DPL extension that we use which fixed the problem.
Not sure why David scrapped so much of his talk page history, but I found it here. Here's a direct link to the bug. Carpetsmoker (talk) 02:00, 5 June 2017 (UTC)

[edit] NSFW images being displayed if you use gallery

For obvious reasons I won't link to an example of when this has been abused by wandals but I've seen it happen a few times. Any idea how to fix it? Christopher (talk) 18:32, 19 May 2017 (UTC)

(I mean the <gallery> thing, when I tried to include <gallery> in the subject header it didn't come up, which is another more minor technical problem). Christopher (talk) 18:43, 19 May 2017 (UTC)
*poke*Christopher (talk) 15:18, 30 May 2017 (UTC)
Would you mind giving an example? FᴜᴢᴢʏCᴀᴛPᴏᴛᴀᴛᴏ, Esϙᴜɪʀᴇ (talk/stalk) 18:29, 30 May 2017 (UTC)
Some vandalism to your sig(NSFW, obviously). Christopher (talk) 18:50, 30 May 2017 (UTC)
How is this problematic? Seeing gay porn spontaneously should make anyone's day (because everyone has the same sexual preferences, duh). Why do we have gay porn on here?CheeseburgerFace (talk) 04:28, 31 May 2017 (UTC)

*shrug* that's just the usual File:frot vandalism, <gallery> adds nothing new to it. 32℉uzzy; 0℃atPotato (talk/stalk) 19:29, 30 May 2017 (UTC)

But isn't _NSFW_ meant to stop it? Christopher (talk) 19:33, 30 May 2017 (UTC)
If you don't use <gallery> it just produces this (as long as you have NSFW images disabled in your preferences): Christopher (talk) 19:45, 30 May 2017 (UTC)
Oh, I don't have them disabled. There are so few images tagged as NSFW... Since the gallery tag is inherent to mediawiki it's probably not fixable on our end. Maybe test it out on en.WP? Cømяade FυzzчCαтPøтαтø (talk/stalk) 23:48, 30 May 2017 (UTC)

[edit] Captcha blocked as advertising by Ghostery

The image captcha you use is blocked by Ghostery under the "advertising" category. Fair enough, since that's what it is. I thought you'd like to know. The audio variant worked but took me about 5 minutes to solve, which is a bit impractical when a captcha solution is required on every edit, even the user page edit I just did. -- Tim Starling (talk) 00:17, 4 June 2017 (UTC)

Someone probably needs to fix that. Christopher (talk) 09:28, 4 June 2017 (UTC)
In technical terms RationalWiki is a ghost wiki (1.19 ahoy! Was someone going to rewrite the WIGO extension to work with 1.27? Wasn't me, and nobody else has stepped up; and we don't have SSL because I don't have load balancer access), and Trent hasn't answered my email in literally months. I quit long ago and only bother fixing stuff when it's literally completely broken and easy because I still happen to have root. There's a great big blocker on the process of getting it out from under Trent, and it's called Trent - David Gerard (talk) 10:32, 4 June 2017 (UTC)
Supposedly RMF owns the website, not Trent? But it would be a nuisance to have to convince Linode and Register.com of that. Especially since you apparently don't have a registered trademark. Best if he can be convinced to share access. -- Tim Starling (talk) 23:48, 4 June 2017 (UTC)
Indeed, supposedly RMF owns the website. But property don't mean much without access, and Trent's been, ah, virtually nonresponsive about giving access. We've been trying to do something about it all year.Fuzzy "Cat" Potato, Jr. (talk/stalk) 00:36, 5 June 2017 (UTC)
Yeah, this is often a problem with sites such as this. On one hand the founder has no time to do their duties, but on the other hand they don't want to let go of "their" project. It's understandable but frustrating. I remember bsdforums.org literally collapsing under a truckload of spam because of this :-/ Sooner of later, I fear the same will happen to RationalWiki, which would be a shame :-( Carpetsmoker (talk) 01:41, 5 June 2017 (UTC)
I think RationalWiki is worth saving. Most sites are not incorporated, but according to the New Mexico business database, RationalWiki is incorporated and has a plausible list of directors which does not even include Trent. If those directors are contactable then you can certainly take action. You should set a deadline. Threaten to remove Trent as an officer if he doesn't get his act together. Register the trademark. -- Tim Starling (talk) 04:30, 5 June 2017 (UTC)
The trouble is getting access to all the stuff - David Gerard (talk) 07:11, 5 June 2017 (UTC)
Well, I wrote a new WIGO extension a while back, which also has some features the current one doesn't have: https://github.com/Carpetsmoker/MediaWiki-WIGO ... Feel free to use/modify/etc. (liberal MIT license applies); the major hurdle in migrating to it (if ye want, that is) is that it doesn't have a tool to convert current entries, but that can be easily written. I can look at it if you're interested in migrating to it. Carpetsmoker (talk) 01:38, 5 June 2017 (UTC)
Hard part is making it work with ten years' up/down votes, and that would be useful and lovely thank you (the lack of 10 yrs' back data was the problem last time). Useful stuff and (IIRC) our local extensions at RationalWiki:Content dumps (and I need to put an up to date content dump there) - David Gerard (talk) 07:10, 5 June 2017 (UTC)
It should just be a matter of converting stuff from table format A to table format B. Shouldn't be too hard ;-) One reason I never did any work on it is because I wasn't sure how likely it is to actually get used. Trent is absent, and you always seemed busy with other stuff (work, life, and other such trivialities ;-)). And beyond that there was no one else. It seems that this is still the case? Carpetsmoker (talk) 13:30, 5 June 2017 (UTC)
More or less. It's pretty much the biggest blocker for 1.27 though, and with that I can at least consider an upgrade.
Tim Starling has also kindly offered to look over our awful pile of stuff, and has spotted a pile of 'sploits already. Yay! - David Gerard (talk) 17:26, 5 June 2017 (UTC)
So what you are saying is that spending time on this is not a waste of time? I remember spending time on that DPL thing to fix the "can't have references before sidenav"-bug, and that was basically a "replace extension A with B"-action (just like this), but that was never done, so basically it ended up being a waste of my time. Not blaming you or Trent for that, but hope you understand I'm hesitant to invest time here without at least semi-serious commitment from someone who can actually follow through and enact these changes (I know ye can't promise anything, as it's all a volunteer effort); I also have other stuff going on in my life and have to prioritise where I spend my time :-) Carpetsmoker (talk) 17:43, 5 June 2017 (UTC)
It was me. I was going to rewrite the wigo extension. I even DID, but I sucked so hard at getting around to testing it in more than just my browser. ikanreed 🐐Bleat at me 18:11, 5 June 2017 (UTC)
No hard feelings. :) Herr FuzzyKatzenPotato (talk/stalk) 00:24, 6 June 2017 (UTC)

[edit] topic issue

i cant send a topic i was wanting to send to someone, i did everything and added a 1 like it said and then i re-did the puzzle again..... then it says it wasnt allowed because its spam..... — Unsigned, by: Whoknows / talk / contribs

Hi there, let me check the issue. FᴜᴢᴢʏCᴀᴛPᴏᴛᴀᴛᴏ, Esϙᴜɪʀᴇ (talk/stalk) 00:17, 6 June 2017 (UTC)
Yeah, I don't know why your edits were blocked. I gave you autopatrolled, which will let you override the spamfilter. Fuzzy "Cat" Potato, Jr. (talk/stalk) 00:21, 6 June 2017 (UTC)

[edit] The gadget section in my Preferences disappeared

ClickerClock (talk) 08:13, 6 June 2017 (UTC)

it does that a lot, you'll get them back at some point. Christopher (talk) 15:51, 6 June 2017 (UTC)

[edit] Enabled $wgFileCache

Server load was at 26, so I enabled $wgFileCache, which is a cache for anonymous page views. There may be a glitch in the matrix. Don't be alarmed. -- Tim Starling (talk) 00:50, 7 June 2017 (UTC)

That's all fine and well, but here's the important question: Do I blame David or do I blame Trent? Herr FüzzyCätPötätö (talk/stalk) 02:38, 7 June 2017 (UTC)

[edit] I did not do this.


I did not do this. I have a 180 day cookie on my laptop. Did someone steal it?

ClickerClock (talk) 06:36, 11 June 2017 (UTC)

http://rationalwiki.org/w/index.php?title=Mathematics&action=history I didn't do this either. ClickerClock (talk) 06:39, 11 June 2017 (UTC)
Maybe this has something to do with the nazi I messed with. ClickerClock (talk) 06:40, 11 June 2017 (UTC)
Are you absolutely sure you didn't just forget about making those edits? Christopher (talk) 08:21, 11 June 2017 (UTC)
Now that I think about it. I edit Rationalwiki on a touchscreen. ClickerClock (talk) 10:21, 11 June 2017 (UTC)
I could just be very clumsy when it comes to my thumbs. ClickerClock (talk) 10:21, 11 June 2017 (UTC)

Accidental rollbacks are very easy to do when editing from Recent Changes. You're officially a normal RatWik now. Rejoice! FᴜᴢᴢʏCᴀᴛPᴏᴛᴀᴛᴏ, Esϙᴜɪʀᴇ (talk/stalk) 10:45, 11 June 2017 (UTC)

[edit] Technical problems on RussionalWiki

Special:Log (or what I presume is Special:Log) says something about a database error and doesn't show anything, link. Christopher (talk) 19:51, 13 June 2017 (UTC)

ahh shit. Well. One thing we're going to be doing is bringing everything into THE FUTURE, i.e. with Tim's wonderful assistance we are preparing to NUKE RATIONALWIKI AHAHAHAHAHA and ah put it on a new server. Running 1.27. So that'll be good. ru:rw will come with it, 'cos it's tiny and edited slowly but it's still ours and we want to keep it. So fixes will wait until that I suspect - David Gerard (talk) 21:40, 14 June 2017 (UTC)
I must point out that all my knowledge of if ru:rw is even working is people commenting here. So if ru:rw readers could do that ... I've alerted Tim to its existence as we sort out the nuke-and-pave - David Gerard (talk) 22:49, 14 June 2017 (UTC)
I had a look at how it was configured, it was so horrifying that I immediately upgraded it. It now uses a shared MW source tree with the English RationalWiki. Special:Log appears to work now. -- Tim Starling (talk) 00:51, 15 June 2017 (UTC)
Still doesn't work for me. Christopher (talk) 07:28, 15 June 2017 (UTC)
hrm, guess we'll see when it's finally 1.27 - David Gerard (talk) 12:58, 17 June 2017 (UTC)
After the server change stuff it still doesn't work and the search is broken (ish). Christopher (talk) 07:57, 18 June 2017 (UTC)

[edit] Server shuffle in 1 hour


Visible effect: should be 0 - David Gerard (talk) 12:58, 17 June 2017 (UTC)

[edit] New technical problems probably caused by the server shuffle

When I try and use HotCat it says "500 internal server error", something to do with the server shuffle? As Bongolian pointed out in the saloon the search doesn't come up with suggestions anymore, anything else? Christopher (talk) 08:07, 18 June 2017 (UTC)

Both issues were probably due to the security fixes I implemented on the weekend. At least, the PHP error log was full of parse errors due to an incompatibility with PHP 5.3. I pushed the fix to https://github.com/tstarling/mediawiki-extensions-RWEditcount (yay version control) and deployed it. Search suggestions appear to work. Please retest HotCat and let me know if it works. -- Tim Starling (talk) 01:33, 21 June 2017 (UTC)

Also autocomplete is no longer working in the search box. Bongolian (talk) 07:25, 21 June 2017 (UTC)

Autocomplete works for me. I'm currently on a Windows 10 laptop and Chrome browser.ClickerClock (talk) 08:19, 21 June 2017 (UTC)
It is now working for me again. Bongolian (talk) 02:14, 22 June 2017 (UTC)

I would check if HotCat works but the gadgets are broken yet again. Christopher (talk) 20:25, 21 June 2017 (UTC)

HotCat works but HatCat's autocomplete doesn't.ClickerClock (talk) 04:52, 22 June 2017 (UTC)
Works for me. I don't know how much time I should spend debugging gadgets. You know you can edit them yourself. I'm not even a sysop, I'd have to grant myself access to edit them. -- Tim Starling (talk) 05:57, 22 June 2017 (UTC)

There's no smiley toolbar. ClickerClock (talk) 04:57, 22 June 2017 (UTC)

It works if you disable the user preference called "Enable enhanced editing toolbar", which is enabled by default in LocalSettings.php. It's enabled in your account. -- Tim Starling (talk) 05:57, 22 June 2017 (UTC)
It works!Clapping.gif I'm just going to attempt to code a smiley toolbar that works with the enhanced editing toolbar.ClickerClock (talk) 06:25, 22 June 2017 (UTC)

[edit] Why do my edits to Common.js keep triggering the spam filter?

ClickerClock (talk) 07:38, 22 June 2017 (UTC)

wgSpamRegex is set to /<a href|766849|a3864d|947445|dbb687/i, presumably you are trying to make links. Better to use AbuseFilter for that kind of thing, it is more configurable. I'll just comment it out for now. -- Tim Starling (talk) 12:23, 22 June 2017 (UTC)
What the hell would that regex match? Is "766849" a common phrase? 32℉uzzy; 0℃atPotato (talk/stalk) 15:19, 22 June 2017 (UTC)
My wager is that there were probably bots linking the same url over and over, and it had that number in it. ikanreed 🐐Bleat at me 16:36, 22 June 2017 (UTC)

[edit] DPL configured to respect parser cache

I don't think it's OK to have a wiki of this size and popularity with every cache layer disabled by the DPL extension on virtually every main namespace page. So I enabled ExtDynamicPageList::$respectParserCache. If you don't like the results, please have a look at https://www.mediawiki.org/wiki/Extension:DynamicPageList_(third-party) and tell me what I should be doing differently. -- Tim Starling (talk) 01:32, 23 June 2017 (UTC)

Can you either briefly explain what ExtDynamicPageList::$respectParserCache changed or link to documentation? Cømяade FυzzчCαтPøтαтø (talk/stalk) 02:12, 23 June 2017 (UTC)
I did link to the documentation. Ideally DPL would allow you to set a short expiry time, rather than giving you a choice between zero or the wiki default, but those are the two choices at the moment. So with the current settings, I think DPL boxes will be updated once every 24 hours, or when the page is purged or edited. -- Tim Starling (talk) 05:50, 23 June 2017 (UTC)
That's a sensible setting for a dynamically-generated object, having it cache like an included template should be entirely fine - David Gerard (talk) 14:34, 23 June 2017 (UTC)
Sorry, Tim, shouldn't've responded while tired. Plan sounds good. FuzzyCatPotato of the Ecumenical Classified ads (talk/stalk) 14:40, 23 June 2017 (UTC)

[edit] Cquote text going all the way along the page even if there's a navisdebar

What I mean.

What the section title says. Christopher (talk) 15:13, 24 June 2017 (UTC)

No idea what's up with that. Cquote wasn't edited, Navsidebar wasn't edited. The only thing that changed was Randomarticles -- and in a way that shouldn't affect the navsidebar. Herr FuzzyKatzenPotato (talk/stalk) 20:03, 24 June 2017 (UTC)
It's also happening at transitional fossil where it's obscuring a picture so it's something to do with cquote. there are no recent edits to common.css or anything else like that. Christopher (talk) 20:44, 24 June 2017 (UTC)
Cquote only uses {{!}}, last changed 2009. oʇɐʇoԀʇɐϽʎzznℲ (talk/stalk) 20:56, 24 June 2017 (UTC)
It's my fault. My temporary solution to an extension being unsupported is extremely hacked together. It will be fixed when this wiki updates. ClickerClock (talk) 07:35, 25 June 2017 (UTC)
Is there a way you could reverse it? It's really annoying, especially on the agnosticism page. Christopher (talk)
Fix implement for gold, silver, bronze, balloons and goat page header templates. It should be gone.ClickerClock (talk) 10:13, 25 June 2017 (UTC)
It works! The brainstars aren't in the best place but you can't have everything. Christopher (talk) 10:30, 25 June 2017 (UTC)
Page is goat squashed.jpg
Except when {{Page is goat}} is used. Christopher (talk) 13:49, 25 June 2017 (UTC)
Wanted to second that. αδελφός ΓυζζγςατΡοτατο (talk/stalk) 21:46, 25 June 2017 (UTC)
Better now?ClickerClock (talk) 03:41, 26 June 2017 (UTC)
Still looks the same to me. Christopher (talk) 07:24, 26 June 2017 (UTC)
Personal tools