Hi,

I've manually created a Mediawiki XML file for import to my wiki to
add hundreds of new Categories and subcategories.  I'm running into a
problem when a Category page already exists in the wiki, my import
wipes out the Category page content.

My XML looks like:

<mediawiki xml:lang="en">
    <page>
      <title>TestCategoryLevelFour</title>
      <restrictions>edit=sysop:move=sysop</restrictions>
      <revision>
        <timestamp></timestamp>
        <contributor><username>Wmat</username></contributor>
        <comment>I wonder if this import overwrites the page.</comment>
        <text>[[Category:Categoryname]]</text>
      </revision>
     </page>
</mediawiki>

Is there a better way to create new Category pages quickly and not
overwrite them when they already exist?

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to