namespaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
namespaces [2024-01-29 06:00] – 2409:40d0:1039:bc68:ec2e:efb1:39bb:7914 | namespaces [2024-05-15 10:24] (current) – [Referring Images] 217.70.164.142 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Delhi International School Edge offers education from CLASS Nursery to CLASS XII. Delhi International School Edge is accredited by the Department of Education (NCT of Delhi) and affiliated with the Central Board of Secondary Education (CBSE). DIS Edge takes an approach to facilitate students’ special needs and provides a variety of avenues for their participation in various academic and co-curricular activities in an inclusive environment. Visit our website: https:// | + | ===== Creating Namespaces ===== |
- | Facebook - https://www.facebook.com/ | + | You don't need to create namespaces separately; simply create pages with colons in the [[pagename]]. |
+ | 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. | ||
- | Linkedin- https://www.linkedin.com/ | + | A namespace can be created in the media manager after having selected a file on the local computer and adding a '' |
- | Twitter - https://twitter.com/ | + | 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# |
- | Instagram - https://www.instagram.com/dis.edge/ | + | ^ Examples: || |
+ | | example\\ | ||
+ | | : | ||
+ | | ..example\\ ..: | ||
+ | | wiki: | ||
+ | | ns1: | ||
+ | | .ns1: | ||
+ | | ..ns1: | ||
+ | | .ns1:ns2:\\ .: | ||
+ | | ~example\\ ~: | ||
- | Youtube- https:// | + | :!: Gotcha: The syntax for relative and absolute internal links is non-unique and complex relative to directory and filename conventions. |
- | Address- Sector 18, Dwarka, New Delhi 110075 | + | |
+ | Links are absolute if and only if they have a ":" | ||
+ | |||
+ | Links relative to the current namespace may also begin with either " | ||
+ | |||
+ | ===== Referring Images ===== | ||
+ | Regarding referring of namespaces, images and other media files are handled like wiki pages. That means, the following refers to an image that belongs to the current namespace: | ||
+ | < | ||
+ | {{image.jpg}} | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Deleting namespaces ===== | ||
+ | |||
+ | When all pages inside a namespace are removed (see [[page# | ||
+ | |||
+ | ===== How to rename namespaces? ===== | ||
+ | |||
+ | ==== Manual way ==== | ||
+ | |||
+ | In order to rename a namespace manually you will have to: | ||
+ | * Rename the folders that represent the namespace in: | ||
+ | * '' | ||
+ | * '' | ||
+ | * Remove metadata for the namespace under '' | ||
+ | * Remove attic data for the namespace under '' | ||
+ | |||
+ | For example, on a Unix host, you could: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * move: '' | ||
+ | Note that the '' | ||
+ | |||
+ | * 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]]). | ||
+ | |||
+ | * 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. | ||
+ | |||
+ | However, you will still have lots of junk left around. For example in '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * Browse each and every page of your Wiki. | ||
+ | |||
+ | DISCLAIMER: I understand this is convoluted (and maybe I missed/ | ||
+ | |||
+ | ===== Namespace Default Linking ===== | ||
+ | |||
+ | It is possible to link to the default page of a namespace by ending the linkid | ||
+ | with a colon: '' | ||
+ | existence of certain named files. For '' | ||
+ | checked: | ||
+ | |||
+ | < | ||
+ | foo: | ||
+ | foo: | ||
+ | foo:bar | ||
+ | </ | ||
+ | |||
+ | The pages are checked in that order and whatever page is found first will be linked to. [[config: | ||
+ | |||
+ | See [[config: |
namespaces.1706504457.txt.gz · Last modified: 2024-01-29 06:00 by 2409:40d0:1039:bc68:ec2e:efb1:39bb:7914