Jump to content

Wikipedia:AutoWikiBrowser/Kingbotk plugin/WikiFunctions2

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kingboyk (talk | contribs) at 18:49, 18 October 2006 (Objects: image). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiFunctions2.dll is a dotnet DLL written by Kingboyk and supplied with the Kingbotk Plugin. The library depends on and supplements WikiFunctions.dll which is supplied with Bluemoose's AutoWikiBrowser.

Objects

File:WikiFunctions2.png

Version 1.0 of the library contains the following classes and interfaces:

  • WikiFunctions.WikiFunctions2 - Contains a function which returns the DLL's version info
  • WikiFunctions.Encryption.RijndaelSimple - Contains an easy to use wrapper around Rijndael encryption (not directly wiki-related, of course, but used by the plugin to store user details in the registry). The class uses a symmetric key algorithm (Rijndael/AES) to encrypt and decrypt data. As long as encryption and decryption routines use the same parameters to generate the keys, the keys are guaranteed to be the same. (not my code).
  • WikiFunctions.Logging.IMyTraceListener - An interface implemented by all trace (logging) classes including the trace manager
  • WikiFunctions.Logging.TraceListenerBase - This abstract class can be used to build trace listener classes
  • WikiFunctions.Logging.TraceListenerUploadableBase - An abstract class for building auto-uploading trace listeners
  • WikiFunctions.Logging.TraceManager - An inheritable implementation of a Logging manager, built around a generic collection of IMyTraceListener objects and String keys
  • WikiFunctions.Logging.WikiTraceListener - This class logs in Mediawiki-markup format
  • WikiFunctions.Logging.XHTMLTraceListener - This class logs in XHTML format
  • WikiFunctions.Logging.Uploader.ITraceStatusProvider - Implemented by classes which expose a TraceStatus object
  • WikiFunctions.Logging.Uploader.LogUploader - A class which uploads logs to Wikipedia. Inherits from WikiFunctions.Editor in AWB's DLL
  • WikiFunctions.Logging.Uploader.TraceStatus - A class which keeps track of statistics and not-yet-uploaded log entries. My plugin inherits from this class to add UI features.
  • WikiFunctions.Logging.Uploader.UploadableLogSettings - A simple settings class for logging solutions
  • WikiFunctions.Logging.Uploader.UploadableLogSettings2 - An extended base class with extra properties for a comprehensive logging solution
  • WikiFunctions.Logging.Uploader.UploadingPleaseWaitForm - A form for displaying when the application is busy uploading
  • WikiFunctions.Logging.UploaderUsernamePassword - Stores the user's login details/cookies

Download

The DLL is supplied with my plugin.