docs
docs copied to clipboard
Fix docs to say that Github wiki Internal link format doesn't match MediaWiki link format
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/communities/documenting-your-project-with-wikis/editing-wiki-content
What changes are you suggesting?
Documentation says that github docs use MediaWiki syntax:
With MediaWiki syntax, the link syntax is [[Link Text|nameofwikipage]]. This is incorrect. While MediaWiki syntax is exactly the opposite, as documented in MediaWiki Links: [[nameofwikipage|Link Text]]
I suggest to make it explicit that Github wiki uses an ad-hoc interpretation of wikilinks, that isn't compatible with MediaWiki internal links or Wikipedia internal links.
Additional information
No response
@abdullin Thanks for opening an issue - I'm not sure why the bot closed your first one out, but we appreciate you opening another! 💛
I'll get this triaged for the team to take a look 👀
@cmwilson21 thanks.
The bot was right - I forgot to fill the proper issue title :)
@abdullin Gotcha! Thanks for letting me know. I was thinking our bot was on the fritz. 😄
Thank you for your suggestion! ✨ You or anyone else can feel free to open a pull request to update the example in the Adding Links section to say [[nameofwikipage|LinkText]]
, instead of the current order.
Submitted a fix at https://github.com/github/docs/compare/main...matthew0420:docs:patch-1
@cmwilson21 Pull request should be up, link here: https://github.com/github/docs/pull/19710