Did you know ... Search Documentation:
wiki_edit.pl -- Edit PlDoc wiki pages
PublicShow source
Source edit_button(+Location)//[multifile]
Present a button for editing the web-page
Source wiki_edit(+Request)[private]
HTTP handler that deals with editing a wiki page.
Source amend_button(+Dir, +File, +Author)//[private]
Show button to amend the previous commit.
Source shortlog(+Dir, +Options)//[private]
Include a GIT shortlog
Source wiki_save(+Request)[private]
HTTP handler that saves a new or modified wiki page.
Source wiki_changes(+Request)[private]
Show git log of the wiki
Source location_wiki_file(+Location, -Path) is semidet
Source location_wiki_file(+Location, -Path, +Access) is semidet
See also
- Merge with find_file from plweb.pl
Source save_file(+File, +Text)[private]
Modify the file.
Source 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.
Source authenticate(+Request, -Fields)[private]
Get authentication for editing wiki pages. This now first tries the OpenID login.
Source allowed_file(+File) is det[private]
Errors
- permission_error(edit, file, File) if the user is not allowed to edit File.
Source 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.

Source location_wiki_file(+Location, -Path) is semidet
Source location_wiki_file(+Location, -Path, +Access) is semidet
See also
- Merge with find_file from plweb.pl