-

Wiki Scripts

-

Automation Scripts for User Interaction with a Wiki Server

These shell scripts provide the user with the ability to automate the creation and upload of content to a Wiki server (MediaWiki). These scripts can automate the process of uploading files, creating new pages, modifying existing pages, creating/modifying categories, creating/modifying templates, etc.

Also provided here are scripts that build a standardized documentation structure for an IBM AIX oriented documentation web site.

NOTE:If you are going to run these scripts on an IBM AIX system, YOU MUST DOWNLOAD A NEWER VERSION OF KornShell93. The IBM AIX implementation of KornShell93 is about 7 years old and does not function correctly. If you download the ksh93 binary executable for AIX from this site, use the following procedure:

cp  ksh93.att.audit.bin  /usr/bin/ksh93.att
chmod 555 /usr/bin/ksh93.att
chown bin:bin /usr/bin/ksh93.att

Then change the shebang line (#!/usr/bin/ksh93) of these scripts to point to the newer version of ksh93 (#!/usr/bin/ksh93.att)


wikiAutoLoad:
Mediawiki Content Automated Uploading Shell Script
Korn/Bash Shell Script to automatically upload content to a Mediawiki Server. The purpose of this program is to provide the shell programmer or system administrator with an automated mechanism for uploading documentation and content to a MediaWiki server. This shell script can be run from any system in an organization to automatically upload information to a centralized wiki documentation server.
(download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    aeupload2wiki_k93:
    AIX Expert Category Structure for Wiki Upload
    Script to upload the AIX Expert Web Site category structure to a Wiki Server, utilizing the wikiAutoLoad script (provided here) and wget.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wikiAutoload function (download)
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    mkaeupload_k93:
    Script Generator for AIX Expert Category Wiki Structures
    This script generates the "AIX Expert upload 2 Wiki" script using a list of categories defined within this script. This script can be easily customized by the user to suit their particular needs and requirements.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    bcupload2wiki_k93:
    Business Continuity Category Structure for Wiki Upload
    Script to upload a Business Continuity category structure to a Wiki Server, utilizing the wikiAutoLoad script and wget.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wikiAutoload function (download)
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    mkbcupload_k93:
    Script Generator for Business Continuity Category Wiki Structures
    This script generates the "Business Continuity upload 2 Wiki" script using a list of categories defined within this script. This script can be easily customized by the user to suit their particular needs and requirements.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    drupload2wiki_k93:
    Disaster Recovery Category Structure for Wiki Upload
    Script to upload a Disaster Recovery category structure to a Wiki Server, utilizing the wikiAutoLoad script and wget.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wikiAutoload function (download)
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    mkdrupload_k93:
    Script Generator for Disaster Recovery Category Wiki Structures
    This script generates the "Disaster Recovery upload 2 Wiki" script using a list of categories defined within this script. This script can be easily customized by the user to suit their particular needs and requirements.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    ebupload2wiki_k93:
    E-Business Category Structure for Wiki Upload
    Script to upload an E-Business category structure to a Wiki Server, utilizing the wikiAutoLoad script and wget.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wikiAutoload function (download)
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    mkebupload_k93:
    Script Generator for E-Business Category Wiki Structures
    This script generates the "E-Business upload 2 Wiki" script using a list of categories defined within this script. This script can be easily customized by the user to suit their particular needs and requirements.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    shupload2wiki_k93:
    Shell Script Category Structure for Wiki Upload
    Script to upload a Shell Script category structure to a Wiki Server, utilizing the wikiAutoLoad script and wget.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Required: wikiAutoload function (download)
  • Required: wget (url) (for AIX)
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.


    mkshupload_k93:
    Script Generator for Shell Script Category Wiki Structures
    This script generates the "Shell Script upload 2 Wiki" script using a list of categories defined within this script. This script can be easily customized by the user to suit their particular needs and requirements.
    (download)

  • Required: KornShell93 from www.kornshell.com
  • Alternate: KornShell93 Binary: for AIX
  • Alternate: KornShell93 Binary: for Linux
  • Alternate: KornShell93 Binary: for 32 bit PPC Linux

  • If you download KornShell93, place it on your system at:
        /usr/bin/ksh93.att
    Then change the "shebang" line of this script to point to that instance of ksh93.att. DO NOT overwrite the existing /usr/bin/ksh93 file.