RationalWiki:Technical support

From RationalWiki
Jump to: navigation, search

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

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! 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.

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 ttoulouse@gmail.com or touloutm@mcmaster.ca for best results.


[edit] How

Does RationalWiki:To do list suppress its edit tab? oʇɐʇoԀʇɐϽʎzznℲ Moderator (talk/stalk) 22:04, 14 December 2015 (UTC)

When I go to this page and press the shortcut to edit it (ALT-SHIFT-E), edit page appears, so I'd hazard a guess, that it's some kinda tinkering with the CSS of the page?--Arisboch ☞✍☜☞✉☜ ∈)☼(∋ 22:59, 14 December 2015 (UTC)
It's entirely possible to edit the page, I'm just wondering what's on the page that no edit tab appears FU22YC47P07470 Moderator (talk/stalk) 17:45, 15 December 2015 (UTC)

It's in MediaWiki:common.css:

/*Remove edit tab from To do list*/
.page-RationalWiki_To_do_list #ca-edit { display: none !important; }

It looks like all pages get a class page-NAME on the body page; e.g. Ray Comfort has page-Ray_Comfort. Carpetsmoker (talk) 13:09, 9 January 2016 (UTC)

[edit] Gadgets don't work - squid problem?

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)

[edit] "All Logs" link on left-hand side.

Doesn't seem to be there. What's up with that? Peace. AgingHippie (talk) 05:50, 15 January 2016 (UTC)

Per above, I went "wtf" and removed it. Back now - David Gerard (talk) 08:33, 15 January 2016 (UTC)
Thanks, D. Peace. AgingHippie (talk) 08:49, 15 January 2016 (UTC)

[edit] squid1 very slow

squid1 seems to be very slow; in the last ~30 mins there it at least a 10 second delay before it responds to any requests. squid2 is fine... Carpetsmoker (talk) 21:39, 15 January 2016 (UTC)

Alas, a slow squid. FuzzyCatPotato of the Inept Glucoses Moderator (talk/stalk) 22:21, 15 January 2016 (UTC)
memcached fell over again. Must do that upstart script, having done literally that job for work - David Gerard (talk) 00:59, 16 January 2016 (UTC)

[edit] MediaWiki update?

Special:Version still shows 1.19.12. The wiki has been a walking security vulnerability for almost an year now. If anyone claims that RW takes user privacy seriously, I'm just going to laugh.--ZooGuard (talk) 09:57, 16 January 2016 (UTC)

This is completely ridiculous. This was even pointed out long before you brought it up last month; it's been 8 months of nothing. I should have something to start kicking shortly ... - David Gerard (talk) 22:22, 27 May 2015 (UTC) (And how isn't that section stickied anymore? Do stickies somehow have an expiration date too?) --U12345 (talk) 06:29, 27 January 2016 (UTC)
Maybe if we keep pestering DG, something will happen.
For awhile there've been no archivebots, so archiving is manual. So... they last as long as whoever decides to archive them doesn't archive them. <_< Cømяade FυzzчCαтPøтαтø Moderator (talk/stalk) 06:46, 27 January 2016 (UTC)
Or maybe Tmtoulouse might notice and do something, or even appoint a third, more getting-things-done person with root. And 'no archivebots'? I'm pretty sure it was archived by MummificationBot in that diff... --U12345 (talk) 09:12, 27 January 2016 (UTC)
Respecting the "sticky" tag is not a stock feature of pywikibot, it has to be added manually. MummificationBot ran without the necessary mod for a while, so some stickied threads got archived. It's not something nefarious.--ZooGuard (talk) 09:24, 27 January 2016 (UTC)

[edit] Abusefilter false positive

Hi there, can't post on other people's talk pages due to the "meany" abuse filter entry, which seems to have been added recently. My comment was not vandalism. Seems over-sensitive. 124.148.92.151 (talk) 06:01, 21 January 2016 (UTC)

Thanks for the heads-up. I have taken care of it and sent the person manning that filter a message about what they did wrong. John Jacob Jingleheimer Schmidt (talk) 06:20, 21 January 2016 (UTC)

[edit] Add HTTPS

As has been firmly established in recent years, "there is no such thing as non-sensitive web traffic," and at this point adding TLS support to Apache has been made so easy that there's no excuse for not turning it on. Is there a plan to switch to HTTPS? When? If not, why not? --U12345 (talk) 06:35, 27 January 2016 (UTC)

It's been proposed dozens of times in the Saloon. IDK why nought has happened. Fuzzy. Cat. Potato! Moderator (talk/stalk) 06:41, 27 January 2016 (UTC)
The same reason none of the proposed changes have happened and why ya'll running a version of MediaWiki with many security holes. 82.95.88.48 (talk) 01:39, 29 January 2016 (UTC)

[edit] Search

Has the search function stopped working (other than for exact page titles)? ŴêâŝêîôîďWeaselly.jpgMethinks it is a Weasel 20:34, 27 January 2016 (UTC)

FUCKING THING. I need to work out why the upstart script isn't restarting it - David Gerard (talk) 00:21, 28 January 2016 (UTC)

[edit] If you feel like playing with upgrades

RationalWiki:Content dumps now links to http://rwdocs.org/rwconfig.tar.xz - this is a dump of our .htaccess, LocalSettings.php (with passwords removed) and our entire smelly Extensions folder (which shouldn't have embedded passwords, and if it does let me know and I'll stab it repeatedly change them). Our extensions are an unholy blend of Wikimedia extensions, third-party extensions and things Nx wrote years ago. If you feel like "that useless bastard, I'll show him", you'll need a coupla hundred gig on an Internet-accessible Linux server (I suggest Debian/Ubuntu) somewhere to play with. I would suggest: 1. create a working wiki from the dump and the extensions, verifying all extensions work 2. upgrade it to 1.23 3. test stuff again 4. tell the mob to have at it for testing - David Gerard (talk) 12:47, 29 January 2016 (UTC)

user:Zero is having a play with it, but anyone else is welcome to. Note that the article import takes for fucking ever. I've added a schema dump too, so you can see wtf the local extensions (completely undocumented except the actual code) do - David Gerard (talk) 15:52, 1 February 2016 (UTC)
Sofar I've got a working setup going, but you would be hard pressed to get back to the point I am. Most of our custom plugins are complete failures at the moment but it is "RationalWiki" as we know and love. We're not ready yet but expect a finished package by February 12th, barring anything exploding on me. Oh, and by "import taking for fucking ever"? That would be three days on an Octacore HT with 64 Gigs of RAM. Good. Luck. Zero (talk - contributions) 10:03, 6 February 2016 (UTC)

[edit] Saloon Bar article bar problem

I can't click at the article bar links (edit, add section and so on), is there a way to fix it?--Kugelschreiber (talk) 12:13, 1 February 2016 (UTC)

They work for me ... memcached is up on both apache1 and apache2 ... anyone else getting this? - David Gerard (talk) 15:51, 1 February 2016 (UTC)
I can get to the pages by pressing the keyboard shortcuts, though, so is there maybe some kinda temporary solution to this problem (probably through a userspace stylesheet? I dunno how to make such a stylesheet ;_;)?--Kugelschreiber (talk) 16:18, 1 February 2016 (UTC)
IIRC, it's an issue with the image at the top of the page masking the links behind it. Changing the visual style from preferences can fix it. Queexchthonic murmurings 16:28, 1 February 2016 (UTC)
By using my (modest) Google-fu, I came upon this archive page entry, which worked. Could someone add it to the global stylesheet, please?--Kugelschreiber (talk) 16:28, 1 February 2016 (UTC)

[edit] New member here, cannot edit my user page.

I am attempting to create an article in User:Aeonian/sandbox, as recommended by the Help page for writing the article before it is complete, but I unable to save my work. At first, I was told I was attempting to edit another user's space, after another try it told me to come here.

I'm guessing this is just a permissions problem, since I just signed up for this site.

Thank you in advance for your help :). Aeonian (talk) 07:23, 3 February 2016 (UTC)

Edit: Nevermind, I figured out it was because I had not added any content to my main user page yet. Sorry for the post Aeonian (talk) 07:23, 3 February 2016 (UTC)
We apologise for the hiccup, you'd probably be unsurprised just how many bots that catches - David Gerard (talk) 10:20, 3 February 2016 (UTC)

[edit] Problem with the display of Wikicommons images

Wikicommons images won't show in the articles all of a sudden. When I click the link, I see the image, but they won't show up in the articles.--Kugelschreiber (talk) 12:28, 4 February 2016 (UTC)

Same here, except that sometimes even the image page comes up emtpy.--ZooGuard (talk) 12:33, 4 February 2016 (UTC)
I saw this too. Wonder if they've messed with the API again ... it's happening for other sites, I've asked what's up on the mailing lists - David Gerard (talk) 16:38, 4 February 2016 (UTC)
Fixed now. If an image still won't load, add "?action=purge" to the URL - David Gerard (talk) 17:16, 4 February 2016 (UTC)
Hello Wikicommons pictures, we missed you!--Kugelschreiber (talk) 19:24, 4 February 2016 (UTC)
Personal tools
Namespaces

Variants
Actions
Navigation
Community
Tools
support