Loren Johnson
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
      • Create new note
      • Create a note from template
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Write
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Save as template
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ### Proposed Wikibase Suite Extension MVP February 5th 2026 I think we should extend Adam’s work in [#901](https://github.com/wmde/wikibase-release-pipeline/pull/901) to capture version/build provenance for diagnostics and metadata use. Initially I was leaning toward keeping only the `Special:Version` > "Installed software" approach from PR #901, and that is still a solid base. We should gather and set the following versions automatically at build time: - Wikibase Suite Docker Image (https://www.mediawiki.org/wiki/Wikibase/Suite): `<wikibase image version>` - Wikibase Suite Build Tools (https://github.com/wmde/wikibase-release-pipeline): `<pipeline git sha>` (build tools revision used to build the image) And set the following manually when we update `deploy/package.json` during release: - Wikibase Suite Deploy (https://www.mediawiki.org/wiki/Wikibase/Suite/Deploy): `<deploy version>` (only when Deploy is used) I also propose we expose a small, flat JSON document to avoid HTML parsing and provide a non-scraping access path to running versions: `http://<base-wiki-url>/wbs-versions.json` (e.g. `https://example.org/wbs-versions.json`) That endpoint would return something that looked like this: ```json { "wikibase_image_version": "5.0.0", "deploy_version": "5.0.1", "pipeline_git_sha": "cc32494ebf8a" } ``` ## Updated implementation recommendation After looking more closely at the effort and implications, I now recommend we implement this as a proper "Wikibase Suite" extension rather than only hook-based row insertion. Why this shift: - Hook-only insertion is fine for displaying rows, but gives us less leverage for product-facing Wikibase Suite functionality which I think we have some clear cases for upcoming. - A full extension gives us a clean native place for Wikibase Suite capabilities in the image (versions display, participation actions, future additions). - Scope increase appears minimal; this remains within the same expected timeline. - We still keep `wbs-versions.json`, so we have a robust non-scraping path regardless. In short: extension-first gives us a better foundation now, with little/no consequential extra scope. ![extension-mockup-minimal](https://hackmd.io/_uploads/BJvmZ_Qwbe.png) ## Announce (callback) feature I would also like us to consider adding an Announce (callback) feature in this extension in the same workstream. This feature would only appear when the admin user was logged in. This is achievable with also only small extra effort and maintains the same timeline for delivery, and I think aligns naturally with an extension-based “Wikibase Suite” surface. With this feature added users who initially opt out of announcing their Wikibase during initial install, can later choose to which we could promote or publicize. ![extension-mockup-announce](https://hackmd.io/_uploads/Hk9Aed7Dbg.png) ## Estimated Engineering Effort 1–2 days + code review time (still the expected range, including extension-first implementation and Announce). ## Notes - I don't think we should attempt to report versions of adjacent services (WDQS, QuickStatements, Elasticsearch, MariaDB) for now. While we could add custom code for version reporting to each image, their endpoints are not predictable or necessarily published, and passing their versions into the Wikibase container via Docker Compose would be unreliable if users customize compose (values can go missing or become incorrect). By contrast, Wikibase image version is intrinsic to the container, and Deploy version is a single explicit signal when running via the Deploy stack. In an unmodified standard Deploy setup, other versions can generally be inferred from the Build Tools (pipeline) commit hash we report. - The existing pingback/callback registers new instances with the metadata service on first install. With `wbs-versions.json`, the metadata service can deterministically fetch versions from the base URL it already knows. We could also or instead include version fields directly in the callback payload to avoid this extra request, but that would require a minor change to the Wikibase Metadata endpoint (GraphQL) to optionally expect those fields. This is not required for this phase, but still low-effort if we decide it is worthwhile. - Analytics permissioning is another thing that could be combined as part of the Announce feature I am recommending we add. I have a mock-up for discussion on that now or later, but adding this would add some additional scope as it would require a decision about our analytics platform and/or extension to our Wikibase Metadata project to capture this additional setting. ## Recommendation Proceed with a full Wikibase Suite extension now, and ship: 1. Version/build provenance display both on the Special:Version page as well as on a new Special:WikibaseSuite page (the extension) 2. Publishing of a `/wbs-versions.json` static endpoint 3. Optionally add the Announce (callback) feature to the extension screen underneath the version reporting --- **2026-02-06 - Notes from Leif meeting:** - Will proceed with the PRD and my recommendation as explained above: We will use an extension, and will add the Announce feature. The analytics permissioning will not be addressed in this release. - Leif will get me copy for the Announce section and button, or we'll discuss more. Roughly speaking here are the options as well as my recommendation for minimal this first release: - We can indicate that the Wikibase was theoretically already announced based on the value of `METADATA_CALLBACK`, but there is some chance that the callback didn't succeed and disabling the Announce button would bar the user from making sure it gets registered. - Given this we may want to keep the Announce button still active until we have a clear and reliable way to confirm that the Wikibase was in fact already announced. - Alternatively, we could simply indicate whether the Wikibase is currently registered in Wikibase Metadata but without implying that the user necessarily initiated this entry? - My recommendation is to keep the button simple and dumb, always active, but also have an indicator with a brief description as to whether `METADATA_CALLBACK` is set to true or false and some brief description of this (e.g. this means your Wikibase is likely already registered). --- **2026-02-07 - Re. Tom and Adam's responses on the Phab ticket (https://phabricator.wikimedia.org/T411587#11593626):** - I do think we have a clear enough case to introduce a Wikibase Suite extension that is encapsulated in our Wikibase docker image distribution, which gives us: - A place for the user to choose to Announce/Register their Wikibase with the Wikibase Metadata project if they did not opt-in with METADATA_CALLBACK on initial installation. - Providing a "home page" for more context and resources (docs, etc) regarding the Wikibase Suite distribution itself, which the user is implictely running if this extension exists. This extension is encapsulated entirely in the Wikibase image and is not intended for distribution or use outside of that context. - A place to hook into Wikibase code (either js or php, or both) for some liklely upcoming optional analytics reporting. - As both Tom and Adam have now nudged this direction I will look a bit more into the `APIQuerySiteInfoGeneralInfo` action query endpoint as a possible addional place to publish versions (https://www.mediawiki.org/wiki/Manual:Hooks/APIQuerySiteInfoGeneralInfo and https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&meta=siteinfo&formatversion=2&siprop=general). - I think we should keep the `/wbs-versions.json` endpoint as it should remain accessible even when the MediaWiki + Wikibase instance is not booting for some reason, which could be quite helpful in diagnostics in those cases.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully