Re: Native Markdown for MediaWiki

"[[kgh]] via MediaWiki-l" <[email protected]> Thu, 16 Jul 2026 09:00:19 +0200
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3727372622018476469==
Content-Type: multipart/alternative;
 boundary="------------TXswjY3nBgQFqnJYDshWKvyf"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------TXswjY3nBgQFqnJYDshWKvyf
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Yes, it is. Just set $wgNativeMarkdownSuffixDetection = true; in your 
"LocalSettings.php" file. Note, however, that the extension does not 
retroactively change the page content model of existing pages and the 
extension does not (yet?) provide a script to do so.

-- 
Karsten / MediaWiki, Semantic MediaWiki, NeoWiki and Wikibase enthusiast

https://professional.wiki //https://www.pro.wiki //https://neowiki.ai //https://www.wikibase.consulting


Am 13.07.26 um 10:58 schrieb 谢大大 via MediaWiki-l:
> Is it possible for this extension to automatically use markdown when 
> the page name ends with .md extension? For example, we may have 
> Project:AGENTS.md <http://AGENTS.md> or User:<User name>/CLAUDE.md 
> <http://CLAUDE.md> for a traditional wiki that AI agents also 
> participates in. I have a claude skill for MediaWiki wikies that 
> manages User:<User name>/CLAUDE.md <http://CLAUDE.md> and works with 
> your mediawiki-mcp-server.
>
> 在 Jeroen De Dauw via MediaWiki-l 
> <[email protected]>,2026年7月13日 18:30写道:
>
>     Hi all,
>
>     We are pleased to announce Native Markdown, a new MediaWiki
>     extension that provides a deeply integrated Markdown content model.
>
>     In contrast to some earlier Markdown extensions, the entire page
>     is stored as Markdown rather than embedding Markdown within
>     wikitext via a tag or similar.
>
>     You get functioning links, categories, search, image embeds, table
>     of contents, WhatLinksHere, etc. You can even embed templates and
>     parser functions, though wiki admins can disable this for a full
>     Markdown-only experience.
>
>     The extension can be added to existing wikis with wikitext pages
>     without breaking anything, since those pages will remain wikitext.
>     By default, all new wiki pages will be in Markdown, with
>     configuration options that let you control how fully you switch to
>     Markdown (e.g., only in certain namespaces).
>
>     Find the release blog with demo video at
>     https://professional.wiki/en/news/native-markdown-released
>
>     Read the docs at
>     https://professional.wiki/en/extension/native-markdown
>
>     Explore the source or file issues at
>     https://github.com/ProfessionalWiki/NativeMarkdown
>
>     Best
>
>     --
>
>     Jeroen De Dauw | CEO Professional Wiki
>     <https://www.professional.wiki/>
>     Sovereign knowledge infrastructure: knowledge graphs, optional AI,
>     open source
>     NeoWiki <https://neowiki.ai/> | AI Assistant
>     <https://professional.wiki/en/mediawiki-ai-assistant> | MediaWiki
>     Hosting <https://professional.wiki/en/hosting> | Wiki Services
>     <https://professional.wiki/en/services>
>
>
> _______________________________________________
> MediaWiki-l mailing list [email protected]
> To unsubscribe send an email [email protected]
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

--------------TXswjY3nBgQFqnJYDshWKvyf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Yes, it is. Just set <font face="monospace" size="4">$wgNativeMarkdownSuffixDetection
      = true;</font> in your "LocalSettings.php" file. Note, however,
    that the extension does not retroactively change the page content
    model of existing pages and the extension does not (yet?) provide a
    script to do so.
    <pre class="moz-signature" cols="72">-- 
Karsten / MediaWiki, Semantic MediaWiki, NeoWiki and Wikibase enthusiast

<a class="moz-txt-link-freetext" href="https://professional.wiki">https://professional.wiki</a> // <a class="moz-txt-link-freetext" href="https://www.pro.wiki">https://www.pro.wiki</a> // <a class="moz-txt-link-freetext" href="https://neowiki.ai">https://neowiki.ai</a> // <a class="moz-txt-link-freetext" href="https://www.wikibase.consulting">https://www.wikibase.consulting</a></pre>
    <br>
    <div class="moz-cite-prefix">Am 13.07.26 um 10:58 schrieb 谢大大 via
      MediaWiki-l:<br>
    </div>
    <blockquote type="cite"
cite="mid:[email protected]">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Is it possible for this extension to automatically
        use markdown when the page name ends with .md extension? For
        example, we may have Project:<a href="http://AGENTS.md"
          moz-do-not-send="true">AGENTS.md</a> or User:&lt;User
        name&gt;/<a href="http://CLAUDE.md" moz-do-not-send="true">CLAUDE.md</a>
        for a traditional wiki that AI agents also participates in. I
        have a claude skill for MediaWiki wikies that manages
        User:&lt;User name&gt;/<a href="http://CLAUDE.md"
          moz-do-not-send="true">CLAUDE.md</a> and works with your
        mediawiki-mcp-server.<br>
        <br>
      </div>
      <div class="wps_quotion">在 Jeroen De Dauw via MediaWiki-l
        <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>,2026年7月13日 18:30写道:<br
          type="attribution">
        <blockquote class="quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div style="font-family: Arial, sans-serif; font-size: 14px;">Hi
            all,</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
            We are pleased to announce Native Markdown, a new MediaWiki
            extension that provides a deeply integrated Markdown content
            model.</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">In
            contrast to some earlier Markdown extensions, the entire
            page is stored as Markdown rather than embedding Markdown
            within wikitext via a tag or similar.</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">You
            get functioning links, categories, search, image embeds,
            table of contents, WhatLinksHere, etc. You can even embed
            templates and parser functions, though wiki admins can
            disable this for a full Markdown-only experience.</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">The
            extension can be added to existing wikis with wikitext pages
            without breaking anything, since those pages will remain
            wikitext. By default, all new wiki pages will be in
            Markdown, with configuration options that let you control
            how fully you switch to Markdown (e.g., only in certain
            namespaces).</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">Find
            the release blog with demo video at <span><span><a
                  target="_blank" rel="noreferrer nofollow noopener"
href="https://professional.wiki/en/news/native-markdown-released"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://professional.wiki/en/news/native-markdown-released</a></span></span></div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">Read
            the docs at <span><a target="_blank"
                rel="noreferrer nofollow noopener"
href="https://professional.wiki/en/extension/native-markdown"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://professional.wiki/en/extension/native-markdown</a></span><br>
            <br>
            <span>Explore the source or file issues at <a
                target="_blank" rel="noreferrer nofollow noopener"
href="https://github.com/ProfessionalWiki/NativeMarkdown"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/ProfessionalWiki/NativeMarkdown</a></span><br>
            <br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;">Best</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"
            class="protonmail_signature_block ">
            <div class="protonmail_signature_block-user ">
              <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">--</div>
              <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
              </div>
              <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Jeroen
                De Dauw | CEO <a href="https://www.professional.wiki/"
                  title="Professional Wiki" moz-do-not-send="true">Professional
                  Wiki</a></div>
              <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span>Sovereign
                    knowledge infrastructure: <span>knowledge graphs</span>,
                    <span><span>optional AI</span></span>, open source</span></span></div>
              <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><a
                    href="https://neowiki.ai/" title="NeoWiki"
                    moz-do-not-send="true"><span>NeoWiki</span></a> | <a
href="https://professional.wiki/en/mediawiki-ai-assistant"
                    title="AI Assistant" moz-do-not-send="true">AI
                    Assistant</a> | <a
                    href="https://professional.wiki/en/hosting"
                    title="MediaWiki Hosting" moz-do-not-send="true"><span>MediaWiki
                      Hosting</span></a> | <a
                    href="https://professional.wiki/en/services"
                    title="Wiki Services" moz-do-not-send="true">Wiki
                    Services</a></span><br>
                <br>
              </div>
            </div>
            <div
class="protonmail_signature_block-proton protonmail_signature_block-empty">
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
MediaWiki-l mailing list -- <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
To unsubscribe send an email to <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/">https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/</a></pre>
    </blockquote>
    <br>
  </body>
</html>

--------------TXswjY3nBgQFqnJYDshWKvyf--

--===============3727372622018476469==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
--===============3727372622018476469==--