michitux / dokuwiki-plugin-move

Move and rename pages and namespaces whilst maintaining the links
http://www.dokuwiki.org/plugin:move
GNU General Public License v2.0
40 stars 20 forks source link

Namespaces other than WIKI in root folder not shown #67

Open Ejetoro opened 8 years ago

Ejetoro commented 8 years ago

I have several folders outside the WIKI folder in the root namespace in my wiki, when i want to use the tree based move plugin i am unable to move it because i cannot see them in the tree, all i can see is some *.txt files and the WIKI folder, nothing else.

Ejetoro commented 8 years ago

tree_move

einhirn commented 8 years ago

Those text files are Pages. There's a difference in Dokuwiki between pages (eg. move single page) and namespaces (eg. move tree). And you shouldn't rename a page called "start" or whatever is defined as the default page name for a namespace in your wiki.

But all this has nothing to do with move plugin.

Ejetoro commented 8 years ago

I know the difference between pages and folders and i know i should not rename a page called "start", it has nothing to do with my issue. What i told is that move plugin assume by default that all FOLDERS that you are trying to move are inside a folder named "wiki", in my installation, i had several FOLDERS outside "wiki" folder and i cannot see them to use the move plugin.

Move plugin only search for folders to move inside "wiki" folder?. Not a big deal, i just moved it inside the "wiki" folder in order to use the move plugin. (I started to see folders outside "wiki" folder since i installed language plugin, not sure if it was my fault previously... )

Anyway, you should show differences (color, fonts, bullets... whatever) between pages and folders visually.

Thanking you in advance.

micgro42 commented 8 years ago

Anyway, you should show differences (color, fonts, bullets... whatever) between pages and folders visually.

The differences are shown by the default template. It is possible that the template your are using does not differentiate between those different classes on the list items.

michitux commented 7 years ago

Move plugin only search for folders to move inside "wiki" folder?.

No, definitely not. All folders should be shown (and are shown in my local installation). The tree for media files also shows some more folders.

I do not really understand what's happening here. My only guess would be that it might be related to the hidepages configuration option. I've just pushed a change which lets the move plugin ignore this option as imho it doesn't make sense to hide pages in the tree move interface. However, this didn't hide folders before so this is no proper explanation for this behavior, too.

Is this still relevant for you/can you still reproduce this?

splitbrain commented 7 years ago

Could it be that you have some namespaces that contain only media files? Can you attach an ls -lR data/pages listing here?