Thread:Project:Support desk/HowTo? Export list of Categories?

Summary: I'm attempting to use Export from a possibly corrupted wiki, and Import into a starting-over-from-scratch wiki. It's no doubt operator error, but Import of Categories fails. Import works fine with Templates, and seems to work fine with Files that have underscores in their filename (my bad?).

My under construction 1.21.1 wiki: canprint.org/wiki with immature LocalSettings.php so $wgLogo and other formatting flawed

(and semi-offline canprint.org/11_wiki11_1165/index.php?title=Special:Version that may be corrupted)

Hosted by: GoDaddy with Linux server (Apache?) ... I'm ignorant about SSH and super rusty with Linux

PHP: 5.3.24 (cgi-fcgi) MySQL: 5.0.96-log

Note that GoDaddy makes MW connected to MySQL relatively simple for up to ver 1.21.1 but I'm stumped on how to upgrade to ver 1.24.1, but that's also another issue for now

More info: My approach of Export then Import is almost certainly a less than optimal hold-your-nose work-around. Guidance to "correct the error of my ways" appreciated.

I am able to Export and then Import existing Pages, Files, and Templates. However, this MW semi-newbie hasn't been able to figure out how to Export Categories so they will subsequently Import. Therefore, the starting-over wiki is missing 50+ categories.

http://www.canprint.org/wiki/index.php?title=Special:WantedCategories&limit=100&offset=0 (not sure if this Special page will show up for a non-user)

I haven't tested if Export from a small 1.21.1 wiki with a few categories will Import to another small 1.21.1 wiki.

| MTYEWTK? Sorry

Below is a partial list of the Exported pages / files / templates / categories from the possibly corrupted 1.16.5 version. My speculation is that the Categories is expecting a different Prefix than my guess. I'm hoping to avoid copy/paste of the contents 50+ categories, if possible.

AKA (ok)

Abbreviated cartridge flushing (ok)

... (100+ ok)

Main Page (ok)

Main Page: Welcome to Canon Printing wiki (ok)

Mea culpa (ok)

... (100+ ok)

YWMV (ok)

Template:Canon.printer.template (1 of 2 ok)

Template:Under.construction (2 of 2 ok)

File:110812 iP4500 wikilogo.png (seems ok although actual file has underscores)

... (5+ ok)

File:300 PrinterEvaluationTarget.jpg (seems ok)

'''A4 Letter size printers (as Exported ... didn't Import)

'''Category:A4 Letter size printers (tried to guess Prefix: didn't work)

Category:All-in-one printers

... (40+ didn't get imported ... [PEBKAC?])

Category:QY6-0084 print-head

Category:Under construction placeholder

Category:Unknown print-head

'''