C# Class AutoWikiBrowser.UsageStats

A class to collect and submit some non-invasive usage stats, to help AWB developers track usage and plan development
Stats can be viewed at https://tools.wmflabs.org/awb/stats/ Tool Labs access is needed to access files/database
Datei anzeigen Open project: reedy/AutoWikiBrowser Class Usage Examples

Private Properties

Property Type Description
AddedPlugin void
AddedPlugin void
AddedPlugin void
Do void
EnumeratePlugins void
FirstContact void
OpenUsageStatsURL void
PostData string
ProcessUsername void
ReadXML void
SubsequentContact void

Private Methods

Method Description
AddedPlugin ( IAWBBasePlugin plugin ) : void

Call when a plugin was added *after* application startup

AddedPlugin ( IAWBPlugin plugin ) : void

Call when a plugin was added *after* application startup

AddedPlugin ( IListMakerPlugin plugin ) : void

Call when a plugin was added *after* application startup

Do ( bool appexit ) : void

Call this when it's time to consider submitting some data Don't try to send stats if no edits/new pages

EnumeratePlugins ( NameValueCollection postvars, ICollection awbPlugins, ICollection awbBasePlugins, ICollection listMakerPlugins ) : void
FirstContact ( ) : void

Send usage stats to server

OpenUsageStatsURL ( ) : void
PostData ( NameValueCollection postvars ) : string

Post a collection of names/values to server

ProcessUsername ( NameValueCollection postvars ) : void
ReadXML ( string xml ) : void
SubsequentContact ( ) : void

Send updated usage stats to server