Expand description
Changeset tools: listing, publishing, discarding and previewing staged changes.
StructsΒ§
- Discard
Changeset - Handler of the
discard_changesettool. - GetPreview
Link - Handler of the
get_preview_linktool. - List
Changesets - Handler of the
list_changesetstool. - Preview
Link π - The preview link of one page.
- Publish
Changeset - Handler of the
publish_changesettool.
ConstantsΒ§
- RECENT_
CLOSED_ πCHANGESETS - Published, discarded and expired changesets listed besides the open ones.
FunctionsΒ§
- check_
pages_ πready - Refuses publishing while a page whose blocks the changeset changes has no page title block or still holds template placeholder text.
- discard_
rejected π - discard_
some π - Drops only the listed entities, refusing if the rest would no longer publish.
- explained π
- insert_
links π - Puts
linksintoresult: the one link asurlwhen a singlepagewas asked for, elsepreviews. - live_
page π - The page as published, if the course has it.
- not_
open_ πresult - The result for a changeset of
coursethat is no longer open. - own_
changeset π - The course and the userβs own changeset in it, or not found.
- summary_
json π