# User talk:Ashley Y

(Difference between revisions)
 Revision as of 09:42, 25 March 2006 (edit) (→Libraries and tools copyright status)← Previous diff Current revision (14:44, 31 August 2012) (edit) (undo)m (→operators look like comments in syntax highlighting) (37 intermediate revisions not shown.) Line 1: Line 1: + Please also email me after putting something on this page. —[[User:Ashley Y|Ashley Y]] 02:49, 26 January 2012 (UTC) + == Math Content == == Math Content == Line 10: Line 12: Hi Ashley. I hope you're the right person to ask about this. I'm currently setting up a wiki, and I was wondering how you got haskellwiki looking like it does? I really hate the wikipedia look, and I'd like something nice and simple I could tweak. I understand that you can get skins for mediawiki - is the haskell.org look available in this form? - [[User:MikeDodds|MikeDodds]] 12:33, 1 March 2006 (UTC) Hi Ashley. I hope you're the right person to ask about this. I'm currently setting up a wiki, and I was wondering how you got haskellwiki looking like it does? I really hate the wikipedia look, and I'd like something nice and simple I could tweak. I understand that you can get skins for mediawiki - is the haskell.org look available in this form? - [[User:MikeDodds|MikeDodds]] 12:33, 1 March 2006 (UTC) + + :I suppose I should publish the skin file somehow. I'm not sure the best way. —[[User:Ashley Y|Ashley Y]] 09:44, 25 March 2006 (UTC) + + :OK, see [[HaskellWiki:Site software]]. —[[User:Ashley Y|Ashley Y]] 01:15, 20 September 2006 (UTC) == [[Libraries and tools]] copyright status == == [[Libraries and tools]] copyright status == Line 28: Line 34: :Great, go ahead and remove the "unknown copyright" label. —[[User:Ashley Y|Ashley Y]] 09:42, 25 March 2006 (UTC) :Great, go ahead and remove the "unknown copyright" label. —[[User:Ashley Y|Ashley Y]] 09:42, 25 March 2006 (UTC) + + :Thank You, I have done it. [[User:EndreyMark|EndreyMark]] 18:05, 25 March 2006 (UTC) + + == Deletion of [[Continuation passing style]] == + + Dear Ashley, + + Acidentally, I have created a [[Continuation passing style]] page superfluously. + Because a [[Continuation]] article exists already, I suppose the superfluous empty page should be deleted, because its existence can be confusing (e.g. editors linking word "[[Continuation passing style]]" will not get a warning red link any more, but a misleading empty page). I cannot delete the page (only empty it, but it is not enough). + + Thank You in advance + + [[User:EndreyMark|EndreyMark]] 08:14, 27 October 2006 (UTC) + + :I made it a redirect instead. —[[User:Ashley Y|Ashley Y]] 18:44, 31 October 2006 (UTC) + + == Interwiki map == + + Hi: could you add some stuff to the interwiki map? In [[Haste]], I was trying to interwiki to the English Wikipedia using the usual [[wikipedia:Scintilla]] interwiki link, but it didn't work (nor did en:, or wiki: - which just took one to c2.com). [[User:Gwern|Gwern]] + + == Same logo, less bytes == + + If you're interested in using it, I shaved 407 bytes off the logo in the upper-left-hand corner of the wiki. It's [[:Image:Haskellwiki_logo_small.png|uploaded here]]. [[User:Olathe|Olathe]] 00:33, 12 August 2008 (UTC) + + == Latex upgrade == + While testing Pandoc's conversion of LaTeX to MediaWiki markup, I noticed some bugs. Compare [[User:Gwern/kenn]] to [https://secure.wikimedia.org/wikipedia/en/wiki/User:Gwern/kenn https://secure.wikimedia.org/wikipedia/en/wiki/User:Gwern/kenn]. The haskell.org version features many ugly red sections like 'Failed to parse (unknown function\begin): \begin{array}{rclcl} \phi & ::= & P(t_1, \cdots, t_n) \\ & \mid & \neg\phi \\ & \mid & \phi_1 \Rightarrow \phi_2 \\ & \mid & TT & \mid & FF \\ & \mid & \phi_1 \wedge \phi_2 & \mid & \phi_1 \vee \phi_2 \\ & \mid & \forall x.\, \phi & \mid & \exists x.\, \phi \end{array}'. + + John MacFarlane, Pandoc's author, thinks this is because of outdated addons to MediaWiki or MediaWiki itself; this is consistent with the same source text not producing those errors on the English Wikipedia. Could you fix this? --[[User:Gwern|Gwern]] 10:46, 6 September 2008 (UTC) + + == Request for MediaWiki Upgrade == + I request that you update the MediaWiki software to a more recent version. Thanks in advance. —[[User:HowardBGolden|HowardBGolden]] 08:17, 4 October 2008 (UTC) + + :This will require a larger update to the machine that runs HaskellWiki, which I can't do easily. —[[User:Ashley Y|Ashley Y]] 07:56, 18 August 2009 (UTC) + + == Spam == + An indef block of http://www.haskell.org/haskellwiki/?title=Special:Contributions&target=D0rk23 please. --[[User:Gwern|Gwern]] 12:22, 7 July 2009 (UTC) + + :Done. —[[User:Ashley Y|Ashley Y]] 22:16, 6 August 2009 (UTC) + + ---- + + Block of http://www.haskell.org/haskellwiki/?title=Special:Contributions&target=HelenGarcia please. --[[User:Gwern|Gwern]] 01:09, 9 April 2010 (UTC) + + :And [[User:Carolin]]. --[[User:Gwern|Gwern]] 01:12, 9 April 2010 (UTC) + + == Sitenotice == + [[MediaWiki:Sitenotice]] needs editing badly; I have seen many people assume that no accounts are being created. Any change in wording would be better - how about 'To request an account, click here'? --[[User:Gwern|Gwern]] 13:36, 6 August 2009 (UTC) + + :Is this better? —[[User:Ashley Y|Ashley Y]] 22:14, 6 August 2009 (UTC) + + ::Yes, loads. --[[User:Gwern|Gwern]] 01:09, 7 August 2009 (UTC) + + == Spam & account registration == + + It has been a while since the spam became a real issue and account registration was disabled. Creating accounts has proven kind of draining for me, even when I pushed byorgey up to be listed first. Is there any chance we could re-enable registration and see whether the spammers have given up? We are surely driving away potential contributors with such a laborious sign-up procedure. --[[User:Gwern|Gwern]] 00:38, 27 February 2010 (UTC) + + :OK, I've opened it up again. Hopefully we'll be OK. —[[User:Ashley Y|Ashley Y]] 02:38, 16 March 2010 (UTC) + + ::Well, we were pretty fine for the last couple months, but then a few dozen/hundred spam accounts got registered... + ::It seems to me we need an active admin. I nominate myself. The discussion on -cafe about new admins [http://www.mail-archive.com/haskell-cafe@haskell.org/msg60954.html petered out] last time (Peterson never replied to me), but now it's a little more urgent. --[[User:Gwern|Gwern]] 01:21, 12 July 2010 (UTC) + + :::We're in the process of moving to a new server running Debian and MediaWiki 1.12. —[[User:Ashley Y|Ashley Y]] 01:44, 12 July 2010 (UTC) + + ::::Which will no doubt help. But spammers won't block themselves. --[[User:Gwern|Gwern]] 03:43, 12 July 2010 (UTC) + + :::::I think MediaWiki 1.12 has some extensions that will help. —[[User:Ashley Y|Ashley Y]] 03:58, 12 July 2010 (UTC) + + :What's the process for approving people to be admin? Should I ping the Cafe list about it? —[[User:Ashley Y|Ashley Y]] 17:36, 12 July 2010 (UTC) + + ::I don't think there is any process. I linked an email in which I suggested several people for adminship (including myself), and no one objected to any of my choices, which is pretty much how the English Wikipedia did things in the early days. --[[User:Gwern|Gwern]] 00:27, 13 July 2010 (UTC) + + === Steady spam === + + Any chance we could turn on email autoconfirmation? That was recently switched on for the LessWrong wiki, which was suffering from a similar level of spam by apparently the same exact spammers (down to usernames and page content, sometimes), and has worked wonders. --[[User:Gwern|Gwern]] 17:17, 14 December 2011 (UTC) + + :I'll have a look over the weekend. I'm not sure if I have root access to the box, but I'll see what I can do. —[[User:Ashley Y|Ashley Y]] 02:47, 26 January 2012 (UTC) + + :OK, I switched on $wgEmailConfirmToEdit. —[[User:Ashley Y|Ashley Y]] 01:55, 30 January 2012 (UTC) + + ::Thanks. Hasn't made too dramatic a dent, but it's early days yet. --[[User:Gwern|Gwern]] 00:04, 2 February 2012 (UTC) + + == Error in Hawiki.php == + + I'm not sure if this is really causing any issues, but it's kind of alarming: If you look closely, you'll see that (under the hawiki skin) all the pages include essentially this HTML in teh head: + + + + + Unfortunately, what comes back from MediaWiki when the browser asks for http://haskell.org/haskellwiki/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=hawiki is not JavasSript, but instead this: + + + Catchable fatal error: Argument 1 passed to SkinHawiki::initPage() must be an instance of OutputPage, instance of StubObject given, called in /usr/share/mediawiki/includes/RawPage.php on line 165 and defined in /srv/web/wikidata/skin/Hawiki.php on line 23 + + + Similarly, there is a piece of CSS like this: + + @import "/haskellwiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0&useskin=hawiki"; + + and the same error occurs when the browser asks for http://haskell.org/haskellwiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0&useskin=hawiki. + + P.S. It's also kind of annoying that most of the custom CSS is in wikistatic ([http://haskell.org/wikistatic/skins//hawiki/main.css hawiki/main.css]), rather than in [[MediaWiki:Common.css]] and [[MediaWiki:Hawiki.css]]. Though, now that I look really closely, I do see that [[MediaWiki:Common.css|Common.css]] not only exists, but even contains a few rules, which is nice! + + P.P.S. It's too bad we don't have the MediaWiki feature whereby users get to extend the skins by putting CSS/JS in subpages of their userpage... + + --[[User:SamB|SamB]] 05:45, 8 June 2011 (UTC) + + == I broke <hask> tags == + + I'm guessing from your signature on [[HaskellWiki:Syntax_highlighting]] that you are the person to tell about this. See [[User:benmachine]]: it seems that leaving a comment tag unclosed inside a <hask> breaks syntax highlighting forever. + --[[User:Benmachine|benmachine]] 19:31, 9 June 2011 (UTC) + + == operators look like comments in syntax highlighting == + + Ashley, + + [[User talk:Henk-Jan van Tuyl|Henk-Jan van Tuyl]] and [[User talk:Jalexanderdatkins|myself]] have been discussing a teeny tiny issue with the syntax highlighter, which is that a user-defined operator beginning with the characters -- incorrectly causes the rest of the line to be formatted as a comment. This is immaterial everywhere except in the one example which is written on the wiki to show that it is not in fact a comment, which can be found at [[Keywords#--]]. What I have done there is to insert a zero-width space (a unicode character) between the two hyphens, but Henk-Jan van Tuyl reports that the zero-width space appears as a rectangle with his combination of browser/operating system. If you view an old version of the page (before my edit) you will see what the syntax highlighter was doing before that. + + Could the syntax highlighter be modified so that user-defined operators beginning with -- are not treated as one-line comments, or is it not worth it? (I suppose I could take that last line out and put it in a <pre> or something.) It just bothers me that the syntax highlighter appears to be contradicting the very point that the example is trying to make. + + Yours, + + [[User:Jalexanderdatkins|jalexanderdatkins]] 23:37, 5 August 2012 (UTC) + + PS: Many thanks for everything you have done for the haskellwiki in your time. You are making the world a better place. [[User:Jalexanderdatkins|jalexanderdatkins]] 23:38, 5 August 2012 (UTC) ## Current revision Please also email me after putting something on this page. —Ashley Y 02:49, 26 January 2012 (UTC) ## Contents ## 1 Math Content Hi Ashley. I notice you are a sysop for haskellwiki. I'm not sure if this is a good place to ask this, but do you know if there is a reason why math support is not enabled for this wiki? I was planning to add some simple math background for some things and would have liked it to show appropriately. (If it is just because no one was sure on how to configure it, I'd be happy to tell what I had to do for my personal home wiki (same software)). BrettGiles 22:16, 25 February 2006 (UTC) Now switched on. If it's not showing up on a page, purge the page by adding &action=purge to the end of the URL. —Ashley Y 00:20, 27 February 2006 (UTC) Thank you - works perfectly. BrettGiles 18:15, 27 February 2006 (UTC) ## 2 haskell.org skin? Hi Ashley. I hope you're the right person to ask about this. I'm currently setting up a wiki, and I was wondering how you got haskellwiki looking like it does? I really hate the wikipedia look, and I'd like something nice and simple I could tweak. I understand that you can get skins for mediawiki - is the haskell.org look available in this form? - MikeDodds 12:33, 1 March 2006 (UTC) I suppose I should publish the skin file somehow. I'm not sure the best way. —Ashley Y 09:44, 25 March 2006 (UTC) OK, see HaskellWiki:Site software. —Ashley Y 01:15, 20 September 2006 (UTC) ## 3 Libraries and tools copyright status Dear Ashley Y, I saw that the page Libraries and tools/Genetic programming got a {{unknown copyright}} mark in the recent days during the moving to its own separate page. This mark asks me to resolve the copyright status. It was me who wrote the content of this page (here is the diff page showing this) in February, so I thought it need not be licenced explicitly, it is automatically licenced under HaskellWiki:Licensing. Have I to do something? Tank You very much in advance Best wishes EndreyMark 12:32, 24 March 2006 (UTC) Great, go ahead and remove the "unknown copyright" label. —Ashley Y 09:42, 25 March 2006 (UTC) Thank You, I have done it. EndreyMark 18:05, 25 March 2006 (UTC) ## 4 Deletion of Continuation passing style Dear Ashley, Acidentally, I have created a Continuation passing style page superfluously. Because a Continuation article exists already, I suppose the superfluous empty page should be deleted, because its existence can be confusing (e.g. editors linking word "Continuation passing style" will not get a warning red link any more, but a misleading empty page). I cannot delete the page (only empty it, but it is not enough). Thank You in advance EndreyMark 08:14, 27 October 2006 (UTC) I made it a redirect instead. —Ashley Y 18:44, 31 October 2006 (UTC) ## 5 Interwiki map Hi: could you add some stuff to the interwiki map? In Haste, I was trying to interwiki to the English Wikipedia using the usual [[wikipedia:Scintilla]] interwiki link, but it didn't work (nor did en:, or wiki: - which just took one to c2.com). Gwern ## 6 Same logo, less bytes If you're interested in using it, I shaved 407 bytes off the logo in the upper-left-hand corner of the wiki. It's uploaded here. Olathe 00:33, 12 August 2008 (UTC) ## 7 Latex upgrade While testing Pandoc's conversion of LaTeX to MediaWiki markup, I noticed some bugs. Compare User:Gwern/kenn to https://secure.wikimedia.org/wikipedia/en/wiki/User:Gwern/kenn. The haskell.org version features many ugly red sections like 'Failed to parse (unknown function\begin): \begin{array}{rclcl} \phi & ::= & P(t_1, \cdots, t_n) \\ & \mid & \neg\phi \\ & \mid & \phi_1 \Rightarrow \phi_2 \\ & \mid & TT & \mid & FF \\ & \mid & \phi_1 \wedge \phi_2 & \mid & \phi_1 \vee \phi_2 \\ & \mid & \forall x.\, \phi & \mid & \exists x.\, \phi \end{array}'. John MacFarlane, Pandoc's author, thinks this is because of outdated addons to MediaWiki or MediaWiki itself; this is consistent with the same source text not producing those errors on the English Wikipedia. Could you fix this? --Gwern 10:46, 6 September 2008 (UTC) ## 8 Request for MediaWiki Upgrade I request that you update the MediaWiki software to a more recent version. Thanks in advance. —HowardBGolden 08:17, 4 October 2008 (UTC) This will require a larger update to the machine that runs HaskellWiki, which I can't do easily. —Ashley Y 07:56, 18 August 2009 (UTC) ## 9 Spam An indef block of http://www.haskell.org/haskellwiki/?title=Special:Contributions&target=D0rk23 please. --Gwern 12:22, 7 July 2009 (UTC) Done. —Ashley Y 22:16, 6 August 2009 (UTC) Block of http://www.haskell.org/haskellwiki/?title=Special:Contributions&target=HelenGarcia please. --Gwern 01:09, 9 April 2010 (UTC) And User:Carolin. --Gwern 01:12, 9 April 2010 (UTC) ## 10 Sitenotice MediaWiki:Sitenotice needs editing badly; I have seen many people assume that no accounts are being created. Any change in wording would be better - how about 'To request an account, click here'? --Gwern 13:36, 6 August 2009 (UTC) Is this better? —Ashley Y 22:14, 6 August 2009 (UTC) Yes, loads. --Gwern 01:09, 7 August 2009 (UTC) ## 11 Spam & account registration It has been a while since the spam became a real issue and account registration was disabled. Creating accounts has proven kind of draining for me, even when I pushed byorgey up to be listed first. Is there any chance we could re-enable registration and see whether the spammers have given up? We are surely driving away potential contributors with such a laborious sign-up procedure. --Gwern 00:38, 27 February 2010 (UTC) OK, I've opened it up again. Hopefully we'll be OK. —Ashley Y 02:38, 16 March 2010 (UTC) Well, we were pretty fine for the last couple months, but then a few dozen/hundred spam accounts got registered... It seems to me we need an active admin. I nominate myself. The discussion on -cafe about new admins petered out last time (Peterson never replied to me), but now it's a little more urgent. --Gwern 01:21, 12 July 2010 (UTC) We're in the process of moving to a new server running Debian and MediaWiki 1.12. —Ashley Y 01:44, 12 July 2010 (UTC) Which will no doubt help. But spammers won't block themselves. --Gwern 03:43, 12 July 2010 (UTC) I think MediaWiki 1.12 has some extensions that will help. —Ashley Y 03:58, 12 July 2010 (UTC) What's the process for approving people to be admin? Should I ping the Cafe list about it? —Ashley Y 17:36, 12 July 2010 (UTC) I don't think there is any process. I linked an email in which I suggested several people for adminship (including myself), and no one objected to any of my choices, which is pretty much how the English Wikipedia did things in the early days. --Gwern 00:27, 13 July 2010 (UTC) ### 11.1 Steady spam Any chance we could turn on email autoconfirmation? That was recently switched on for the LessWrong wiki, which was suffering from a similar level of spam by apparently the same exact spammers (down to usernames and page content, sometimes), and has worked wonders. --Gwern 17:17, 14 December 2011 (UTC) I'll have a look over the weekend. I'm not sure if I have root access to the box, but I'll see what I can do. —Ashley Y 02:47, 26 January 2012 (UTC) OK, I switched on$wgEmailConfirmToEdit. —Ashley Y 01:55, 30 January 2012 (UTC)
Thanks. Hasn't made too dramatic a dent, but it's early days yet. --Gwern 00:04, 2 February 2012 (UTC)

## 12 Error in Hawiki.php

I'm not sure if this is really causing any issues, but it's kind of alarming: If you look closely, you'll see that (under the hawiki skin) all the pages include essentially this HTML in teh head:

<script type="text/javascript" src="/haskellwiki/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=hawiki">
<!-- site js -->
</script>



Catchable fatal error:  Argument 1 passed to SkinHawiki::initPage() must be an instance of OutputPage, instance of StubObject given, called in /usr/share/mediawiki/includes/RawPage.php on line 165 and defined in /srv/web/wikidata/skin/Hawiki.php on line 23


Similarly, there is a piece of CSS like this:

@import "/haskellwiki/index.php?title=-&action=raw&gen=css&maxage=18000&smaxage=0&useskin=hawiki";


P.S. It's also kind of annoying that most of the custom CSS is in wikistatic (hawiki/main.css), rather than in MediaWiki:Common.css and MediaWiki:Hawiki.css. Though, now that I look really closely, I do see that Common.css not only exists, but even contains a few rules, which is nice!

P.P.S. It's too bad we don't have the MediaWiki feature whereby users get to extend the skins by putting CSS/JS in subpages of their userpage...

--SamB 05:45, 8 June 2011 (UTC)

## 13 I broke <hask> tags

I'm guessing from your signature on HaskellWiki:Syntax_highlighting that you are the person to tell about this. See User:benmachine: it seems that leaving a comment tag unclosed inside a <hask> breaks syntax highlighting forever. --benmachine 19:31, 9 June 2011 (UTC)

## 14 operators look like comments in syntax highlighting

Ashley,

Henk-Jan van Tuyl and myself have been discussing a teeny tiny issue with the syntax highlighter, which is that a user-defined operator beginning with the characters -- incorrectly causes the rest of the line to be formatted as a comment. This is immaterial everywhere except in the one example which is written on the wiki to show that it is not in fact a comment, which can be found at Keywords#--. What I have done there is to insert a zero-width space (a unicode character) between the two hyphens, but Henk-Jan van Tuyl reports that the zero-width space appears as a rectangle with his combination of browser/operating system. If you view an old version of the page (before my edit) you will see what the syntax highlighter was doing before that.

Could the syntax highlighter be modified so that user-defined operators beginning with -- are not treated as one-line comments, or is it not worth it? (I suppose I could take that last line out and put it in a <pre> or something.) It just bothers me that the syntax highlighter appears to be contradicting the very point that the example is trying to make.

Yours,

jalexanderdatkins 23:37, 5 August 2012 (UTC)

PS: Many thanks for everything you have done for the haskellwiki in your time. You are making the world a better place. jalexanderdatkins 23:38, 5 August 2012 (UTC)