docs:dokuwiki:moving_a_namespace

moving a namespace

:!: this method does not update page links!

  • assume namespace at A:FOO needs moved to A:B:FOO
  • using a terminal, cd into the dokuwiki data directory
  • run the following (ignore No such file or directory errors for some commands)
    mv pages/A/FOO/ pages/A/B/
    mv meta/A/FOO/ meta/A/B/
    mv attic/A/FOO/ attic/A/B/
    mv media/A/FOO/ media/A/B/
    mv media_meta/A/FOO/ media_meta/A/B/
    mv media_attic/A/FOO/ media_attic/A/B/
  • open and save (touch) the conf/local.php file to invalidate any existing caches
  • download and install the Searchindex Manager plugin
  • in your web browser, visit the Dokuwiki Admin page
  • click the 'Searchindex Manager' link
  • click the 'Rebuild Index' button
  • manually fix any broken page links

:!: the fact that meta .changes files still reflect the older namespace location do not seem to cause problems, and history, correct authors, and changes all work as expected

  • docs/dokuwiki/moving_a_namespace.txt
  • Last modified: 2013/05/24 13:46
  • by billh