- edit_button(+Location)//[multifile]
- Present a button for editing the web-page
- wiki_edit(+Request)[private]
- HTTP handler that deals with editing a wiki page.
- amend_button(+Dir, +File, +Author)//[private]
- Show button to amend the previous commit.
- shortlog(+Dir, +Options)//[private]
- Include a GIT shortlog
- wiki_save(+Request)[private]
- HTTP handler that saves a new or modified wiki page.
- wiki_changes(+Request)[private]
- Show git log of the wiki
- location_wiki_file(+Location, -Path) is semidet
- location_wiki_file(+Location, -Path, +Access) is semidet
-
- See also
- - Merge with find_file from plweb.pl
- save_file(+File, +Text)[private]
- Modify the file.
- write_text(+Out, +Text:atom) is det[private]
- Write the text. Text may have LF or CR/LF line endings. This
code fixes this. I'm not sure output encoding issues. Hopefully
the text is submitted as UTF-8 and converted appropriately.
- authenticate(+Request, -Fields)[private]
- Get authentication for editing wiki pages. This now first tries
the OpenID login.
- allowed_file(+File) is det[private]
-
- Errors
- -
permission_error(edit, file, File)
if the user is not
allowed to edit File.
- wiki_sandbox(+Request)[private]
- HTTP handler that displays a Wiki sandbox
Re-exported predicates
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
- location_wiki_file(+Location, -Path) is semidet
- location_wiki_file(+Location, -Path, +Access) is semidet
-
- See also
- - Merge with find_file from plweb.pl