User talk:GrafZahl

From Wikisource
Latest comment: 6 years ago by Hesperian in topic admin not confirmed
Jump to navigation Jump to search


Collaborative French Translation Needed
The Two Mules
Le Grand Meaulnes
Translation:French Nursery Rhymes
Collaborative Latin Translation Needed
De Methodis
De Regimine Principum, Ad Regem Cypri

error in your DisplayFooter code?[edit]


When I try to run AWB against Wikisource, it continually fails because it is unable to handle gracefully the fact that your DisplayFooter code in index.php apparently contains an error. The line

content = document.getElementById('bodyContent');

throws an "object doesn't support this property or method" error for me.

Hesperian 00:42, 7 October 2008 (UTC)Reply

Hi, Hesperian. Works for me. This error is quite odd as the statement you specify does not mark the first use of the getElementById method of the document object. So why doesn't the error occur earlier in the code? Moreover, DisplayFooter checks whether the getElementById method is supported in your browser and if not, it should never execute this statement. Maybe it's some bug in AWB?--GrafZahl 07:22, 7 October 2008 (UTC)Reply
Thanks for the reply. I'll log a bug report. Hesperian 11:14, 7 October 2008 (UTC)Reply

I have the same error report when I open wikisource on IE8. Vinhtantran (talk) 04:20, 31 August 2009 (UTC)Reply

Sorry, I don't have access to IE8. It's odd anyway, as getElementById is part of Document Object Model 1.0 and ECMAScript 262.3, so any of the standard browsers should support it. Maybe someone knowledgeable in IE matters can comment? Apart from that, the only suggestion I can make right now is to use a different browser. Sorry.--GrafZahl 08:05, 1 September 2009 (UTC)Reply
I have fixed it in vi.source by changing the variable names to avoid default IE8 variables, like this. Vinhtantran (talk) 15:47, 10 September 2009 (UTC)Reply
Thank you for this hint. I found this blog entry on IE variables on the web. It says that IE introduces all tag IDs as variables. If that's true to the fullest extent, this behaviour is a serious bug in IE, IMO. For if you have the ability to inject new IDs into a website (on wikis, for example), you can clobber any variable you want, possibly leading to a DOS attack against the Javascript functionality of a site. Anyway, I'll try to fix my code in a manner similar to your suggestion. Many thanks!--GrafZahl 10:19, 11 September 2009 (UTC)Reply

Re: Your message[edit]

Thanks for doing that; I'm fairly new here, well, editing anyway, but have lurked around since 2007. I've been active on some other Wikimedia projects as an IP editor mostly. --Sunwell5talk 16:45, 27 March 2009 (UTC)Reply

Index:What will he do with it.djvu and the question mark[edit]

Is it okay to leave it as it is now? I just saw page 11 and that is why I changed it. Please let me know what your input is on changing it. Thanks. --Mattwj2002 (talk) 01:41, 14 April 2009 (UTC)Reply

Treatise on Law and subpages[edit]

Gday GZ. Jude and I are cleaning up headerless pages, and I see that you have been active with Treatise on Law. There are a number of subpages for T on L on the headerless list, and there looks to be a level of activity on the pages. Might you be able to have a look and do something with the pages, or indicate what should be done to those pages and I will see if I can get to them. Thx.-- billinghurst (talk) 04:09, 26 April 2009 (UTC)Reply

P.S.: Your old table of contents to the pages is at Treatise on Law (Q by Q) ResScholar (talk) 04:13, 26 April 2009 (UTC)Reply
It's been some time but I believe I just split the work and slapped {{cleanup}} on the pieces. A header would surely be a good start. The in-text navigation is effective but could be prettier. Unfortunately it seems like I can't find the time to do something about it atm. Sorry.--GrafZahl 21:02, 27 April 2009 (UTC)Reply

Would you contribute User:GrafZahl/How to digitalise works for Wikisource[edit]

Gday GZ. We have a number of pieces spread all over the place about creating works for WS, yours about digitalise, and others about making DjVu files. I was thinking that it would be good to bring these pages together to make one or a series of joined works, rather than current mishmash. Thoughts? billinghurst sDrewth 03:44, 21 January 2010 (UTC)Reply

Sure, why not? Have you compiled a list of the individual pieces? I think we should have some start page linked from the Community Portal (the "Get involved" box) and possibly from the Main Page. This start page should have several sections or even subpages dealing with different kinds of source material:
  • Scannables: books, newpapers, journals, etc.
  • Requiring special equipment: microform and other unusual film stock
  • Internet sources, such as official government-published online documents in various formats (HTML, PDF, DOC, etc.)
  • Audio material to make speech transcriptions: tape, shellac, vinyl, CD, etc.
  • More?
And once the source material is on the user's computer in digitised form, we need docs on how to make proper wikitext from it: the page and index features, how to split a work and how to use the {{header}} template, etc.
Note that I don't have too much free time due to my PhD project. But maybe I can help a little with the less time-consuming tasks.
--GrafZahl 17:47, 22 January 2010 (UTC)Reply
Wow. I did pull pages together with a transclusion to Help:DjVu files/other pages billinghurst sDrewth 22:57, 22 January 2010 (UTC)Reply
BTW what is your dissertation?
It's mathematics. I'm doing inverse scattering on periodic Schrödinger operators.--GrafZahl 23:15, 24 January 2010 (UTC)Reply

Thank you[edit]

Dear GrafZahl,

I'm very grateful for your post at it.source about File:Sulle serie a termini positivi.djvu. I can't assure that it'll be handled instantly, but I'm going to set up and index page and hopefully someone could pick its formatting up... unfortunately our mathematicians are seldom active on it.source, but we know that time is on our side. - εΔω 16:49, 6 May 2010 (UTC)

You're welcome. I certainly don't expect anyone to react instantly to the new file. Believe me, from my own experience I know how hard it is sometimes to gather even a little time for all the stuff that needs to be done on Wikisource.--GrafZahl 08:40, 7 May 2010 (UTC)Reply

Bot flags[edit]

I am contacting everyone who operates an active bot on en.WS. When granting bot-flags I am heavily reliant on the consensus of people like you to ensure that prospective bots approriate and should be flagged. I am not at all competant to evaluate bots independantly and this leads to people waiting a rather long time to find out if their bots will be santioned. Could you please help me out and take the time to examine one of the two current requests at the Scriptorium?[1] [2] Thank you.--BirgitteSB 20:23, 11 May 2010 (UTC)Reply

Done --GrafZahl 17:57, 14 May 2010 (UTC)Reply

Wikisource:Scriptorium#Bot flag request for SKbot[edit]

Could you review this discussion and clarify if you support or oppose a bot flag?--BirgitteSB 14:00, 31 May 2010 (UTC)Reply

Broken section redirect[edit]

In this edit.[3] I fixed it, but be more careful! -- Kendrick7 (talk) 20:39, 4 September 2010 (UTC)Reply

Thanks. This bug affects section links in hard redirects only and is hopefully fixed. Let's see if it works. General handling of hard redirects used to not work with pywikipedia, but so did section links in hard redirects.--GrafZahl 11:33, 7 September 2010 (UTC)Reply


Nice work on doing something with the lilypond bits. You are a champ! Are we able to get it within the SVN at WMF so others can review and play too? — billinghurst sDrewth 14:12, 16 December 2011 (UTC)Reply

and if it helps mw:Commit access (says he trying not to sound pushy smiley). — billinghurst sDrewth 14:14, 16 December 2011 (UTC)Reply
Well, it's on GitHub, so you can play around with it right now. Just fork it and pull-request me. Apart from that, I've also requested SVN access through 18:59, 16 December 2011 (UTC)Reply
It's already in SVN, committed by User:MarkAHershberger.--GrafZahl 19:55, 16 December 2011 (UTC)Reply
Thanks. I was sitting in IRC where I was being provocative/pushy about your additions, and it had been a suggestion. BTW User:Bawolff popped into the Wikisource channel and asked whether you did IRC, to which I said no. I have to presume that it was about your work on the extension. — billinghurst sDrewth 08:55, 17 December 2011 (UTC)Reply
lol bawoooooooooooolf... Yeah, basically I just wanted to mention rev:106499 to you. Bawolff (talk) 22:11, 17 December 2011 (UTC)Reply
btw, since I can't comment on github (don't have an account) in regards to [4] - I could be wrong, but I believe Tim's comment referred to raw html messages. Wikitext messages (and <code> is a whitelisted tag so works in wikitext) should be fine [I think anyways]. Bawolff (talk) 22:21, 17 December 2011 (UTC)Reply
Thanks for the info. I'll be away visiting relatives and will be available again sometime tomorrow.--GrafZahl 10:14, 18 December 2011 (UTC)Reply

Thank you too. I'm very happy to see an - yet - experimental Versoin on Mediawiki. If you need any simple tasks done (testing, etc.), please let me know. I am most active at de:w:Benutzer:Hei ber. --Hei ber (talk) 00:04, 31 December 2011 (UTC)Reply

A question on Talbot[edit]

Hi. Some background: I am writing a bot to move pages in PSM project, taking care to fix backlinks at the same time. To avoid manual mass deletion of pages, I was suggested to tag the redirects derived from the move action as soft redirects and let Talbot do the deletion. To make things even more complex, some of these pages already have a redirect, so I will have double-redirects which I was also thinking to tag as soft redirects to get rid of them (it is complex to explain but I hope you got the point).

I am not planning to take care of User:pages or other sandboxes in the project name space when I fix backlinks, so these soft redirects will be left with backlinks. See an example of what the result will look like after the process, one without double redirects and one with: Popular Science Monthly/Volume 1/July 1872/Sketch of James Dwight Dana and Sketch of James Dwight Dana.

Finally the question: will these pages be deleted? Or since they have backlinks or soft redirects pointing at them they will not? Thanks --Mpaa (talk) 00:42, 2 February 2012 (UTC)Reply

Single soft redirects are not a problem. The backlinks will be corrected automatically to point to the new target. Double redirects are more troublesome. For efficiency reasons, TalBot consolidates all changes to a single page in a single edit, and double redirects would mean TalBot stepping on its own toes (there is a script to warn of precisely that scenario). Hence, the best solution would be to avoid double redirects altogether. If this is not easily possible, another way to solve the problem would be to put the double redirects (that is, the redirects that redirect to a redirect, not the redirects that are pointed to by redirects) in a separate category, and then run the scripts twice, first on the separate category, then on the regular one (if there are triple or even higher multiple redirects, this approach would require more categories). This would make the backlinks point to pages successively deeper in the redirects chain until the target page is reached.
Hopefully, one of these two approaches works for you. If not, get back to me and we'll think of something.
--GrafZahl 10:23, 2 February 2012 (UTC)Reply
Thanks. I think the easiest for me will be to manually delete the double redirects. Hopefully they are not so many. Can I copy your double-redirect script and run it from a python shell to make sure I will not miss any? --Mpaa (talk) 13:06, 2 February 2012 (UTC)Reply
Sure. After all, it's GPL'd. Happy bot-running!--GrafZahl 00:11, 4 February 2012 (UTC)Reply

Berlin hackathon invitation[edit]

Hi! Just wanted to remind you that you can come to the Berlin hackathon in June, and that you might want to register soon.

And by the way, do you possibly need any help with the Score extension?

Thanks, Sumanah (talk) 15:58, 12 April 2012 (UTC)Reply

TalBot status?[edit]


Just wondering what the current status of your BOT is? I understand you halted running its normal maintenance tasks earlier this year for connection reasons but the amount of soft-redirect maintenance is accumulating nevertheless. Should we seek out someone else to handle these even if it is on a temporary basis? -- George Orwell III (talk) 01:14, 30 July 2012 (UTC)Reply

Hi, the maintenance tasks of TalBot are halted due to lack of time on my side. Apparently, User:Mpaa has taken up the task of soft redirect maintenance. I'll have some spare time during the current holiday season, which I intend to put into further development of mw:Extension:Score.--GrafZahl 14:30, 26 December 2012 (UTC)Reply
Hey GZ, nice to see that RL hasn't totally stolen you from us. Hope that the mathematics of the world goes well for you. Getting "score" progressed would be fantastic. Not sure whether you have been watching wiki development over the year as there has been some significant changes, especially regular release schedules, though noise still generates most action (and probably Sumana is most receptive). Tpt (talkcontribs) has been progressing PrP, and there has been some commentary on his talk pages, especially components around structured data sets. So in some ways the broader MW has improved, some of the benefits are yet to flow. — billinghurst sDrewth 22:23, 26 December 2012 (UTC)Reply

Soft redirects[edit]

Hi. Could you pls take a look at this discussion regarding replacements in template pages and see if my assumptions are correct? Thanks--Mpaa (talk) 19:45, 13 January 2013 (UTC)Reply

Re:Soft redirects[edit]

You have new messages
You have new messages
Hello, GrafZahl. You have new messages at Kathleen.wright5's talk page.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

Musical scores[edit]

I thought that you might like to know about the discussion at m:Requests for comment/Scores for Wikisource on musical scores. WhatamIdoing (talk) 16:54, 20 June 2014 (UTC)Reply

Question on en.wp[edit]

Hello Alexander! Do you know the answer to this question about Lilypond at Thanks for your attention! --Elitre (WMF) (talk) 20:56, 21 June 2015 (UTC)Reply

Hello Elitre, seems I missed your post. The question has already been archived. I wouldn't have known the answer anyway, sorry. I'm just too busy these days.--GrafZahl 22:11, 10 July 2015 (UTC)Reply

Prodding Talbot[edit]

Hi GrafZahl. Hope that you are well. Are you able to give TalBot a prod to clean up the dated soft redirects? Thanks if you can. If this is something that would be better undertaken by User:Wikisource-bot then we can make that happen. If it is something that you would like make happen, and would set up so you could leave it in the hands of the community, then please let me know your username at WMF labs, and I will add you to the owners list. Thanks. — billinghurst sDrewth 06:13, 18 August 2016 (UTC)Reply

I'm well, thanks for asking. Stuff is still set up for operation at my parents' place. I'll be there probably in late October, so that's the earliest I can give it a prod. Apart from that, the pywikipedia scripts are all open source and accessible (see the links under Wikisource:Bot_requests/Persistent_tasks#Task_description_2), so if you want to migrate the soft redirect maintenance over to wikisource-bot, go ahead (note that the bot needs delete permission to remove the outdated redirects). Sorry I don't have the time to do that. But feel free to contact me if you have questions. With the Special:EmailUser feature you should also get a timely response ;-). Again, sorry for not being able to do more right now.--GrafZahl 11:58, 4 September 2016 (UTC)Reply


User:GrafZahl, there is a question at mw:Topic:Tmcble6dx9pw4khv about mw:Extension:Score that I think you could probably answer easily. Whatamidoing (WMF) (talk) 17:32, 18 March 2017 (UTC)Reply

admin not confirmed[edit]

Hi GrafZahl,

I've just closed your annual admin confirmation as "not confirmed" due to inactivity; and requested removal of the sysop bit from your account and also from TalBot. It does appear that we've lost you from the site, but hopefully I'm wrong and we see you again in future. Meanwhile, I hope that whatever is keeping you busy these days is keeping you happy too!


Hesperian 01:36, 1 December 2017 (UTC)Reply