sys:namespaces
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente | |||
sys:namespaces [2025-09-09 16:35] storyteller ↷ Pagina spostata da wiki:namespaces a sys:namespaces |
sys:namespaces [2025-09-09 16:35] (versione attuale) storyteller ↷ Collegamento modificati a causa di un'operazione di spostamento |
||
---|---|---|---|
Linea 1: | Linea 1: | ||
===== Creating Namespaces ===== | ===== Creating Namespaces ===== | ||
- | You don't need to create namespaces separately; simply create pages with colons in the [[pagename]]. | + | You don't need to create namespaces separately; simply create pages with colons in the [[wiki:pagename]]. |
The token after the last colon will be the name of the page itself, while all other tokens are namespaces. | The token after the last colon will be the name of the page itself, while all other tokens are namespaces. | ||
All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically. | All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically. | ||
Linea 7: | Linea 7: | ||
A namespace can be created in the media manager after having selected a file on the local computer and adding a ''name:'' (of namespace wanted) just before the media file name and then clicking ''upload''. This will create on the fly the namespace (folder) for the file media, visible after a refresh of the windows. | A namespace can be created in the media manager after having selected a file on the local computer and adding a ''name:'' (of namespace wanted) just before the media file name and then clicking ''upload''. This will create on the fly the namespace (folder) for the file media, visible after a refresh of the windows. | ||
- | In DokuWiki, pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page. See also [[.:page#create_a_page|Adding pages]]. | + | In DokuWiki, pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page. See also [[wiki:page#create_a_page|Adding pages]]. |
^ Examples: || | ^ Examples: || | ||
Linea 38: | Linea 38: | ||
===== Deleting namespaces ===== | ===== Deleting namespaces ===== | ||
- | When all pages inside a namespace are removed (see [[page#delete_a_page|delete a page]]) the namespace logically doesn’t exist anymore. DokuWiki usually deletes the now empty directory as well. | + | When all pages inside a namespace are removed (see [[wiki:page#delete_a_page|delete a page]]) the namespace logically doesn’t exist anymore. DokuWiki usually deletes the now empty directory as well. |
===== How to rename namespaces? ===== | ===== How to rename namespaces? ===== | ||
Linea 58: | Linea 58: | ||
Note that the ''old_namespace'' and/or ''new_namespace'' words may need to be encoded if they are on a non-Latin character set (i.e. Greek, Russian, etc). | Note that the ''old_namespace'' and/or ''new_namespace'' words may need to be encoded if they are on a non-Latin character set (i.e. Greek, Russian, etc). | ||
- | * Correct (by editing them) all the links to the pages under the //moved// namespace (you can discover those before moving the namespace by reviewing each page's [[backlinks]]). | + | * Correct (by editing them) all the links to the pages under the //moved// namespace (you can discover those before moving the namespace by reviewing each page's [[wiki:backlinks]]). |
* Browse each and every page under the new namespace. This will create the missing indexing information and metadata for the pages under the moved namespace. | * Browse each and every page under the new namespace. This will create the missing indexing information and metadata for the pages under the moved namespace. | ||
Linea 71: | Linea 71: | ||
* Browse each and every page of your Wiki. | * Browse each and every page of your Wiki. | ||
- | DISCLAIMER: I understand this is convoluted (and maybe I missed/messed a couple of things you should also do). All in all this is a PITA. You may also use a couple of [[plugins]] that are available for (re)building the searchindex for the complete wiki, erasing entire cache and/or old wiki revisions thus avoiding having to do this manually. | + | DISCLAIMER: I understand this is convoluted (and maybe I missed/messed a couple of things you should also do). All in all this is a PITA. You may also use a couple of [[wiki:plugins]] that are available for (re)building the searchindex for the complete wiki, erasing entire cache and/or old wiki revisions thus avoiding having to do this manually. |
===== Namespace Default Linking ===== | ===== Namespace Default Linking ===== |
sys/namespaces.1757428524.txt.gz · Ultima modifica: 2025-09-09 16:35 da storyteller