Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Huggle::WikiEdit Class Reference

Wiki edit. More...

#include <wikiedit.hpp>

+ Inheritance diagram for Huggle::WikiEdit:

Public Member Functions

 WikiEdit ()
 Creates a new empty wiki edit.
 
bool FinalizePostProcessing ()
 This function is called by core. More...
 
QString GetFullUrl ()
 Return a full url to edit.
 
bool IsPostProcessed ()
 Return true in case this edit was post processed already.
 
void PostProcess ()
 This function is called by internals of huggle.
 
void ProcessWords ()
 
- Public Member Functions inherited from Huggle::Collectable
unsigned long CollectableID ()
 CollectableID. More...
 
QString DebugHgc ()
 DebugHgc. More...
 
bool IsLocked ()
 
bool IsManaged ()
 IsManaged Managed class is deleted by GC and must not be deleted by hand. More...
 
void Lock ()
 Lock this object so that other threads can't change consumers or modify its properties.
 
void RegisterConsumer (const int consumer)
 Registers a consumer. More...
 
void RegisterConsumer (const QString consumer)
 Registers a consumer. More...
 
virtual bool SafeDelete ()
 Use this if you are not sure if you can delete this object in this moment.
 
void Unlock ()
 Unlock this object for deletion by other threads.
 
void UnregisterConsumer (const int consumer)
 This function will remove a string which prevent the object from being removed. More...
 
void UnregisterConsumer (const QString consumer)
 This function will remove a string which prevent the object from being removed. More...
 

Static Public Member Functions

static int GetLevel (QString page)
 Get a level of warning from talk page.
 

Public Attributes

bool Bot
 Edit is a bot edit.
 
WarningLevel CurrentUserWarningLevel
 Current warning level.
 
int Diff
 Diff id.
 
QString DiffText
 
bool EditMadeByHuggle
 If this is true the edit was made by huggle.
 
bool Minor
 Edit is a minor edit.
 
bool NewPage
 Edit is a new page.
 
WikiEditNext
 
int OldID
 Old id.
 
bool OwnEdit
 Edit was made by you.
 
WikiPagePage
 Page that was changed by edit.
 
bool PostProcessing
 
WikiEditPrevious
 
int Priority
 Priority in queue.
 
bool ProcessedByWorkerThread
 
bool ProcessingByWorkerThread
 
int RevID
 Revision ID.
 
QString RollbackToken
 
long Score
 
QStringList ScoreWords
 
int Size
 Size of change of edit.
 
WEStatus Status
 
QString Summary
 Summary of edit.
 
QDateTime Time
 
bool TrustworthEdit
 
WikiUserUser
 User who changed the page.
 

Static Public Attributes

static QList< WikiEdit * > EditList
 This list contains reference to all existing edits in memory.
 

Private Attributes

ApiQueryDifferenceQuery
 
bool ProcessingDiff
 
ApiQueryProcessingQuery
 
bool ProcessingRevs
 

Detailed Description

Wiki edit.

Basically all changes to pages can be represented by this class

Definition at line 67 of file wikiedit.hpp.

Member Function Documentation

void WikiEdit::ProcessWords ( )
Todo:
This whole thing suck we should rewrite it a bit

Definition at line 219 of file wikiedit.cpp.

References Page.

Member Data Documentation

bool Huggle::WikiEdit::TrustworthEdit

If this is true the edit was made by some other tool for vandalism reverting

Definition at line 117 of file wikiedit.hpp.

Referenced by WikiEdit().


The documentation for this class was generated from the following files: