- Feb 03, 2020
-
-
Peter Senna Tschudin authored
Wip/martyn/t6435 See merge request !1
-
Martyn Welch authored
Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 31, 2020
-
-
Martyn Welch authored
Extend README.md with a description of each of the python scripts available in this repository. Signed-off-by:
Martyn Welch <martyn.welch@collabora.co.uk>
-
Martyn Welch authored
Signed-off-by:
Martyn Welch <martyn.welch@collabora.co.uk>
-
- Jan 30, 2020
-
-
Martyn Welch authored
Add 3 more helper scripts: check_links.py: Check links are properly formatted and ensure that internal links use {{< ref "foo.md" >}} macro which aids in protecting against broken links. move_page.py: Moves page and checks for any links that need to change. remove_dead_links.py: Remove links with given patterns that are known to be broken. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 28, 2020
-
-
Martyn Welch authored
This script is used to sort out redirects for the old test cases to qa.apertis.org. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
Add script to move release data (release notes, release schedules, test reports) to better locations. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 20, 2020
-
-
Martyn Welch authored
Add a script to find pages not accessible from the homepage. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
A few issues were found with the script when running through steps with latest data: - A few extra placeholder pages needed creating - The resolve_redirects.py script needed plumbing in properly Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 17, 2020
-
-
Martyn Welch authored
Add a README.md containing instructions for converting Mediawiki to Hugo. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
A number of extra scripts have been written to aid in the conversion between mediawiki and hugo. As these scripts. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
Martyn Welch authored
This repo is going to hold extra scripts that have been created during the provess of moving from the mediawiki to hugo, put mediawiki-to-markdown into a subdirectory to make the distinction between the tools cleaner. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 16, 2020
-
-
Martyn Welch authored
So as to transition relatively seemlessly to the new site, we can use the Hugo Alias functionality to put a number of HTML redirects in place to translate between `/old-wiki/<original_link>` and the new page location. We are hoping to combine this with URL rewriting on wiki.apertis.org to redirect requests for pages formerly served there into the redirect structure. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 15, 2020
-
-
Martyn Welch authored
We are now not planning to use the syna theme, the "fragment" key in the page frontmatter is a specific syna tweak. Remove it. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 14, 2020
-
-
Martyn Welch authored
Link handling was braking when changing baseurl. Improve method used to modify the links to make it more robust. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Jan 13, 2020
-
-
Martyn Welch authored
The conversion from Mediawiki to Markdown currently doesn't do a good job when it comes to links and images. Improve the conversion for our use case, of moving from Mediawiki to Hugo. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Dec 12, 2019
-
-
Martyn Welch authored
The format "markdown-github" is deprecated in favour of "gfm". Using the former results in warning messages during processing. Switch to "gfm". Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Dec 09, 2019
-
-
Martyn Welch authored
Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Nov 22, 2019
-
-
Martyn Welch authored
If the mediawiki dump is performed a way that captures all historic versions of a page, using the first revision in the XML appears to end up using the oldest version of the page, discarding newer versions, which is unlikely to be what the user expects. Pick the last version of the page returned. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Nov 20, 2019
-
-
Martyn Welch authored
It is possible for the mediawiki page title to contain forward slashes that would need to be converted to directories when converting to markdown. For example, when presented with the page "foo/bar", we'd expect this to result in a file called "bar.md" in the directory "foo/". Currently the directory "foo/" is not being created, resulting in "bar.md" failing to be created. Tweak the directory parsing to ensure all required directories are created. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
-
- Nov 22, 2017
-
-
Philip Ashlock authored
-
- Apr 03, 2015
-
-
Philip Ashlock authored
normalize path before writing, partly fixes #2
-
- Mar 05, 2015
-
-
Victor Klos authored
See https://github.com/philipashlock/mediawiki-to-markdown/issues/2 for an explanation of what can go wrong
-
- Oct 25, 2014
-
-
Philip Ashlock authored
-
- Oct 20, 2014
-
-
Philip Ashlock authored
-
Philip Ashlock authored
This doesn't yet support rewriting from MediaWiki piped link syntax
-
Philip Ashlock authored
-
- Oct 10, 2014
-
-
Philip Ashlock authored
-
Philip Ashlock authored
-
Philip Ashlock authored
-