Migration progress

Last modified by Eleni Cojocariu on 2026/11/09 16:04

Warning

WIP

How much of the old documentation is left. It is spread over four populations that nothing counts the same way, so each one has its own page:

Every number on those pages is computed when the page is displayed, by querying the search index. Nothing is stored.

These pages count what is left of the old documentation. How fast the new documentation is growing is the other half of the same story, one row per month, on New documentation pages per month, and who wrote them on Contributors per month. Legacy doc pages marked as done tells it from the other end: the old trees emptying, month by month.

The queries

Each page above carries its own, in its source. A few things they all depend on:

  • Always filter by wiki (wiki:). The search index covers the whole wiki farm. If you don’t filter, the query also counts pages from the cristal wiki, which has pages under the same space paths.
  • Exclude hidden pages (hidden:false). Hidden pages are technical pages, not documentation, and there are many of them: 12 in the User Guide, 39 in the Admin Guide and 126 in the Dev Guide.
  • Match the extension id on property.ExtensionCode.ExtensionClass.id_string, not on property.ExtensionCode.ExtensionClass.id. The two fields behave differently:
    • id is a text field. It searches inside the value, like Ctrl+F. A query such as *org.xwiki.platform* matches any id that contains that text, even if it does not start with it.
    • id_string is an exact field. It matches the whole value, so id_string:org.xwiki.platform* only matches ids that start with org.xwiki.platform.
  • Count pages, not documents, with doclocale:"". The index holds one document per translation, so a wiki whose pages are translated counts high: wiki:rendering answers 119 for 66 pages. The three legacy trees and the extension pages have no translations, which is why the difference only shows on the rendering wiki.
  • website:* does not check whether the field is filled in. In the index, an empty string is still a value, so this query also matches extension pages where website is empty. To check that the field is really set, match on ExtensionLD (the part of the generated documentation link) instead.

The metadata behind the numbers

  • MigratedPageClass - one field, newPages: the references of the pages that replace this one, one per line. Set it on the legacy page while converting it.
  • MigratedPageSheet - renders those references as a "this content has moved to ..." box on the legacy page, above its remaining content.
  • The unconvertable tag, added when the page documents something deprecated: there is no place for that content in the new documentation, so the page is neither converted nor mapped, and it leaves the Left column without ever becoming done. Unconvertable also counts.
  • The done tag, added when the content has been entirely moved. The index matches the whole tag value, not the words in it, so a tag such as done, reviewed does not count and a page tagged knowledge base is not found by knowledge. Case is the one thing that does not matter: Done counts.

Get Connected