User talk:Rupert

From Ganfyd

Jump to: navigation, search


User talk:Rupert/Archive 01 Rupert (Talk) 13:58, 18 September 2006 (BST)


IE compatability=

Thanks for the late night typo correction on copyright. I agree we should aim to keep the site IE 6 compatible. The png issue reflects that IE 6 development stopped in 2002 and as you say it wasn't a bad browser for its time and the main issues are with Active X and its exploitable bugs in a situation of market dominance. Mlj 20:51, 23 September 2006 (BST)

Definition Template


Any thoughts? I wonder if we could model a template on the standard dictionary format, e.g.

Mark ong 23:44, 10 November 2006 (GMT)

On line string functions

Seem to have lost: #sub: str #pos: 6

#len: 6

Other functions fine so I presume overlooked last upgrade Mlj 14:49, 3 December 2006 (GMT)

I wasn't previously aware of these functions, or I wouldn't have written my own urlencode function. They are not installed on any of the wikimedia projects either. What do you want them for? —Rupert (Talk) 15:09, 3 December 2006 (GMT)
If you know nothing about them, I suspect Adam must have shoe stringed them in when I moaned about a year ago about string manipulation when first developing pharmacology box. Haven't had occasion to play with them out of sandbox since, until today I was doing a task where I could have created lots of work for the server but saved myself about 20 key strokes to a new page. Not important immediately, but I think basic string manipulation could be usefully exposed again. Mlj 22:29, 3 December 2006 (GMT)


Its a mess since upgrade with a new error meaning its all but dysfuctional (see main page discussion). Please at least remove its ability to output the linefeed character 0A in output if other faults are not dealt with as this would save page churnMlj 10:02, 4 February 2007 (UTC)

The newline issue may well be solved... Thanks. Not the other-see main page discussionMlj 13:39, 4 February 2007 (UTC)
Another duff PMID:17207901 Hossain R, Harris T, Lohsoonthorn V, Williams MA. Risk of preterm delivery in relation to vaginal bleeding in early pregnancy. Eur J Obstet Gynecol Reprod Biol 2007.(Epub ahead of print) (Direct link – subscription may be required.). Are we continuing to use the function in anger as I always seem to find duff ones? --Manville 20:20, 9 March 2007 (UTC)
Use it if it helps, avoid it if it doesn't. I'm sorry, but I'm too busy right now to fix it. —Rupert (Talk) 21:12, 9 March 2007 (UTC)
Sorry but pmid is now putting out broken output consistently and error messages that are not in version I asked you to upload (Honest I didn't change them for this reason !). Either we have pubmed completely changing over to the javascript full page of XML that I detected for first time last week without the <pre> tag , a cache problem somewhere, a reversion problem or a global variable problem. I suspect I will be phoning you for a password as there is no doubt the version of pmid on the test wiki is parsing as it should the pubmed ids that are thrown up as in error on main site. Mlj 00:16, 6 June 2007 (BST)
I'm really sorry - I forgot to upload the code you sent me on Sunday. (I was setting up this new laptop!) I can do it when I get home after work today - if only I could remember the root password by heart, I could do it now! I'll kick myself when I see it. —Rupert (Talk) 10:01, 6 June 2007 (BST)
Uploaded now. —Rupert (Talk) 18:58, 6 June 2007 (BST)
Thanks- working this weeks problems all down to Pubmed changing their XML format I surmise. Mlj 00:00, 7 June 2007 (BST)
Just a small issue - I'm getting the stray indents when using references within a bullet list. This used to be due to extra carriage returns within the pubmed output, but I have checked and there aren't any in here (in infliximab). Any ideas? Mark ong 00:03, 7 June 2007 (BST)

Full marks

Upgrade did not break timeline !!! perhaps that will give you time to debug PMID ! Best wishes Mlj 22:12, 16 March 2007 (UTC)

see Template talk:PharmacologyBox for a bug thats inconsistent and weird: Perhaps all it needs is for the function to be reenabled Mlj 02:08, 29 March 2007 (BST)
fixed above bug myself but if you ever used the #strip_newlines: inline PHP function anywhere other than pharmacology box bug is there

RTF files

Any reason why we can't upload .rtf? Can you remember the incantation to allow it, please? I'm a bit submerged at present. Midgley 23:40, 4 April 2007 (BST)

I thought the problem with .rft is that M$ WORD produces them with macros ... in the .doc format so they too are a security risk for any one on a M$ OS computer.Mlj 23:54, 4 April 2007 (BST)
Also submerged, but will do it after tomorrow (exam) if there aren't virus implications. —Rupert (Talk) 00:03, 5 April 2007 (BST)
RFT is something from tape days I think, the US DOD demanded specifications be provided thus. RTF is a tagged format, I would not expect to find macros in it. We could convert to ps or PDF but those are not easily editable for most people (and a steroid card might usefully be customised a little - phone number etc). The OOo formats are not yet fully penetrating, but we could do that. I don't see a big threat in RTF. Midgley 00:06, 5 April 2007 (BST)

Good luck

(No substitute for work, but nevertheless an essential part of a career). Midgley 00:07, 5 April 2007 (BST)


well done, Rupert! Enjoy your celebration. --Max 19:01, 10 May 2007 (BST)

Upgrade to 1.13.3

Well done Two bugs noted:

  1. Main page search box. Should be correctable but cant find the template.
    • Ok sorted at this time. The old Extension:InputBox code may be buggy having had a look at If you define the <inputbox> parameters buttonlabel= and searchbuttonlabel= all is well, but it seems they have mucked up the default situation. It might be an idea to download the latest version of this extension ? as our version is very old (2006) and see if that works in default situation:Mlj 16:52, 30 December 2008 (UTC)
  2. Problem I think in ref.php with more marked interaction with link list. Trying to run ref.php on my test wiki to see if its at fault but thats only 1.11.2 so may not reproduce bug. At the moment can not use new references in linked list but old pages are being served up fineMlj 16:24, 30 December 2008 (UTC)
Thanks for spots. Both issues resolved - I upgraded InputBox, and changed from my old references extension to Cite.php, which doesn't automatically group the same reference like my extension did, but does have lots of cool features. (Generating footnotes in addition to references, etc.) It undoubtedly better written (although I haven't looked) and most importantly, it works right now - these bugs are very different to track because the flaw in the output is masked by HTML tidy trying to save the day. —Rupert (Talk) 17:43, 30 December 2008 (UTC)
Hell, I have spent all afternoon coming to same conclusion ! Uploaded Cite to my test wiki when I noticed what was going on ! Surfaced to tell you solution and discovered you were a couple of hours ahead of me Mlj 19:23, 30 December 2008 (UTC)
D'Oh! It's very reassuring though to know that you independently arrived at the same conclusion, because I wasn't sure to be honest. Am just about to customise the citation thing so it's more to my liking - I don't like this 1.1, 1.2, 1.3 business, so am changing it to 1a, b, c as used on WP. —Rupert (Talk) 19:27, 30 December 2008 (UTC)
This is ridiculous - you can't nest a reference <ref> into a footnote <ref>! Whatever next?! Methinks I might be resurrecting my own test wiki, and submitting a patch to the authorities! —Rupert (Talk) 19:34, 30 December 2008 (UTC)
opps another error Mlj 21:43, 30 December 2008 (UTC)

When logged out: and try to access

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

   (SQL query hidden)

from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1213: Deadlock found when trying to get lock; try restarting transaction (".

Worked fine when I logged back in to post this, so more testing needed to see if intermittent or reproducible.

Yes can not reproduce so perhaps you were doing something to database just then.Mlj 21:46, 30 December 2008 (UTC)
I wasn't. —Rupert (Talk) 22:44, 30 December 2008 (UTC)

Nice one Rupert! A fine bit of work, as ever. Hat doffed. :) --A.l.brown 10:21, 2 January 2009 (UTC)

Cheers! —Rupert (Talk) 14:34, 2 January 2009 (UTC)


Welcome back. I think Adrian enabled a fair bit of the media files and Mark was happy. Adrian has not transferred favicon. Please copy favicon.ico to the directory home/wikis/ganfyd-1.13.3 folder.

If I had write rights could have done it myself ! Mlj 20:06, 15 October 2009 (UTC)

The favicon has foxed me. DO we need to invoke something in Apache? And welcome back. Midgley 05:43, 16 October 2009 (UTC)
Oh well sorry Adrian - probably just as well I don't have write rights Mlj 20:28, 16 October 2009 (UTC)

Welcome to GP land

Hope you enjoy the salaried GP world. Hope you have some time to make GANFYD more resilient. At the moment we are limping technically although not all is bad having a kernel so old ! Mlj 23:24, 24 October 2016 (BST)

Welcome back! Mark ong 11:55, 25 October 2016 (BST)
Hi. It's nice to be back. We'll see how long I last. The server feels very slow to me tbh. It's completely obsolete and I have offered to relocate ganfyd to a new server (which would be cheaper) on a good few occasions in the last several years. Would anybody object if I made a local page about Wirral NHS services? Something I could refer to in my work? —Rupert (Talk) 21:48, 25 October 2016 (BST)
Adrian's the 'owner' and the contractual lock in means a bit of planning, probably now a year in advance. Its not trivial upgrading now is all Adrian and myself know from our half hearted fiddles, although you did tell us you got a virtual instant going when I could not even get a hard instant going on an old SUSE box (well I did get a wiki going on almost equivalent LAMP, just could not graft in GANFYD for unclear config issues no doubt related to some filesystem organisation differences that made me decide easiest way would be a Debian image which only got as far as the download as I then got distracted into a Raspberry Pi webserver project). Essentially we need to establish a parallel server which is an extra cost to the cost that at the moment Adrians holding (my only committed cost is which I can redirect to any server I like). And time for me is not easy for wage slaves that work many hours extra to their NHS contract and look like they will be doing even more from 1st Nov to establish newly commissioned service. As to a Wirral page why not. Some of my articles/updates are for useful links and many a time I have given the NHS the benefit. Mlj 23:27, 25 October 2016 (BST)
Other issues to deal with when we upgrade while on my mind- we should probably go https at same time with redirection of any http access. The new Apache will whatever need the necessary module to allow https calls to work in php. Its probably default now but sure was not in 2006. At moment our wiki specific pmid generating reference code only works as pubmed still accepts http access via redirection to https. Some time this will be switched off due to Federal mandate. Mlj 20:46, 27 October 2016 (BST)


Rupert, the old email that used to work for you is bouncing. Mine are unchanged. Any chance of you going in and seeing if any of that MySQL clean up you did in 2012 could make the server a bit more stable until Adrian gets back from Aussi and can cogitate more on our sick server and possibly database. Both of us quite pessimistic. At moment we are crashing usually with loss of database connection and then an apache race condition that makes ssh login very slow. I have to kill apache before reboot seems to work.Mlj 22:36, 18 December 2016 (UTC)