Make WordPress.org

Tagged: make Toggle Comment Threads | Keyboard Shortcuts

  • Jen 6:31 pm on August 21, 2014 Permalink |
    Tags: make, site deletion   

    @otto42: Can you get rid of the make.wordpress.org/events blog? We pushed it into /community a long time ago, but the site is still there, and people still wind up there and leave comments that no one responds to.

  • Jen 7:10 pm on January 8, 2014 Permalink |
    Tags: accessibilty, make, tinymce   

    The accessibility team needs a plugin for their site that will allow them to create tables for displaying tabular data/content in their accessibility reports (pages). I know TMCE has a table builder that we could add, but what I’m not sure about is if it creates accessible tables.

    1. Getting tables on there at all: better with a plugin that’s already out there, or better to write a one-off that just adds that one thing?

    2. Once the options are identified something in place, @accessiblejoe can take a look at the table output to see if it’s accessible of if we need to write an add-on to make it that way.

    • Kim Parsell 7:14 pm on January 8, 2014 Permalink | Log in to Reply

      Has anyone looked at TablePress? https://wordpress.org/plugins/tablepress/ Not sure about the accessibility of the output, but it’s a possibility.

    • Andrew Ozz 7:47 pm on January 8, 2014 Permalink | Log in to Reply

      Generally TinyMCE has very good accessibility. We can add the ‘table’ plugin to it quite easily. However not sure about “creating accessible tables”: are there any special requirements apart from the standard HTML?

      Looking at the tablepress plugin, it’s huge and pretty complex, and seems to offer a spreadsheet-like features when editing a table (formulas and what-not). Is that needed?

      • Jen Mylo 8:25 pm on January 8, 2014 Permalink | Log in to Reply

        Nope, we just need basic tables. Accessibility centers on the table elements being properly labeled. Joe can talk to you about it, linking him here.

      • Sam Sidler 6:24 am on January 13, 2014 Permalink | Log in to Reply

        Can we add it to core as part of 3.9? The make blogs run trunk, so that’d enable it by default; but there was also discussion of it being in core anyway, now that we can.

    • Rian Rietveld 8:31 pm on January 8, 2014 Permalink | Log in to Reply

      Maybe in this discussion there are two different issues; is the output accessible and can a table be added by someone using only a keyboard.

    • Joseph Karr O'Connor 5:31 am on January 9, 2014 Permalink | Log in to Reply

      Rian is correct, there are two different types of situations involved with admin pages. We use WCAG 2.0 AA guidelines for web pages and ATAG AA guidelines for web applications. In both, keyboard accessibility is required. Jen suggested that I post a link to info about accessible tables, here it is: http://webaim.org/techniques/tables/

  • Jen 4:46 pm on October 23, 2013 Permalink |
    Tags: , events, , make   

    A while back on September 11, @andreamiddleton tried to import the /events blog into the /community blog since we were merging teams. She hit a bug/error/some kind of blocker in the import and reported it. @nacin and @otto42 said they’d look into the weird encoding issues. It wasn’t a priority, sure, but in the meantime we’re double-posting stuff and we still haven’t truly merged the groups. Could someone see if this can be figured out?

    • Samuel Wood (Otto) 4:51 pm on October 23, 2013 Permalink | Log in to Reply

      I’m uncertain how to do that importing myself. Nacin said he knew what that involved, but I’m unclear.

      I was never able to sort the encoding issues or duplicate them on a local setup. So no fixes from this end at present. I’m sure that if they happen again, we can sort them out with some database jiggery-pokery on a one-time basis though.

      • Jen Mylo 5:01 pm on October 23, 2013 Permalink | Log in to Reply

        I just tried to do the import again, because I don’t want to add something else to nacin’s plate. Asked him about this a few days back in skype and he didn’t reply, so am figuring 3.7 is all-consuming.

        Multiple errors, and now things are imported with the wrong author again, but I’d rather have to manually adjust them than let it drag out.

      • Jen Mylo 5:35 pm on October 23, 2013 Permalink | Log in to Reply

        Dunno if this will help or not, but in doing the manual reassigning of authors, one of the bugs I’m seeing is that when a post starts with a sentence containing an em dash, p2 made that line the post title on /events, and then didn’t know how to deal with it on import, so it created a blank post (permalink and comments, but no title or post content).

      • Jen Mylo 7:29 pm on October 25, 2013 Permalink | Log in to Reply

        I manually updated the authors on the imported posts. The only thing that doesn’t update is the gravatar, because it’s saved based on the original email, it doesn’t seem to refresh the gravatar link when author/email is updated (should we make a ticket for core so that it does?).

        I think we’re ready for you to redirect /events to /community.


  • Jen 4:11 pm on October 23, 2013 Permalink |
    Tags: , make,   

    @otto42: @iandunn posted a plugin on trac for the /community team site 5 weeks ago. Could that get added, or if it’s not ready could you tell him what he needs to change? It’s a bottleneck for some stuff we want to do on our team site to make it easier for groups working on separate projects. Thanks!

    • Samuel Wood (Otto) 4:15 pm on October 23, 2013 Permalink | Log in to Reply

      I’ll take a look at it. First I’ve seen it.

      If you need something like this, don’t hesitate to tell me about it before it becomes a bottleneck.

      • Jen Mylo 4:18 pm on October 23, 2013 Permalink | Log in to Reply

        Awesome, thanks! @iandunn said he was just waiting for you to commit it, so I thought it was in a review queue. Fast forward past a couple of WCs, Automattic meetup, miscellaneous catchup, and I noticed it still wasn’t there. Not a big deal, just wanted to make sure you’d even seen it.

        When something gets posted to trac that needs review, would it be helpful to post a note about it here, or is the trac notification normally enough?

        • Samuel Wood (Otto) 4:45 pm on October 23, 2013 Permalink | Log in to Reply

          The trac notification is not really enough. If something is holding things up and needs eyeballs and a commit, let somebody (me, Sam, etc) know directly… For now. Until we work out the process better.

          I troll through meta from time to time looking for things to finish up, but if I’m not actually CC’d on something, I’m probably not getting emails or notifications about it right now.

          • Jen Mylo 4:47 pm on October 23, 2013 Permalink | Log in to Reply

            I think Ian mentioned it to you in a skype chat, but we should all be better about posting notes here to keep a record. @iandunn: For future stuff, can you also post here and do an @otto42 mention in the post so he’ll be sure to see it? Thanks!

            • Ian Dunn 4:50 pm on October 23, 2013 Permalink

              Otto: Ah, my bad, I assumed you were subscribed to the mailing list and saw everything.

              Jen: No problem.

  • Andrea Middleton 4:10 am on September 11, 2013 Permalink |
    Tags: , make   

    Today I imported all make.wordpress.org/events posts to make.wordpress.org/community. This resulted in three unexpected results.

    1.) I chose to import users from /events, but those users don’t seem to have been imported. (I added heatheracton and adavis3105 as a test for the second issue.)

    2.) Comments made by authors on /events are now showing my Gravatar and, when you click on their names, connect to my wporg profile. For example, Heather Acton’s comment here. A close up: http://cl.ly/image/2d05343x101V

    3.) There seems to be a character encoding issue on imported content: http://cl.ly/image/2q2I1D1d3q0t

    Help me, meta team, you’re my only hope. :)

    • David Laietta 11:33 am on September 11, 2013 Permalink | Log in to Reply

      Hi Andrea, did you have to split the XML file into multiples? I’ve gotten issues importing authors before when that has happened. Also depends if there is a lot of media making the file larger. I’ve had several issues with the importer, and I see that it’s not a single issue:


      Dunno how /community is being set up, but can the proper tables from the DB be imported directly, then cleaned as needed?

    • Andrew Nacin 2:30 pm on September 11, 2013 Permalink | Log in to Reply

      All of this content will need to be deleted from /community and re-imported using the special WordPress.org importer.

      We’ve seen these encoding issues before on import and I don’t actually know what is going on, but we need to figure it out.

      Can we delete the imported /events content from /community and hold off on the merge until I can sit down and do this later this week? Also so I can properly shut down and redirect /events.

    • Samuel Wood (Otto) 2:55 pm on September 11, 2013 Permalink | Log in to Reply

      Oof.. Yeah, kinda wish you had not done that. Still, it’s only 81 posts, so we can delete them without too much effort. :)

      I’ll look into the encoding issues. Nacin has disabled importing on the make sites to prevent this sort of accident in the future. We’ll figure it out. 😀

    • Samuel Wood (Otto) 3:21 pm on September 11, 2013 Permalink | Log in to Reply

      Okay, I manually deleted the posts on /community to remove these bad imports. I’ve left them in trash for the moment though, so if I was overzealous in my deletes then we can get them back.

      Meantime, I also grabbed a copy of the export from /events and will look at the encoding issues on the importer. Character sets are annoying.

  • Samuel Wood (Otto) 11:27 pm on April 3, 2013 Permalink |
    Tags: make,   

    Time Shortcode for Make P2s 

    A couple of weeks ago, Siobhan pointed out to me the difficulties in talking about times for IRC meetups on the various P2 blogs. She suggested a shortcode to make it easier to specify times.

    So I wrote a first draft of a shortcode to make this a bit easier. It’s not perfect, but I figured to go ahead and tell people now, so that you all could go ahead and start banging on it and telling me what the problems are.

    Usage: [time] some-time-format-here [/time]

    By “some-time-format-here”, I’m being a bit generous. You can use pretty much any time format you can think of and it will attempt to figure it out. With extra emphasis on “attempt”.

    Stuff like this all works:

    • March 30, 2013 1pm UTC
    • April 4th at 1pm
    • April 4th around 1pm
    • April 4th 2012 1pm
    • next monday 1pm CDT
    • 1pm UTC

    Now, a few important points:

    • If you don’t specify a timezone, you’ll probably get UTC. This is just for now, until I work out a better way.
    • If it can’t figure it out, you’ll notice no change in your text. Hopefully.
    • If it gets really confused, it’ll probably say January 1st, 1970. :)
    • “Absolute” times are more likely to work than “relative” ones. Give a date, and year, and time, and timezone, and you’ll probably be good.
    • Timezones matter in terms of daylight savings. GMT is not the same as BST (British Summer Time).

    So, what’s the point? Well, if it can figure out what time you meant, then it’ll encode that and a bit of Javascript will then localize that time to the viewer of the make P2 in question on load, assuming their browser knows what timezone they’re in.

    So when I post “April 3rd, 2013 6:30pm CDT” (my current time) in the time shortcode, it’ll show this instead: April 3rd, 2013 6:30pm CDT. What you see there depends on where you live.

    Hopefully this will make it somewhat easier to schedule IRC meetups and such. Let me know when (not if) you break it. Happy to iterate.

    • Jerry Bates (JerrySarcastic) 11:37 pm on April 3, 2013 Permalink | Log in to Reply

      Awesome! Thanks Otto!

    • GaryJ 1:23 am on April 4, 2013 Permalink | Log in to Reply

      GMT isn’t scientifically defined, but glad to see a move to UTC output, the world standard for time since 1972…

    • Paul 10:40 am on April 4, 2013 Permalink | Log in to Reply

      you don’t know how helpful this is! thanks

    • Edward Caissie 1:27 pm on April 4, 2013 Permalink | Log in to Reply

      … and where do we get a chance to look at the code directly? Sorting out the reader’s time is something that is haunting me in a plugin I have that uses dates extensively.

      Being able to present different “content” based on the reader’s time would be extremely useful code to “borrow” 😉

      • Samuel Wood (Otto) 1:33 pm on April 4, 2013 Permalink | Log in to Reply

        Ain’t nothing magical to it. I’ll send you a copy if you want.

        But basically, it first runs the time you give it through strtotime() with the post-date used as the “now” parameter, for handling of relative times. If that fails, then it uses date_parse() to try to figure out what time info you gave it, and the post-date to fill in the gaps. This lets it handle more types of relative times. Eventually, it gets an absolute time, hopefully. Then it returns the string with a time microformat wrapped around it, that looks like this: abbr class=”date” title=”2013-04-03T23:30:00+00:00″. It also returns it with the link to timeanddate.com.

        Next, it inserts some javascript code into the footer of that page that searches for those abbr date items, parses that title into components, and uses the javascript Date object to convert that from UTC into the browser’s local time. The JS does the replacement of the string in the abbr into the localized time string. The plugin never needs to know the browser’s time, the JS code handles that.

    • Jen Mylo 1:10 am on April 20, 2013 Permalink | Log in to Reply

      This sounds so scary to me after 5 years of dealing with time zones and travelers and proxies in the wordpress community. Will there be any indication that the time being displayed is a magic shortcode-determined time, or will it look like plain text? Maybe we could style it differently so it’s clear when it’s in use?

      • Samuel Wood (Otto) 2:39 am on April 20, 2013 Permalink | Log in to Reply

        It is styled differently. Look at use of it in the post above. It’s got those dotted lines under it because of the abbr tag, it links to the timeanddate.com automatically.. When you hover over it, you’ll see the UTC version of the time. It’s fairly obvious, I’d say.

        Also, it’s totally optional. If you don’t want to use it, don’t use the shortcode. I made it non-automatic for just this sort of reason. But I think it’s pretty robust, honestly. Try it out if you like. It works in comments too. :)

    • Ulrich 9:01 pm on April 22, 2013 Permalink | Log in to Reply

      This time is being shown wrong in my timezone. I think it is to due with the daylight saving time. It should be 22:00.

      • Samuel Wood (Otto) 9:07 pm on April 22, 2013 Permalink | Log in to Reply

        No, it’s correct given what she wrote. She actually wrote the time in the shortcode as “18th April, 20:00 BST”. Thing is, “BST” (British Summer Time) is not the same as “UTC”.

        It’s a quirk of people in England, I think. They always seem to call their time “UTC”, even when it’s not.

        But it is converting correctly, given the time in the shortcode itself. Gotta put the right time in it to start with.

      • Samuel Wood (Otto) 9:15 pm on April 22, 2013 Permalink | Log in to Reply

        A simpler way of dealing with timezones is simply to learn what “Zoneinfo” style timezone you’re in and use that all the time. Then it deals with daylight savings automatically.

        I’m in the “America/Chicago” timezone. So I can do this:

        Original: April 22, 2013 4:14pm America/Chicago

        Shortcode: April 22, 2013 4:14pm America/Chicago

        Much easier.

    • Courtney Engle Robertson 3:19 pm on October 1, 2015 Permalink | Log in to Reply

      @otto42 I just saw this post. I’m working on the sidebar widget for https://make.wordpress.org/training. I want it to show that we meet Tuesdays at 17:00 UTC converted to whatever local time is for people. We stick to UTC for our meeting times. But – [ time ] Tuesday 17:00 UTC [ /time ] defaulted to Sept 8 for the output today, as did “Tuesdays”

      • Courtney Engle Robertson 3:20 pm on October 1, 2015 Permalink | Log in to Reply

        hahaha… [ time ] Tuesday 17:00 UTC [ /time ] or bracket time bracket Tuesday 17:00 UC bracket /time bracket

        • Samuel Wood (Otto) 3:22 pm on October 1, 2015 Permalink | Log in to Reply

          Yeah, you can’t use it for repeating dates and times, only for absolute ones. Basically, it’s trying to figure out an exact date and time from your text. “Tuesdays” is not absolute, it’s any given Tuesday. Without having an exact value, then it can’t do any sort of conversion.

        • Samuel Wood (Otto) 3:30 pm on October 1, 2015 Permalink | Log in to Reply

          Cancel that, it appears somebody made a modification to the time shortcode since I last looked at it. Use [ time relative ] for the code.

          [ time relative ]Tuesday 17:00 UTC 2015[ /time ]


          Tuesday 17:00 UTC 2015

          So that would be good for “Next meeting” or something like that. make/core uses it in this way, in their sidebar.

  • Jen 7:44 pm on February 19, 2013 Permalink |
    Tags: make   

    Make and Learn networks: both running 3.6 alpha, but show ‘update network’ alert in all admin screens. Any way to turn that off?

  • Jen 3:27 pm on February 2, 2013 Permalink |
    Tags: authors, make   

    AddedInvited George to this blog with posting privs so he can post stuff including images around the sites that he’s working on here with us.

    Otto: The make network is set up so that adding a user can’t be done without the confirmation email. Can we reverse that, or at least turn on the option? A lot of times the emails seem to not get there.

  • Jen 4:49 pm on January 29, 2013 Permalink |
    Tags: make   

    @otto42: Could you add in a menu under the header to the spinoff of p2 you are running for the make sites? Working on a new theme for make sites in general, but in the meantime this would make it easier for teams to use a custom menu to organize stuff without adding more noise to the sidebar.

    They added a menu like this to Mike Admas’s team’s p2 at Automattic:
    Screen shot 2013-01-29 at 12.19.00 PM

    Tacked on top of content area like that and just using the standard colors/fonts already in this theme would be great.

    p.s. autocomplete for author mentions doesn’t seem to be working?

    • Jen Mylo 4:49 pm on January 29, 2013 Permalink | Log in to Reply

      Not sure why that image won’t show.

    • Samuel Wood (Otto) 5:16 pm on January 29, 2013 Permalink | Log in to Reply


      • Image has no src there, so not sure what the image is supposed to be.
      • Autocomplete works fine if you let the javascript load. Right now this is a minor https related problem on the make sites. Fixable though.
      • Jen Mylo 5:22 pm on January 29, 2013 Permalink | Log in to Reply

        I must be having js issues on this site, since the image got uploaded, autocomplete not working, when I hit post or reply I get an AYS about leaving the page, and even though I keep unchecking the Notify me of new posts by email, with every post I get an email to confirm a new subscription. Not happening on the other make sites, just this one.

    • Samuel Wood (Otto) 5:21 pm on January 29, 2013 Permalink | Log in to Reply

      NM, found the image.

      Yes, adding a custom menu space should be easy enough.

      • Jen Mylo 5:23 pm on January 29, 2013 Permalink | Log in to Reply

        Great, thanks!

        • Samuel Wood (Otto) 5:27 pm on January 29, 2013 Permalink | Log in to Reply

          @jenmylo Actually, turns out that there already is a custom menu space there, it’s just unstyled. Make a new custom menu and set it to “primary” and add whatever you like. Then I can add additional styling rules to make it look prettier.

          • Jen Mylo 6:02 pm on January 29, 2013 Permalink | Log in to Reply

            Cool, they must have added it and I never noticed, sorry for bothering you. No need to bother with styling, since working on a new theme anyway. Added it on the /community site and yeah, it’s not the best looking thing I’ve ever seen, but it really doesn’t need to be. :)

  • Jen 4:48 pm on January 29, 2013 Permalink |
    Tags: make, plugins   

    Asked @coffee2code to add grunion-postify plugin by @kovshenin to the make network and enable for all sites. It’s just a v1, but will allow us to add “Ask a Question” contact forms on each site (using jetpack) and then let a team author turn into a Q&A post from the feedbacks admin screen.

compose new post
next post/next comment
previous post/previous comment
show/hide comments
go to top
go to login
show/hide help
shift + esc
Skip to toolbar