Aug 212012
 

We’ve pushed a new code update to the MDN wiki system! This is a fairly small update in terms of the number of changes, but some of them are really great to have!

  • You may now add a revision note when saving changes; these notes appear in the revision history for the page. I’m so happy to have this feature back!
  • Fixed a bug that prevented you from doing two revision comparisons in a row.
  • Fixed some skin bugs to make the content more consistent.
  • Fixed a case in which ARIA @ROLE was used incorrectly.
  • The base JavaScript files used by the site (for Persona and for the “Tabzilla” interface in the page header) are now marked as being allowed to run asynchronously. This will hopefully improve performance, at least slightly.
  • The “Report a Bug” button has been removed; we’ve been overwhelmed with reports and need time to wade through them!
  • The links for Persona have been updated from the now out-of-date browserid.org addresses we were using.
  • Spaces are no longer accepted in slugs; they were breaking pages (and weren’t meant to be allowed in the first place).
  • The localization update needed RSS feeds now include a link to the diff so you can see what changed in the English version of the page.

In all, a few very useful changes and a lot of minor bugs fixed. Not bad, considering it’s only been a couple of work days since our last update!

It’s interesting how everyone on the Kuma team is so excited about our progress that we enjoy sharing the fixes as quickly as we can! Expect more soon!

 Posted by at 8:01 PM  Tagged with:
Aug 162012
 

This evening we pushed a new update to MDN’s Kuma wiki platform! That’s right, twice in one week! Let’s take a look at what’s new tonight.

RSS feed improvements

We’ve made a bunch of improvements — and additions — to our RSS feed offerings. You can see our updated RSS feed documentation for details.

  • We now have new RSS feeds that list the documents in your locale whose original language’s content has changed. For example, if en-US/docs/CSS/color changes, the new l10-updates feed for other locales will tell you so. This should be a huge help for localization teams!
  • Feeds are now filtered by locale, so you can see changes in just the locale that interests you.
  • You can still get a feed that lists changes in all locales, using the new ?all_locales option on your URL.
  • The publication date for each entry in the RSS feeds is now the article’s modification date instead of the date at which the latest revision was created.
  • A bug causing all links in feeds to be in the current request’s locale instead of in the locale corresponding to the item has been fixed.
  • The maximum number of items reported by each feed is now 100 instead of 15.

There’s a lot more we’re going to be doing with the RSS feeds, and hopefully you’ll see further improvements in this area next week.

Editor enhancements

In addition, we’ve made some enhancements to the editor and page management functionality.

  • When you try to leave a page that you’ve edited content on (for example, by clicking the Discard button), you now get an alert warning you, instead of just losing your changes.
  • The style drop-down box has been resized to fit its contents better.
  • A bug in the revision history page that caused an error if you forgot to choose two versions before clicking the “Compare Revisions” button has been fixed.
  • Fixed an overflow glitch on localization editor pages.

Content handling improvements

There have been some improvements to the handling of certain types of content as well.

  • The following elements are now allowed; previously, they were being filtered out: bdo, del, ins, kbd, samp, and var.
  • A bug has been fixed in parsing of JSON argument strings in templates.
  • Fixed a KumaScript bug that was causing truncation of unquoted numbers at the decimal point, if one was present.

That’s it!

That’s it for this update. This is a lot of nice stuff, and, again, is our second upgrade in a week. That’s just awesome! Well done, guys!

 Posted by at 9:25 PM  Tagged with:
Aug 142012
 

We updated the MDN wiki software today. Let me give you an overview of the changes, most of which are not immediately obvious, but several of which are really important.

Before I do that, however, let me mention this: one big advantage to the new Kuma platform we’ve built is that we can push new versions very quickly and easily. Once changes are in and reviewed, the site can be updated in just a couple of minutes. This is a big win for us; we can identify and fix bugs quickly, and update the production site in a matter of minutes after the testing is finished. Indeed, there may be weeks in which we update the site several times, just because it’s easy to do. The exact pace at which updates occur will of course depend on exactly what’s changed and the risk/benefit ratio.

OK, on to what’s new!

Changes in this update

  • We fixed a security risk by upgrading to a newer version of CKEditor.
  • The style drop-down now offers an option to mark the selected text as being the Search Engine Optimization (SEO)  summary for the article. This text, which is given the class “seoSummary”, is reported to robots crawling the site as the summary of the article. This lets you choose the best possible text as the article’s summary to improve its SEO. By default, the first paragraph is used; however, this is sometimes not useful text. See the screen shot below for an example:

 

SEO summary example

  • Once you’ve selected a summary block, it looks like this in the editor, so it’s easy to spot:

Screenshot of what the SEO summary looks like in the editor

  • Editing translations no longer causes the table of contents for the page to vanish into oblivion.
  • Modernized the character set metadata in the HTML header block.
 Posted by at 3:35 PM  Tagged with:
Aug 022012
 

That’s right! We’re finally ready to throw the switch! Tomorrow (that is, Friday, August 3, 2012) we intend to switch from the current MindTouch-based wiki to our new Kuma platform for the Mozilla Developer Network wiki. The changeover should happen at about 10:00 AM Pacific Daylight Time.

At that time, there should be, at most, a few moments of downtime, then the site should be running on the new system.

A few things you might need to know:

  1. There’s lots more stuff we’re planning to do to make Kuma even better than it already is. You may even notice some stuff that isn’t done yet. However, weeks and weeks of testing have told us that it works very well, so we decided it was time to go ahead and launch.
  2. We have updated documentation for using the wiki that you might like to look over, as well as an updated Editor guide.
  3. Things are different! You will run into stuff that doesn’t work the way you’re used to. It should look pretty familiar, by and large, though, and most people won’t notice the changes unless they look closely.
  4. There’s a big “Report a bug” button at the top-right corner of the window. Please use it! Any time you have a problem, concern, see something that looks wrong, or have an idea for a brilliant way to improve the system, click it and follow the handy wizard that will help you file your bug. We want the MDN wiki to rock, and you can help make it so.

We will be sharing additional information about where we are and where things are going over the next week or two, and, of course, for the foreseeable future as we continue development. Indeed, the MDN development team is getting together for a week of meetings next week to rehash processes and sort out priorities for what to work on next.

 Posted by at 7:44 PM  Tagged with:
Jul 052012
 

We had originally planned to switch all MDN editing to our new Kuma wiki platform effective today. However, after our go/no-go meeting, we decided that we have a couple of issues that need just a little more baking time before we throw that switch. For that reason, we’re going to hold off until Monday, July 9th to do the switch. We could technically be ready to do it tomorrow, but Friday is pretty much the worst time to do a major launch.

In particular, we want to be sure the new code for handling attached files (viewing only, no new attachment adding for now) is working. It hasn’t even landed yet, but will later today. There are also a couple of caching bugs we need to clear up.

This has the added advantage of giving our scripting team more time to update templates to work on the new platform.

We will then launch Kuma for all users on the following Monday, July 16th. Our development team will iterate rapidly for the next couple of weeks, fixing bugs, adding features, and pushing those changes to the live site as quickly as possible. After that, the entire development team will take a much needed break before returning to a more normal sprint model of pushing updates every two weeks.

We are tantalizingly close to launch now! Things are genuinely coming together; feel free to drop into #devmo on IRC and ask around. Our team seems to be genuinely enthusiastic about our new platform!

 Posted by at 4:54 PM  Tagged with:
Jun 292012
 

Kuma, the new wiki platform Mozilla is building for the Mozilla Developer Network, is going to be deployed in stages starting on July 5th. As I mentioned yesterday, that day we will direct all attempts to edit the site to the new Kuma site, while viewing will continue (by default) on the current one. Then on the 15th, we will begin directing all traffic to Kuma instead, and it will become the new powerhouse driving developer.mozilla.org.

However, we haven’t really shared a lot of details yet about what features you can expect from the new site. Let me start to fix that! I’ll be blogging over the coming days about the new stuff you’ll see.

First, let me begin by saying that the site will look very familiar if you’re reading it. Indeed, as a typical user, you may not even notice any difference! It’s possible that you may find the occasional glitch, where something hasn’t been updated fully to work correctly on the redesigned site. But we’ll be continuing to work on cleaning those things up.

Indeed, it’s worth keeping in mind that our development team will continue to improve Kuma at a rapid pace over the weeks and months following our launch!

Okay, on to a few of the things that typical users will see.

Reviews

First off, you may find pages with banners at the top that look like this:

An example of what the review needed boxes look like

That’s because we now have a more formal system of requesting technical and editorial reviews. Whenever a user edits an article, there are checkboxes that they can use when submitting their change to request that someone review the content; this replaces our old system of using “NeedsTechnicalReview” and “NeedsEditorialReview” tags (although those tags have not yet been converted to use the new system).

If you review a page, you can simply turn off the appropriate checkbox on the edit page and save the page. Boom! It’s reviewed!

Contributor list

The only other really obvious change is that at the bottom of the page, you’ll see a list of all the people who have contributed to the article! This little tip-of-the-hat to our community is fantastic! Clicking on the username takes you to their MDN profile page.

More news to come!

Other than these changes, you probably won’t see much difference. There aren’t as many options in the drop-down menus right now, but that will change as our feature set expands. The real changes are going to be visible to our writers and localizers. I’ll be talking about those changes starting tomorrow.

 Posted by at 12:51 PM  Tagged with:
Jun 272012
 

Hopefully by now you’re aware we’re switching to a brand new, Mozilla-built wiki platform for the Mozilla Developer Network. The new site will launch in mid-July, and we’re incredibly excited about it!

As part of the launch process, we’re going to begin directing all editing of content to the new wiki starting on July 5th. That means any time someone tries to edit a page, they will actually go to the new site and edit that instead. No editing of the current, MindTouch powered site will be possible from that time on.

The current site will remain in place for the time being, and viewers will see that rather than the updated content. However, each page will include a banner explaining the situation and offering a link to the equivalent page on the new wiki, for people that want to view the very latest content.

On the weekend of July 7-8, we plan to have a very structured test program, led by Mozilla’s brilliant QA team. We will be inviting community members to participate actively, to help ensure that the new site is ready for action.

We continue to expect to launch the new site on or around July 15th, directing all traffic there.

Watch this space for further announcements. We’re getting close now, and we’ll need your help to get there!

 Posted by at 1:17 PM  Tagged with:
Jan 202012
 

During the Engagement team work week last week, the four on-staff Mozilla developer documentation writers (myself, Janet Swisher, Jean-Yves Perrier, and Will Bamberg) had a sit-down to talk. This was a big deal since it was Jean-Yves’s first time meeting with us in person since joining Mozilla on December 1, and Will’s first time meeting with us since he’s been largely off doing fairly separate stuff documenting the Jetpack SDK.

We had a long discussion about a wide variety of things, and I figured I’d blog about it, to share those ideas and thoughts with the wider Mozilla community — and to flesh out the ideas from the outline format I took the notes in.

Today, I’ll be sharing the results of our discussion about the impending Kuma migration and what will come next.

Scripts and templates

The next Big Thing that needs to happen in Kuma’s ongoing development process is to implement support for the type of scripted templates we use pretty frequently on MDN. One of my goals for when I resume work after this week I’m taking off (I do so love scheduled automated posting in WordPress) is to go through our existing templates and figure out the types of things we need to be able to do, to get those prioritized for the development team.

It’s almost certain that we’ll be using server-side JavaScript rather than the Lua-derived DekiScript language currently used by MDN’s MindTouch based wiki. That means we’ll need to update our existing templates. It’s possible some sort of automation might be done for that, but realistically, I don’t expect that to happen (and if it does, there will certainly be a need to review and hand-tweak stuff in at least some cases).

That said, this will be a great opportunity to look at all our templates, figure out which ones we don’t really use anymore, and get rid of them. In addition, we can clean up existing templates to work better, be smarter, and integrate localization support in templates that don’t currently have it.

Future development

We need to be ready for the future. The initial deployment of MDN on Kuma will not have all the features we want. Indeed, it won’t even have all the features we already have, although it should have most of the ones we use regularly. As such, we need to be sure we have bugs filed to give the development team a solid set of things to be done going forward.

Among other things, we’ll want to be able to have live examples embedded in documentation, so you can see how things work without having to click a link to a separate page. These should support HTML, CSS, JavaScript, and all the web goodness we love so much.

We need support for server-side components, so that examples for XMLHttpRequest, WebSockets, and the like can be run without needing to host stuff outside Mozilla’s servers.

We’d like features to make it easy to integrate documentation content with IDEs and other utilities, as well as to make it easier for scraping tools to peel out content to present in other formats.

We want offline access to the content, either by publishing sections of the site as PDF or by making it easy to download chunks of the site in HTML form.

We need good localization tools, such as dashboards of content in need of translating, support for comparing the English and translated versions of a page to find the areas that need reviewing, and so forth.

Let’s make it happen!

We’ll be making sure we have a prioritized set of features to guide the developers toward making Kuma a platform that serves our needs as well as possible. If you have ideas for features the Kuma platform could have to make our lives better, please share them.

This is our chance to have as near-perfect a platform for our documentation as possible! It will take time to get there, but we’ll do our best to make it happen!

 Posted by at 9:00 AM  Tagged with: