I found in some of the UPLOAD update, there is no page id:
<rc type="log" ns="6" title="File:Lucian A. Sperta- Nunez.jpg" rcid="
114549183" pageid="0" revid="0" old_revid="0" user="Azarel63"oldlen="0"
newlen="0" timestamp="2014-01-05T11:09:38Z" comment="User created page with
UploadWizard" logid="77242320" logtype="upload"logaction="upload" img_sha1="
<rc type="log" ns="6" title="File:Gingerbread spices (annotated).jpg" rcid="
114549185" pageid="30485540" revid="0" old_revid="0"user="SKopp" oldlen="0"
newlen="0" timestamp="2014-01-05T11:09:37Z" comment="User created page with
UploadWizard" logid="77242318"logtype="upload" logaction="upload" img_sha1="
The first one has no page id but the second one has.
Does anybody can tell me the differences?
Hi, in response to bug 54607 , we've changed the semantics of the
mobileformat parameter to action=parse
== Summary ==
Previously, it used to accept strings 'html' or 'wml', later just
'html' and modify the structure of output (see below). This was problematic
because you needed to retrieve the HTML from output in different ways,
depending on whether mobileformat is specified or not. Now,
mobileformat is a boolean parameter, that is if there's a 'mobileformat'
parameter in request, it will be treated as "the output should be
mobile-friendly", regardless of value. And the output structure will
be the same. For compatibility with older callers,
mobileformat=(html|wml) will be special-cased to return the older
structure at least for 6 month from now. These changes will start
being rolled out to the WMF sites starting from tomorrow, Tuesday
October 24th and this process will be complete by October 31st.
== Examples ==
=== Non-mobile parse ===
<parse title="..." displaytitle="...">
=== Parse that outputs mobile HTML, old style ===
<parse title="..." text="foo" displaytitle="...">
=== Parse that outputs mobile HTML, new style ===
Same as for non-mobile parses.
== FAQ ==
Q: I didn't use mobileformat before, does anything change for me?
Q: I use mobileformat=html, will my bot/tool be broken now?
A: No, you will have 6 months to switch to new style.
Q: I'm only planning to use mobileformat, what should I do?
A: Just use the new style.
Q: How did this format discrepancy appear in the first place?
A: To err is human.
Max Semenik ([[User:MaxSem]])
Dear Wiki Team,
We are starting a travel based website where users can create their own
Itinerary and thus for the same would like to inquire about Wikipedia's
policies and process for gaining access to the List of attractions API .
The content thus shown from Wikipedia, if clicked will redirect the
customer to the Deep Link page of the same point of interest.
Any heads up will provide beneficial for us.
On Mar 27, 2014 11:39 PM, "Brian Wolff" <bawolff(a)gmail.com> wrote:
> On Mar 27, 2014 10:23 PM, "Liu Chenheng" <liuchenheng(a)gmail.com> wrote:
> > Hi, All,
> > I found some "upload" changes missed page id:
> > <rc type="log" ns="6" title="File:Doña Luz Saviñon de Saviñon -
Personalidsades de Las Calles de la Colonia del Valle en Mexico
D.F..JPG"pageid="0" revid="0" old_revid="0" rcid="121543911"
user="Mrtabachnik" oldlen="0" newlen="0"
created page with
UploadWizard" logid="83703391" logtype="upload" logaction="overwrite"
> > The page id was 0. I'm wondering whether it's a bug?
> > Thanks.
> > Chenheng Liu
> > _______________________________________________
> > Mediawiki-api mailing list
> > Mediawiki-api(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Files affected by bug 32551 will have no page id in logs. Older uploads
(although this upload does not seem old enough) will also have no page id
I found some "upload" changes missed page id:
<rc type="log" ns="6" title="File:Doña Luz Saviñon de Saviñon -
Personalidsades de Las Calles de la Colonia del Valle en Mexico D.F..JPG"
pageid="0" revid="0" old_revid="0" rcid="121543911" user="Mrtabachnik"
oldlen="0" newlen="0" timestamp="2014-03-26T22:52:15Z" comment="User
created page with UploadWizard" logid="83703391" logtype="upload" logaction
The page id was 0. I'm wondering whether it's a bug?
I've applied to the Outreach Program for Women internship this summer,
intending to clean up API::Client Code by evaluating the listed API
client libraries and contributing to one of the best of those. My
proposal is here
and my microtask is here
If you have comments on my proposal or emphatic opinions about your
favorite API libraries, I'd love to hear them.
---------- Forwarded message ----------
From: Sumana Harihareswara <sumanah(a)wikimedia.org>
Date: Sun, Mar 23, 2014 at 5:07 PM
Subject: Re: [Wikitech-l] OPW applicant introduction
To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
I've had the privilege of meeting Frances and very much hope that I get
to mentor and teach her (along with Tollef, Brad, and Merlijn) this
year. I think her microtask
is a reasonable start at evaluating how complete, well-documented, and
easy-to-use the Python client libraries are. If you've noticed
idiosyncrasies in any of those libraries, I'd like to know so we can
mark them for further investigation and possible fixing!
I developed the basic idea for this internship project along with RobLa,
Quim, and Frances, and I think it's pretty sound. The list of client
libraries has been a bit of a mess for a while now, and I look forward
to being able to Officially Recommend some libraries, and work with
their maintainers more systematically (as Frances will in the last part
of her internship, when she improves one of them).
Frances, it would be great if you'd cross-post this thread to the
MediaWiki API mailing list
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api so developers
there can check out your work and talk about their favorite libraries.
Senior Technical Writer
On 03/19/2014 07:36 AM, Frances Hocutt wrote:
> I have updated my microtask  and my status page  with the last
> week's work, and my application  is complete.
>  https://www.mediawiki.org/wiki/API:Client_Code/Access_Library_Comparison
>  https://www.mediawiki.org/w/index.php?title=User:Fhocutt#Status
>  https://www.mediawiki.org/wiki/Evaluating_MediaWiki_web_API_client_libraries
> On Tue, Mar 18, 2014 at 3:03 AM, Frances Hocutt
> <frances.hocutt(a)gmail.com> wrote:
>> I have updated and expanded the scope of my OPW project ,
>> Evaluating and Improving MediaWiki Web API Client Libraries. Thanks to
>> Sumana, Tollef, and Brad for their help!
>>  https://www.mediawiki.org/wiki/Evaluating_MediaWiki_web_API_client_libraries
>> On Fri, Mar 14, 2014 at 12:20 AM, Frances Hocutt
>> <frances.hocutt(a)gmail.com> wrote:
>>> My name is Frances Hocutt, and I'm applying for the OPW internship
>>> program. Specifically, I'm interested in improving the documentation
>>> around the available Mediawiki API libraries, writing specifications for what
>>> makes a good one, and generally making API:Client Code a more useful page.
>>> I've been coordinating my application with Sumana Harihareswara, and my co-
>>> mentor will be Tollef Fog Heen. Brad Jorsch and Merlijn van Deen have
>>> agreed to offer technical advice as well. Thanks to everyone!
>>> You can find my userpage here:
>>> https://www.mediawiki.org/wiki/User:Fhocutt. I've been drafting my
>>> proposal here: https://www.mediawiki.org/wiki/Evaluating_MediaWiki_web_API_client_libraries
>>> (working title). And I've started a page for my microtask here:
>>> I'll be comparing two of the Python API libraries; right now I'm figuring out
>>> what criteria I'll be using. I'm looking at the Google Android, Drive, and
>>> Youtube API documentation along with the AWS S3 Ruby API as starting
>>> examples. Are there any other API client libraries that you've found exemplary,
>>> related to Wikimedia or not?
>>> Looking forward to contributing,
>>> Frances Hocutt
Wikitech-l mailing list
Hello everyone ,
I am very new to the mediawiki-api . I am planning on using this to
extract geo - information about places . I have been referring to this
tutorial by scraper wiki
Though I am not sure if I should be using this api or the offline dump ,
and what is the difference between the two data sets ? I need to parse a
lot of data (the articles as well as extract the geo-coordinates of places
) . Please help me out with this . Thank you !
Final year B.E.( Hons) Computer Science
BITS Pilani K. K . Birla Goa Campus
Yesterday, a user reported having problem with my tool, WPCleaner, getting
error messages "assertuserfailed - Assertion that the user is logged in
failed" when trying to save pages.
I also got them a few minutes ago, restarted the tool, and the problem was
Has there been any modification on the API or MW that can explain this
error message ?
I'm pretty sure I haven't changed anything in the way I use the API, so I'm
wondering what's the cause.
I'm new to the api and this list, but I really appreciate that it's there.
I'm trying to create what I thought would be a simple query: "List all
recent changes of all pages, but don't show anon, minor or bot changes"
In particular, I want the pageid, page title and userid associated with
each change. Nice to have pre/post page size too. I've got the query
working in my codebase, and on the wikimedia api sandbox:
But even with what I think is the correct "rcshow" values, I still get anon
edits - both in the sandbox and on the live
In fact in some ways it seems like I'm *only* seeing anon posts. Any
thoughts as to what's going on? Am I misunderstanding how the API works?
Thanks for any input!