User:Kingbotk/Plugin/WikiFunctions2

From Wikipedia, the free encyclopedia

Kingbotk Plugin for AWB

Home

General information about the Kingbotk Plugin and directions for installation.

Discussion

Discuss the application and ask questions.

User guide

How to use the plugin.

How it works

What the plugin does, how it works, and why you should use it.

AutoWikiBrowser

The plugin works inside AWB and is shipped with that tool.

Generic WikiProject templates · WikiFunctions2.dll · AWB Plugins · AWB Sandbox

WikiFunctions2.dll is a dotnet shared library written by Kingboyk and supplied with AutoWikiBrowser. The library depends on and supplements AWB's WikiFunctions.dll.

[edit] Objects

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

Version 1.0.1 added:

  • WikiFunctions.TalkPages.TalkPageHeaders.ProcessTalkPage() - Parses a talk page for a {{talkheader}} and/or {{skiptotoc}} template and moves them to the top.

[edit] Download

The DLL is supplied with AWB, in the subfolder containing my my plugin.