Closed (fixed)
Project:
Open Marketing Wiki
Version:
1.0.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
30 Nov 2021 at 22:23 UTC
Updated:
15 Dec 2021 at 15:04 UTC
Jump to comment: Most recent
Currently the wiki uses Markdown-format links, which as per GitHub's documentation are required to be absolute.
If your pages are rendered with Markdown, the link syntax is [Link Text](full-URL-of-wiki-page).
With MediaWiki syntax, the link syntax is [[Link Text|nameofwikipage]].
This means that the existing links break if the wiki is moved to a different repo or hosted elsewhere.
Modify all of the links to use the MediaWiki syntax, which supports relative links.
Comments
Comment #2
froboyI used a regex to do this:
Find:
\[(.*?)\]\(https://github.com/ymcatwincities/openy/wiki/(.*?)\)Replace:
[[$1|$2]]This properly fixed all but one link, which had parenthesis in the title. I fixed that one manually.
This is committed in https://git.drupalcode.org/issue/openy_marketing_wiki-3251954/-/commit/0... and will be resolved with #3251954: Review Community Guidelines Section Pages
Comment #3
podarokMerged https://www.drupal.org/project/openy_marketing_wiki/issues/3251954
This one is fixed now
Thank you