Wikibot | |
---|---|
Status of the proposal | |
Status | rejected |
Reason | There is Wikidata for this now. --Sannita (talk) 12:22, 18 September 2013 (UTC) |
Details of the proposal | |
Project description | making wiki content and meta content available via queries from external sites |
Capital One Shopping gets you better offers, automatically applies the best coupon code at checkout, and lets you know when prices drop on products you've viewed and purchased. A WikiPedia bot for WhatsApp. For WhatsApp ? ? ? WhatsApp any term to WikiBot ? and get a reply with a summary from its WikiPedia page. Get it at ? tiny.cc/wikibot and say Hi ?? Made by @jajoosam@jajoosam.
Wikibot is a project proposal for making wiki content and meta content available via queries from external sites.
Mission[edit]
To provide public information and structured information in a format that can be readily accessed and digested by external server requests/ programs.
Proposal[edit]
Wikibot would encompass several features designed to assist both users and proccesses in retrieving information in a way that preserves its structural relationships with like information. The core features would include a mapping syntax, a querying syntax, a querying interface (for users), and some kind of ad-hoc narrative to structured translator, a global unique key generator (so external databases can link their own data to publically accessable data instances).
Justification[edit]
- While Wikipedia is great for narrative information on a topic, there seems to be no easy way to extract structure datasets. This would be an enormous asset in that respect as it would provide a centralized location for standards and other structured sets of data.
- There is no common source for such public data, and it's wasteful for every organization using a database to retain their own list of cities, list of nations, list of measurement units.
- Other Wiki projects could embed structuring protocol for diagraming. ie structuring protocol in tandem with some kind of command could be used to generate pngs or find and create links to other wiki resources informed by page's structural context.
Key Features[edit]
- Standardized Structuring Syntax
- purpose: syntax for encoding/decoding multi-dimensional dataset structures.
- Syntax Elements:
- Relationship Indicators: place current structure in context of existing structures, including
- direct aliasing,
- child-inclusive aliasing,
- tangent substructure status,
- parallel structure context, etc
- Condition and Usage Indicatiors: define parameters of given structural set and types of information/things it can be applied to.
- Narative Indicator: for providing any necessary narrative detail
- Permissions and Status Indicators: signal to querying components the presence and scope of embedded structural map. Allows editor to tag some content within map not available for export outside page, outside wiki, outside wiki network
- Structure Type Tags: is it definitional, is it naming, is it mathematical/measurable...basically indications of how data can be appropriately used in conjunction with other data objects. you wouldn't want to try to square-root an element of a list of similies...
- Relationship Indicators: place current structure in context of existing structures, including
- Querying Protocol - tk
- Querying Interface -tk
- for users
- for agents/bots
- Request Monitor - restricts frequency of a sites requests to prevent server overload, based on request history and frequency of dataset modification. sites that makes requests every few minutes, for instance might be required to store contents locally between hourly or daily calls
Examples[edit]
- For each of the following, the suggested dividing levels stand in for lists of such. For example the locations list would not simply include what is written here but would map lists of cities to states in lists of states in lists of countries....
- Locations: planets->continents->countries->regions/provinces/states->townships/cities/towns/landmarks->streets/routes/zipcodes
- Measurements: Atomic State->Most Specific Level of Material Specialization (ie clothing vs land vs wood)-> Units.
- Tangents to Measurements would include, measurement tools, systems of measurement (metric, english), aliases to other nodes with in measurement structure...
Glossary[edit]
- process/agent/bot = an external automated process, program, application, or webpage requesting information from Wikibot
- user = a person requesting structured data returns from the Wikibot/Access on-site interface
People Interested[edit]
- A.A 12:41, 27 December 2006 (UTC)
Discussion[edit]
- Please discuss the idea as a whole on the talk page.
- Naming for the proposal should be discussed at Wikibot/Name.
- Discussion about existing similar ideas should be made at Wikibot/Others.
- Technical aspects of the project can be discussed at Wikibot/Technical.
Retrieved from 'https://meta.wikimedia.org/w/index.php?title=Wikibot&oldid=20998275'
< Manual:Pywikibot
Bahasa Indonesia • Bân-lâm-gú • Deutsch • English • asturianu • català • dansk • español • français • italiano • polski • português do Brasil • suomi • svenska • čeština • Ελληνικά • български • русский • українська • עברית • العربية • فارسی • हिन्दी • ไทย • 中文 • 日本語 • 한국어
This page will help you get started with Pywikibot, either on your own computer, on Toolforge, or using PAWS: A Web Shell.
PAWS: A Web Shell is the easiest way to get started with Pywikibot.No installation is necessary, and you use a web interface to submit commands.
Below is a manual to help you set Pywikibot up and running on your own computer. There are four main steps to this process:
Toolforge provides you with a stable cloud infrastructure on Wikimedia servers that allows you to run bots continuously or on a schedule.
Pywikibot |
---|
|
v·d·e |
Install Python[edit]
Download and install Python from https://www.python.org/downloads/.
If you already have Python installed, check if your version is recent enough by running
python --version
in a console.If you have Python 3.5 or higherOn Windows please do not forget to modify PATH environment variable to make Python and pip work properly.
Install dependencies[edit]
An additional package named requests is required to run Pywikibot. Use pip, which is already installed if you have Python 2.7.9 or higher, or Python 3.4 or higher. Run the following command to install this package:
Install Pywikibot[edit]
Download current Pywikibot stable branch: .tar.gz, .zip.
Python 2.7 users should download the stable python2 branch: .tar.gz, .zip instead.
Unpack downloaded file, for example in
~/pywikibot
or C:Usersusernamepywikibot
.![Wikibot Wikibot](https://www.wikidoc.org/images/6/60/Varicocele-004.jpg)
Alternatively, you may retrieve the latest version using git or svn client from Gerrit, see Manual:Pywikibot/Gerrit. This is the recommended way for active bot operators and developers to use Pywikibot.
Other versions are available at https://pywikibot.toolforge.org/.
Updating Pywikibot[edit]
Keep your bot framework up to date. New versions are released continuously, and are available at the same location.
If you are using git or svn release, you may skip this note. Otherwise please be aware of a necessity to backup your configuration files and scripts (user-config.py, any family file, or custom script that you might have created or changed, and any current XML dump file you're using for a wiki) before installing a new release.
Unpack the new version over the old version, overwriting all files.
Configure Pywikibot[edit]
Open Terminal on Unix-like (Linux/BSD/Solaris) or Command Prompt on Windows (typically under Windows System or Accessories folders in All apps or All programs menu inside the Start menu), and change directory to where you unpacked Pywikibot:
- Unix-like (Linux/BSD/Solaris):
- Windows:
Of course substitute the location to where you unpacked Pywikibot.
Wiki Bot
Continue with the following command to generate user configuration file:
Follow the prompts to configure Pywikibot.
Finally run the following command to log in to your wiki:
Use on third-party wikis[edit]
Pywikibot is pre-configured for a large number of wikis, but possibly not for the one you want to work on.See Manual:Pywikibot/Use on third-party wikis for how to configure Pywikibot for your wiki.
Pip Install Wikipedia
More configuration options[edit]
Pywikibot provides a wide range of configuration options to change the behavior of your bot.You can change these settings in the file user-config.py.See config2.py for a list of all parameters you can use.
Proxy configuration[edit]
Pywikibot relies on
requests
for communicating with the web.You can use HTTP_PROXY
and HTTPS_PROXY
environment variables to make requests use a proxy server.Refer to requests' documentation for more info.Run a script[edit]
Pywikibot comes packaged with a large number of scripts in the scripts directory.You can run all of these using:
A list of all scripts is available at Manual:Pywikibot/Scripts.
Other dependencies[edit]
Most scripts do not require additional packages, but a few of them will not work without.These are listed in requirements.txt together with their dependencies.
To install dependencies for some script, use pip, and run the following command:
Wiki Botfly
Alternatively, run the following command to install all dependencies for all scripts at once:
- If you need more help on setting up your Pywikibot visit the #pywikibot IRC channelconnect or pywikibot@ mailing list.
Retrieved from 'https://www.mediawiki.org/w/index.php?title=Manual:Pywikibot/Installation&oldid=4494099'