Entry tags:
Code Tour, May 26-June 9 2011
We have a lovely code tour for your perusal this evening, with twelve marvelous bugs. Some of these are already live and some aren't yet:
Bug 2704: English-strip /poll
Category: English-Stripping
Patch by: someone who didn't close the bug
Description: There was some specifically English-language text in a place that didn't need it. Why remove it? Two reasons: So that if someone wants to translate Dreamwidth to another language, there's less English stuff hard-coded into the site for them to hunt down and change; and so that if Dreamwidth ever wants to change the wording, it will be easier for someone to change without having to have a dev come along and re-write the code. (I don't know who fixed it;
metawidget came along to take a look at the bug and discovered it was already fixed.)
Bug 3699: dw_suggestions profile still refers to http://www.dreamwidth.org/site/suggest.bml
Category: Frontend
Patch by: Bugzilla doesn't say, but presumably
denise
Description: Did you ever notice your "Post an Entry" page's URL used to end in .bml, and now it doesn't have to anymore? Similarly, the dw_suggestions profile page still had a link to the .bml version of the Suggestions form's URL. Now it doesn't.
Bug 809: popup overlaps links on create widget
Category: Misc UI/Frontend
Patch by:
metawidget
Description: For some browser/operating system combinations, the "Create Account" screen's tooltips used to cover up the links to the TOS and/or Privacy Policy, which is bad because you shouldat least pretend to read them before you agree to the terms--and it's hard to do that if something is in the way of your clicking on the link.
Bug 3688: Basic Boxes: 7 themes
Category: Style System
Patch by:
sarken
Description: Seven new color themes for Basic Boxes! Four by
nornoriel (previews are here and also more previews over here), three by
rising (previews are here), and all of them lovely.
Bug 3569: add Tumblr to ExternalSites
Category: Misc Backend
Patch by:
metawidget
Description: When this is live, you'll be able to do link people's Tumblr accounts, with a special Tumblr userhead and everything. You'd type in something like this: <user name="sometumblruser" site="tumblr.com"> and get something like this:
sometumblruser, only with a link to their Tumblr account. [I'm not sure how to do descriptive text on that image, so I'll use this space to tell you that it's the Tumblr favicon, a small stylized letter T.] Thanks to
azurelunatic for looking at the bug and pointing out that it wouldn't work til it was live (because yes, I thought I was reading the bug wrong since I tried it and it didn't work yet!)
Bug 3705: Remove references to module-photo because it doesn't exist
Category: S2 Backend
Patch by:
ninetydegrees
Description: Some CSS referred to an old module that's since been replaced. Now it doesn't!
Bug 3595: FAQ #55 should mention that the icon browser is a paid-only feature
Category: User documentation
Patch by:
denise
Description: FAQ updated--because it's mean to tell people they can do something you're not actually allowing them to do! Much nicer to say "you can do this if you have a paid account."
Bug 3597: commenting restrictions should be mentioned somewhere
Category: User documentation
Patch by:
denise
Description: Similarly, if we're not going to allow you to do something, it's much nicer if we tell you what it is and why we won't let you do it. So the FAQ on anonymous comments now explains what's not allowed in anonymous comments, and a general explanation of why.
Bug 3603: Slightly incorrect error message on Transfer Points
Category: Misc UI/Frontend
Patch by: Bugzilla doesn't say, but probably
denise
Description: If you tried to transfer points to a community, you'd get a message saying you could only buy points for a personal journal. Now it says "transfer or buy," which has the twin virtues of being more accurate and less confusing.
Bug 3694: Misc. Themes: 10 themes
Category: Style System
Patch by:
ninetydegrees
Description: Lots of beautiful themes! So many that I'm not going to link to the previews, because I very quickly got lost figuring out which ones are where. (And that happened because the title says 10 but I keep counting 11.) But if you follow this bug link, you'll find links to all these lovely themes. They were made by
nornoriel and
rising and
bindingthreads.
Bug 3691: Bases: 9 themes
Category: Style System
Patch by:
ninetydegrees
Description: Nine new color themes that
rising made for Bases. Previews, and previews, and previews, and more previews!
Bug 2397: clean up URL structure to reflect reality
Category: Modernization
Patch by: this was a meta-bug that probably had a number of people working on it over time; it was declared finished by
denise
Description: There used to be a bunch of pages whose URLs only made sense if you knew what the page used to be called. Not only could that be generally confusing, it was hard on people who thought they knew what the URL would be, because they knew the name of the page, and typed it in and didn't get to where they wanted to go. Now, while the old URLs still work--they redirect to the new ones--the pages in question have URLs that make sense with what Dreamwidth calls them!
Something I started wondering while writing this: Does using a strikethrough to say "I'm going to pretend not to say this" have any accessibility issues? How do most screenreaders interpret a strikethrough?
Bug 2704: English-strip /poll
Category: English-Stripping
Patch by: someone who didn't close the bug
Description: There was some specifically English-language text in a place that didn't need it. Why remove it? Two reasons: So that if someone wants to translate Dreamwidth to another language, there's less English stuff hard-coded into the site for them to hunt down and change; and so that if Dreamwidth ever wants to change the wording, it will be easier for someone to change without having to have a dev come along and re-write the code. (I don't know who fixed it;
Bug 3699: dw_suggestions profile still refers to http://www.dreamwidth.org/site/suggest.bml
Category: Frontend
Patch by: Bugzilla doesn't say, but presumably
Description: Did you ever notice your "Post an Entry" page's URL used to end in .bml, and now it doesn't have to anymore? Similarly, the dw_suggestions profile page still had a link to the .bml version of the Suggestions form's URL. Now it doesn't.
Bug 809: popup overlaps links on create widget
Category: Misc UI/Frontend
Patch by:
Description: For some browser/operating system combinations, the "Create Account" screen's tooltips used to cover up the links to the TOS and/or Privacy Policy, which is bad because you should
Bug 3688: Basic Boxes: 7 themes
Category: Style System
Patch by:
Description: Seven new color themes for Basic Boxes! Four by
Bug 3569: add Tumblr to ExternalSites
Category: Misc Backend
Patch by:
Description: When this is live, you'll be able to do link people's Tumblr accounts, with a special Tumblr userhead and everything. You'd type in something like this: <user name="sometumblruser" site="tumblr.com"> and get something like this:
Bug 3705: Remove references to module-photo because it doesn't exist
Category: S2 Backend
Patch by:
Description: Some CSS referred to an old module that's since been replaced. Now it doesn't!
Bug 3595: FAQ #55 should mention that the icon browser is a paid-only feature
Category: User documentation
Patch by:
Description: FAQ updated--because it's mean to tell people they can do something you're not actually allowing them to do! Much nicer to say "you can do this if you have a paid account."
Bug 3597: commenting restrictions should be mentioned somewhere
Category: User documentation
Patch by:
Description: Similarly, if we're not going to allow you to do something, it's much nicer if we tell you what it is and why we won't let you do it. So the FAQ on anonymous comments now explains what's not allowed in anonymous comments, and a general explanation of why.
Bug 3603: Slightly incorrect error message on Transfer Points
Category: Misc UI/Frontend
Patch by: Bugzilla doesn't say, but probably
Description: If you tried to transfer points to a community, you'd get a message saying you could only buy points for a personal journal. Now it says "transfer or buy," which has the twin virtues of being more accurate and less confusing.
Bug 3694: Misc. Themes: 10 themes
Category: Style System
Patch by:
Description: Lots of beautiful themes! So many that I'm not going to link to the previews, because I very quickly got lost figuring out which ones are where. (And that happened because the title says 10 but I keep counting 11.) But if you follow this bug link, you'll find links to all these lovely themes. They were made by
Bug 3691: Bases: 9 themes
Category: Style System
Patch by:
Description: Nine new color themes that
Bug 2397: clean up URL structure to reflect reality
Category: Modernization
Patch by: this was a meta-bug that probably had a number of people working on it over time; it was declared finished by
Description: There used to be a bunch of pages whose URLs only made sense if you knew what the page used to be called. Not only could that be generally confusing, it was hard on people who thought they knew what the URL would be, because they knew the name of the page, and typed it in and didn't get to where they wanted to go. Now, while the old URLs still work--they redirect to the new ones--the pages in question have URLs that make sense with what Dreamwidth calls them!
Something I started wondering while writing this: Does using a strikethrough to say "I'm going to pretend not to say this" have any accessibility issues? How do most screenreaders interpret a strikethrough?

no subject
no subject
no subject
(I'm not sure, but I think most screenreaders read strike-text in a different voice, the way they do with emphasis and strong text? Someone else who knows better will be able to say with more authority, though.)
no subject
http://webaim.org/discussion/mail_thread?thread=4464
VoiceOver
no subject
no subject
<strike></strike>:Re: attaching hover text/alt text for accessibility to images (which is what I think you might want for the Tumblr icon?). Your code should look like this:
<img src="http://www.tumblr.com/favicon.ico" alt="tumblr icon" title="tumblr icon"><b>sometumblruser</b>no subject
And thanks for the image link information. It was something I knew I could look up, but I didn't have the oomph to do it right then. It's handy to know! :-)
no subject
no subject
(In this case, the unknown-people were a) someone who English-stripped /poll and related files as part of another project and didn't know there was a bug open to English-strip it, and b) me, making a change to the userinfo of an official journal and then closing the bug, so that isn't even something that goes through Mercurial in the first place!)
no subject
As
no subject
The "blame" thing is a kind of joke of course, one that was apparently funny enough to be used in multiple version control systems. Subversion (another geeky joke!) has it, Git has it, and Mercurial, but CVS and Monotone don't. I'm not familiar enough with any others to say anything about those.
no subject
[Awesome code tour,
no subject
And that may because one was moved to another bug later on so it didn't get patched! :)
no subject