WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::UI
Child packages:

    SMELL / FIX / TODO count: 14

    internal package Foswiki::UI::RDiff

    UI functions for diffing.

    TODO: this needs to be exposed to plugins and whoever might want to over-ride the rendering of diffs
    TODO: I'm starting to think that we should have a variable number of lines of context. more context if you are doing a 1.13 tp 1.14 diff, less when you do a show page history.
    TODO: **URGENT** the diff rendering dies badly when you have table cell changes and context
    TODO: ?type={history|diff} so that you can do a normal diff between r1.3 and r1.32 (rather than a history) (and when doing a history, we maybe should not expand %SEARCH...
    | TODO: | this should move to Render.pm |
    SMELL: assumption about storage of meta-data embedded in topic
    | TODO: | this should move to Render.pm |
    | TODO: | this should move to Render.pm |
    | TODO: | this should move to Render.pm |
    | TODO: | move into Render.pm |
    FIXME: Intelligently remove followup lines in case META:TOPICINFO is the only change

    StaticMethod diff( $session )

    diff command handler. This method is designed to be invoked via the UI::run method.

    Renders the differences between version of a topic
    topic topic that we are showing the differences of
    rev1 the higher revision
    rev2 the lower revision
    render the rendering style {sequential, sidebyside, raw, debug} (preferences) DIFFRENDERSTYLE, sequential
    type {history, diff, last} history diff, version to version, last version to previous history
    context number of lines of context
    skin the skin(s) to use to display the diff
    TODO:
    * add a {word} render style
    • move the common CGI param handling to one place
    • move defaults somewhere

    SMELL: made this conditional as it doesn't seem to be used
    $after =~ s/%TAIL%/$tailResult/g;SMELL: unused in templates

    StaticMethod revisionsAround($session, $topicObject, $requestedRev, $showRev, $maxRev) → $output

    Calculate the revisions spanning the current one for display in the bottom bar.

    Topic revision: r1 - 15 Mar 2026, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback