Comments (4)
You mean things like PYTHON
to Python
? I don't recall seeing this in the wiki's this has been used on so far...
That may in itself cause trouble under Windows or a Mac with the default case insensitive file system, but Linux should be fine.
I'd be willing to take a look at any pull request if you want to try fixing this.
Other can you make a small test wiki and provide the XML dump as a test case (I don't have ready access to a MediaWiki instance to try this on myself anymore)?
from mediawiki_to_git_md.
Actually rather than making a small test case, if you are willing to send me your real XML dump (e.g. to my Google Mail address), and details of the page(s) which break, I might be able to try it out some time next week.
from mediawiki_to_git_md.
I ran into this myself in some recent testing, and it is due to trying to run this on a case insensitive file system (like Windows and some macOS drives).
As part of the Python 3 work going into v1.1.0, this will now trigger an error and abort. Try running under Linux, or if using a Mac, a case sensitive file system. See 5aad3f8 and the preceding commits.
It may be possible to handle the special case of renaming the page's case, i.e. git remove old case, git add new case, so leaving this issue open.
from mediawiki_to_git_md.
In v2.0.0 of the script (i.e. the current master), the process is now:
- Convert XML dump into mediawiki files, commit those to git
- Human may choose to remove spam commits and reverts/cleanups
- Convert mediawiki to mardown ready for GitHub pages
This means the two files PYTHON.mediawiki
and Python.mediawiki
must coexist, even if one is a redirection to the other. After conversion to Markdown we'd have a single file using a redirect_from entry.
So, sadly this issue as a WON'T FIX. And this was annoying as my primary machine is a Mac where I couldn't run this.
from mediawiki_to_git_md.
Related Issues (20)
- Convert usernames in commit comments
- Handle MediaWiki User:XXX pages HOT 1
- Skip empty commits (e.g. reverts after a skipped spammer's edit) HOT 1
- Another python tag quirk when given id
- Closing Python tags not always at end of line
- What to do with sub-folders (slashes in MediaWiki page names)? HOT 2
- Avoiding colons in filenames (for working on Windows)
- Convert <bash> tags as another <source> variant. HOT 1
- Spot case variation in category tags
- Exception in subprocess when pandoc not installed HOT 2
- Errors when converting dump with different localization than english HOT 2
- Quotes within article titles cause problems with the git command HOT 2
- The converter is not robust against markup errors within the MediaWiki dump HOT 9
- RuntimeError: Proxy error(ArgumentOutOfRangeException): Year, Month, and Day parameters describe an un-representable DateTime. HOT 9
- Update for Python 3 HOT 2
- Ignoring revisions by username (e.g. spam) can taint following revisions HOT 4
- Do not force capitalise upload images etc HOT 1
- Escape colons in permalinks and redirect_from
- Deal with MediaWiki's File: and Media: links HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediawiki_to_git_md.