So the Debian wiki's been around for 25 years, but no-one thought about licensing when it was started. There have been a few short email threads over the years on this topic, but nothing actually happened. Now, since gears are turning on moving the wiki to MediaWiki, we're finally trying to fix the licensing issue... yay us! (Sarcasm.)
Background
The wiki started in 2001 running under wiki.debian.net, which used a custom licence with the bare legal minimum to allow content to go on the wiki. As you can probably tell, this is not a "free" licence with respect to the Debian Free Software Guidelines.
For those who don't know, the Debian Free Software Guidelines (DFSG) define whether a given piece of software (or in this case, adapted to writing and media works) is "free" as in freedom. You may be more familiar with the Open Source Definition, which was adapted from the DFSG.
In 2005, wiki.debian.org was established running MoinMoin, the software that it still uses today, and content was imported from wiki.debian.net. At this time, Jonathan Dowland raised concerns on the lack of licensing terms on the new MoinMoin installation as well as the copyright status of the content being imported, but it happened anyway. As he puts it, "the question is now whether the material on this site is DFSG at all and if it ever will be." Currently, the Debian wiki is the biggest wiki on the internet that uses MoinMoin according to Steve McIntyre during DebConf25.
So now it was going from custom licence to no licence at all. At that time, someone suggested the wiki used the GNU Free Documentation Licence (GFDL), before Steve corrected it.
Since then, people have been editing and contributing to the wiki, growing it as an essential, if sometimes messy, resource for information about Debian. Now it's not as beautiful or well organised as, say, the Arch Wiki, but content like the page on installing Nvidia graphics drivers or the page on installing Debian have helped likely hundreds of thousands, perhaps millions, of people according to data Jonathan collected over two months. Take that with a grain of salt though as AI scrapers have skewed these counts recently.
Yet, there was no clear licence for the content people were putting on the wiki. And when there is no licence, and no-one specifies a licence on the page itself, it is assumed to be "all rights reserved" in most jurisdictions. This is ignoring the implicit grant given by an editor to display that content on the wiki when they submit content to the wiki, but this is shaky at best and doesn't provide the clear permissions needed to freely reuse that content.
Steve McIntyre hosted a Debian Wiki BoF (Birds of a Feather meeting) at DebConf 25. Credit: DebConf Video Team; MIT licence.
During DebConf 25, there was a BoF meeting to discuss the wiki, preceded by a great "biased SWOT analysis" presentation by the Arch Wiki admins on how they run their wiki and the challenges they faced. The wiki BoF discussed a range of topics, one of which was licensing.
Following this, stuff started happening to make major changes to the wiki, mainly with a migration to MediaWiki to leave the unmaintained MoinMoin software and be able to upgrade away from Debian Buster (version 10, oof!), as well as the creation of a new mailing list and IRC channel.
At the same time, I started pushing to fix content licensing, and for the last 16 months, I have been largely working alone to slowly but surely relicense everything ever put on the wiki. This article aims to document what has been done so far and why, and some challenges encountered along the way.
You can watch the wiki BoF: low quality, HD (warning: choppy audio), and the Arch Wiki presentation: low quality, HD, thanks to the DebConf Video Team who recorded them during DebConf 25.
Picking a licence
First things first, we needed to pick a licence. After some email discussion on the new mailing list, we landed on the Creative Commons Attribution-ShareAlike 4.0 licence (CC BY-SA 4.0) for the following reasons:
- It is designed explicitly for content and media, compared to other licences that are aimed at software (e.g. MIT).
- It requires attribution for contributors' hard work.
- It ensures any adaptations of the work continue to use the same or compatible licence, preventing someone from taking the work and making it proprietary.
- It is pretty permissive and allows adapting CC BY-SA 4.0 materials into GPL-3-licensed works, like package manual pages and other documentation.
Some licences were ruled out for various reasons:
-
Public domain / CC Zero - We wanted a licence that required attribution, especially considering the wiki relies on volunteers to populate and update its content.
This would also make it difficult for any content to be brought into the wiki from other sources, since they would have attribution requirements that could not be preserved under CC0.
-
GNU Free Documentation Licence (GFDL) - Debian only considers the GFDL to be a DFSG-free licence when it is used without any of its invariant options as per the 2006 general resolution. Also, this licence would limit where wiki content could be integrated outside of the wiki. Generally, this is an unwieldy licence with many restrictions, and should probably be reserved for printed works as it was designed for that.
-
Creative Commons NC & ND options - The Non-Commercial (NC) and Non-Derivative (ND) options for Creative Commons licences are not compatible with the DFSG.
It's not like CC BY-SA 4.0 is a niche licence; it is the licence that Wikipedia uses. As a result, we can copy content back and forth from a whole lot of places with this licence.
Overall, CC BY-SA 4.0 provides a balance between putting in place protections for the work contributors put into the wiki via requiring attribution and share-alike, while also being very permissive in every other aspect, in line with the kind of freedom we're looking for.
Handling new additions
The Debian Wiki displayed a prominent banner regarding the licence of new content.
Before dealing with the mess that is the old content, first we looked at how to handle new edits to the wiki.
After picking an arbitrary future date (in this case, 24 July 2025), I wrote a new copyright page explaining that content contributed after this date would be licensed under CC BY-SA 4.0, and summarised the main points of the licence.
Following this, I updated the website footer and added a banner notifying wiki users and editors of the licence change (or should we say: addition). It was ugly, prominent, and in highlighter yellow to make sure no-one missed it. The banner served its purpose for a few months, and then was removed because, by then, we're pretty sure we got the message across.
I also ensured this was displayed properly on the 'edit' page, so that editors understood that, by submitting their changes to the wiki after this date, they agreed to license their contribution under CC BY-SA 4.0.
Dealing with old content
Now, to the annoying part. In order to actually get everything to use CC BY-SA 4.0, contributors need to be contacted one by one and asked for permission to relicense their work, as they are the copyright holders.
Keep in mind that the end goal is for all content on the wiki to be DFSG-free, with CC BY-SA 4.0 being the preference.
Wait, how much work is this?
Allow me to first give you an idea of the scale of the task at hand:
- There are 21,506 registered user accounts on the wiki (at the time of writing).
- Over 290,052 edits have been made to the wiki.
- Of those user accounts, 9,778 users have made one or more edits on the wiki.
- Only 1,548 users have made more than 20 edits on the wiki.
These numbers are based on a snapshot from 26 January 2026.
For that last bullet point, this graph here makes it clear that the majority of user accounts (on the left side of the graph) have only made a handful of edits.
Frequency of number of edits per contributor. Each point shows how many contributors made a given number of edits. The horizontal axis uses a logarithmic scale.Though unrelated to the topic at hand, this is probably a good argument for allowing anonymous edits to the wiki once again, a setting that was originally disabled to reduce spam. New accounts requiring manual approval, which has been in place for the past few years, was put in place for the same reason as well.
These kinds of protections mean wiki admins have to deal with less spam, but they also increase friction, which makes it harder for readers to make one-off edits and should be minimised as much as possible in the opinion of Weird Gloop, the folks behind a bunch of notable wikis, like the Minecraft wiki. Hopefully the move to MediaWiki will greatly improve the anti-spam tools available to allow for this to happen.
Finding who to contact
At the moment, what I've been doing is checking pages one at a time to determine who needs to be contacted, and emailing them. While I've been doing this, I have kept an evolving record of who has been contacted, who has agreed, and who cannot/will not agree in a Git repo on Salsa (Debian's GitLab instance).
The first thing I did was write a small script that listed pages that were three or fewer clicks away from the front page. This way, I could start with the important pages first. This turned out to be very annoying to work with, as these pages also had the most edits and unique authors (who could've guessed?). Many of them were "portal" pages as well, which are big collections of links rather than real content, so I tended to skip these.
I've created a little bit of JavaScript that acts as a bookmarklet (i.e. button in the bookmark bar that does things rather than open a URL). What it does is highlight usernames on the edit log of a given wiki page (which MoinMoin calls the "Info" tab) based on a colour code: green means agreed, yellow means contacted with no response yet, and red means "failed". This gives a great overview of the status of each contributor to the page, and also filters out edits made after the 24 July 2025 cut-off.
The bookmarklet script highlights the username associated with each revision to show the relicensing status of each contributor.
Many pages have been completely rewritten or transformed so much that none of the original remained, so there was no point in contacting every contributor in the edit log if I could determine only the ones that mattered. Additionally, if all someone did was fix a typo or grammar mistake, they were also not worth contacting (though this was usually decided on a case-by-case basis).
This introduced a new problem; how can I filter out these contributors to find the editors responsible for the current content? The first thing that came to mind was git blame. So naturally, I ran a script on the Debian Wiki server overnight to transform the MoinMoin data into a giant Git repo, where each commit represented an edit, and the author was set to the editor's username and account email address. This resulted in a 252 megabyte repo with 290,052 commits.
MoinMoin stores its data on the filesystem, rather than a database like MediaWiki does. The data directory contains a user/ directory and pages/ directory.
Each page is represented as a directory under pages/, with special characters in page names encoded in a Moin-specific format. For instance, the page DebianDeveloper/Benefits is stored under pages/DebianDeveloper(2f)Benefits/.
Within each page, there is a cache/ directory (which we don't care about), a revisions/ directory containing a copy of the page at each revision (e.g. revisions/00000001), a current file containing the number of the latest revision, and an edit-log file containing the edit history of the page in tab-separated values (TSV) format.
The edit-log file stores the timestamp, revision number, username, IP address, and user ID for each revision, so using this and the data in the revisions/ directory, a Git repo could easily be constructed with a bit of scripting.
The final step was adding the user's email to the commit, which made it easy to associate usernames with emails within the Git repo. Each user has a file in the user/ directory named based on their user ID (assigned by Moin), and one of the attributes contained in that file is the user's email address.
Overall, the file tree looked something like this:
.
├── pages/
│ └── <page name>/
│ ├── cache/
│ ├── revisions/
│ │ ├── 00000001
│ │ └── 00000002
│ ├── current
│ └── edit-log
└── user/
└── <user id>
Now I could git blame a page and find out exactly who should really be contacted, making this process much faster than reviewing every revision of a page by hand. This wasn't a foolproof method though, as it would blame a user for an entire line for both additions and modifications, like rephrasing a sentence or fixing a typo. It was a good starting point though, better than contacting anyone that ever edited the page. Additionally, git blame tended to be really slow, taking a few minutes every time it was run, likely because of the amount of commits involved.
I also made a wrapper around git blame to highlight lines in green, yellow, and red, allowing me to identify which lines remained to be reviewed. The colours mean the same thing as before with the bookmarklet script.
The wrapper script produced a coloured output to determine the status of each editor of the page.
Recently, rather than using that 3-clicks-or-away list of pages to review, I have been sporadically reviewing any pages I stumble upon while doing other work. It may be less efficient, but it's more fun and feels less like a chore compared to reviewing pages one after another.
Sending out the emails
Of course now we need to do the most important part, actually contacting people over email.
For each user, the starting point is to retrieve the email address they have on their wiki account. Luckily, since I've got the repo as a git repo, I can git log -1 --author=<username> to do this rather than grepping the wiki data each time.
Now there were a few problems with this:
-
Email addresses were only verified for new accounts. This meant that some users changed the email address on their account to an invalid one, often intentionally (instead of asking for their account to be deleted).
-
Some email addresses were outdated and no longer existed. The most common case was for
@debian.orgaddresses for people who have left the Debian project.
This meant that a little internet detective work was needed for some users, which involved checking things like searching Debian New Members and mailing lists. Sometimes users had a user page on the wiki with better contact info as well.
If I'm able to find a working email address, then I send them an email based on a template, which has been refined a couple times. It pretty much summarises what's going on and asks for permission to relicense their work to CC BY-SA 4.0.
These emails were sent from my @debian.org address, mostly relying on its domain reputation to cut through spam filters and end up in people's inboxes. I also CC'ed myself at a special maytham-wiki-license address, which allowed me to filter relicensing stuff into its own folder. Though, people kept leaving it out of their replies, so I ended up changing the filter to check the email subject instead. Eventually, I plan to create a Git repo containing an mbox per user to keep a record of people's responses.
Most failures occurred because the email address could not be found or the recipient mailserver had an issue, so I'd get that "Undelivered Mail Returned to Sender" email. In these cases, I wasn't able to find an alternative address. Other failures were mostly due to the contributor having passed away, and only one person so far has actually refused to relicense their work among those who have responded to the emails. All of these are being collectively referred to as "failed" users with regards to content relicensing.
Progress so far
At the time of writing (25 November 2026), the progress is as follows:
- 791 users have been contacted.
- 370 (47%) users have agreed to relicense their work.
- The remaining 421 have not responded yet.
- 67 users have been put down as "failed".
This is pretty good progress: of the 1,548 users who made 20 or more edits, 51% have been contacted, 24% have agreed to relicense, and only 4% have been marked as failed.
Next steps
Of course, not every contributor has been contacted yet, there are many more to go.
It would be great if there was a way to automate this, as a lot of it is repetitive. git blame has worked so far, but its limitations mean it still requires human review. Ideally, there should be a way to find the authors of the latest revision of the page based on word-diff rather than line-diff, and also rank them based on how much they contributed to the page. Maybe it would involve measuring Levenshtein distance per edit? Who knows?
At the moment, I don't have time to work on such a tool. So I'll keep doing it the same way I've been doing it so far: every once in a while when I open some page on the wiki, I will check who is yet to be contacted, and send out a handful of emails.
Handling failures
This likely entails stripping out each failed user's contributions from the wiki wherever it is part of the latest revision, which can also mean that some pages will need to be completely deleted as well. This is not a good thing, but it's something that has to be done to reach the aforementioned goal of a completely DFSG-free wiki.
This kind of thing probably should wait until the move to MediaWiki has happened. The tooling for doing these kinds of mass edits is much better there, and I think(?) there are plans to create a static archive of the MoinMoin wiki during or after the move, so that information isn't lost forever. This would be part of the general effort to clean up the wiki.
Following up when there is no response
A lot of the people who have been sent emails have not responded in a long time (>3 months, many much longer than that). These people need to have follow-ups sent to them, since there is a high chance the email ended up in their spam folders. I have sent follow-ups to a few people, some of which have succeeded, but this needs to be done in bulk for all the remaining people.
A limit also needs to be put in place before we give up on people. One approach would be to mark users as failed if they do not respond to two further follow-ups after the initial email, each spaced at least a month apart from the previous email, for a total of at least three months from first contact. This would be loosely based on the kind of procedure used by the Debian MIA Team.
Increased publicity
A while ago, I floated the idea on the wiki mailing list of asking the Publicity Team to create a Bits post (for instance) to let everybody know about the relicensing effort, and to ask contributors who have not been contacted yet to send us an email. This proactive approach would be much better and less work than the current reactive approach, since asking every person to send one email is a whole lot easier than one person sending hundreds of emails. Even though little interest was shown on the mailing list at the time, at some point, I'd like to follow through with this.
In a way, this post is serving the same purpose! You probably didn't know about what I'm doing before reading this, but now you do :)
Help wanted!
Have you ever, before 24 July 2025, edited the Debian wiki? Well step right up! It'd be great if you could send me a short email with the following format:
To: maytham-wiki-license [AT] debian (DOT) org Subject: Relicensing my contributions to wiki.debian.org Hi, My username on wiki.debian.org is <INSERT USERNAME HERE>. I give permission for all work I have submitted to wiki.debian.org to be distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International license, the text of which can be found at https://creativecommons.org/licenses/by-sa/4.0/.
It means I don't have to chase you down, which is great! Also note that the From address will be checked to make sure it's genuine, and it would be even better if you could GPG sign it!
Now for the complicated bit: Debian being a volunteer project is both a blessing and a curse. Having more people help out with this work would make this initiative much more sustainable. As someone put it in an email to me: "I am concerned about the bus factor of one Maytham." This is especially important as I've recently slowed down my work on this due to other matters that are either more important or just plainly more interesting.
If you want to help with contacting people, there is a short guide in the repo README. In short, find the contributors you want to contact (and make sure they have not already been contacted!) and send each of them an email based on the template, CC'ing my licensing email address so that it gets saved in my mailbox for the future mbox export. Then, you can modify the lists to add users to contacted, succeeded, etc.
Hopefully with a bit more work, we can get this across the finish line. This article is part 1 because the work is unfinished and still ongoing, so hopefully the progress numbers will be higher in a potential part 2 to the saga.




