Jump to content

User:A1kmm/WikiFox

From Wikipedia, the free encyclopedia

WikiFox is a Firefox 1.5 extension designed to simplify repetitive Wikipedia tasks (in particular, dealing with bad edits, such as newbie or vandal edits). WikiFox is not intended to be a bot, because it will not operate without continuous human input (that is, WikiFox does not automatically make editing decisions, but instead asks the user to make those decisions. However, because WikiFox can perform a small number of edits in response to a single human mouse click, it means the human operator can spend more time making decisions, and less time performing repetitive tasks or waiting for pages to load).

What WikiFox does[edit]

  • WikiFox has a built in IRC client. This IRC client connects to a configurable IRC server (usually irc.wikimedia.org:6667), and joins a configurable channel (such as #en.wikipedia). WikiMedia runs a service which sends messages to these channels for every edit to Wikipedia.
  • WikiFox parses these messages, and keeps information about the most recent 50 edits (the number 50 is the default, but configurable) in a pool in memory.
  • The WikiFox UI uses a tabbed design. Whenever there are less than 5 (again, this is configurable) open tabs, a new tab is open, based on a randomly chosen edit from the RC pool. Once selected for a tab, the RC is removed from the RC pool.
  • Each tab in WikiFox has a number of buttons, and two mini-browser areas (similar to IFRAMEs in HTML). The left browser area shows the change diff (as a normal MediaWiki diff page) and the right area shows the history for the same article.
  • If the edit appears good, the user can click on the Accept button, causing the tab to close an a new tab to open to replace it.
  • If the edit is bad, the user can click on the bad edit button. Clicking this button will ask why the edit is bad, showing the editing user's talk page in the dialog). The user can choose to revert without annotating the user's talk page, or revert and add one of a selected template, such as Template:Test1 and friends. The user can also automatically post a notice about the user on Wikipedia:Administrator_intervention_against_vandalism .

Technology used[edit]

  • WikiFox is a Firefox extension. It will work with Firefox 1.5 and Firefox 1.5.0.* initially.
  • It is written entirely using XUL and Javascript. It has no platform specific parts, so should run on any platform that Firefox 1.5 can run on.

Availability[edit]

WikiFox is currently under development in a private source repository. However, the author intends to release it in the near future, under the following license...

THIS SOFTWARE IS SUBJECT TO THE DISCLAIMERS CONTAINED IN ALL LICENSES LISTED
BELOW, SOME OF WHICH DISCLAIM ALL WARRANTIES.

You may use this software only under one or more of the following licenses:
  1) The GNU General Public License, version 2 (or at your option, any later
     version, provided those later versions are in the same spirit as version 2
     ), or,
  2) The GNU Lesser General Public License, version 2.1 (or at your option, any
     later version, provided those later versions are in the same spirit as
     version 2.1), or,
  3) The Mozilla Public License, version 1.1 (or at your option, any later
     versionm provided those later versions are in the same spirit as version
     1.1), or,
  4) The WikiFox BSD-style license (as included in this file)

Note:
* This software may require components which impose further copyright
  restrictions.
* If you send me any patch or other contribution to this package, you agree
  to license the contribution under all four licenses. If you do not agree to
  this, place a prominent notice together with the patch. If you do this, I
  will probably not accept your contribution in order to guarantee this license
  for users.
* If you want to make WikiFox work with another software package under a
  license which is incompatible with all of the above, you can e-mail me and
  I might make a special exception or add a new license to the above list.
* The author, Andrew Miller, can be contacted at [email protected]. The
  author is user A1kmm on Wikipedia and FreeNode.

( The text of all the licenses follow in the COPYING file )

When WikiFox is released, it will be available both as a source code tarball, and as an XPI (which actually contains nearly all the source code, but can be installed directly into your Firefox 1.5 browser).

A note on forced registration[edit]

  • Some other software, like AWB, has taken the approach of forcing users to register (see WP:AWB#.281.29_Register) in order to use the software.
  • The proponents of this approach claim that it helps to prevent vandalism of Wikipedia.
  • I don't believe that forced registration is a good idea for several reasons:
    • It is against a fundamental principle of computer security, namely that security measures should be verified using resources trusted by those potentially affected by any exposure. However, the security in the AWB approach is verified by the user's own client. A user wanting to use the software for malicious purposes could do simply modify the client to not perform the check. Even if they couldn't do that, they could write their own software even better suited to the purpose without too much effort.
    • It is un-wiki. The principle which makes Wikipedia and other wikis so successful is that anyone can come in and start helping. Having to get approval first reminds me of this parody. Users wanting to help fight vandalism who already use Firefox should be able to download and install Wikifox into their browser, restart, and fight vandalism straight away, probably within a minute of deciding to do so, and that is a good thing for Wikipedia. Most people are well intentioned, so this should more than compensate for any vandals who may benefit from the software.
    • Approval mechanisms are Wikipedia specific, but the software should be usable with other MediaWiki powered wikis.
    • Approval mechanisms concentrate authority. While Wikipedia is not a democracy, it is not a dictatorship either, and to build a good encyclopaedia, it needs to be built around community consensus, not authority and potential POV-pushers.
    • Approval mechanisms go against the spirit of Free Software, and the author does not, as a matter of principle, believe that this project should be anything other than Free (as in freedom) software.