I have one question in concerning the GPL-license in regard to a
web-application using the MediaWiki API for querying XML (and possible other
extensions). I'm unsure if the GPL-license will affect the client program
and would like to ask if anyone would care to comment?
I am a developer at PediaPress, working for the wiki-to-print project
in collaboration with the Wikimedia Foundation (http://wikimediafoundation.org/wiki/Wikis_Go_Printable
By leveraging the MediaWiki API we have reached a point where an
integration to any MediaWiki installation is possible with almost no
configuration. But there's one last problem we couldn't solve,
specificially problems with licenses, that occur in two different
1. Is it possible to programatically get the full text of the license
for the articles of a MediaWiki (ideally in form of an article in the
same MediaWiki installation)?
This information is needed by our project and probably by other
projects that want to respect license issues, too. With api.php?
action=query&meta=siteinfo only the name of the license can be
retrieved. The license name contained in siteinfo has only indirect
relation to the actual license found in the MediaWiki: On
en.wikipedia.org for example, the article "GNU Free Documentation
License" is an article *about* the GFDL, which links to
"Wikipedia:Text of the GNU Free Documentation License" (which itself
has the shortcut "Wikipedia:GFDL"). On de.wikipedia.org, the article
"Wikipedia:Text of the GNU Free Documentation License" does not
exists, but "Wikipedia:GFDL" does.
2. Is it possible to get the licenses (or at least license names) for
The image descriptions (or "comments" from
action=query&prop=imageinfo&iiprop=comment) only include templates
("license boxes") whose names differ from one MediaWiki installation
to the other; needless to say, that not every included template needs
to be used for licensing information. Another problem with
iiprop=comment is, that sometimes not the full description text is
Thanks and best regards,
i'm new in mediawiki
now i'm updating some pages of the wiki manually:
1- i have a cron process that generate a text file (html wiki format) from some
2- i open the text file -> select all -> ^C
3- then, i open the wiki article -> edit -> select all -> ^V -> save
i want to write a program (c, python, php, ...), launched by cron, and
makes points 2 & 3 (update the
database with the new data.
i was looking the API manual, i did some test with php, without any
results. would i have some primary example to understand the process
and continue away?
tks in adavance
I am creating a program which bulk imports a ton of images to the mediawiki
I would rather use a mediawiki api call to do this, but it does not seem to
Does anyone know the schema of the "images" directory. It appears to be
some kind of hash/tree structure in the file system. I just need to know
what the hash function is, so that I can place the image in the right
I will be happy to look through the source code to see how its done as well
- could someone point me to the right src file to look at?
Thanx, in advance!
Apologies if this is not the right list - if that is the case, please
point me to the right direction :-)
I'm trying to figure out how to port Indiwiki  to a webapp. Indywiki
is a QT-based, wikipedia-specific browser. Essentially it's an
alternative desktop app to navigate wikipedia.
Ajax if you prefer). My understanding is i can use the Mediawiki API 
with JSON as the data format. Does this sound right?
The message given when providing an incorrect login is not correct : on
the example below, wait is 15, but the text is 5.
Also, I am not sure that the throttle is really 5 seconds for the first
<?xml version="1.0" encoding="UTF-8"?>
<login result="WrongPass" wait="15" details="Please wait 5 seconds
before next log-in attempt" />
Starting today, I have an error with the following request:
<error code="internal_api_error_MWException" info="Exception Caught:
Internal error in ApiPageSet::getRedirectTargets: Invalid redirect IDs
wfDebugDieBacktrace('Internal error ...')
ApiBase::dieDebug('ApiPageSet::get...', 'Invalid redirec...')
#9 /usr/local/apache/common-local/php-1.5/api.php(77): ApiMain->execute()
It was working a few days ago, but now redirects seem to have problems.
Thanks again for the API, very practical for tools working on Wikipedia.
Do you have an ETA for action=edit being available on Wikipedia servers ?
Is there a way to test tools with the Edit action, since it has been
I have started modifying my tool and I like to test it with the new Edit
Is it normal that the result is not formatted when query API with an
unknown action (like action=edit for the moment) ?
Could the API return a normal <error> result instead of just
"unknown_action: Unrecognised value for parameter 'action'" ?