20 #include "apiquery.hpp"
21 #include "collectable.hpp"
22 #include "wikiuser.hpp"
23 #include "wikipage.hpp"
25 #define WIKI_UNKNOWN_REVID -1
54 static QList<WikiEdit *> PendingEdits;
55 static QMutex EditLock;
111 QString RollbackToken;
123 QStringList ScoreWords;
125 bool ProcessingByWorkerThread;
127 bool ProcessedByWorkerThread;
Base for all items that are supposed to be collected by garbage collector.
bool NewPage
Edit is a new page.
static QList< WikiEdit * > EditList
This list contains reference to all existing edits in memory.
int Priority
Priority in queue.
Edits are post processed in this thread.
QString Summary
Summary of edit.
WarningLevel CurrentUserWarningLevel
Current warning level.
bool EditMadeByHuggle
If this is true the edit was made by huggle.
void PostProcess()
This function is called by internals of huggle.
bool IsPostProcessed()
Return true in case this edit was post processed already.
WikiEdit()
Creates a new empty wiki edit.
bool Minor
Edit is a minor edit.
static int GetLevel(QString page)
Get a level of warning from talk page.
WikiUser * User
User who changed the page.
QString GetFullUrl()
Return a full url to edit.
bool FinalizePostProcessing()
This function is called by core.
int Size
Size of change of edit.
This class can be used to execute any kind of api query on any wiki.
bool Bot
Edit is a bot edit.
bool OwnEdit
Edit was made by you.
WikiPage * Page
Page that was changed by edit.
Query base class for all http queries executed by huggle.