Rerendering of wiki links #5259
Replies: 3 comments
-
Same question here 👍 Just FYI: the workaround is as you mentioned, but you don't actually need to add or remove anything. You can just go to edit mode and immediately save without making any changes to the page, it will cause re-render. However, as an (expected) side-effect, it also creates an entry in the page version history, with an empty diff to the previous version. Btw, another situation when you may want or need re-render is when you change the rendering settings (though probably in that case most of the time you would want to re-render all pages rather than just one). |
Beta Was this translation helpful? Give feedback.
-
This is an extremely old post but I ran into the same issue. So I will leave a answer here if someone stumbles here somehow.
|
Beta Was this translation helpful? Give feedback.
-
It looks like this is tracked as a currently open bug, #1614 |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if my usage of wiki.js is just different from normal, or if I've just missed something obvious. I'm currently using wiki.js as a collaborative tool for world building. It's a smallish wiki right now, with only about a hundred pages. However, we tend to write pages with a lot of cross references (i.e. links to other pages) and we don't necessarily build them in order. For example, if we have Page A that references Page B, it doesn't mean Page B exists yet; in fact most of the time it won't. We know what the link will be, because we've agreed on a method for organizing the pages. (For example, all important locations will live under
/locations/some-location
, so when we decide we need a new location while working on a different page, we just drop a link to/locations/new-location
and then come back and write that page.)What this leads to is a lot of pages being created after they've been referenced, so the pages that link to them still render those links as missing. A global rerender fixes everything, but at 100 pages, it takes minutes to rerender everything, and I'm afraid that once this reaches several hundred pages that will become untenable.
Is there a way to just rerender a single page? (Other than a trivial edit of adding/removing a newline.) Or to make wiki.js pick up on the fact that I've just filled in a page, so now it can rerender all the pages that link to this one? Or, baring anything else, is there any simple way to run a scheduled job to just rerender the whole wiki every night?
Beta Was this translation helpful? Give feedback.
All reactions