Board elections.

The RationalMedia Foundation board elections are a'happenin'.

  • Nominations will commence on 26 June 2016 and run through 10 July 2016.
  • The voting dates are TBA.

To register to vote: RationalWiki:RationalMedia Foundation/Voter registration

Useful links:

from FuzzyCatPotato (Talk), group Site wide (urgent) at 18:49, 26 June 2016

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>

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! 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] Search

The usual thing. No search results except exact title matches. ЩєазєюіδWeaselly.jpgMethinks it is a Weasel 19:30, 6 May 2016 (UTC)

I prodded it again, no idea why the script that's supposed to check it failed. Today I am poking RW stuff - David Gerard (talk) 12:30, 7 May 2016 (UTC)
Down again. --Ymir (talk) 08:16, 14 May 2016 (UTC)
Just did awful things to /etc/init.d/lucene and the checker script now works. Fucking thing - David Gerard (talk) 19:15, 14 May 2016 (UTC)

[edit] Fun with MediaWiki! The upgrade (sticky)

So I'm finally bothering to look at this bullshit. (It all went much more easily when I realised I in fact disliked system administration, to the point where I would get home from a hard day in the Linux saltmines and have an actual aversion to doing anything even slightly sysadminy in my own time unless the site was actually on fire. Having realised that, I could approach it with something more like how I approach Monday mornings. So, axe in hand, I log in and sudo -s ...)

I have a test installation which isn't ready for anyone to kick yet, but User:Zero did a test upgrade to 1.26 using a database dump and the extension pile, so I have his notes and fixed extensions to work from and I'm trying this with the full database as of last February (which will be quite sufficient for testing purposes).

So far the fun bit is getting our custom extensions to work, in particular wigo3, a piece of Nx code. Anyone who feels like poking at it, rwconfig.tar.xz has our entire config and extensions (minus sensitive bits) and that includes the wigo3 code.

  • wigo3 (Nx): You have to remove all mentions of wfLoadExtensionMessages(), then you see up/down arrows that don't work - you click on an arrow and it disappears and doesn't alter your vote. Most annoying. Zero couldn't get this to go either.
  • Intercom (Trent): remove wfLoadExtensionMessages. Next/Previous/Mark As Read don't work. You also get "Notice: Undefined property: SpecialIntercom::$missingSummary" which is nonfatal, but should probably be fixed.

Anyway, I'll keep you updated ... work at the moment is pretty full on (we're moving hosting centres and puppetising every bit of haphazardly-applied gaffer tape since 2006 ... paying down an arseload of technical debt, which is good) but things should progress a bit.

Plan:

  • get something functional with 1.26 on test box, noting every step
  • probably 1.27 LTS, that should be out any day
  • set up a proper test box (we'll probably get a new Linode with 14.04 or 16.04), repeat there
  • at some point declare that the new instance
  • make a second one

"Hey David, how can I help?" Get rwconfig.tar.xz and look at the extension code. Email me for access to the barely-functional test wiki that spews error messages. No you can't have ssh, it's not my box - David Gerard (talk) 22:06, 7 May 2016 (UTC)

Latest: FUCKING MEDIAWIKI. Thank you.
(specifics: how the fuck does wigo3 even work how the hell does the code itself contain style="display:none" while RW in the browser shows style="" what are you doing to the DOM aaaaaaaaaa) - David Gerard (talk) 20:37, 10 May 2016 (UTC)
My main thought is "what the fuck is he talking about".--JorisEnter (talk) 15:02, 15 May 2016 (UTC)
axle-maxle manglebratic geeble-geep - David Gerard (talk) 16:23, 15 May 2016 (UTC)
I wrote a new WIGO extension a while ago: https://www.mediawiki.org/wiki/Extension:WIGO ... It's not a 100% drop-in replacement, but pretty close IIRC and it's certainly a lot easier to understand than the older WIGO code... Don't really have time to work on it (but feel free to ask specific questions/problems) but MIT licensed so do with it as you please... Carpetsmoker (talk) 11:57, 17 June 2016 (UTC)
That could be faaaaantastic, I'll have a hack at it. Is the database format the same or would it require porting the data? - David Gerard (talk) 13:25, 17 June 2016 (UTC)
No; compatibility was not a goal, so you'll have to write a script. Should be easy though. It also works different by actually having a form, instead of "magically" picking up <vote id=...> tags... IMHO that's a good thing and a feature, but some hardcore wiki folk might disagree.... Carpetsmoker (talk) 13:36, 19 June 2016 (UTC)

[edit] Citation templates generate two links: title and url

The citation templates (e.g., {{Cite web}}) have a title=Title and a url=URL parameter. It is normal to specify both, and the result should be similar to what [URL Title] would produce. That is how it works on Wikipedia, both now and before their citation templates were converted to use a Lua module instead of the {{Citation}} template. On RW, however, we get two links to the same external target: the title and the URL are displayed separately. For instance,

{{Cite web |title=Televangelist Creflo Dollar arrested in alleged choking attack on daughter |date=June 8, 2012 |url=http://usnews.nbcnews.com/_news/2012/06/08/12126777-televangelist-creflo-dollar-arrested-in-alleged-choking-attack-on-daughter |publisher=NBC News}}

produces:

"Televangelist Creflo Dollar arrested in alleged choking attack on daughter". NBC News. June 8, 2012. http://usnews.nbcnews.com/_news/2012/06/08/12126777-televangelist-creflo-dollar-arrested-in-alleged-choking-attack-on-daughter. 

I'm not good at debugging MediaWiki templates and don't have the time to learn right now. Can someone figure out what the problem is? Thanks. —Peter Chastain [¡háblame!] 04:54, 19 May 2016 (UTC)

I've had the same problem. While I have no clue how to actually fix it, you can simply add the link to the title paramter:
{{Cite web|title=[http://usnews.nbcnews.com/_news/2012/06/08/12126777-televangelist-creflo-dollar-arrested-in-alleged-choking-attack-on-daughter Televangelist Creflo Dollar arrested in alleged choking attack on daughter]|date=June 8, 2012|publisher=NBC News}}
This will produce exactly the same reference you should get if the template worked correctly.
As a side note, if you want to display templates neatly you can use {{tl}}.--JorisEnter (talk) 05:35, 19 May 2016 (UTC)
Thank you, JorisEnter! And how delightfully self-referential {{tl|tl}} is. :) —Peter Chastain [¡háblame!] 06:44, 19 May 2016 (UTC)
Let's not even mention what happens when you try to display <nowiki></nowiki> tags. Because the actual code used for this is <nowiki><nowiki></nowiki></nowiki>, which is displayed using <nowiki><nowiki><nowiki></nowiki></nowiki></nowiki>, and so forth.--JorisEnter (talk) 23:00, 19 May 2016 (UTC)

Yeah, these were just copied from an older version on Wikipedia ('cos the Wikipedia versions are now Lua-based). We get to keep both pieces, if anyone thinks they can fix ParserFunctions code without going mad with an axe - David Gerard (talk) 07:35, 19 May 2016 (UTC)

I am sorry to say that the workaround suggested by JorisEnter (combining the URL and title within the title parm) causes accessdate not to be displayed. See this version of the Creflo Dollar article for an example. —Peter Chastain [Speak!] 12:07, 21 May 2016 (UTC)

[edit] Hotarticlerate

Hotarticlerate seems to be somewhat finicky, sometimes when i rate an article i get an error which reads: Error editing talk page: Invalid Token, anyone know why? Bubba41102The place where you can scream at me 00:53, 21 May 2016 (UTC)

[edit] Gadgets, part 42

The gadgets (at least the ones I use, being HotArticleRate, HotCat, plus a few other things I set in my preferences) have been working properly for at least a week. Has anything been fixed?--JorisEnter (talk) 14:32, 16 June 2016 (UTC)

I haven't actually touched a thing. I assume magic beans - David Gerard (talk) 16:49, 16 June 2016 (UTC)
I've been blowing on a tiny whistle every day at noon for the past week or so, so it could be that - though it'd just be a side effect of my whistle ensuring the sun rises and sets as it should. Reverend Black Percy (talk) 16:56, 16 June 2016 (UTC)
Personal tools
Namespaces

Variants
Actions
Navigation
support
Community
Tools