hallowelt / migrate-confluence

Tool to migrate content from Confluence export files into a MediaWiki compatible import source
GNU General Public License v3.0
35 stars 8 forks source link

The Prefix ID creates a talk page integer and not one for content. #94

Open Alex-Allgood opened 6 months ago

Alex-Allgood commented 6 months ago

I am having an issue with mediawiki seeing all the imported pages as talk pages. Going off of what is on the help page in mediawiki for custom namespaces, content pages are supposed to be in a space with even integers. When I ran the tool I ended up getting a prefix ID of 6848515, is there anyway to influence the tool so that I can have it create an even number? That will allow me to properly use it as a content space and create its relevant talk space. https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#Content_namespaces

Alex-Allgood commented 6 months ago

Is there a way to force the pages to conform to a namespace ID integer that I want?

Alex-Allgood commented 6 months ago

Can I just find and replace the bad odd integer with what I need in the working files?

osnard commented 5 months ago

Yes, you can usually just use search&replace on the files created by the analyze step to change prefixes or apply other kinds of title changes.