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-apiJune 2019

mediawiki-api@lists.wikimedia.org
  • 3 participants
  • 6 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
Limits of MediaWiki API
by 横山一真 26 Jun '19

26 Jun '19
Hi,API:Etiquette (https://www.mediawiki.org/wiki/API:Etiquette)page says thereis no hard and fast limit on API read requests,but how many requests haveMediaWiki had access restrictions in the past?Regards,Kazuma
1 0
0 0

21 Jun '19
An upgrade to the timestamp library used by MediaWiki is resulting in twochanges to the handling of timestamp inputs to the action API. There willbe no change to timestamps output by the API.All of these changes should be deployed to Wikimedia wikis with1.34.0-wmf.10.Historically MediaWiki has ignored timezones in supported formats thatinclude timestamps, treating them as if the timezone specified were UTC. Inthe future, specified timezones will be honored (and converted to UTC).Historically some invalid formats were accepted, suchas "2019-05-22T12:00:00.....1257" or "Wed, 22 May 2019 12:00:00 A potato".Due to improved validation, these will no longer be accepted.Support for ISO 8601 and other formats has also been improved. Seehttps://www.mediawiki.org/wiki/Timestamp for details on the formats thatwill be supported._______________________________________________Mediawiki-api-announce mailing listMediawiki-api-announce(a)lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
1 0
0 0
Error formats
by Suhas Sumukh 04 Jun '19

04 Jun '19
What is the exact output when error formats is "raw". The "params"sometimes contains strings, arrays and even a hash map.--Suhas
2 1
0 0
Results per page:

[8]ページ先頭

©2009-2026 Movatter.jp