Addlink Action Documentation
See also:
- Development: AddLinkAction.
Last edited by OnegWR:
Replaces old-style internal links with new pipe-split links.
Fri, 20 May 2016 07:38 UTC [diff]
Replaces old-style internal links with new pipe-split links.
Fri, 20 May 2016 07:38 UTC [diff]
This is the documentation page for the addlink action.
What?
- This action will allow you to fast add links in a structured way.
Use
- Add at least two "----" codes on a page.
- Add {{addlink}} but not in between the first and second "----".
- So the minimum page would be:
{{addlink}} ---- ----
- A more realistic page (result is seen under "Example"):
===== Test action addlink ===== {{addlink}} ---- ==First== ~[[http://wikka.jsnx.com/HomePage | Wikka]] [[http://wikka.jsnx.com/HomePage | Wikka]] [[http://wikka.jsnx.com/HomePage | Wikka]] ==!!!HOT!!!== ~[[http://wikka.jsnx.com/HomePage | Wikka]] [[http://wikka.jsnx.com/HomePage | Wikka]] ==Search== ==Last== ~[[http://wikka.jsnx.com/HomePage | Wikka]] [[HomePage]] ---- CategoryLinks
Example
Features
- The page is split into 3 sections: Header (before the first "----"), Links (in between the first and second "----") and Footer (after the second "----"). The Header and Footer sections aren't touched.
- Using one or more "----" in the Footer section is not a problem.
- This script will not be visible (and will not work) if for users that don't have write (and read) access on the page.
- If no cat is selected in the form or a link was present before the first cat, "First" will be used.
- The cat "First" and "Last" will, if present, always be put at the start and end of the Links section.
- WikiWords are not supported, you'll have to wrap them in double square brackets.
- Just edit the page for deleting or editing a link.
Warning
- Only links and cat's are read from the Links section, comments will be removed when a new link is added. (You're still able to see them via )
Security
- This script is not more dangerous than giving a user write access to a page. But as one of the dangers for a wiki is being flooded with links, you should be aware of what you are doing...
CategoryUserContributions