• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages

    Upload page content

    You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

    File to load page content from
    Page name
    Comment

    BuildVersion

    Usage:

    BuildVersion

    Example:

    echo BuildVersion

    This constant returns the version number of the running bot.

    • // check bot version to make sure it is 3167 or later (simplified), compatible with old bots
           @BuildVersion = ""                                                           // this will assign value on older bots, silently error on newer bots
           if BuildVersion < "3167" echo "This script requires version 3167 or later"   
           if BuildVersion < "3167" end
      
      // check bot version on post-3166 bots (simplified)
           if BuildVersion < "3200" die "This script requires version 3200 or later"    // note, "die" command may not be available on old bots


    CategoryConstants