User talk:GrafZahl

From Wikisource
Jump to: navigation, search

/Archives

Collaborative French Translation Needed
The Two Mules
Le Grand Meaulnes
French poems, nursery rhymes and riddles
Collaborative Latin Translation Needed
De Methodis
Carmina
De Regimine Principum, Ad Regem Cypri

error in your DisplayFooter code?[edit]

Hi,

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)

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)
Thanks for the reply. I'll log a bug report. Hesperian 11:14, 7 October 2008 (UTC)

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

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)
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)
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)

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)

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)

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)

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)
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)

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)

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)
Wow. I did pull pages together with a transclusion to Help:DjVu files/other pages billinghurst sDrewth 22:57, 22 January 2010 (UTC)
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)

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)

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)

Yes check.svg Done --GrafZahl 17:57, 14 May 2010 (UTC)

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)

Broken section redirect[edit]

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

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)

Extension:Score[edit]

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)

and if it helps mw:Commit access (says he trying not to sound pushy smiley). — billinghurst sDrewth 14:14, 16 December 2011 (UTC)
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 commit-access-requests@wikimedia.org.--GrafZahl 18:59, 16 December 2011 (UTC)
It's already in SVN, committed by User:MarkAHershberger.--GrafZahl 19:55, 16 December 2011 (UTC)
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)
lol bawoooooooooooolf... Yeah, basically I just wanted to mention rev:106499 to you. Bawolff (talk) 22:11, 17 December 2011 (UTC)
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)
Thanks for the info. I'll be away visiting relatives and will be available again sometime tomorrow.--GrafZahl 10:14, 18 December 2011 (UTC)

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)

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)

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)
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)
Sure. After all, it's GPL'd. Happy bot-running!--GrafZahl 00:11, 4 February 2012 (UTC)

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. https://www.mediawiki.org/wiki/Berlin_Hackathon_2012

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

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

TalBot status?[edit]

Hi,

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)

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)
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)

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)