Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Page
Discussion
Edit
View history
Editing
Wikiq
(section)
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Codebook == The current version of wikiq provides one row for each edit (unless --collapse-user is passed, in which case each row corresponds to consecutive edits by the same editor), with columns for the following variables: anon articleid collapsed_revs date_time deleted editor editor_id minor namespace revert reverteds revid sha1 text_chars title token_revs tokens_added tokens_removed tokens_window The meaning of the variables is: <code>anon</code> : Whether the editor is anonymous <code>articleid</code> : Unique identifier for the page <code>date_time</code> : Timestamp of the edit <code>deleted</code> : Whether the edit was deleted <code>editor</code> : The user name of the editor <code>editor_id</code> : Unique identifier for the editor <code>minor</code> : Whether the edit is minor <code>namespace</code> : A namespace is the type of whose names begin with a particular reserved word followed by a colon. For example, User:mkross (see https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces) <code>revert</code> : The edit identity reverts one or more other edits. <code>reverteds</code> : The ids of the edits that were reverted. <code>revid</code> : Unique identifier of the revision. <code>sha1</code> : Hash of the article text of the revision <code>text_chars</code> : Length of the article in characters following the revision <code>title</code> : Text title of the page. The following variables refer to persistent word revisions (PWR) and are only provided when wikiq is called with the <code>--persistence</code> argument: <code>token_revs</code> : The number of "token revisions" contributed by the edit. This is the key PWR variable. <code>tokens_added</code> : The number of tokens added by the edit. <code>tokens_removed</code>: The number of tokens removed by the edit. <code>tokens_window</code> : The maximum revisions examined in computing token revisions. The following variables are output when wikiq is called with the <code>--collapse-user</code> argument: <code>collapsed_revs</code> : The number of consecutive revisions the editor made that have been collapsed into the row. The following variables are output when wikiq is called with the pattern matching arguments: <code>[label]</code> from <code>-CPl/--comment-pattern-label or -RPl/--revision-pattern-label</code> : A list of the matches of the pattern given for this label found in that edit's revision text or comment (whatever specified). If none found, None. <code>[label]_[named_capture_group]</code> : A list of the matches for the named capture group in the pattern given for this label in the edit's revision text of comment (whatever specified). If none found, None.
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information