RationalWiki:Technical support

From RationalWiki
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>

Shortcuts:

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.

Contents

[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.
squid1
# cat /etc/squid3/squid.conf
http_port 80 accel defaultsite=rationalwiki.org vhost
cache_peer 192.168.162.183  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 192.168.0.0/16
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
squid2
# 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 192.168.171.98  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 192.168.0.0/16
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. The FCP Foundation (talk/stalk) 21:25, 13 March 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] Wrong icon in Template:WIGO NAV

In Template:WIGO NAV, the icon for "Elections" is the same as the one for "World." For consistency it should use the Politics icon instead. The offending code is

<div id="wigonav-button-election">

I can't find what CSS file this definition is in, or if I even have permissions as a lowly sysop to change it. Could someone with the appropriate permissions fix this? Regards, Cosmikdebris (talk) 23:57, 6 April 2017 (UTC)

I pointed out the same thing back in 2016, and IIRC, Ikan/FCP/Gerard noted that they didn't know how to change the icon... :C I hope you have more luck than me with this! Reverend Black Percy (talk) 01:28, 7 April 2017 (UTC)

Tried to fix it. 32℉uzzy; 0℃atPotato (talk/stalk) 03:41, 7 April 2017 (UTC)

Oh, yipe. Hover over is blank, and bar icon's gone all blank. Cosmikdebris (talk) 03:46, 7 April 2017 (UTC)
File:Wigobuttons inline2.png needs to update. Blame RW's shitty MediaWiki and image caching. Mʀ. Wʜɪsᴋᴇʀs, Esϙᴜɪʀᴇ (talk/stalk) 04:11, 7 April 2017 (UTC)
Thank you for fixing this. Regards, Cosmikdebris (talk) 01:05, 29 April 2017 (UTC)

[edit] RationalWiki refuses HTTPS connections

Three-month ping on the issue described in RationalWiki:Technical_support/Archive14#Firefox now warns that the LogIn page is not secure.

Logging in to http://rationalwiki.org/ with Firefox 52 or later produces a warning on Special:UserLogin

🔓 Logins entered here could be compromised. Learn More

Attempting to use https://rationalwiki.org/ fails:

Firefox can’t establish a connection to the server at rationalwiki.org.

--68.45.187.245 (talk) 16:55, 17 April 2017 (UTC)

Does it prevent you from actually logging in or just warn you not to? Christopher (talk) 17:09, 17 April 2017 (UTC)

[edit] References before navsidebars no longer working

How did we fix this last time? The FCP Foundation (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)

[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)
Personal tools
Namespaces

Variants
Actions
Navigation
support
Community
Tools