Mozilla Latest Version - my first project dedicated to Mozilla
Mozilla Latest Version (shortly Mozlv) was my first project I have written entirely because of Mozilla. It’s a WordPress plugin to get the latest version number of Firefox/Thunderbird/SeaMonkey and the corresponding links for download or release notes. Currently it loads data from ship-it (product-details.mozilla.org), but it existed even before ship-it started to export this data to public. And at this moment, I am giving Mozlv some love again. ;)
It all started at the beginning of 2015, few months after Pavel Cvrček (JasnaPaka) outlined and kicked off the so called “Mozilla.cz restart”. We have reviewed all the content on the Mozilla.cz website (OK, it was mainly done by Pavel), reduced it and redirected outdated pages to SUMO articles and other appropriate sites, that were update regularly. We have also replaced the old Mozilla Europe like looking theme for customized One Mozilla design. But despite making the whole website look new and shiny, we were still left with one big problem under the hood. The problem was in new Firefox versions being release every ~6 weeks. Each time a new version of Firefox or Thunderbird had been released, we needed to put it into WordPress. Of course, we had some plugin to update all the download links and version numbers across all pages, but we needed to watch the new releases on our own and paste them into the fields in administration.
Luckily we have realized soon there are several JSON files on mozilla.org and svn.mozilla.org containing exactly the information we needed. March 2015 was the month when Mozlv was born. It took me actually many hours, because PHP was my greatest enemy back then. :D After I have finished the plugin, there were no earth-shaking changes there. Yes, Firefox for Android and iOS were added, yes, ship-it replaced files placed on the svn server, but there were no bigger features, not even needed. Most of my commits were about fixing breakages.
About a week ago, you may have noticed, that I have added few commits and released version 2.0. “Oh, new major version! There must be plenty of new stuff there, right?” No, there is not, but I have been pretty lazy in bumping the versions in the past, deploying individual commits to Mozilla.cz. Making 2.0 sounds appropriate to me when there is a version actually working after so long. And this time Mozlv will hopefully serve another “community restart” - Mozilla.sk. In Czech Republic we see Slovakia like our brothers. I am helping for some time to revise the content and soon we want to pick a new Mozilla theme too. But there will be one more thing… you are right… updates of Firefox download links. The difference from Mozilla.cz is, that on Mozilla.sk we want to not just switch to Mozlv, but also display an archive of previous Firefox releases. That’s something not implemented in the plugin and I hope to find some time to do it this autumn. And as a bonus, I have discovered there is an AMO JSON API, that would allow us to display information about features extensions from AMO too!
Mozlv is my first project and after more than two years, I am surprised the code is still used somewhere, even more it seems to get extended by two quite big features soon and be deployed to a new website. If you run a community website on WordPress and deal with updating Firefox versions manually, try Mozilla Latest Version. The code is available on GitHub and if you encounter any issues with deployment, feel free to get in touch.