Movatterモバイル変換


[0]ホーム

URL:


Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
List overview
Download

Mediawiki-apiJanuary 2019

mediawiki-api@lists.wikimedia.org
  • 12 participants
  • 14 discussions
Start a nNew thread
MediaWiki API in specific usage
by Support Technique 19 Feb '26

19 Feb '26
Hello,I'm developing a Joomla 3! plugin based on mediawiki API. The goal is importing all datas (titles and description or definitions) from Wiki database to a Joomla website database. Cause the Joomla! website will be finally used as a dictionnary. Now can you tell me how to proceed, please? Unfortunately, the available tutorials on MediaWiki are not so clear on this usage situation. Thanks for answer me as soon as you can!-- Logo Internis Group <http://www.internis-group.com/> *Modeste EKAMBI*Senior Software Engineer - Internis GroupAgence experte des projets web et IT - Développement sur mesure - Développement web et mobile, d'applications et sites internetSkype: internis.groupTéléphone: 699-789-772 / 679-998-516Mail: support(a)internis-group.comBlog:http://blog.internis-group.comSite:http://www.internis-group.com <http://internis-group.com>
2 1
0 0

20 Jan '26
Hi there,I'm using the API to extract the raw wiki text from my pages, usingthe "?action=query&titles=Main_Page&export&exportnowrap" syntax. Thatworks perfectly.Now I would like to get the templates expanded out in the result, so Iuse: "?action=query&titles=Main_Page&prop=revisions&rvlimit=1&rvprop=content&rvexpandtemplates",which does the job, as expected, but it also strips out the comments.My problem is that the comments are meaningful to me (I use them tohelp process the wiki text in subsequent steps).Is there a way to expand templates with the API, but leave thecomments intact?Thanks,Kevin
4 5
0 0
Need to extract abstract of a wikipedia page
by aditya srinivas 23 Nov '23

23 Nov '23
Hello,I am writing a Java program to extract the abstract of the wikipedia pagegiven the title of the wikipedia page. I have done some research and foundout that the abstract with be in rvsection=0 So for example if I want the abstract of 'Eiffel Tower" wiki page then I amquerying using the api in the following way.http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Eiffel…and parse the XML data which we get and take the wikitext in the tag <revxml:space="preserve"> which represents the abstract of the wikipedia page.But this wiki text also contains the infobox data which I do not need. Iwould like to know if there is anyway in which I can remove the infobox dataand get only the wikitext related to the page's abstract Or if there is anyalternative method by which I can get the abstract of the page directly.Looking forward to your help.Thanks in AdvanceAditya Uppu
4 3
0 0
When list=allusers is used with auactiveusers, a property 'recenteditcount'is returned in the result. In bug 67301[1] it was pointed out that thisproperty is including various other logged actions, and so should really benamed something like "recentactions".Gerrit change 130093,[2] merged today, adds the "recentactions" resultproperty. "recenteditcount" is also returned for backwards compatability,but will be removed at some point during the MediaWiki 1.25 developmentcycle.Any clients using this property should be updated to use the new propertyname. The new property will be available on WMF wikis with 1.24wmf12, seehttps://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule. [1]:https://bugzilla.wikimedia.org/show_bug.cgi?id=67301 [2]:https://gerrit.wikimedia.org/r/#/c/130093/-- Brad Jorsch (Anomie)Software EngineerWikimedia Foundation_______________________________________________Mediawiki-api-announce mailing listMediawiki-api-announce(a)lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
1 1
0 0
Stats of mediawiki API
by viviana paga 31 Mar '19

31 Mar '19
Hi all,I'm working on a webservice that use the Mediawiki API and I'd like to have some stats about the traffic of my api calls to thecommons.wikipedia.org domain.In particular, I'd like to have the number of GET Requests by Api-User-Agent, the number of views/edit by Api-User-Agent and the stats of the Wikipedia traffic from inbound links by a specif domain or url.Is this possible somehow?Thank you in advance,Kind regards,Viviana
3 2
0 0
Problem with different versions
by Czuma, Marek 24 Jan '19

24 Jan '19
Hi,I work on project using API of portal based on Media Wiki.Unfortunately they changed media wiki version from 1.16 to 1.30.Earlier in endpoint list: logevents I got response with field move.Unfortunately, we don't have 'move' field in response now. I don't knowwhat is it (one thing I know: move field had 2 fields: new_ns andnew_title).I now also that now in response we can find 'params' field, which has also2 fields: target_ns and target_title.So I have a few questions:1) What was 'move'2) What is 'params' - is it the same thing as 'move'?3) Can I get documentation for another version of Media Wiki than current?Thanks,
2 1
0 0

21 Jan '19
Hi MediaWiki API mailing list!I have a question about how the pageview metrics for Wikimedia commonsimages accumulate– are they the total view count of that image anywhere, orjust when embedded in commons?More detail:I'm working with WikiLovesAfrica on a project to calculate how many timeseach image has been viewed over a period of time, and I've been prototypingdata collection using the following endpoint (with the mwviews.api<https://github.com/mediawiki-utilities/python-mwviews/> PageviewsClient):https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/commons.wik…*IMAGE_FILENAME*/monthly/2014010100/2019011800My assumption is that since commons images are hosted from the commons, thereturned value will be the total view count of that image, wherever it isbeing embedded, including all wikis. Is that correct?If it's not the across-wiki count, is there a way to get that across-wikicount?All the best,-- J. Nathan Matias <http://natematias.com/> : Princeton University :CivilServant <http://civilservant.io> : MIT Media Lab : @natematias<http://twitter.com/natematias> : blog<http://civic.mit.edu/blog/natematias/>
2 1
0 0
Hello Everyone,Just a reminder: the MediaWiki Action API Technical Documentation Surveywill close at 12:00 AM PST / 8:00 AM UTC.If you have a few moments today to share your knowledge and opinions tohelp improve technical documentation for the MediaWiki Action API, we wouldappreciate it!https://goo.gl/forms/Y5PGILb6b3awC3OJ2*Notes about the Mediawiki Action API Survey:**Survey Period: *December 6, 2018 - January 14, 2019*Privacy Policy:* This survey will be conducted via a third-party service,which may subject it to additional terms. For more information on privacyand data-handling, see the survey privacy statementhttps://foundation.wikimedia.org/wiki/MediaWiki_Action_API_Survey_Privacy_S….Thanks for your participation!Kindly,Sarah R. RodlundTechnical Writer, Developer Advocacy<https://meta.wikimedia.org/wiki/Developer_Advocacy>srodlund(a)wikimedia.org
1 0
0 0
(no subject)
by Alex Kho 09 Jan '19

09 Jan '19
1 0
0 0
(no subject)
by Alex Kho 09 Jan '19

09 Jan '19
1 0
0 0
Results per page:

[8]ページ先頭

©2009-2026 Movatter.jp