Comments (5)
Okay, I have a very different idea. Maybe this is a result of dokufreaks/plugin-include#103 - what kind of ACLs do you have, are these pages non-public? If yes, consider turning off the safeindex
option of the inculde plugin and re-index the pages with the include syntax (visiting the pages should be enough, the include plugin makes sure pages are re-index when that option has been changed).
from dokuwiki-plugin-move.
I cannot reproduce this. Is it possible that the index for the main page was not up to date? Or that moving page_2 failed? I've just added an additional test case to the include plugin with your example and it succeeds (see travis build).
from dokuwiki-plugin-move.
Hi michtiux, thanks for the reply. I've just double checked and I'd be suprised if it was an ACL issue as I'm creating the test pages as mentioned above to reproduce the issue myself, all the pages are created in the same way and it's only the one that isn't linked that doesn't move correctly. However I'm happy to try that if you still think it's a potential cause.
It might also help if I clarify my exact steps just to make sure I'm not doing anything wrong:
- Create the main page
./old/namespace/main
as per above. - Create
./old/namespace/1/page_1
and./old/namespace/1/page_2
- Navigate to the main page and see that the two includes are working
- Select Admin -> Move pages and namespaces
- Select Move namespace
old:namespace
and change tonew:namespace
- Ignore errors is unchecked and Rewrite links is checked
- Press Start, then Start again
- I then navigate to the new location of main
./new/namespace/main
It should be noted that page_2
does get moved correctly, it's just the include in main
isn't updated.
I suppose it could be an index issue, any ideas how I can verify the index?
from dokuwiki-plugin-move.
If ./old/namespace/1/page_2
is non-public (i.e., is not accessible for the group @ALL
) and the safeindex
option of the include plugin is set, the include plugin won't create the necessary data for the index that is used by the move plugin. Links create that data regardless of the permissions, therefore having a link in addition to the include statement solves the problem. Note that it is only important that DokuWiki knows that the main page is somehow affected by moving page ./old/namespace/1/page_2
, it is not important which syntax on the page is affected.
from dokuwiki-plugin-move.
Excellent, disabling safeindex
has indeed solved the problem! Since our wiki is fully internal I don't see a reason why I can't just leave this disabled. Many thanks for your help Michael.
from dokuwiki-plugin-move.
Related Issues (20)
- Missing $INFO['userinfo']['name'] on move handler HOT 2
- when i read dokuwiki media (*.jpg) on the smartphone, There is a log message as below. HOT 2
- Show page title in tree view (Feature Request)
- Deprecated log errors + No exit
- $mobileMenuOption.form is not a function HOT 1
- Undefined array key "move_renameokay" HOT 2
- Interaction with discordnotifier HOT 1
- Warning: Trying to access array offset on value of type null in /home/.../wiki/lib/plugins/move/action/rename.php on line 42 HOT 4
- access array offset on value of type null HOT 2
- deprecated logs HOT 1
- Failed to handle action: plugin_move HOT 2
- Replacing links in pages from the server command line
- Make fresh release after 2022-01-23 HOT 2
- "Simple Page Rename" doesn't move media files HOT 1
- pending French translations from translate.dokuwiki.org HOT 1
- Conflict between the move plugin and the wiki style template plugin (wst)
- Move single Page does not move media images.... HOT 1
- Meaning of "Set Namespace" and "Parent Namespace to export"? HOT 1
- outdated release tags HOT 2
- RFE: Pipe multiorphan plugin "Media" Orphans list | move to "opencpn:unused_media_files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokuwiki-plugin-move.