API Portal
apiportalwiki
https://api.wikimedia.org/wiki/Main_Page
MediaWiki 1.39.0-wmf.9
first-letter
Media
Special
Talk
User
User talk
API Portal
API Portal talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Module
Module talk
Gadget
Gadget talk
Gadget definition
Gadget definition talk
Main Page
0
1
1
2020-08-27T18:54:08Z
127.0.0.1
Created page with "==This subdomain is reserved for the creation of a [[wikimedia:Our projects|Apiportal]] in '''[[w:en:English|English]]''' language== * Please '''do not start editing''' this..."
wikitext
text/x-wiki
==This subdomain is reserved for the creation of a [[wikimedia:Our projects|Apiportal]] in '''[[w:en:English|English]]''' language==
* Please '''do not start editing''' this new site. This site has a test project on the [[incubator:|Wikimedia Incubator]] (or on the [[betawikiversity:|Beta Wikiversity]] or on the [[oldwikisource:|Old Wikisource]]) and it will be imported to here.
* If you would like to help translating the interface to this language, please do not translate here, but go to [[translatewiki:|translatewiki.net]], a special wiki for translating the interface. That way everyone can use it on every wiki using the [[mw:|same software]].
* For information about how to edit and for other general help, see [[m:Help:Contents|Help on Wikimedia's Meta-Wiki]] or [[mw:Help:Contents|Help on MediaWiki.org]].
== Sister projects ==
<span class="plainlinks">
[//www.wikipedia.org Wikipedia] |
[//www.wiktionary.org Wiktionary] |
[//www.wikibooks.org Wikibooks] |
[//www.wikinews.org Wikinews] |
[//www.wikiquote.org Wikiquote] |
[//www.wikisource.org Wikisource] |
[//www.wikiversity.org Wikiversity] |
[//www.wikivoyage.org Wikivoyage] |
[//species.wikimedia.org Wikispecies] |
[//www.wikidata.org Wikidata] |
[//commons.wikimedia.org Commons]
</span>
See Wikimedia's [[m:|Meta-Wiki]] for the coordination of these projects.
7qm64lev8huzzt52p4ef9ispo0swfwm
5
1
2020-09-14T21:17:02Z
APaskulin (WMF)
20
Added placeholder content
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<h2>Welcome to the Wikimedia API Portal!</h2>
The API Portal is a central place to explore Wikimedia APIs, read documentation, and manage OAuth credentials.
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, send an email to apaskulin@wikimedia.org.
</div>
</div>
</div>
__NOTOC__
816x9jdvroobpok914yy8q7dktd7isf
6
5
2020-09-14T21:19:09Z
APaskulin (WMF)
20
Fixups
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<h2>Welcome to the Wikimedia API Portal!</h2>
The API Portal is a central place to explore Wikimedia APIs, read documentation, and manage OAuth credentials.
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
</div>
</div>
__NOTOC__
kycl2k2w331ip61hu5umy8amg35suwx
205
6
2020-10-07T15:38:39Z
APaskulin (WMF)
20
Trying out an initial content organization
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-9">
<h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-1"><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
__NOTOC__
fon4kbopdgzju27l5gvcbshofrtwuqt
206
205
2020-10-07T15:40:59Z
APaskulin (WMF)
20
Fix spacing
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-8">
<br><br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-2"><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
k5gxp5lvp1b8hgnw4dy55u0apn0n5fs
207
206
2020-10-07T15:45:26Z
APaskulin (WMF)
20
Fix alignment
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-8">
<br><br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-4"><br><br><br><br>
<span style="float: right;">
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
c0ex9bvylbfgmhhex3wincjujabhad6
208
207
2020-10-07T15:53:46Z
APaskulin (WMF)
20
Fix right margin
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-4"><br><br><br><br><br>
<span style="float: right; margin-right: 90px;">
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
6khtmsqtrt6knt7h5m4pndrom4zfhi4
209
208
2020-10-07T16:12:04Z
APaskulin (WMF)
20
Trying a different column arrangement
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
5ewlijv9ihi6dhk9ffaoke0ja8id49w
210
209
2020-10-07T16:13:13Z
APaskulin (WMF)
20
Try out a large column
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-lg">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
0id88q6vojpkv0e81usb82enqwo2i35
211
210
2020-10-07T16:14:47Z
APaskulin (WMF)
20
Try out a numbered and sized column
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
6j42kzzu3ayj9yzy3xlxhomnb6s6hh8
212
211
2020-10-07T16:16:16Z
APaskulin (WMF)
20
Fix alignment
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
9c10vw6mfm8vo7aq4vrglg7ub16yyf8
213
212
2020-10-07T16:17:01Z
APaskulin (WMF)
20
Reduce padding
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
g80l3qfxgvqwlqp5l3n390nxez3qfxm
214
213
2020-10-07T16:19:43Z
APaskulin (WMF)
20
Add learn more links
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
b47ne860twoaclfbz7ylb78ipcwqoj5
215
214
2020-10-07T16:20:50Z
APaskulin (WMF)
20
Increase font size
wikitext
text/x-wiki
<div class="jumbotron">
<div style="padding-left: 55px;">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects.</p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
cztxvah9y51lz0bg5b9r8478o0wgr04
216
215
2020-10-07T17:20:53Z
APaskulin (WMF)
20
Remove extra padding for consistency
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h2>Welcome to the Wikimedia API Portal!</h2>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main|Get started|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Wikipedia articles</h5>
<p class="card-text">Get free, multilingual information from Wikipedia, including article metadata, history, and HTML.<br><br></p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Free images & media files</h5>
<p class="card-text">Build apps using free images, audio, and video from Wikimedia Commons.<br><br></p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title">Dictionary, travel & more</h5>
<p class="card-text">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects.</p>
<p class="card-text">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
4j7zhg8xyyqahlpmll1rlfeqpgldz4o
217
216
2020-10-07T22:48:21Z
APaskulin (WMF)
20
Adjust text styles
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia, including featured articles, most viewed pages, and page history.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Free images & media files</h5>
<p class="card-text" style="font-size:14px;">Build apps using free images, audio, and video from Wikimedia Commons' collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Dictionary, travel & more</h5>
<p class="card-text" style="font-size:14px;">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more with Wikipedia sister projects.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
syklq2ht0yti1rt3brqz5hpe93s4zbq
218
217
2020-10-07T22:49:15Z
APaskulin (WMF)
20
Shorten text for uniformity
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia, including featured articles, most viewed pages, and page history.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Free images & media files</h5>
<p class="card-text" style="font-size:14px;">Build apps using free images, audio, and video from Wikimedia Commons' collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Dictionary, travel & more</h5>
<p class="card-text" style="font-size:14px;">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
pg5kxr1xbjvd30lz5l599wxysy7ibqz
219
218
2020-10-08T15:12:40Z
APaskulin (WMF)
20
Added an extra space
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia, including featured articles, most viewed pages, and page history.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Free images & media files</h5>
<p class="card-text" style="font-size:14px;">Build apps using free images, audio, and video from Wikimedia Commons' collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Dictionary, travel & more</h5>
<p class="card-text" style="font-size:14px;">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more.<br></p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
beryf2i8vmrlhh7szamvsjol07ol8yk
220
219
2020-10-08T15:12:59Z
APaskulin (WMF)
20
Added one more extra space
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia, images and media files from Wikimedia Commons, dictionary entries from Wiktionary, travel guides from Wikivoyage, and more.
<br><br>[[Special:UserLogin|Log in]] with your Wikimedia account and [[Documentation|create an API client]] to get started.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia, including featured articles, most viewed pages, and page history.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Free images & media files</h5>
<p class="card-text" style="font-size:14px;">Build apps using free images, audio, and video from Wikimedia Commons' collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Dictionary, travel & more</h5>
<p class="card-text" style="font-size:14px;">Define words in over 50 languages, browse phrasebooks, explore travel guides, and more.<br><br></p>
<p class="card-text" style="font-size:14px;">› [[API_reference/Feeds_API|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
cql9lr40zuqinrbw4iuvhznb6qypxqe
474
220
2020-11-05T18:43:46Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-8">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-1">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div style="text-align: center; font-size:26px; font-weight:600;">Free knowledge for developers</div>
<br>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="font-size:26px; font-weight:600;">Discover</div>
<div style="font-size:26px; font-weight:600;">Build</div>
<div style="font-size:26px; font-weight:600;">Share</div>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
go4lkfgb6v9v4bh6rusiw0nokpvhxl0
475
474
2020-11-05T18:46:41Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-7">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600;">Free knowledge for developers</div>
<br>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="font-size:26px; font-weight:600;">Discover</div>
<div style="font-size:26px; font-weight:600;">Build</div>
<div style="font-size:26px; font-weight:600;">Share</div>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
cqi6d82fs2zkff116sjmktuksvetbw0
476
475
2020-11-05T18:47:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-7">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600;">Free knowledge for developers</div>
<br>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:700;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="font-size:26px; font-weight:600;">Discover</div>
<div style="font-size:26px; font-weight:600;">Build</div>
<div style="font-size:26px; font-weight:600;">Share</div>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
ijnpjgsbav0rbjp005lihjwcmxy7ygx
477
476
2020-11-05T18:53:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="font-size:26px; font-weight:600;">Discover</div>
<div style="font-size:26px; font-weight:600;">Build</div>
<div style="font-size:26px; font-weight:600;">Share</div>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
eb9stpyjk9h65spmmpuinokzjst5nxo
478
477
2020-11-05T19:28:29Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
kbg07qk4403fsqozf9mkaezdjr0lkl7
480
478
2020-11-05T20:53:18Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</h5>
<p class="card-text" style="font-size:14px;">Get free, multilingual information from Wikipedia.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Featured content</h5>
<p class="card-text" style="font-size:14px;">Embed daily featured articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card">
<div class="card-body">
<h5 class="card-title" style="font-size:18px; font-weight:600;">Images & media files</h5>
<p class="card-text" style="font-size:14px;">Reuse images, audio, and video from a collection of over 64 million files.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
nafki158u4r707zxaujhhe68mco8pgi
484
480
2020-11-06T19:42:54Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles, images, and news.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
pvm78sa2xam0n5tcqdy9gd9wojnlbyi
485
484
2020-11-06T19:51:03Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:155px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
dr7zeqdyrmmeuapejju79e7l3ql82h0
486
485
2020-11-06T19:52:15Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:150px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:150px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:150px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
9oe520mt8mdka3a4scbpvru8mc1apet
487
486
2020-11-06T19:52:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Daily featured article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
omr997faj12no3lxq4o0m2upl3cd12u
781
487
2020-12-01T20:42:46Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Today%27s_featured_article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
bn2ayk6cz6f6pk0z1lifbkjb36l959y
787
781
2020-12-07T22:02:27Z
DannyS712
72
Use {{Clickable button 2}} template instead of the module directly
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Today%27s_featured_article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our public launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
pdkuegwrxv7knuihe59wv7o20rzquo4
794
787
2020-12-10T02:50:00Z
APaskulin (WMF)
20
/* 🚧 Under construction 🚧 */ Update messaging
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Today%27s_featured_article|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search images|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<h1><b>Discover</b></h1>
<h1><b>Build</b></h1>
<h1><b>Share</b></h1>
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our official launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
91yckpocchfkrxj5ecu9k1cxq9r1i1w
822
794
2020-12-10T06:38:04Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Featured content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Images and media|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
==== 🚧 Under construction 🚧 ====
The API Portal is currently in development. To receive updates about our official launch, email apaskulin@wikimedia.org.
</div>
__NOTOC__
6xomznem69ndl53ll2jk791mdrp0n43
1053
822
2021-02-22T19:39:53Z
APaskulin (WMF)
20
Move under construction banner to the top of the page
wikitext
text/x-wiki
<div class="wm-mainpage-content">
<h3 style="text-align: center;">🚧 Under construction 🚧</h3>
Welcome to the API Portal! This site is currently in development. To receive updates about our official launch, email apaskulin@wikimedia.org.
</div>
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Featured content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Images and media|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
ihirwx6dkj145ln0klvyiqrk05e6uv8
1114
1053
2021-05-28T00:04:28Z
APaskulin (WMF)
20
Remove duplicated notice
wikitext
text/x-wiki
<div class="wm-mainpage-content">
Welcome to the API Portal! This site is currently in development. To receive updates about our official launch, email apaskulin@wikimedia.org.
</div>
<div class="jumbotron">
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm-1">
</div>
<div class="col-sm-6">
<br><br><h1><b>Wikimedia API Portal</b></h1>
Start building free knowledge apps with open access to multilingual information from Wikipedia and other Wikimedia projects.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
</div>
</div>
<div class="wm-mainpage-content">
<div style="text-align: center; font-size:26px; font-weight:600; padding-bottom:20px;">Free knowledge for developers</div>
<div class="wm-mainpage-content">
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Wikipedia articles</p>
<p class="card-text" style="font-size:14px;">Embed encyclopedia articles in over 300 languages.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Search Wikipedia|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Featured content</p>
<p class="card-text" style="font-size:14px;">Get daily featured encyclopedia articles and images.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Featured content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="min-height:140px">
<div class="card-body">
<p class="card-title" style="font-size:18px; font-weight:600;">Images & media files</p>
<p class="card-text" style="font-size:14px;">Search over 64 million images, videos, and more.</p>
<p class="card-text" style="font-size:14px;">› [[Documentation/Code samples/Images and media|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
6oz868sdfx02s8lxs518wmc7957m20l
MediaWiki:Sitesupport-url
8
2
2
2020-08-27T18:54:09Z
127.0.0.1
Setting sidebar link
wikitext
text/x-wiki
https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=api.wikimedia.org&uselang=en
8qiyf0pm7sfgj8n3n7q51mn2jyzpbpo
User talk:Ameisenigel
3
3
3
2020-09-07T14:18:28Z
Ameisenigel
14
Created page with "[[w:de:Benutzer Diskussion:Ameisenigel]]"
wikitext
text/x-wiki
[[w:de:Benutzer Diskussion:Ameisenigel]]
rd8ofkz9w8ggmn2x4ht6tovo8u1ev4w
User:HNowlan (WMF)
2
4
4
2020-09-09T11:10:57Z
HNowlan (WMF)
2
Test, ignore
wikitext
text/x-wiki
testing
pr0s8e18148pxhgjfa0gjrvpy8fiyxc
MediaWiki:FooterLinks
8
5
7
2020-09-14T23:09:05Z
APaskulin (WMF)
20
Added footer links
wikitext
text/x-wiki
* Wikimedia Projects
** https://www.wikipedia.org/|Wikipedia
** https://www.wikibooks.org/|Wikibooks
** https://www.wikiversity.org/|Wikiversity
** https://www.wikinews.org/|Wikinews
** https://www.wiktionary.org/|Wiktionary
** https://www.wikisource.org/|Wikisource
** https://www.wikiquote.org/|Wikiquote
** https://www.wikivoyage.org/|Wikivoyage
** https://commons.wikimedia.org/|Wikimedia Commons
** https://www.wikidata.org/|Wikidata
** https://species.wikimedia.org/|Wikispecies
** https://www.mediawiki.org/|MediaWiki
* Movement affiliates
** https://meta.wikimedia.org/wiki/Wikimedia_chapters|Wikimedia Chapters
** https://meta.wikimedia.org/wiki/Wikimedia_thematic_organizations|Wikimedia Thematic Organizations
** https://meta.wikimedia.org/wiki/Wikimedia_user_groups|Wikimedia User Groups
* OTHER
** https://foundation.wikimedia.org/wiki/Terms_of_Use|Terms of use
** https://foundation.wikimedia.org/wiki/Privacy_policy/|Privacy policy
** https://foundation.wikimedia.org/wiki/Wikimedia:General_disclaimer|Disclaimers
** https://wikimediafoundation.org/accessibility-statement/|Accessibility statement
** https://foundation.wikimedia.org/wiki/Cookie_statement|Cookie statement
** https://www.mediawiki.org/wiki/Code_of_Conduct|Code of conduct
6sdxzo6ncvf9hsc36vxx0k5l3wewafm
8
7
2020-09-14T23:15:03Z
APaskulin (WMF)
20
Fixed typo
wikitext
text/x-wiki
* Wikimedia Projects
** https://www.wikipedia.org/|Wikipedia
** https://www.wikibooks.org/|Wikibooks
** https://www.wikiversity.org/|Wikiversity
** https://www.wikinews.org/|Wikinews
** https://www.wiktionary.org/|Wiktionary
** https://www.wikisource.org/|Wikisource
** https://www.wikiquote.org/|Wikiquote
** https://www.wikivoyage.org/|Wikivoyage
** https://commons.wikimedia.org/|Wikimedia Commons
** https://www.wikidata.org/|Wikidata
** https://species.wikimedia.org/|Wikispecies
** https://www.mediawiki.org/|MediaWiki
* Movement affiliates
** https://meta.wikimedia.org/wiki/Wikimedia_chapters|Wikimedia Chapters
** https://meta.wikimedia.org/wiki/Wikimedia_thematic_organizations|Wikimedia Thematic Organizations
** https://meta.wikimedia.org/wiki/Wikimedia_user_groups|Wikimedia User Groups
* OTHER
** https://foundation.wikimedia.org/wiki/Terms_of_Use|Terms of use
** https://foundation.wikimedia.org/wiki/Privacy_policy|Privacy policy
** https://foundation.wikimedia.org/wiki/Wikimedia:General_disclaimer|Disclaimers
** https://wikimediafoundation.org/accessibility-statement/|Accessibility statement
** https://foundation.wikimedia.org/wiki/Cookie_statement|Cookie statement
** https://www.mediawiki.org/wiki/Code_of_Conduct|Code of conduct
31myd6jnkwmykaobf99rwcxtamxtvaz
Template:Colored box
10
6
9
2020-09-15T21:40:08Z
APaskulin (WMF)
20
Created page with "<templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}};..."
wikitext
text/x-wiki
<templatestyles src="Colored box/style.css"/><div class="mw-tpl-colorbox" style="{{#if:{{{background-content-color|}}}| background-color: {{{background-content-color|#fff}}}; }} {{{style|}}};"><!--
--><div class="mw-tpl-colorbox-title" style="{{#if:{{{background-title-color|}}}|background-color:{{{background-title-color|#eaecf0}}};}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|class=colorbox-title-icon|link=|alt=]] }}<strong style="{{#if:{{{title-color|}}}| color: {{{title-color|#000000}}}; }}">{{{title}}}</strong><!--
-->{{#if:{{{link|}}}|<div class="mw-tpl-colorbox-title-corner">[[{{{link}}}|<span style="{{#if:{{{link-color|{{{title-color|}}}}}}| color: {{{link-color|{{{title-color|}}}}}}; }}">{{{view-text|view}}}</span>]]</div>}}
</div><!--
--><div class="mw-tpl-colorbox-content">
{{{content}}}{{clr}}</div>
</div>
3ia2zwb068giixollzuqqvftzwjftiz
Template:Colored box/style.css
10
7
10
2020-09-15T21:40:40Z
APaskulin (WMF)
20
Created page with ".mw-tpl-colorbox { box-sizing: border-box; margin: 0.5em 0.5em 1em 0.5em; border-radius: 0.2em; background: #fff; box-shadow: 0 0 0.2em #999999; } .mw-tpl-colorbox-title..."
sanitized-css
text/css
.mw-tpl-colorbox {
box-sizing: border-box;
margin: 0.5em 0.5em 1em 0.5em;
border-radius: 0.2em;
background: #fff;
box-shadow: 0 0 0.2em #999999;
}
.mw-tpl-colorbox-title {
background: #eaecf0;
color: #000000;
border-radius: 0.2em 0.2em 0 0;
padding: 0.5em 1em 0.5em 1em;
}
.mw-tpl-colorbox-title-icon {
opacity: 0.8;
}
.mw-tpl-colorbox-title-corner {
float: right;
font-size: 0.7em;
}
.mw-tpl-colorbox-content {
padding: 0.5em 1em 0.5em 1em;
}
th4gzuq2nnlf4c8mfudpxogxqh0qd4d
Template:Clr
10
8
11
2020-09-15T21:42:26Z
APaskulin (WMF)
20
Created page with "<div style="clear: {{{1|both}}};"></div>"
wikitext
text/x-wiki
<div style="clear: {{{1|both}}};"></div>
hni3bdvc5dagzpsslaio5isuni18kdh
API reference
0
9
12
2020-09-15T22:21:31Z
APaskulin (WMF)
20
Created page with "<div class="container"> <div class="row"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;"> <div class="card-body">..."
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Search endpoints</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions..</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
1mlahw6a8mfbofgbj2bkro1v0ky9gcb
14
12
2020-09-15T22:55:40Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Search endpoints</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
ms3zgfunl45bc9n3ybqdmd3we8wd9ns
140
14
2020-09-18T22:32:16Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">[[Core API|Core API overview]]<br>[[Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
p77hexdj6rs6r8oimoqmw274b61dxei
141
140
2020-09-18T22:33:02Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">[[API reference/Core API|Core API overview]]<br>[[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
fd1jnn1zha3s0cxj5t3mlkxxwc7653g
142
141
2020-09-18T22:46:13Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">⭢ [[API reference/Core API|Core API overview]]<br>⭢ [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
kjlxyronczm7aun3vuujssn1bq2s7gd
143
142
2020-09-18T22:47:40Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>Featured content endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">Feeds API overview<br>On this day endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core API|Core API overview]]<br>› [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Page endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>Media file endpoints</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">Core API overview<br>History endpoints</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
ovw4yhu7f42mqm3o2yyptju0tstl0zs
168
143
2020-09-18T23:40:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Feeds API overview]]<br>› [[API_reference/Feeds_API/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Feeds API overview]]<br>› [[API_reference/Feeds_API/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core API|Core API overview]]<br>› [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
tp0c3622aqb44d4gdhxg3xmhf5b9gm3
353
168
2020-10-16T22:31:30Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed_API|Feed API overview]]<br>› [[API_reference/Feeds_API/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feeds_API|Feeds API overview]]<br>› [[API_reference/Feeds_API/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core API|Core API overview]]<br>› [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
3oh484udcbnh2ykprwt1vx91e44dwd8
358
353
2020-10-19T22:21:47Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed_API|Feed API overview]]<br>› [[API_reference/Feed_API/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed_API|Feed API overview]]<br>› [[API_reference/Feed_API/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core API|Core API overview]]<br>› [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core_API|Core API overview]]<br>› [[API_reference/Core_API/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
n3udt38y489ijqh4t1ri6dm1bh9n5bi
411
358
2020-11-02T20:43:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core API|Core overview]]<br>› [[API reference/Core API/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
oydjctgjkws3vpw69oqczu3b02k8rtv
412
411
2020-11-02T20:44:21Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
dx25n3lyrb30l3w4fqd36dq8v0b5hf3
429
412
2020-11-02T21:21:24Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Endpoints ==
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
d904aghiir813ih86ohx1sakxm1rjmq
436
429
2020-11-02T21:40:28Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!500
|Server error
|}
== Endpoints ==
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
e3o0hjisxbh2to8gjcmkenng1rzw1ey
437
436
2020-11-02T21:41:08Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!500
|Server error
|}
__NOTOC__
76jlaetgagm9tf3ya6k6l50pv845898
438
437
2020-11-02T21:41:39Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day</h5>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">History</h5>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!500
|Server error
|}
__NOTOC__
0oabivln2tkja0rbuj4jc50ar46vvzt
489
438
2020-11-06T21:20:20Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">History</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/History|History endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!500
|Server error
|}
__NOTOC__
cjtlq0a71mfbf4pfrto0ve7ldcrvz6e
655
489
2020-11-23T21:40:34Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!500
|Server error
|}
__NOTOC__
k6bx7tnceo49gpudt3kj43b2rx5i43b
1010
655
2021-02-10T19:49:21Z
APaskulin (WMF)
20
/* Response codes */ Add 429 Too many requests
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="python">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!429
|[[Documentation/Getting_started/Rate_limits|Rate limit]] exceeded
|-
!500
|Server error
|}
__NOTOC__
q2l6gvdan087abbypwsze18b3v0w5e2
1011
1010
2021-02-10T19:55:57Z
APaskulin (WMF)
20
/* URL structure */ Try and fix syntaxhighlight error
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<syntaxhighlight lang="text">
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</syntaxhighlight>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!429
|[[Documentation/Getting_started/Rate_limits|Rate limit]] exceeded
|-
!500
|Server error
|}
__NOTOC__
tbf2iddlhdi5gyq12e4ulqvgi9op2zd
1012
1011
2021-02-10T19:59:19Z
APaskulin (WMF)
20
I wasn't able to fix the syntaxhighlight error, so I've switched the code block to a <pre> tag
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<pre>
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</pre>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!429
|[[Documentation/Getting_started/Rate_limits|Rate limit]] exceeded
|-
!500
|Server error
|}
__NOTOC__
2q5eq8xm9b4jsiz5wt3y03tmzj5q3b2
1186
1012
2021-10-28T21:15:26Z
APaskulin (WMF)
20
Add link recommendations
wikitext
text/x-wiki
The Wikimedia API is a RESTful API that accepts versioned, namespaced URLs, uses standard HTTP methods and response codes, and returns JSON-formatted responses.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/Featured_content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day</p>
<p class="card-text" style="font-size: 14px;">Explore holidays and historical events for any date.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Feed overview]]<br>› [[API_reference/Feed/On_this_day|On this day endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core|Core overview]]<br>› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Media_files|Media file endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core|Core overview]]<br>› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations</p>
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link_recommendation|Link recommendation overview]]<br>› [[API_reference/Service/Link_recommendation/Get_link_recommendations|Get link recommendations endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
<div class="col-sm">
</div>
</div>
</div>
== URL structure ==
To build a request, include the base URL, namespace, version, project, and language.
<pre>
# Base URL
https://api.wikimedia.org
# Structure
{base URL}/{namespace}/v{version number}/{project name}/{language code}/{endpoint}
# Example: Get the Earth article from English Wikipedia
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth
</pre>
== Response codes ==
The Wikimedia API uses [[w:List_of_HTTP_status_codes|HTTP status codes]] to indicate the success or failure of a request.
A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.
{| class="wikitable"
!200
|Resource found or updated
|-
!201
|Resource created
|-
!400
|Invalid or missing parameter
|-
!403
|Permission denied
|-
!404
|Route not found
|-
!412
|Invalid conditional request
|-
!415
|Unsupported content type
|-
!429
|[[Documentation/Getting_started/Rate_limits|Rate limit]] exceeded
|-
!500
|Server error
|}
__NOTOC__
m9tz7zubz5syqtbqov7gdk73p4rlrhp
API reference/Feed
0
10
13
2020-09-15T22:25:06Z
APaskulin (WMF)
20
Created page with " __NOTOC__"
wikitext
text/x-wiki
__NOTOC__
o5l9uubc9le5orw0s2321ydl5j36670
16
13
2020-09-15T23:30:19Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
7fi9gs8idiu8nsbzomj7zqo4aa7osky
169
16
2020-09-19T00:05:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
o7ta40262nub7vq5lgkbrk6majqurxz
347
169
2020-10-16T22:28:56Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feeds API]] to [[API reference/Feed API]]
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
o7ta40262nub7vq5lgkbrk6majqurxz
378
347
2020-10-30T21:36:20Z
APaskulin (WMF)
20
wikitext
text/x-wiki
== Today’s featured article ==
== Today's featured image ==
== Most read articles ==
== In the news ==
== On this day in history ==
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
l3j42k8sfu49zzy45hz9fm37jrtdi82
383
378
2020-11-02T20:40:26Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feed API]] to [[API reference/Feed]] without leaving a redirect
wikitext
text/x-wiki
== Today’s featured article ==
== Today's featured image ==
== Most read articles ==
== In the news ==
== On this day in history ==
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
l3j42k8sfu49zzy45hz9fm37jrtdi82
441
383
2020-11-03T02:32:37Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
== Today’s featured article ==
Use the [[API_reference/Feed/Featured content|featured content endpoint]] to get the daily featured article from Wikipedia. Available in 12 languages: [[:bn:|বাংলা]], [[:de:|Deutsch]], [[:el:|Ελληνικά]], [[:en:|English]], [[:fa:|فارسی]], [[:he:|עברית]], [[:hu:|Magyar]], [[:ja:|日本語]], [[:sco:|Scots]], [[:sd:|سنڌي، سندھی ، सिन्ध]], [[:sv:|Svenska]], and [[:zh:|中文]].
{|
|style="width:50%; padding-right:35px"|'''[[w:Canada lynx|Canada lynx]]'''
[[File:Canada_lynx_by_Michael_Zahra_(cropped).jpg|100px|link=https://commons.wikimedia.org/wiki/File:Canada_lynx_by_Michael_Zahra_(cropped).jpg]]<br>
The Canada lynx is a medium-sized North American wildcat that ranges across Alaska, Canada and many of the contiguous United States...
|<syntaxhighlight lang="json">
{
"tfa": {
"titles": {
"canonical": "Canada_lynx",
"display": "Canada lynx"
},
"extract": "The Canada lynx is a medium-sized North American wildcat..."
}
}
</syntaxhighlight>
|}
== Today's featured image ==
== Most read articles ==
== In the news ==
== On this day in history ==
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
mmrepyufn7l49gj5p4vgry92spxl3wg
442
441
2020-11-03T17:03:59Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Get featured content]]<br>› [[API_reference/Feed/On this day|Get on this day content]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Code samples</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Today's featured article]]<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Today’s featured article ==
Use the [[API_reference/Feed/Featured content|featured content endpoint]] to get the daily featured article from Wikipedia. Available in 12 languages: [[:bn:|বাংলা]], [[:de:|Deutsch]], [[:el:|Ελληνικά]], [[:en:|English]], [[:fa:|فارسی]], [[:he:|עברית]], [[:hu:|Magyar]], [[:ja:|日本語]], [[:sco:|Scots]], [[:sd:|سنڌي، سندھی ، सिन्ध]], [[:sv:|Svenska]], and [[:zh:|中文]].
{|
|style="width:50%; padding-right:35px"|'''[[w:Canada lynx|Canada lynx]]'''
[[File:Canada_lynx_by_Michael_Zahra_(cropped).jpg|100px|link=https://commons.wikimedia.org/wiki/File:Canada_lynx_by_Michael_Zahra_(cropped).jpg]]<br>
The Canada lynx is a medium-sized North American wildcat that ranges across Alaska, Canada and many of the contiguous United States...
|<syntaxhighlight lang="json">
{
"tfa": {
"titles": {
"canonical": "Canada_lynx",
"display": "Canada lynx"
},
"extract": "The Canada lynx is a medium-sized North American wildcat..."
}
}
</syntaxhighlight>
|}
== Today's featured image ==
{|
|style="width:50%; padding-right:35px"|[[File:Cañón Miles, Yukón, Canadá, 2017-08-26, DD 130-132 PAN.jpg|400px|link=https://commons.wikimedia.org/wiki/File:Ca%C3%B1%C3%B3n_Miles,_Yuk%C3%B3n,_Canad%C3%A1,_2017-08-26,_DD_130-132_PAN.jpg]]<br>
Source: [[commons:File:Ca%C3%B1%C3%B3n_Miles,_Yuk%C3%B3n,_Canad%C3%A1,_2017-08-26,_DD_130-132_PAN.jpg|Wikimedia Commons]] - [https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0]
|<syntaxhighlight lang="json">
{
"image": {
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/54/Ca%C3%B1%C3%B3n_Miles%2C_Yuk%C3%B3n%2C_Canad%C3%A1%2C_2017-08-26%2C_DD_130-132_PAN.jpg",
"width": 8429,
"height": 3793
},
"file_page": "https://commons.wikimedia.org/wiki/File:Ca%C3%B1%C3%B3n_Miles,_Yuk%C3%B3n,_Canad%C3%A1,_2017-08-26,_DD_130-132_PAN.jpg",
"license": {
"type": "CC BY-SA 4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
}
}
}
</syntaxhighlight>
|}
== Most read articles ==
== In the news ==
== On this day in history ==
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
2hofdwgqyfngon398sqxda033zivvs2
443
442
2020-11-03T17:38:25Z
APaskulin (WMF)
20
/* Today's featured image */
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Get featured content]]<br>› [[API_reference/Feed/On this day|Get on this day content]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Code samples</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed|Today's featured article]]<br><br></p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Today’s featured article ==
Use the [[API_reference/Feed/Featured content|featured content endpoint]] to get the daily featured article from Wikipedia. Available in 12 languages: [[:bn:|বাংলা]], [[:de:|Deutsch]], [[:el:|Ελληνικά]], [[:en:|English]], [[:fa:|فارسی]], [[:he:|עברית]], [[:hu:|Magyar]], [[:ja:|日本語]], [[:sco:|Scots]], [[:sd:|سنڌي، سندھی ، सिन्ध]], [[:sv:|Svenska]], and [[:zh:|中文]].
{|
|style="width:50%; padding-right:35px"|'''[[w:Canada lynx|Canada lynx]]'''
[[File:Canada_lynx_by_Michael_Zahra_(cropped).jpg|100px|link=https://commons.wikimedia.org/wiki/File:Canada_lynx_by_Michael_Zahra_(cropped).jpg]]<br>
The Canada lynx is a medium-sized North American wildcat that ranges across Alaska, Canada and many of the contiguous United States...
|<syntaxhighlight lang="json">
{
"tfa": {
"titles": {
"canonical": "Canada_lynx",
"display": "Canada lynx"
},
"extract": "The Canada lynx is a medium-sized North American wildcat..."
}
}
</syntaxhighlight>
|}
== Today's featured image ==
== Most read articles ==
== In the news ==
== On this day in history ==
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
9p5w7cdct7obglr8o5jxf0ajvf4z3xd
454
443
2020-11-04T20:50:32Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured article</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>Available in [[12 languages]]<br>[[Sample code]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured image</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|Get on this day content]]<br>Available in English</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day in history</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|On this day endpoint]]<br>Available in [[xx languages]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Most read articles</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>Available in [[12 languages]]<br>[[Sample code]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">In the news</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|Get on this day content]]<br>Available in English</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
{| class="wikitable"
! Language
! Code
! Feed support
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|
|
* [[#Most_read_articles|Most read articles]]
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:en:|English]] (English)
| <code>en</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Today's_featured_image|Today's featured image]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#In_the_news|In the news]]
* [[#On_this_day_in_history|On this day]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|
* [[#In_the_news|In the news]]
* [[#Most_read_articles|Most read articles]]
|-
| [[:zh:|中文]] (Chinese)
| <code>zh</code>
|
* [[#Today's_featured_article|Today's featured article]]
* [[#Most_read_articles|Most read articles]]
|}
=== Daily featured article ===
{| class="wikitable"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== In the news ===
{| class="wikitable"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
__NOTOC__
{{DEFAULTSORT:2}}
13qw2qdh5dzzshhp2t724ec2yer9mof
455
454
2020-11-05T16:41:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured article</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>Available in [[12 languages]]<br>[[Sample code]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured image</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|Get on this day content]]<br>Available in English</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day in history</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|On this day endpoint]]<br>Available in [[xx languages]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Most read articles</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>Available in [[12 languages]]<br>[[Sample code]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">In the news</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>[[API_reference/Feed/On this day|Get on this day content]]<br>Available in English</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
=== Daily featured article ===
{| class="wikitable"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== In the news ===
{| class="wikitable"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
__NOTOC__
{{DEFAULTSORT:2}}
50ophue4r46yopw8w9lky2iw7ywsxur
456
455
2020-11-05T17:04:55Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured article</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› Available in [[#Daily_featured_article_2|11 languages]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Daily featured image</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› Available in English</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">On this day in history</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]<br>› Available in [[#On_this_day_in_history_2|9 languages]]</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Most read articles</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› Available in [[meta:List of Wikipedias|all Wikipedia languages]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">In the news</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› Available in [[#In_the_news_2|17 languages]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
=== Daily featured article ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== In the news ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="40%"
! Language
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
1o0mxtdzfh4mbqbg4y7lhtwgku8jzgc
490
456
2020-11-06T21:26:54Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article_2|11 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history_2|9 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [[meta:List of Wikipedias|all Wikipedia languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news_2|17 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
=== Daily featured article ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== In the news ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="40%"
! Language
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
kph4w9sgm31y187qjaai8pr7iqd8h5z
521
490
2020-11-10T01:37:47Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
Feed endpoints provide access to featured content from Wikipedia.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|11 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|9 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|17 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
=== Daily featured article ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== In the news ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="40%"
! Language
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
bvquco190mo1u7um4888a19bl7meql6
603
521
2020-11-20T19:28:39Z
APaskulin (WMF)
20
Add intro text
wikitext
text/x-wiki
Many Wikipedias include daily featured articles and other curated content on their homepages. Feed endpoints let you access this content programmatically and add high-quality, multilingual knowledge to your apps.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|11 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|9 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|17 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
While a Wikipedia may include featured content on its homepage, not all Wikipedias are integrated into the Wikimedia API (yet!). This list shows the latest language availability for each content type.
=== Daily featured article ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== In the news ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="40%"
! Language
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
sw07k21vkhblpc9wudo64zkz43dbfmz
604
603
2020-11-20T19:30:30Z
APaskulin (WMF)
20
/* Language support */ Better wording
wikitext
text/x-wiki
Many Wikipedias include daily featured articles and other curated content on their homepages. Feed endpoints let you access this content programmatically and add high-quality, multilingual knowledge to your apps.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|11 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|9 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|17 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
While a Wikipedia may include featured content on its homepage, not all Wikipedias are integrated into the Feed endpoints (yet!). This list shows the latest language availability for each content type.
=== Daily featured article ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bn:|বাংলা]] (Bengali)
| <code>bn</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:fa:|فارسی]] (Persian)
| <code>fa</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:hu:|Magyar]] (Hungarian)
| <code>hu</code>
|-
| [[:ja:|日本語]] (Japanese)
| <code>ja</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sd:|سنڌي، سندھی ، सिन्ध]] (Sindhi)
| <code>sd</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== In the news ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:da:|Dansk]] (Danish)
| <code>da</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:el:|Ελληνικά]] (Greek)
| <code>el</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fi:|Suomi]] (Finnish)
| <code>fi</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:he:|עברית]] (Hebrew)
| <code>he</code>
|-
| [[:ko:|한국어]] (Korean)
| <code>ko</code>
|-
| [[:no:|Norsk (Bokmål)]]<br>(Norwegian (Bokmål))
| <code>no</code>
|-
| [[:pl:|Polski]] (Polish)
| <code>pl</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sco:|Scots]] (Scots)
| <code>sco</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|-
| [[:vi:|Tiếng Việt]] (Vietnamese)
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:ar:|العربية]] (Arabic)
| <code>ar</code>
|-
| [[:bs:|Bosanski]] (Bosnian)
| <code>bs</code>
|-
| [[:de:|Deutsch]] (German)
| <code>de</code>
|-
| [[:en:|English]] (English)
| <code>en</code>
|-
| [[:es:|Español]] (Spanish)
| <code>es</code>
|-
| [[:fr:|Français]] (French)
| <code>fr</code>
|-
| [[:pt:|Português]] (Portuguese)
| <code>pt</code>
|-
| [[:ru:|Русский]] (Russian)
| <code>ru</code>
|-
| [[:sv:|Svenska]] (Swedish)
| <code>sv</code>
|}
=== Daily featured image ===
{| class="wikitable" width="40%"
! Language
! Code
|-
| [[:en:|English]] (English)
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="40%"
! Language
|-
| [[meta:List of Wikipedias|All Wikipedias]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
k2galx3i1gldgmv0lie7dvs02xavp2s
620
604
2020-11-21T00:20:18Z
APaskulin (WMF)
20
/* Language support */ Add source links and numbered, sortable rows
wikitext
text/x-wiki
Many Wikipedias include daily featured articles and other curated content on their homepages. Feed endpoints let you access this content programmatically and add high-quality, multilingual knowledge to your apps.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|11 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|9 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|17 languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
<!--
Language availability endpoint: https://wikimedia.org/api/rest_v1/feed/availability
Test script: https://public.paws.wmcloud.org/User:APaskulin_(WMF)/Wikifeeds%20availability%20test.ipynb
-->
While a Wikipedia may include featured content on its homepage, not all Wikipedias are integrated into the Feed endpoints. This page shows the latest language availability for each type of [[API reference/Feed/Featured content|featured content]]. For updates about newly added languages, check the [[API reference/Changelog|API changelog]].
=== Daily featured article ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bn:|বাংলা]]
| Bengali
| <code>bn</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 4
| [[:en:|English]]
| English
| <code>en</code>
|-
| 5
| [[:fa:|فارسی]]
| Persian
| <code>fa</code>
|-
| 6
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 7
| [[:hu:|Magyar]]
| Hungarian
| <code>hu</code>
|-
| 8
| [[:ja:|日本語]]
| Japanese
| <code>ja</code>
|-
| 9
| [[:sco:|Scots]]
| Scots
| <code>sco</code>
|-
| 10
| [[:sd:|سنڌي، سندھی ، सिन्ध]]
| Sindhi
| <code>sd</code>
|-
| 11
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 12
| [[:zh:|中文]]
| Chinese
| <code>zh</code>
|}
=== In the news ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
| 2
| [[:da:|Dansk]]
| Danish
| <code>da</code>
|-
| 3
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 4
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 5
| [[:en:|English]]
| English
| <code>en</code>
|-
| 6
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 7
| [[:fi:|Suomi]]
| Finnish
| <code>fi</code>
|-
| 8
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 9
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 10
| [[:ko:|한국어]]
| Korean
| <code>ko</code>
|-
| 11
| [[:no:|Norsk (Bokmål)]]
| Norwegian (Bokmål)
| <code>no</code>
|-
| 12
| [[:pl:|Polski]]
| Polish
| <code>pl</code>
|-
| 13
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 14
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 15
| [[:sco:|Scots]]
| Scots
| <code>sco</code>
|-
| 16
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 17
| [[:vi:|Tiếng Việt]]
| Vietnamese
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:en:|English]]
| English
| <code>en</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 4
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 5
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 6
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 7
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 8
| [[:ar:|العربية]]
| Arabic
| <code>ar</code>
|-
| 9
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
|-
|}
=== Daily featured image ===
{| class="wikitable" width="60%"
! Language
! Code
|-
| [[:en:|English]]
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="60%"
! Language
|-
| [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages]
|}
__NOTOC__
{{DEFAULTSORT:2}}
gpw5pjf59epfmll55puk331hxhgx2kv
621
620
2020-11-21T00:27:52Z
APaskulin (WMF)
20
Simplify intro
wikitext
text/x-wiki
Many Wikipedias include daily featured articles and other curated content on their homepages. Feed endpoints let you access this content programmatically and add high-quality, multilingual knowledge to your apps.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|10+ languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|5+ languages]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|15+ languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
<!--
Language availability endpoint: https://wikimedia.org/api/rest_v1/feed/availability
Test script: https://public.paws.wmcloud.org/User:APaskulin_(WMF)/Wikifeeds%20availability%20test.ipynb
-->
While a Wikipedia may include featured content on its homepage, not all Wikipedias are integrated into the Feed endpoints. This page shows the latest language availability for each type of [[API reference/Feed/Featured content|featured content]]. For updates about newly added languages, check the [[API reference/Changelog|API changelog]].
=== Daily featured article ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bn:|বাংলা]]
| Bengali
| <code>bn</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 4
| [[:en:|English]]
| English
| <code>en</code>
|-
| 5
| [[:fa:|فارسی]]
| Persian
| <code>fa</code>
|-
| 6
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 7
| [[:hu:|Magyar]]
| Hungarian
| <code>hu</code>
|-
| 8
| [[:ja:|日本語]]
| Japanese
| <code>ja</code>
|-
| 9
| [[:sco:|Scots]]
| Scots
| <code>sco</code>
|-
| 10
| [[:sd:|سنڌي، سندھی ، सिन्ध]]
| Sindhi
| <code>sd</code>
|-
| 11
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 12
| [[:zh:|中文]]
| Chinese
| <code>zh</code>
|}
=== In the news ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
| 2
| [[:da:|Dansk]]
| Danish
| <code>da</code>
|-
| 3
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 4
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 5
| [[:en:|English]]
| English
| <code>en</code>
|-
| 6
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 7
| [[:fi:|Suomi]]
| Finnish
| <code>fi</code>
|-
| 8
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 9
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 10
| [[:ko:|한국어]]
| Korean
| <code>ko</code>
|-
| 11
| [[:no:|Norsk (Bokmål)]]
| Norwegian (Bokmål)
| <code>no</code>
|-
| 12
| [[:pl:|Polski]]
| Polish
| <code>pl</code>
|-
| 13
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 14
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 15
| [[:sco:|Scots]]
| Scots
| <code>sco</code>
|-
| 16
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 17
| [[:vi:|Tiếng Việt]]
| Vietnamese
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:en:|English]]
| English
| <code>en</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 4
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 5
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 6
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 7
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 8
| [[:ar:|العربية]]
| Arabic
| <code>ar</code>
|-
| 9
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
|-
|}
=== Daily featured image ===
{| class="wikitable" width="60%"
! Language
! Code
|-
| [[:en:|English]]
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="60%"
! Language
|-
| [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages]
|}
__NOTOC__
{{DEFAULTSORT:2}}
cdedhauxhg4wiuhga2ufbh57f5t3t62
1099
621
2021-04-01T16:24:09Z
APaskulin (WMF)
20
/* Daily featured article */ Update language availability based on latest test
wikitext
text/x-wiki
Many Wikipedias include daily featured articles and other curated content on their homepages. Feed endpoints let you access this content programmatically and add high-quality, multilingual knowledge to your apps.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured article</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#Daily_featured_article|10+ languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured image</p>
<p class="card-text" style="font-size: 14px;">› Available in English<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day in history</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#On_this_day_in_history|5+ languages]]<br>› [[API_reference/Feed/On this day|On this day endpoint]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">› Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:130px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">In the news</p>
<p class="card-text" style="font-size: 14px;">› Available in [[#In_the_news|15+ languages]]<br>› [[API_reference/Feed/Featured content|Featured content endpoint]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Language support ==
<!--
Language availability endpoint: https://wikimedia.org/api/rest_v1/feed/availability
Test script: https://public.paws.wmcloud.org/User:APaskulin_(WMF)/Wikifeeds%20availability%20test.ipynb
-->
While a Wikipedia may include featured content on its homepage, not all Wikipedias are integrated into the Feed endpoints. This page shows the latest language availability for each type of [[API reference/Feed/Featured content|featured content]]. For updates about newly added languages, check the [[API reference/Changelog|API changelog]].
=== Daily featured article ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bn:|বাংলা]]
| Bengali
| <code>bn</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 4
| [[:en:|English]]
| English
| <code>en</code>
|-
| 5
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 6
| [[:hu:|Magyar]]
| Hungarian
| <code>hu</code>
|-
| 7
| [[:ja:|日本語]]
| Japanese
| <code>ja</code>
|-
| 8
| [[:la:|Latina]]
| Latin
| <code>la</code>
|-
| 9
| [[:sd:|سنڌي، سندھی ، सिन्ध]]
| Sindhi
| <code>sd</code>
|-
| 10
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 11
| [[:ur:|اردو]]
| Urdu
| <code>ur</code>
|-
| 12
| [[:zh:|中文]]
| Chinese
| <code>zh</code>
|}
=== In the news ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
| 2
| [[:da:|Dansk]]
| Danish
| <code>da</code>
|-
| 3
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 4
| [[:el:|Ελληνικά]]
| Greek
| <code>el</code>
|-
| 5
| [[:en:|English]]
| English
| <code>en</code>
|-
| 6
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 7
| [[:fi:|Suomi]]
| Finnish
| <code>fi</code>
|-
| 8
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 9
| [[:he:|עברית]]
| Hebrew
| <code>he</code>
|-
| 10
| [[:ko:|한국어]]
| Korean
| <code>ko</code>
|-
| 11
| [[:no:|Norsk (Bokmål)]]
| Norwegian (Bokmål)
| <code>no</code>
|-
| 12
| [[:pl:|Polski]]
| Polish
| <code>pl</code>
|-
| 13
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 14
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 15
| [[:sco:|Scots]]
| Scots
| <code>sco</code>
|-
| 16
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 17
| [[:vi:|Tiếng Việt]]
| Vietnamese
| <code>vi</code>
|}
=== On this day in history ===
{| class="wikitable sortable" width="60%"
! <!-- Ordered by response from https://wikimedia.org/api/rest_v1/feed/availability -->
! Language (local)
! Language (English)
! Code
|-
| 1
| [[:en:|English]]
| English
| <code>en</code>
|-
| 2
| [[:de:|Deutsch]]
| German
| <code>de</code>
|-
| 3
| [[:fr:|Français]]
| French
| <code>fr</code>
|-
| 4
| [[:sv:|Svenska]]
| Swedish
| <code>sv</code>
|-
| 5
| [[:pt:|Português]]
| Portuguese
| <code>pt</code>
|-
| 6
| [[:ru:|Русский]]
| Russian
| <code>ru</code>
|-
| 7
| [[:es:|Español]]
| Spanish
| <code>es</code>
|-
| 8
| [[:ar:|العربية]]
| Arabic
| <code>ar</code>
|-
| 9
| [[:bs:|Bosanski]]
| Bosnian
| <code>bs</code>
|-
|-
|}
=== Daily featured image ===
{| class="wikitable" width="60%"
! Language
! Code
|-
| [[:en:|English]]
| <code>en</code>
|}
=== Most read articles ===
{| class="wikitable" width="60%"
! Language
|-
| [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages]
|}
__NOTOC__
{{DEFAULTSORT:2}}
lftkvv1ybznop8y235z89svjbmam3bt
API reference/Core
0
11
15
2020-09-15T23:27:53Z
APaskulin (WMF)
20
Created page with "__NOTOC__"
wikitext
text/x-wiki
__NOTOC__
kql9fyxoa5yczcpxajv4ee65vgow5eh
17
15
2020-09-15T23:30:28Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
cteawyb4kxqpmhunlhyj4hrmsschbyn
171
17
2020-09-19T00:06:29Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
bizbx2u9g9o5g8lvp54p8cihjcq4kz9
386
171
2020-11-02T20:40:51Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API]] to [[API reference/Core]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
bizbx2u9g9o5g8lvp54p8cihjcq4kz9
457
386
2020-11-05T17:18:30Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Search pages endpoint]]<br>› [[API reference/Core/Search|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Pages</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get page|Get page endpoint]]<br>› [[API reference/Core/Pages|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Media files</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file endpoint]]<br>› [[API_reference/Core/Media files|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Page history</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get history endpoint]]<br>› [[API_reference/Core/History|Read docs]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
7ohz5spucfmdihxtb9piojfqpi81zj0
491
457
2020-11-06T21:31:00Z
APaskulin (WMF)
20
Formatting fixes
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured content|Search pages endpoint]]<br>› [[API reference/Core/Search|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get page|Get page endpoint]]<br>› [[API reference/Core/Pages|Read docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file endpoint]]<br>› [[API_reference/Core/Media files|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Page history</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get history endpoint]]<br>› [[API_reference/Core/History|Read docs]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
o9syttaqlk9lkyxbne9zph4db0vlntn
498
491
2020-11-06T21:42:24Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages endpoint]]<br>› [[API reference/Core/Search|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get page|Get page endpoint]]<br>› [[API reference/Core/Pages|Read docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file endpoint]]<br>› [[API_reference/Core/Media files|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Page history</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get history endpoint]]<br>› [[API_reference/Core/History|Read docs]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
4gs49z88paa6lfp49qk1tcuk4e34w3x
501
498
2020-11-06T21:44:35Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search content|Search content endpoint]]<br>› [[API reference/Core/Search|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get page|Get page endpoint]]<br>› [[API reference/Core/Pages|Read docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file endpoint]]<br>› [[API_reference/Core/Media files|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Page history</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get history endpoint]]<br>› [[API_reference/Core/History|Read docs]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
2cpgol8ung5nw2ci007x9lwr48q856p
656
501
2020-11-23T21:41:19Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search content|Search content endpoint]]<br>› [[API reference/Core/Search|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get page|Get page endpoint]]<br>› [[API reference/Core/Pages|Read docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file endpoint]]<br>› [[API_reference/Core/Media files|Read docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions/Get page history|Get page history endpoint]]<br>› [[API_reference/Core/Revisions|Read docs]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
ke81phbjhkvtknfeaoz1d6z44umnvsb
1017
656
2021-02-11T04:09:49Z
APaskulin (WMF)
20
Add descriptions and consolidate links
wikitext
text/x-wiki
Core endpoints help you discover and interact with free knowledge from across Wikimedia projects.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search</p>
<p class="card-text" style="font-size: 14px;">Discover free knowledge on Wikipedia and other projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core/Search|Search endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Pages</p>
<p class="card-text" style="font-size: 14px;">Get pages from Wikipedia and other Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Core/Pages|Page endpoints]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Media files</p>
<p class="card-text" style="font-size: 14px;">Get freely licensed images, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files|File endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Revisions</p>
<p class="card-text" style="font-size: 14px;">Explore page history and compare revisions.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions|Revision endpoints]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
2oh1qr104wkt4vhffl6boc5jib0vi6a
API reference/Core/Search
0
12
18
2020-09-15T23:44:37Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
407
18
2020-11-02T20:40:55Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Search]] to [[API reference/Core/Search]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
458
407
2020-11-05T17:21:18Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Resources</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result object]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages]]<br>› [[API_reference/Core/Search/Complete title|Complete title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
giwbg2jkqg5f0bmn7kjp384psu1z0fx
460
458
2020-11-05T17:28:00Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Resources</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages]]<br>› [[API_reference/Core/Search/Complete title|Complete title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
cqxqpf0ej2u2hmkf568t3lfarqsp9au
492
460
2020-11-06T21:32:42Z
APaskulin (WMF)
20
Formatting fixes
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages]]<br>› [[API_reference/Core/Search/Complete title|Complete title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
2a6gk2w0pn37rw783ehfvt42nvbi7c7
494
492
2020-11-06T21:38:55Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages]]<br>› [[API_reference/Core/Search/Complete title|Complete title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
8lpb1r0pqpee7fd3jo6xs1epqcsbi9b
495
494
2020-11-06T21:39:10Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search pages|Search pages]]<br>› [[API_reference/Core/Search/Complete title|Complete title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
2a6gk2w0pn37rw783ehfvt42nvbi7c7
502
495
2020-11-06T21:45:00Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search content|Search content]]<br>› [[API_reference/Core/Search/Search title|Search title]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
48g1puzcrn2h6w6bwrre4fr38mjv66h
658
502
2020-11-23T21:44:28Z
APaskulin (WMF)
20
Add intro
wikitext
text/x-wiki
Discover articles on Wikipedia, media files on Wikimedia Commons, and more using search endpoints.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search result object|Search result]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:125px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search content|Search content]]<br>› [[API_reference/Core/Search/Search titles|Search titles]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
fdrb79n4en7zchmfren9wp6onbnooyp
API reference/Core/Search/Search content
0
13
19
2020-09-16T00:06:28Z
APaskulin (WMF)
20
Created page with "{| style="width: 100%;" !style="text-align:left;"|GET | <code>/core/v1/{project}/{language}/search/page?q=search terms</code> |} Searches wiki page titles and contents for t..."
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:left;"|GET
| <code>/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
==== Examples ====
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
==== Parameters ====
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>q</code>
<small>required | query</small>
| Search terms
|-
| <code>limit</code>
<small>optional | query</small>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
==== Responses ====
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code>pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
c5b61ujl8f96ftii14apc62zrbeg9ni
20
19
2020-09-16T00:24:18Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;>/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<syntaxhighlight lang="python" inline>/core/v1/{project}/{language}/search/page?q=search terms</syntaxhighlight>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
==== Examples ====
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
==== Parameters ====
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>q</code>
<small>required | query</small>
| Search terms
|-
| <code>limit</code>
<small>optional | query</small>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
==== Responses ====
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code>pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
7tev239ov98n41yygfwo0glgave4mxi
21
20
2020-09-16T00:28:01Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
==== Examples ====
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
==== Parameters ====
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>q</code>
<small>required | query</small>
| Search terms
|-
| <code>limit</code>
<small>optional | query</small>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
==== Responses ====
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code>pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
fili5h87o9vlg8ztf2spzu3vmqi6dyf
22
21
2020-09-16T00:42:09Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #b32424;">required</span> | query</p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;">optional | query</p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code>pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
fdth66st0klte3dutw4oe2lsqgnzjmj
23
22
2020-09-16T00:49:11Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #b32424;">required</span> | query</p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;">optional | query</p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
bqf1dzkyrg34henwhannlqxnbiouohe
24
23
2020-09-16T00:53:35Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #b32424;">required</span> | path</p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #b32424;">required</span> | path</p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #b32424;">required</span> | query</p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="color: #14866d;">optional</span> | query</p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
3yh6jk7gpzlg2q3gw4vu1nrz0y6so3i
25
24
2020-09-16T01:06:11Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
hmtpbdchvc0dh60z5ljdq623m5fqdwb
26
25
2020-09-16T01:07:14Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<syntaxhighlight lang="bash">
https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth
</syntaxhighlight>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
rk4upcvhnge0yx7uivtq2ic7wptela5
30
26
2020-09-16T17:12:43Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- Transclude sample code -->
{{:Samples/Search pages}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
bi4mgn3uxq0k5qwznfmf5al0bwh90t6
31
30
2020-09-16T17:19:07Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- Transclude sample code -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
{{:Samples/Search pages}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
rdhq4dawbtd43hau75zo1st9fe82b3n
32
31
2020-09-16T17:21:02Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Jupiter
$ curl https://en.wikipedia.org/w/rest.php/v1/search/page?q=jupiter&limit=20
</syntaxhighlight>
=== Python ===
<!-- https://paws-public.wmflabs.org/paws-public/User:APaskulin_(WMF)/MediaWiki-REST-API-examples.ipynb#Search-pages -->
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Jupiter
import requests
search_query = 'jupiter'
number_of_results = 20
url = 'https://en.wikipedia.org/w/rest.php/v1/search/page'
headers = {'User-Agent': 'MediaWiki REST API docs examples/0.1 (https://www.mediawiki.org/wiki/API_talk:REST_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Jupiter
*/
$params = array("q" => "jupiter", "limit" => "20");
$endpoint = "https://en.wikipedia.org/w/rest.php/v1/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "MediaWiki REST API docs examples/0.1 (https://www.mediawiki.org/wiki/API_talk:REST_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Jupiter
*/
async function doFetch() {
const rsp = await fetch(
"https://en.wikipedia.org/w/rest.php/v1/search/page?q=jupiter&limit=20",
{'Api-User-Agent': 'MediaWiki REST API docs examples/0.1 (https://www.mediawiki.org/wiki/API_talk:REST_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
8bk8d3skcfeuurwjh2s86g0cyj28k5a
33
32
2020-09-16T18:44:22Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
f0s7etuh39r7455bvshqo9htjqoj2fw
34
33
2020-09-16T19:41:57Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
<a class="btn btn-primary" href="#" role="button">Button</a>
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
pngo7y93i07o3ebkr4ar2ddzb1jjbv8
35
34
2020-09-16T19:56:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
<p class="btn btn-primary" data-toggle="collapse" role="button" aria-expanded="false" aria-controls="collapseExample">
[[Main Page]]
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
f763p8au0mhi0wqwaa0uq0tsyooowb3
36
35
2020-09-16T20:04:29Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
f0s7etuh39r7455bvshqo9htjqoj2fw
40
36
2020-09-16T20:16:49Z
APaskulin (WMF)
20
Added button
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
t92den1nio9yd8md0bdife0503plwtr
41
40
2020-09-16T20:29:28Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
<p data-toggle="collapse" aria-expanded="false" aria-controls="collapseExample" role="button">
{{#invoke:Clickable button 2|main|#collapseExample|Try it out|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
h5z4uudc350tkzf709d4fitpti73qwv
42
41
2020-09-16T20:33:26Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
{{#invoke:Clickable button 2|main|View response example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
3vrl1v9nvet2ojesc7i8dtwp3u05yod
43
42
2020-09-16T20:34:02Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
{{#invoke:Clickable button 2|main|#|View response example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
es65lbtmyfcwpilzxgxunm0egz12avk
44
43
2020-09-16T20:39:52Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" onClick="return false;">
{{#invoke:Clickable button 2|main|#|View response example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
n5m9iwbj35rbskm3ys2f4kt9is7zqsg
45
44
2020-09-16T20:40:20Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
{{#invoke:Clickable button 2|main|#Responses|View response example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<div class="card card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
9mhgsryw3r70e52hmsojc2wdq99ulia
46
45
2020-09-16T20:45:18Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:10px;">
{{#invoke:Clickable button 2|main|#Responses|Show example}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
dcws2nf66em51ywzz4rt9af4am2nxhr
47
46
2020-09-16T20:47:32Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
|-
!500
| Search error
|}
__NOTOC__
79bfc50nkrkxchxspoec3zfk0u0bezk
48
47
2020-09-16T21:08:58Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
l9zin2z0v927ucu8p1zdf463515rsf6
49
48
2020-09-16T21:10:44Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExample3" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p type="button" data-toggle="collapse4" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
nkpejcf5o3ksxofa892aexvtl3xylbi
50
49
2020-09-16T21:11:30Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExample3" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
n743j7sy035m4zu92jvyxkkflwreq3x
51
50
2020-09-16T21:20:24Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive|style=color:#36c; background-color:#eaf3ff; border:0; font-size:0.9rem;}}
</p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExample3" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5" style="margin:0; padding-top:6px;">
{{#invoke:Clickable button 2|main|#Responses|Show example|class=mw-ui-progressive}}
</p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
78ww2zbilamaeyn7c0zsxjuzm3l4l4y
52
51
2020-09-16T21:32:18Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
i6jb9qehdj0lwi1er99hitc0zkqu4yz
53
52
2020-09-16T21:38:01Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#collapseExample2|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#collapseExample3|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#collapseExample4|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#collapseExample5|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
acvtxw67neye2qz4l8dm07x5e8dri7b
54
53
2020-09-16T21:44:33Z
APaskulin (WMF)
20
Undo revision 53 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
i6jb9qehdj0lwi1er99hitc0zkqu4yz
60
54
2020-09-16T22:04:30Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
kr56mizc90urewjdq4hl6du9s9ewuum
61
60
2020-09-16T22:06:59Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:1px solid #eaecf0;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
qjgp6vswxr12jhmb2xtdjocf7tj02vg
62
61
2020-09-16T22:07:56Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:0;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
6l8jfyghf1ngsp8q1tkifscoxytimgh
63
62
2020-09-16T22:08:12Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:0 !important;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
c3dcs1yq6iawrcn4mjt61ozdo5bbr41
68
63
2020-09-16T22:33:33Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:0 !important;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
m0bo4dg7qpvfoen8tns3z2fkn67nhu9
69
68
2020-09-16T22:34:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:0 !important;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:5px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
kyxue3wxyk5ek4nac87s4186kd52wh6
70
69
2020-09-16T22:35:16Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; border:0 !important;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
dqdrna34l50c70yymbdn8fvq7v8mv85
71
70
2020-09-16T22:37:22Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:16px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
dlqmivdcjwr7sjm4i85ohiljmhgq23r
72
71
2020-09-16T22:38:02Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:8px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
7ny1d9d0pt4ke35wdg02fouraawhnbd
73
72
2020-09-16T22:39:02Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
ths3fq4cgmxdw8urz3hus2t39ikwi21
74
73
2020-09-16T22:41:18Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 20%;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
s0z8jm5sfcf29nidyuu972w7xkx2lks
75
74
2020-09-16T23:42:59Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
l6u9u0g8bf9h872b7rl511qzqlu0h39
81
75
2020-09-17T00:46:00Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
7q62bz6w6m4ujhqbznrhmbdp7hmlui8
82
81
2020-09-17T00:47:11Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #2a4b8d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #2a4b8d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #2a4b8d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
qov20ea1b011a9i59in0nm8f04k9tvk
86
82
2020-09-18T00:43:23Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #2a4b8d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
6hqdsbo65j6uckcn4ksvsu8jqurhdou
87
86
2020-09-18T00:44:27Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #14866d; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #14866d; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #14866d; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="color: #14866d; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
fxrzlxmb4es29eii9hvcl1hwmucy03n
88
87
2020-09-18T00:47:54Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<syntaxhighlight lang="bash">
# Search English Wikipedia for up to 20 pages containing information about Earth
$ curl https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
<div style="padding-top:10px;">
{{#invoke:Clickable button 2|main|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20}}
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
b9uujda65zn1ut7f0sgu91t4fnk7llv
89
88
2020-09-18T01:02:18Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
jq9eyuvef8pbptlx7yw693crl25hsnl
90
89
2020-09-18T01:03:36Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<span class="plainlinks" style="margin: 0px; color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
19nva07fvx11dq3yoc0ci7k96myuy3q
91
90
2020-09-18T01:04:32Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style"margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
nrdupwasumeqc8cje8ytmrdoopld6by
92
91
2020-09-18T01:06:33Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
i2creuxfwwjbd3nxysqtigtw0jc8wqi
93
92
2020-09-18T01:14:34Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #14866d; background-color:#f8f9fa;">pages</code> object containing an empty array.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample2" aria-expanded="false" aria-controls="collapseExample2">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample2">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #14866d; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #14866d; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
kt1pm7jvd2xakhczqpx7zem6asvs5ft
95
93
2020-09-18T01:55:18Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an empty array.
<div class="mw-collapsible mw-collapsed" style="width:500px; overflow:auto;">
<div>Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json>
{}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
mc2iuak76d7p5fls3kp6hwwf5m0adjm
96
95
2020-09-18T03:51:33Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an empty array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:500px; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px;}">
<div style="font-weight:600; font-size:0.9rem;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json>
{}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
55e99beaunzw4qugnmx0tpen5buobki
97
96
2020-09-18T03:55:30Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an empty array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:500px; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px;">
<div style="font-weight:600; font-size:0.9rem;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json>
{}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
kd4r2g4ijana1ftib6xdq33lxo5wcqu
100
97
2020-09-18T16:18:55Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an array of [[#Search_result_object|search results]].
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">{{#invoke:Clickable button 2|main|#collapseExample|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample">
<syntaxhighlight lang="json>
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an empty array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample3" aria-expanded="false" aria-controls="collapseExampl3e">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample3">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample4" aria-expanded="false" aria-controls="collapseExample4">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample4">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<p style="margin:0; padding-top:6px;"><span type="button" data-toggle="collapse" data-target="#collapseExample5" aria-expanded="false" aria-controls="collapseExample5">{{#invoke:Clickable button 2|main|#Responses|Show example|style=font-size:0.9rem; border:1px solid #eaecf0;}}</span></p>
<div class="collapse" id="collapseExample5">
<syntaxhighlight lang="json>
{}
</syntaxhighlight>
</div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
at2928nlq3mxqnsklefghy8t6squeng
107
100
2020-09-18T16:40:40Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
| Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> object containing an empty array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
927zfkcpzgajep4eu0qvr87vgd4uq05
108
107
2020-09-18T16:43:22Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
k48zzkjq7amnygqmsdkbejgo8vdr6p2
109
108
2020-09-18T16:49:40Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
mhpg9lmpmqmsfp248xe5f6rsprf86xn
110
109
2020-09-18T16:50:55Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 500
| Search error
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
65spkp2fdqmzp5zoh9caua4qzwq2ybj
114
110
2020-09-18T17:54:43Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
2khdq6befqbn9ck4d5um2grju3ueyxa
125
114
2020-09-18T20:56:40Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="min-width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
mwtqlr6tlsgdpjicwl6cp82lesq46xp
126
125
2020-09-18T20:56:53Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
2khdq6befqbn9ck4d5um2grju3ueyxa
173
126
2020-09-25T16:35:59Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="max-width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
hrww5pqg4owcpbkabvdu9g0utvr7a9w
174
173
2020-09-25T16:37:30Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
ovcrmwq3hlyyjxyx300mpdoit745ipl
175
174
2020-09-25T16:54:53Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700; max-width: 100%;">Example</div>
<div class="mw-collapsible-content" style="max-width: 100%;">
<syntaxhighlight lang="json" style="max-width: inherit; overflow-x: scroll;">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
elvlesszazkweiozmsi7bpau6fjer5u
176
175
2020-09-25T17:55:27Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px; padding-bottom:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700; max-width: 100%;">Example</div>
<div class="mw-collapsible-content" style="max-width: 100%;">
<syntaxhighlight lang="json" style="max-width: inherit; overflow-x: scroll;">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
besf6lsqa7rajtnttsmbyvvkgwmnwl3
177
176
2020-09-25T17:55:39Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px; padding-bottom:10px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700; max-width: 100%;">Example</div>
<div class="mw-collapsible-content" style="max-width: 100%;">
<syntaxhighlight lang="json" style="max-width: inherit; overflow-x: scroll;">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
ry2mfhcxs9jvo0yu7l32qqb7y3w9pox
178
177
2020-09-25T17:55:53Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700; max-width: 100%;">Example</div>
<div class="mw-collapsible-content" style="max-width: 100%;">
<syntaxhighlight lang="json" style="max-width: inherit; overflow-x: scroll;">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
m6j8mxxfjc3t5xwwnp031owm4ciwjj4
181
178
2020-09-25T18:28:59Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
2khdq6befqbn9ck4d5um2grju3ueyxa
193
181
2020-09-28T21:24:00Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:6px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
nyhp98prg6trn4all7tmuztg15jes3c
195
193
2020-09-28T22:10:20Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">/core/v1/{project}/{language}/search/page?q=search terms</code>
|}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:8px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
o9hblcni19sdt70psu6d93l6edztada
231
195
2020-10-15T18:35:33Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:8px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
5y7jj75juumaf0cls6knpf3kpxb4sz1
234
231
2020-10-15T18:41:02Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint box| /core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:8px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
7ed5irzv2r6fh2g47s3t0m6ie97ocok
238
234
2020-10-15T18:46:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow" style="width:100%; padding-top:8px; padding-bottom:15px;">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
myoyju3nfo1x62xebkgdqzm2c4k50i4
240
238
2020-10-15T18:53:40Z
APaskulin (WMF)
20
/* Examples */ Move styles to Common.css
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
b7wgcxxq0vj2h1aixpb1rgtmfdhh76v
242
240
2020-10-15T19:19:04Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122;border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
5jzt953sf79evex5ybs6uodcfh47swq
243
242
2020-10-15T19:20:33Z
APaskulin (WMF)
20
Undo revision 242 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|style="width: 20%;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
m3dn2bxamc0rj6wnf76gn61vnl2u79w
247
243
2020-10-15T19:25:25Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
5b92ngijqdulb0fg3cckl1ctvrvxfng
250
247
2020-10-15T19:27:45Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|<code>project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
4pb85dwk6z4wtajlrexbxk7s3h5dkkp
251
250
2020-10-15T19:28:46Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|<code>project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|<code>language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|<code>q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|<code>limit</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
7apc9zx6udktf2kncmg2pxpuhkaxenp
253
251
2020-10-15T19:33:40Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes" style="width: 100%; "
|<code>project</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Project name
|-
|<code>language</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
| Language code
|-
|<code>q</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
4pplcczxsc9r4ocwzchlbjxbpkifhoe
257
253
2020-10-15T19:36:50Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable" style="width: 100%;"
|-
!style="width: 10%; text-align:center;"| 200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
d3epz5zm8drxnjsv8t6bcpe7dnugxkp
261
257
2020-10-15T19:44:35Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!style="width: 10%; text-align:center;"| 400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
5vap98q9m0kz5iiv5wft7bb86rd33sh
262
261
2020-10-15T19:45:16Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|style="max-width: 90%;"|Success: Results found. Returns a <code style="color: #212529; background-color:#f8f9fa;">pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code style="color: #212529; background-color:#f8f9fa;">pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code style="color: #212529; background-color:#f8f9fa;">q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code style="color: #212529; background-color:#f8f9fa;">limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
eaavqbg9fnwqlptj1yatys9tv1f2tes
264
262
2020-10-15T19:49:15Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
azpd2lhwzdppyngru9ykqgm0ol49wxc
266
264
2020-10-15T19:52:59Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
4w4qnli76r1blq54cqm87hxwnd4yjgq
269
266
2020-10-15T19:58:46Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed">
<div>Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
5h39xhkzbh543fmvur1wyhc3d5t58h0
272
269
2020-10-15T21:31:01Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
shh94ns17dl36wlfqpk7pc7df8m2x4n
273
272
2020-10-15T21:33:23Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed" style="background-color:#f8f9fa; max-width:100%; overflow:auto; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
t0lyjsv4d0zn5wkzilpi9tjgitsiqep
274
273
2020-10-15T21:34:54Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight></div></div>
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
p4k4xv7zmcgwdhrifgw2m95pra2lsuq
280
274
2020-10-15T21:43:02Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
ffq0u9nrh916s14c53r8sj77lcqtr9u
283
280
2020-10-15T21:44:33Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight></div></div>
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight></div></div>
|}
__NOTOC__
{{DEFAULTSORT:2}}
t1v9hmsr86kd67ex5ls3f7ymofs9pmr
284
283
2020-10-15T21:45:38Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable attributes"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
7oijxq3i97dvje0rh25ixd6tkgxss8o
296
284
2020-10-15T23:18:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint box|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
gwqw6f0d0860lzswfonwzwbfdnkk59b
300
296
2020-10-16T16:19:35Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# Search English Wikipedia for up to 20 pages containing information about Earth''<br>
<span style="color:#212529">$ curl</span> https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
1umdyiazp5eqo2ymxwmopndhuj8s8vx
302
300
2020-10-16T16:21:41Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
nlqsonf4f7ljo5n35id95v18w8oketj
379
302
2020-10-31T02:21:28Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
Each type of Wikimedia project creates and maintains a different genre of free content.
{| class="wikitable"
| style="width:50%;"|Encyclopedia pages
| <code>wikipedia</code>
|-
| Images, audio, and video
| <code>commons</code>
|-
| Dictionary entries
| <code>wiktionary</code>
|-
| Travel guides and phrasebooks
| <code>wikivoyage</code>
|-
|colspan="2"|[[Documentation/Getting_started/Wikimedia_projects|List all projects]]
|}
|-
|<code>language</code>
{{Required path}}
| Two-letter or three-letter language code, based on [[w:ISO 639-1]] and [[w:ISO 639-2]]
Arabic (<code>ar</code>), Bengali (<code>bn</code>), Chinese (<code>zh</code>), English,(<code>en</code>), French (<code>fr</code>), German (<code>de</code>), Hebrew (<code>he</code>), Hindi (<code>hi</code>), Japanese (<code>ja</code>), Korean (<code>ko</code>), Persian (<code>fa</code>), Portuguese (<code>pt</code>), Russian (<code>ru</code>), Spanish (<code>es</code>)
[[meta:Special:SiteMatrix|List all projects and languages]]
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
hbuqsp29r2l77pssdeoznzrkxmikpim
380
379
2020-11-02T17:15:58Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), or <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>zh</code> (Chinese), <code>en</code> (English), <code>es</code> (Spanish). Required for <code>wikipedia</code> and [[Documentation/Getting_started/Wikimedia_projects#Single-language_projects|other single-language projects]]; prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]]. [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
41aenodwkue9mup2qb65vbgefmhhvpp
409
380
2020-11-02T20:40:58Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Search/Search pages]] to [[API reference/Core/Search/Search pages]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), or <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>zh</code> (Chinese), <code>en</code> (English), <code>es</code> (Spanish). Required for <code>wikipedia</code> and [[Documentation/Getting_started/Wikimedia_projects#Single-language_projects|other single-language projects]]; prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]]. [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
41aenodwkue9mup2qb65vbgefmhhvpp
414
409
2020-11-02T20:50:40Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
hbr4ftcfn79h7oks7pn5gy9bcq8xhfw
499
414
2020-11-06T21:43:16Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/Search/Search pages]] to [[API reference/Core/Search/Search content]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
hbr4ftcfn79h7oks7pn5gy9bcq8xhfw
550
499
2020-11-10T22:41:04Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 20 pages containing information about Earth
import requests
search_query = 'earth'
number_of_results = 20
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
4ecwnghkd8lv3j3xfrzgeunv5nm1khl
630
550
2020-11-23T17:28:17Z
APaskulin (WMF)
20
/* Examples */ Fix Python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
5gnepwrwl60wp11z8otioocnycttv6f
661
630
2020-11-23T21:57:22Z
APaskulin (WMF)
20
Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20|comment=Search English Wikipedia for up to 20 pages containing information about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
$params = array("q" => "earth", "limit" => "20");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/page";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 20 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=20",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
nhkeihc73890siaelryliem2btnxl0l
665
661
2020-11-23T22:11:36Z
APaskulin (WMF)
20
/* Examples */ Update examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 10 pages containing information about Earth
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
jba6hfhaiervm8habqzv57qfdzc021c
717
665
2020-11-24T02:51:09Z
APaskulin (WMF)
20
/* Examples */ update javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
7gak0hkzm0ohx7ghjvxhvipywhyovjs
737
717
2020-11-25T22:33:43Z
APaskulin (WMF)
20
/* Examples */ Shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10',
{
headers: {
'Authorization': 'Bearer ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
m5e6g25l2cz30cxi5cn358hi401z5h3
743
737
2020-11-25T22:43:53Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
b3sxlom8qz4im66ccyx99lfsiiq3mvo
756
743
2020-11-25T22:49:09Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
jh1qzc46doznoomzn86x6zwg1xjyaix
763
756
2020-11-25T22:55:35Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
esuc639kv16xenvnm5aq7jktoilzpv4
960
763
2021-01-05T23:48:40Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons to javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
hgd9rxx0xu58yl1iqsrl84b207eck07
1116
960
2021-05-29T12:21:40Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
ccgm6d8ys1b1cas5fe1m6pzwijrplae
1140
1116
2021-06-09T02:58:40Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
7xt95154ta4kocdbtub77l1wmnxizes
1251
1140
2022-03-11T20:00:14Z
APaskulin (WMF)
20
Add matched_title
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/page?q=search terms}}
Searches wiki pages for the given search terms, and returns matching pages.
== Examples ==
<!-- See https://api.wikimedia.org/wiki/MediaWiki:Gadget-tabbedwindow.js -->
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10|comment=Search English Wikipedia for 10 articles about Earth}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 articles about Earth
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 10 articles about Earth
$params = array('q' => 'earth', 'limit' => '10');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 10 articles about Earth
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=earth&limit=10';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
|Success: Results found. Returns a <code>pages</code> array containing [[API reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"matched_title": null,
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 2126501,
"key": "Google_Earth",
"title": "Google Earth",
"excerpt": "Google <span class=\"searchmatch\">Earth</span> is a computer program that renders a 3D representation of <span class=\"searchmatch\">Earth</span> based primarily on satellite imagery. The program maps the <span class=\"searchmatch\">Earth</span> by superimposing",
"matched_title": null,
"description": "virtual map program developed by Google",
"thumbnail": {
"mimetype": "image/svg+xml",
"size": 11912,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Google_Earth_icon.svg/200px-Google_Earth_icon.svg.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!200
| Success: No results found. Returns an empty <code>pages</code> array.
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": []
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "0",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"0\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
qcdcfp1f71snboxftyzcc40or9n7jdm
MediaWiki:Gadgets-definition
8
14
27
2020-09-16T01:13:14Z
APaskulin (WMF)
20
Created page with "* tabbedwindow[ResourceLoader|default]|tabbedwindow.js"
wikitext
text/x-wiki
* tabbedwindow[ResourceLoader|default]|tabbedwindow.js
32z4hyhsutqhyov2bc0tpp041igpj0b
120
27
2020-09-18T18:17:59Z
APaskulin (WMF)
20
Added headanchor gadget
wikitext
text/x-wiki
* tabbedwindow[ResourceLoader|default]|tabbedwindow.js
* headanchor[ResourceLoader|type=general]|headanchor.js|headanchor.css
bdvgzt3uyzw8jg5i5q50z45uh13w5sm
122
120
2020-09-18T18:25:38Z
APaskulin (WMF)
20
Make headanchor a default
wikitext
text/x-wiki
* tabbedwindow[ResourceLoader|default]|tabbedwindow.js
* headanchor[ResourceLoader|default]|headanchor.js|headanchor.css
hsdpq5eqz5cvrulsw2rbunhwdosrs56
183
122
2020-09-28T18:10:53Z
APaskulin (WMF)
20
Troubleshoot anchor links
wikitext
text/x-wiki
* tabbedwindow[ResourceLoader|default]|tabbedwindow.js
<!-- headanchor[ResourceLoader|default]|headanchor.js|headanchor.css -->
scyi8d69c7x02xdc0a8xzzwelovn7pp
184
183
2020-09-28T18:12:09Z
APaskulin (WMF)
20
Undo troubleshooting
wikitext
text/x-wiki
* tabbedwindow[ResourceLoader|default]|tabbedwindow.js
* headanchor[ResourceLoader|default]|headanchor.js|headanchor.css
hsdpq5eqz5cvrulsw2rbunhwdosrs56
MediaWiki:Gadget-tabbedwindow.js
8
15
28
2020-09-16T01:13:41Z
APaskulin (WMF)
20
Created page with "/** * * tabbedWindow.js * * It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org. * Each tab of the window contains sample code in a program..."
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
supportedNamespaces = [ 'API', 'Help', 'User' ],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view' &&
supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
9otbxm4m6arrcz588r3zswsuhs3myr5
55
28
2020-09-16T21:52:23Z
APaskulin (WMF)
20
Trying out namespace fix
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
supportedNamespaces = [ 'API', 'Help', 'User', '(Main)' ],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view' &&
supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
519ly2pnzav0fkwandy5j8ojsxvuwdh
56
55
2020-09-16T21:54:07Z
APaskulin (WMF)
20
Trying out another fix
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
// supportedNamespaces = [ 'API', 'Help', 'User'],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view' &&
supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
2s9tkv0whyz8aa9rzrbi1qqkvaab0b3
57
56
2020-09-16T21:56:38Z
APaskulin (WMF)
20
Try Main without parentheses
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
supportedNamespaces = [ 'API', 'Help', 'User', 'Main' ],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view' &&
supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
hxu57kzcfx024t2ycw2yaml1tcitjgs
58
57
2020-09-16T21:59:24Z
APaskulin (WMF)
20
One last try to fix namespace issue
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
supportedNamespaces = [ 'API', 'Help', 'User', 'Main' ],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view'
//action === 'view' &&
//supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
hpywuotynisuqxiiqvvdgkoq3phqm1x
59
58
2020-09-16T22:02:51Z
APaskulin (WMF)
20
Removing main to not mislead our future selves
javascript
text/javascript
/**
*
* tabbedWindow.js
*
* It embeds an OOUI tabbed window on all pages in the API namespace on MediaWiki.org.
* Each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.)
* demonstrating the use of the MediaWiki Action API.
*
* @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
* @licstart The following is the entire license notice for the JavaScript code in this gadget.
*
* Copyright (C) 2019 Jay Prakash <https://meta.wikimedia.org/wiki/User:Jayprakash12345> and contributors
*
* The JavaScript/Gadget code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript/Gadget code in this gadget.
*/
( function () {
'use strict';
/**
* This function fetches sample code in different programming languages
* from the sub-sections of the section "Sample Code" and places
* them into an OOUI tabbed window.
*
* @param {jQuery} $tabbedWindows
*/
function makeTabWindow( $tabbedWindows ) {
var tabs = [];
$tabbedWindows.each( function () {
var panelLayout,
indexLayout = new OO.ui.IndexLayout( {
expanded: false
} );
$( this ).find( 'h3 > .mw-editsection' ).remove();
$( this ).find( 'h3' ).each( function () {
var id, tabPanel,
htmlcontent = '';
id = $( this ).find( 'span[class=mw-headline]' ).attr( 'id' );
$( 'a[href="#' + id + '"]' ).remove();
$( this ).nextUntil( 'h3' ).each( function () {
htmlcontent += '\n' + $( this ).prop( 'outerHTML' );
} );
tabPanel = new OO.ui.TabPanelLayout( $( this ).text(), {
expanded: false,
label: $( this ).text(),
content: [
new OO.ui.HtmlSnippet( htmlcontent )
]
} );
tabPanel.$element.css( 'padding', '0.5em' );
tabs.push( tabPanel );
} );
indexLayout.addTabPanels( tabs );
tabs = [];
panelLayout = new OO.ui.PanelLayout( {
expanded: false,
framed: true,
content: [ indexLayout ]
} );
$( this ).empty().append( panelLayout.$element );
} );
}
$( function () {
// Quick check (dependency-free, this is executed for all pages/actions/namespaces)
var $tabbedWindows,
supportedNamespaces = [ 'API', 'Help', 'User' ],
action = mw.config.get( 'wgAction' ),
namespace = mw.config.get( 'wgCanonicalNamespace' );
if (
action === 'view'
//&&
//supportedNamespaces.indexOf( namespace ) !== -1
) {
// Expensive checks (only on the subset of supported pages)
// eslint-disable-next-line no-jquery/no-global-selector
$tabbedWindows = $( '.mw-gadget-tabbedwindow' );
if ( $tabbedWindows.length > 0 ) {
// Viewing an API subject page with tabs on it, let's make them nice!
mw.loader.using( [ 'oojs-ui-widgets' ] ).then( function () {
makeTabWindow( $tabbedWindows );
} );
}
}
} );
}() );
41awmkis4x0coclx8ci71v58haheu1f
Module:Clickable button 2
828
17
37
2020-09-16T20:05:29Z
APaskulin (WMF)
20
Created page with "-- This module implements {{clickable button 2}}. -- See https://www.mediawiki.org/wiki/Module:Clickable_button_2 local yesno = require('Module:Yesno') local p = {} functio..."
Scribunto
text/plain
-- This module implements {{clickable button 2}}.
-- See https://www.mediawiki.org/wiki/Module:Clickable_button_2
local yesno = require('Module:Yesno')
local p = {}
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:Clickable button 2'
})
return p.luaMain(args)
end
function p.luaMain(args)
if not args[1] and not args.url then
return ''
end
local data = p.makeLinkData(args)
local link = p.renderLink(data)
local trackingCategories = p.renderTrackingCategories(args)
return link .. trackingCategories
end
function p.makeLinkData(args)
local data = {}
-- Get the link and display values, and find whether we are outputting a
-- wikilink or a URL.
if args.url then
data.isUrl = true
data.link = args.url
if args[1] then
data.display = args[1]
else
data.display = args.url
end
else
data.isUrl = false
data.link = args[1]
if args[2] then
data.display = args[2]
else
data.display = args[1]
end
end
-- Classes
local class = args.class and args.class:lower()
data.classes = {}
if class == 'ui-button-green'
or class == 'ui-button-blue'
or class == 'ui-button-red'
then
table.insert(
data.classes,
'submit ui-button ui-widget ui-state-default ui-corner-all'
.. ' ui-button-text-only ui-button-text'
)
else
table.insert(data.classes, 'mw-ui-button')
end
if class then
table.insert(data.classes, class)
end
-- Styles
do
--[[
-- Check whether we are on the same page as we have specified in
-- args[1], but not if we are using a URL link, as then args[1] is only
-- a display value. If we are currently on the page specified in
-- args[1] make the button colour darker so that it stands out from
-- other buttons on the page.
--]]
local success, linkTitle, currentTitle
if not data.isUrl then
currentTitle = mw.title.getCurrentTitle()
success, linkTitle = pcall(mw.title.new, args[1])
end
if success
and linkTitle
and mw.title.equals(currentTitle, linkTitle)
then
if class == 'ui-button-blue'
or class == 'mw-ui-progressive'
or class == 'mw-ui-constructive'
then
data.backgroundColor = '#2962CB'
elseif class == 'ui-button-green' then
data.backgroundColor = '#008B6D'
elseif class == 'ui-button-red' or class == 'mw-ui-destructive' then
data.backgroundColor = '#A6170F'
else
data.backgroundColor = '#CCC'
data.color = '#666'
end
end
-- Add user-specified styles.
data.style = args.style
end
return data
end
function p.renderLink(data)
-- Render the display span tag.
local display
do
local displaySpan = mw.html.create('span')
for i, class in ipairs(data.classes or {}) do
displaySpan:addClass(class)
end
displaySpan
:attr('role', 'button')
:attr('aria-disabled', 'false')
:css{
['background-color'] = data.backgroundColor,
color = data.color
}
if data.style then
displaySpan:cssText(data.style)
end
displaySpan:wikitext(data.display)
display = tostring(displaySpan)
end
-- Render the link
local link
if data.isUrl then
link = string.format('[%s %s]', data.link, display)
else
link = string.format('[[%s|%s]]', data.link, display)
end
return string.format('<span class="plainlinks">%s</span>', link)
end
function p.renderTrackingCategories(args)
if yesno(args.category) == false then
return ''
end
local class = args.class and args.class:lower()
if class == 'ui-button-green'
or class == 'ui-button-blue'
or class == 'ui-button-red'
then
return '[[Category:Pages using old style ui-button-color]]'
else
return ''
end
end
return p
1zrwo7mmgkuk0i9b0bbckcfjbet3fac
Module:Yesno
828
18
38
2020-09-16T20:13:04Z
APaskulin (WMF)
20
Created page with "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. -- See https://www.mediawiki.org/wiki/Module:Yes..."
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
-- See https://www.mediawiki.org/wiki/Module:Yesno
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
return false
else
return default
end
end
ciioralhprh1iby80ozt2qfxfkfb17j
Module:Arguments
828
19
39
2020-09-16T20:14:06Z
APaskulin (WMF)
20
Created page with "-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke..."
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
-- See https://www.mediawiki.org/wiki/Module:Arguments
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
48una1gjpjtjpuyggyisju5uwkgcu0z
MediaWiki:Common.css
8
20
64
2020-09-16T22:18:01Z
APaskulin (WMF)
20
Add border style for code sample tab gadget
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
frvmigch1adki9wkb4snxoo7fpit9wh
65
64
2020-09-16T22:26:05Z
APaskulin (WMF)
20
Trying to address the margin here despite the errors
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
pre {
margin: 0px;
}
}
htx830ndgbn3n0pmcpwyok8yaln7iiu
66
65
2020-09-16T22:27:25Z
APaskulin (WMF)
20
Undo revision 65 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
frvmigch1adki9wkb4snxoo7fpit9wh
67
66
2020-09-16T22:30:08Z
APaskulin (WMF)
20
Trying a different syntax to trim extra space at the end of the code sample gadget
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0px;
}
h53tjuyvz09cm6twaqteinfod2lxmht
83
67
2020-09-18T00:26:56Z
APaskulin (WMF)
20
Adopt link colors from style guide
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0px;
}
/* Adopt link colors from style guide */
a {
color: #36c;
}
a:visited {
color: #636;
}
s1f1jz6zrj55y0ap10k0aadfkv6iy8a
84
83
2020-09-18T00:34:34Z
APaskulin (WMF)
20
Add remaining link colors
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0px;
}
/* Adopt link colors from style guide */
a {
color: #36c;
}
a:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active {
text-decoration: underline;
}
6zgomdbsr8msu023bjszlsls5wpi3hw
85
84
2020-09-18T00:35:49Z
APaskulin (WMF)
20
Add color for hover links
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0px;
}
/* Adopt link colors from style guide */
a, a:hover {
color: #36c;
}
a:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active {
text-decoration: underline;
}
adwhqsja3d8cejgzefwomshrrlqekvu
98
85
2020-09-18T04:00:35Z
APaskulin (WMF)
20
Trying to fix link styling in collapsed sections
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, .mw-collapsible-text {
color: #36c;
}
a:active, .mw-collapsible-text:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active, .mw-collapsible-text:active {
text-decoration: underline;
}
h25v1a6ahwst87f71hjaf9ewggpb8am
99
98
2020-09-18T04:01:58Z
APaskulin (WMF)
20
Trying something weird
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, .mw-collapsible-text, a:not([href]):not([tabindex]) {
color: #36c;
}
a:active, .mw-collapsible-text:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active, .mw-collapsible-text:active {
text-decoration: underline;
}
j2mml7uqtnd7s5m9ad27lzp9mea9qi6
101
99
2020-09-18T16:20:12Z
APaskulin (WMF)
20
Remove the extra whitespace at the bottom of the collapsable code samples
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, .mw-collapsible-text, a:not([href]):not([tabindex]) {
color: #36c;
}
a:active, .mw-collapsible-text:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active, .mw-collapsible-text:active {
text-decoration: underline;
}
/* Remove the extra whitespace at the bottom of the collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
}
1hu6ik2bdaphcjjhu3svmcfjohoas9r
102
101
2020-09-18T16:21:34Z
APaskulin (WMF)
20
Troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, .mw-collapsible-text {
color: #36c;
}
a:active, .mw-collapsible-text:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active, .mw-collapsible-text:active {
text-decoration: underline;
}
/* Remove the extra whitespace at the bottom of the collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
}
47bqhhb3dccwv5d829cktcmxzlaxhx0
103
102
2020-09-18T16:22:01Z
APaskulin (WMF)
20
Undo revision 102 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, .mw-collapsible-text, a:not([href]):not([tabindex]) {
color: #36c;
}
a:active, .mw-collapsible-text:active {
color: #2a4b8d;
}
a:visited {
color: #636;
}
a:hover, a:active, .mw-collapsible-text:active {
text-decoration: underline;
}
/* Remove the extra whitespace at the bottom of the collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
}
1hu6ik2bdaphcjjhu3svmcfjohoas9r
104
103
2020-09-18T16:23:17Z
APaskulin (WMF)
20
Try out proper link style for "Expand"
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]) {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active {
text-decoration: underline;
}
/* Remove the extra whitespace at the bottom of the collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
}
c7xzpuk7hcrafpokbfz2fei8w587e1p
111
104
2020-09-18T17:03:15Z
APaskulin (WMF)
20
Add missing styles for show/hide links
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove the extra whitespace at the bottom of the collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
}
l300wn55jyf2637lizv5eri4tuiz802
112
111
2020-09-18T17:07:30Z
APaskulin (WMF)
20
Remove extra padding from collapsable code samples
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding-top: 0.5rem;
}
ndwv7lo44xnb2gxyjw0ga63yx9xoowk
113
112
2020-09-18T17:09:14Z
APaskulin (WMF)
20
Specify all padding values
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
kwe674ejf8llysa3l14e1gwh44mfcws
179
113
2020-09-25T18:00:29Z
APaskulin (WMF)
20
Try to fix spontaneous change in syntax highlight color
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Fix syntaxhighlight color */
mw-highlight {
background-color: #f8f8f8;
}
5qirjtuuf88ncfijhmutmnovzuqkm8m
180
179
2020-09-25T18:18:59Z
APaskulin (WMF)
20
Undo revision 179 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
kwe674ejf8llysa3l14e1gwh44mfcws
185
180
2020-09-28T20:26:30Z
APaskulin (WMF)
20
Adjusting footer styles
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
09pec0y7adfr5ximdif9fcu9rf4ne80
186
185
2020-09-28T20:28:03Z
APaskulin (WMF)
20
Specifying h3
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name h3 {
font-size: 0.875rem;
padding-top: 8px;
}
4trzl14gcy9su71eromirlad3je6sz7
190
186
2020-09-28T21:04:24Z
APaskulin (WMF)
20
Adding code sample wrapping
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name h3 {
font-size: 0.875rem;
padding-top: 8px;
}
/* Wrap all code samples */
pre {
white-space: pre-wrap;
overflow-x: hidden;
}
h5cg0f6n9h6xmo1eogx80v05r130o13
192
190
2020-09-28T21:07:14Z
APaskulin (WMF)
20
Adding color and spacing for code samples
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name h3 {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
j1t3noik73wvc17dhkom12ofno3ta3u
194
192
2020-09-28T22:02:58Z
APaskulin (WMF)
20
Fix h2s
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
73u99xyu88qum2h5m9xxegbs4s0da96
196
194
2020-09-28T22:36:21Z
APaskulin (WMF)
20
Troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Troubleshooting */
.mw-highlight {
white-space: pre-wrap;
overflow-x: hidden;
}
28c0fiof1k6ed0xxnucx9uqsuucdx9e
197
196
2020-09-28T22:37:24Z
APaskulin (WMF)
20
Trying one extra troubleshooting step
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Troubleshooting */
div.mw-highlight {
white-space: pre-wrap;
overflow-x: hidden;
}
3sfcdabt4d7x2bkgicvqxhc6fun1k9g
198
197
2020-09-28T22:38:40Z
APaskulin (WMF)
20
Undoing troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
73u99xyu88qum2h5m9xxegbs4s0da96
199
198
2020-09-30T19:56:21Z
APaskulin (WMF)
20
Address T264202
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
l5ww7lru7fdfcvwn5sibn3s6px0oprx
222
199
2020-10-13T22:28:36Z
APaskulin (WMF)
20
Remove page action button outline on focus
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.wm-page-actions > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
il02u6pdx7aqrqil74mwotp0oubze96
223
222
2020-10-13T22:31:43Z
APaskulin (WMF)
20
Try using the same set of classes as the button
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a, a:hover, a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active, a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited, a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover, a:active, a:not([href]):not([tabindex]):active, a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
e49uo7gz5tgif55lf3be3y0i3lexbge
224
223
2020-10-14T17:45:28Z
DannyS712
72
readability tweaks: one selector per line (based on [[:mw:Manual:Coding conventions/CSS]])
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):hover {
color: #36c;
}
a:active,
a:not([href]):not([tabindex]):active {
color: #2a4b8d;
}
a:visited,
a:not([href]):not([tabindex]):visited {
color: #636;
}
a:hover,
a:active,
a:not([href]):not([tabindex]):active,
a:not([href]):not([tabindex]):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
ffk2asenbf3zxxw7xy3o1837m3j1ja4
225
224
2020-10-14T17:47:39Z
DannyS712
72
readability tweaks: spaces around () (based on [[:mw:Manual:Coding conventions/CSS]])
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
3yvea4tnett2mn02qteozad4g4hs9tn
239
225
2020-10-15T18:53:23Z
APaskulin (WMF)
20
Add spacing and width to tabbed window gadget
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
s402khr2lau3bolejmp4moxvh9imqpe
241
239
2020-10-15T19:18:07Z
APaskulin (WMF)
20
Table styles for attribute tables
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa;
}
.attributes td + td {
background-color: #ffffff;
}
4przjmjkrfbsq6bvtdantklf6c7tlhu
244
241
2020-10-15T19:23:27Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff;
}
n8dzlgfn6p9oii8i4zbszvc2k2sh6kb
245
244
2020-10-15T19:24:21Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
krm8phzxuhkxf5mlcm8znhcxgx92rd5
246
245
2020-10-15T19:25:00Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa !important;
width: 20% !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
1o5zg6d43p9ljgefjf1y0es7s5b9etq
248
246
2020-10-15T19:26:24Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
krm8phzxuhkxf5mlcm8znhcxgx92rd5
249
248
2020-10-15T19:27:33Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
r1cjyjrimsel3v2swme66rbkzkdxgnj
256
249
2020-10-15T19:36:37Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes table {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
ha0eb1oblbdlb1gwfj5p8i350n2e2kw
258
256
2020-10-15T19:39:14Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
h1rqkoskquulagybnf3zz3rfh7nq1cl
259
258
2020-10-15T19:42:57Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses td {
width: 10% !important;
text-align: center !important;
}
.responses td + td {
text-align: left !important;
}
8y7crlho83ooxxkyk379354w71hxk7k
260
259
2020-10-15T19:44:03Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
mpgbdgx9jrnjs2fpr1lfusyjgdjgmao
263
260
2020-10-15T19:48:08Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
e6jl5mmahcy658it92lllrkzqn6wjhv
265
263
2020-10-15T19:52:41Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
mw-collapsible {
background-color:#f8f9fa;
max-width:100%;
border:1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size:0.9rem;
}
o0beaimrreovmjy0u2l9nzsaj8elk29
267
265
2020-10-15T19:57:24Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color:#f8f9fa;
max-width:100%;
border:1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size:0.9rem;
}
qyy6mejxki5jz3127rlsryd2fr9d1dj
268
267
2020-10-15T19:58:39Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color:#f8f9fa;
max-width:100%;
border:1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size:0.9rem;
font-weight:700;
}
kyi9f6gnt1p0iuohngxuh886j7yghpx
270
268
2020-10-15T21:29:30Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
20a25jhqc09auga4c763fxedbmfx758
271
270
2020-10-15T21:30:53Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
7gpvzezf3qiwxceeljhmvab36glqg8y
285
271
2020-10-15T22:54:11Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for attribute tables */
.attributes {
width: 100% !important;
}
.attributes td {
background-color: #f8f9fa !important;
}
.attributes td + td {
background-color: #ffffff !important;
}
.attributes td code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
.attributes td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
s7ng98hicpyy08rg6lhhosqn5vimjw0
295
285
2020-10-15T23:17:51Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
}
.properties td + td {
background-color: #ffffff !important;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
cn593jmkb1wxhuyeo2yu05xbtjnoodw
298
295
2020-10-16T16:11:53Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
}
.properties td + td {
background-color: #ffffff !important;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
nn7ajqo4qhv60rcfc8wncq84eh98z6b
299
298
2020-10-16T16:13:25Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
cfne4tbipjvet9qwyfu7enkrvs9ejhh
341
299
2020-10-16T22:20:06Z
APaskulin (WMF)
20
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width:100%;
padding-top:8px;
padding-bottom:15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color:#f8f9fa;
border:0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color:#f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight:700;
}
oiut8i2o3agqiz64q19rm4eoxsvkpvp
357
341
2020-10-18T07:53:33Z
DannyS712
72
add spaces
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
lv5lqvnbm1ikwcj7oo2a1qtyrsmg637
373
357
2020-10-30T20:06:39Z
APaskulin (WMF)
20
Make sure banner content is visible
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible */
.cbnnr-message {
opacity: 1;
}
i9dk2u5l7omtzk6gaoziil1eg9knwt0
374
373
2020-10-30T20:10:02Z
APaskulin (WMF)
20
Troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible */
.cbnnr-message a {
opacity: 1;
}
5h5p2jet7c9zh3mlwwpx4pm7hxdmb8y
375
374
2020-10-30T20:11:09Z
APaskulin (WMF)
20
Troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible */
.cbnnr-message {
opacity: 1 !important;
}
jilt5k3jtb66a24i58lrr7mbewe46q0
376
375
2020-10-30T20:14:11Z
APaskulin (WMF)
20
Remove extra padding from banners
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0;
}
mz4crcigo0u13uo2x5zaadhs0q9leik
377
376
2020-10-30T20:14:54Z
APaskulin (WMF)
20
Troubleshooting
css
text/css
/* CSS placed here will be applied to all skins */
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
ah30no2ah3tjb4p69lmurys755seb6i
508
377
2020-11-06T22:13:39Z
APaskulin (WMF)
20
Increase spacing on regular text
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
3o5vazkuoi5re909zesnpk10gsr8hs0
509
508
2020-11-06T22:17:30Z
APaskulin (WMF)
20
Maintain original spacing on cards
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
kmy96riyy8t04417wed3mmjj49m9qe0
515
509
2020-11-09T20:56:39Z
APaskulin (WMF)
20
Increase padding for h3s
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
ck8zw87gdlw10b5ce9lh609pbzo9j31
532
515
2020-11-10T18:07:30Z
APaskulin (WMF)
20
Add break word properties to handle code samples with long, unbroken lines
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
padding: 1em;
display: inline-block;
word-break: break-word;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
nslgm9knknln0f7jw4f98zcvui1ohf6
552
532
2020-11-10T23:01:24Z
APaskulin (WMF)
20
Add 100% width for code samples
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
display: inline-block;
word-break: break-word;
width: 100%;
}
/* Add padding to h2s */
h2 {
padding-top: 10px;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
0ttelgdu3a6ks6t2hlem0erkezzfms7
581
552
2020-11-17T05:01:12Z
APaskulin (WMF)
20
Increase padding for h2s
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
display: inline-block;
word-break: break-word;
width: 100%;
}
/* Add padding to h2s */
h2 {
padding-top: 1.25rem;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
cxmxizvqmsv9clui052kq5b9cy0u1kb
941
581
2020-12-21T16:56:44Z
APaskulin (WMF)
20
Adding a style to override properties table styling for the Accept-Language
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
display: inline-block;
word-break: break-word;
width: 100%;
}
/* Add padding to h2s */
h2 {
padding-top: 1.25rem;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table style for Accept-Language support table */
.properties .language td + td {
width: 25%;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
cfx0grjalxqznfddqpp1cf1vqo4hs8x
943
941
2020-12-21T17:00:36Z
APaskulin (WMF)
20
Decrease width for language property tables
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
display: inline-block;
word-break: break-word;
width: 100%;
}
/* Add padding to h2s */
h2 {
padding-top: 1.25rem;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table style for Accept-Language support table */
.properties .language td + td {
width: 20%;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
8b91k5irv4uzej85irs8gzm71kne7so
1172
943
2021-09-27T06:28:29Z
DannyS712
72
whitespace cleanup
css
text/css
/* CSS placed here will be applied to all skins */
/* Increase spacing on regular text, but not on cards */
.wm-content p {
line-height: 1.8;
margin: 0.4em 0 1.5em 0;
}
.card-body p {
line-height: 1.5;
margin: 0.4em 0 0.5em 0;
}
/* Increase padding for h3s */
h3 {
margin-top: 1.25em;
}
/* Use a lighter border for code sample tabs */
.oo-ui-panelLayout-framed {
border: 1px solid #eaecf0;
}
/* Remove the extra whitespace at the bottom of the code table tabs */
.oo-ui-panelLayout-framed pre {
margin: 0;
}
/* Adopt link colors from style guide */
a,
a:hover,
a:not( [href] ):not( [tabindex] ),
a:not( [href] ):not( [tabindex] ):hover {
color: #36c;
}
a:active,
a:not( [href] ):not( [tabindex] ):active {
color: #2a4b8d;
}
a:visited,
a:not( [href] ):not( [tabindex] ):visited {
color: #636;
}
a:hover,
a:active,
a:not( [href] ):not( [tabindex] ):active,
a:not( [href] ):not( [tabindex] ):hover {
text-decoration: underline;
}
/* Remove extra whitespace around collapsable code samples */
.mw-collapsible-content pre {
margin: 0;
padding: 0.5rem 0 0 0;
}
/* Adjust footer styles to match wikimediafoundation.org */
.wm-footer-link-group-name {
font-size: 0.875rem;
padding-top: 8px;
}
/* Add styling that should be handled by SyntaxHighlight */
pre {
white-space: pre-wrap;
overflow-x: hidden;
background-color: #f8f9fa;
display: inline-block;
word-break: break-word;
width: 100%;
}
/* Add padding to h2s */
h2 {
padding-top: 1.25rem;
}
/* Remove extra border on create-app dialog */
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu {
border-right: 0;
}
/* Remove page action button outline on focus */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-iconElement > .oo-ui-buttonElement-button:focus,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-labelElement > .oo-ui-buttonElement-button:focus {
border-color: transparent;
box-shadow: none;
}
/* Add spacing and width to tabbed window gadget */
.mw-gadget-tabbedwindow {
width: 100%;
padding-top: 8px;
padding-bottom: 15px;
}
/* Table styles for property tables */
.properties {
width: 100% !important;
}
.properties td {
background-color: #f8f9fa !important;
width: 20%;
vertical-align: top;
}
.properties td + td {
background-color: #ffffff !important;
width: 80%;
}
.properties td code {
font-weight: 600;
color: #202122;
background-color: #f8f9fa;
border: 0;
}
.properties td + td code {
font-weight: 400;
}
/* Table style for Accept-Language support table */
.properties .language td + td {
width: 20%;
}
/* Table styles for response tables */
.responses {
width: 100% !important;
}
.responses th {
width: 10% !important;
text-align: center !important;
}
/* Code style */
code {
color: #212529;
background-color: #f8f9fa;
}
/* Styles for collapsible responses */
.mw-collapsible {
background-color: #f8f9fa;
max-width: 100%;
border: 1px solid #eaecf0;
padding: 6px 12px;
margin-top: 6px;
font-size: 0.9rem;
}
/* Increase font weight on collapsible label */
.example {
font-weight: 700;
}
/* Make sure banner content is visible and without extra padding */
.cbnnr-message {
opacity: 1 !important;
}
.cbnnr {
margin-bottom: 0 !important;
}
08jnptjju3bhg6yng0sdknl3l3cn1oh
API reference/Core/Search/Search result object
0
21
76
2020-09-17T00:40:29Z
APaskulin (WMF)
20
Created page with "The search result object represents a wiki page matching the requested search. == Example == <syntaxhighlight lang="json"> { "id": 38930, "key": "Jupiter", "title": "Ju..."
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
5ziqdgmy0wan0ib1jxn1wbjfepurzao
77
76
2020-09-17T00:42:18Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
45tvmz6pobilfs684anzzxrgpyfl4xs
78
77
2020-09-17T00:44:22Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="width: 100%;">
{
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
8mugg2v8pjeqfpydoabcz8mnuyyysai
79
78
2020-09-17T00:44:47Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="width: 95%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
7jnwgv1zk83tvkj6wmoj7v7t95y5fr0
80
79
2020-09-17T00:45:47Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="width: 95%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
rskcbuqcbhqeirpdcgwdydsi4v7lhxp
127
80
2020-09-18T20:58:08Z
APaskulin (WMF)
20
/* Example */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%;"|<code>id</code>
<small>required | integer</small>
| Page identifier
|-
| <code>key</code>
<small>required | string</small>
| Page title in URL-friendly format
|-
| <code>title</code>
<small>required | string</small>
| Page title in reading-friendly format
|-
| <code>excerpt</code>
<small>required | string</small>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
| <code>description</code>
<small>required | string</small>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
| <code>thumbnail</code>
<small>required | object</small>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
8svclh8gx9roytx5htf6eblhbs1i9ra
128
127
2020-09-18T21:09:19Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0.2rem; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
83jiehex8u5moj36waeo3tyoxy0pdkd
129
128
2020-09-18T21:10:32Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
* <code>mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code>size</code> (integer): File size in bytes or <code>null</code> if not available
* <code>width</code> (integer): Maximum recommended image width in pixels or <code>null</code> if not available
* <code>height</code> (integer): Maximum recommended image height in pixels or <code>null</code> if not available
* <code>duration</code> (integer): Length of the video, audio, or multimedia file or <code>null</code> for other media types
* <code>url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
iebcc597q4z3tgytxnh4k019gi6npsv
130
129
2020-09-18T21:13:43Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
gaaimgu2e2vbvoph748ixgyrxh7z4s8
131
130
2020-09-18T21:14:06Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
== Schema 2 ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
b5x2byfyaa1qae54zjonlx9mh33irg9
132
131
2020-09-18T21:25:16Z
APaskulin (WMF)
20
/* Schema 2 */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
== Schema 2 ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa;"|''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
__NOTOC__
{{DEFAULTSORT:1}}
kmaa827al6w8gm3ip8zimi73yihcsaw
133
132
2020-09-18T21:30:08Z
APaskulin (WMF)
20
/* Schema 2 */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
== Schema 2 ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa;"|''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Child properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|}
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
ghwaew6bttlxjwo63ew0zf7o60f8eij
134
133
2020-09-18T21:33:56Z
APaskulin (WMF)
20
/* Schema 2 */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
== Schema 2 ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa;"|''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Child properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
hslk4noo8lh9jil7fqpzcu7vfspyoj2
135
134
2020-09-18T21:39:17Z
APaskulin (WMF)
20
/* Schema 2 */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| ''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
<br>Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
* <code style="color: #212529;">mimetype</code> (string): Thumbnail [[w:Media type|media type]]
* <code style="color: #212529;">size</code> (integer): File size in bytes or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">width</code> (integer): Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">height</code> (integer): Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
* <code style="color: #212529;">duration</code> (integer): Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
* <code style="color: #212529;">url</code> (string): URL to download the file
|}
== Schema 2 ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa;"|''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
0upq82v3mjp7t20xpsg7nwrbtao577z
136
135
2020-09-18T21:44:23Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[#Autocomplete_page_title|autocomplete page title endpoint]]:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
srr87nutjghdl385uqcpzw93lmryolv
137
136
2020-09-18T21:45:53Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
jakcuubdm6mzo90qnhjrw7wz7d04iyv
172
137
2020-09-19T00:10:17Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%; padding-top:6px;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
gb31y89bdm5ewolxey618uayl9pu1uk
182
172
2020-09-28T17:39:38Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="max-width: 100%; padding-top:6px; background-color:#f8f8f8; word-wrap: break-word;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
hhach6owc987c80hx8lts34nledfy1p
187
182
2020-09-28T20:33:07Z
APaskulin (WMF)
20
/* Example */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="background-color: #f8f9fa; max-width:100%; padding: 1em; white-space: pre-wrap; overflow-x: hidden;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
09uo4nogxxpzb46v4u3ghb0plqraq5b
188
187
2020-09-28T20:34:35Z
APaskulin (WMF)
20
/* Example */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="background-color: #f8f9fa; padding: 1em; white-space: pre-wrap; overflow-x: hidden;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
807qyt5vitb0ut3nd0uf7kbbbhd9k0y
189
188
2020-09-28T20:35:17Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json" style="background-color: #f8f9fa; white-space: pre-wrap; overflow-x: hidden;">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
s7f7f0tm8xsod8yzq7y5gogs0cb99e2
191
189
2020-09-28T21:05:18Z
APaskulin (WMF)
20
/* Example */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">id</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Page identifier
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">key</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in URL-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">title</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">description</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">thumbnail</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
orlnvqk34ruy00t6p1w9o33ehv59y23
289
191
2020-10-15T23:02:56Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable attributes"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4" style="background-color:#f8f9fa;"| <code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">excerpt</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
|A few lines giving a sample of page content with search terms highlighted with <code style="color: #212529;"><span class=\"searchmatch\"></code> tags
|-
|style="background-color:#f8f9fa; padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code style="color: #212529;">null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
6nnv4a9mtyll5qgvimpz8aiy5mk4q2m
290
289
2020-10-15T23:07:12Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable attributes"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code style="color: #212529;">null</code> if no thumbnail exists.
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
{| class="wikitable" style="width: 100%;"
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">mimetype</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| Thumbnail [[w:Media type|media type]]
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">size</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| File size in bytes or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">width</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image width in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">height</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Maximum recommended image height in pixels or <code style="color: #212529;">null</code> if not available
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">duration</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
| Length of the video, audio, or multimedia file or <code style="color: #212529;">null</code> for other media types
|-
|style="width: 20%; background-color:#f8f9fa;"|<code style="font-weight: 600; color: #202122; background-color:#f8f9fa; border:0;">url</code>
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
| URL to download the file
|}
</div>
|}
__NOTOC__
{{DEFAULTSORT:1}}
glibxczfgih4ntlpch6zgmbn3k9mq4q
294
290
2020-10-15T23:15:10Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable attributes"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable attributes"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
0bqvksv995mbe52ntl3gingc9y4dmit
297
294
2020-10-15T23:18:30Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 38930,
"key": "Jupiter",
"title": "Jupiter",
"excerpt": "<span class=\"searchmatch\">Jupiter</span> is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half",
"description": "fifth planet from the Sun and largest planet in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Jupiter_and_its_shrunken_Great_Red_Spot.jpg/200px-Jupiter_and_its_shrunken_Great_Red_Spot.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
6re167vbc3msfz1kz71mfs4dvayocmb
307
297
2020-10-16T16:49:26Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "evidence, <span class=\"searchmatch\">Earth</span> formed over 4.5 billion years ago. <span class=\"searchmatch\">Earth</span>'s gravity interacts with other objects in space, especially the Sun and the Moon, which is <span class=\"searchmatch\">Earth</span>'s only",
"description": "third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For autocomplete page title endpoint:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
mfgz5xcbwy5g3rwaj5ecg0o63uoaj3a
359
307
2020-10-19T22:24:50Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Complete_title|complete title endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o8w2kd5fvfvksburc1i3451ytje9bfg
410
359
2020-11-02T20:40:59Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Search/Search result object]] to [[API reference/Core/Search/Search result object]] without leaving a redirect
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Search_pages|search pages endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core_API/Search/Complete_title|complete title endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o8w2kd5fvfvksburc1i3451ytje9bfg
549
410
2020-11-10T22:33:50Z
APaskulin (WMF)
20
/* Schema */ Fix links
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_title|search title endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page topic based on the corresponding entry on [[d:|Wikidata]] or <code>null</code> if no entry exists
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the thumbnail image for the page or <code>null</code> if no thumbnail exists.
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| Thumbnail [[w:Media type|media type]]
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
gn7jw4riohwal25518527usz81xhn0g
660
549
2020-11-23T21:52:12Z
APaskulin (WMF)
20
/* Schema */ Update descriptions
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Required object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|media type]] for the image, for example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
ld8e9xx9iwkndar6ha6cjxfshb0tuzs
1018
660
2021-02-11T04:23:25Z
APaskulin (WMF)
20
/* Schema */ Typo fix
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Required object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|Media type]] for the image. For example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
7j52paq72f30cdvlzlzu45gry55n6cc
1019
1018
2021-02-11T04:30:22Z
APaskulin (WMF)
20
See if a revert fixes the syntaxhighlighting issue. Undo revision 1018 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Required object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|media type]] for the image, for example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
ld8e9xx9iwkndar6ha6cjxfshb0tuzs
1020
1019
2021-02-11T04:31:19Z
APaskulin (WMF)
20
Re-do typo fix since there was no impact to the syntaxhighlighting issue
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>description</code>
{{Required string}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Required object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|Media type]] for the image. For example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
7j52paq72f30cdvlzlzu45gry55n6cc
1249
1020
2022-03-11T19:54:36Z
APaskulin (WMF)
20
Add new property for redirected pages in search results
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"matched_title": null,
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
|<code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{Required string}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>matched_title</code>
{{Required string}}
| Title of the page redirected from, if the search term matched a redirect page, or <code>null</code> if search term did not match a redirect page
|-
|<code>description</code>
{{Required string}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Required object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|Media type]] for the image. For example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
1swzg36cxevko6h8eeunpgaoijw1tx3
1250
1249
2022-03-11T19:56:40Z
APaskulin (WMF)
20
Removing required/optional attributes since this is a not a request object
wikitext
text/x-wiki
The search result object represents a wiki page matching the requested search.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "<span class=\"searchmatch\">Earth</span> is the third planet from the Sun and the only astronomical object known to harbor life. About 29% of <span class=\"searchmatch\">Earth</span>'s surface is land consisting of continents",
"matched_title": null,
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Page identifier
|-
|<code>key</code>
{{String}}
| Page title in URL-friendly format
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|-
|rowspan="4"| <code>excerpt</code>
{{String}}
| style="background-color:#f8f9fa !important; padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_content|search content endpoint]]:''
|-
| style="background-color:#ffffff !important;"|A few lines giving a sample of page content with search terms highlighted with <code style="font-weight:400;"><span class=\"searchmatch\"></code> tags. Excerpts may end mid-sentence.
|-
|style="padding:0.2rem 0.8rem;"|''For [[API_reference/Core/Search/Search_titles|search titles endpoint]]:''
|-
|style="background-color:#ffffff !important;"|Page title in reading-friendly format
|-
|<code>matched_title</code>
{{String}}
| Title of the page redirected from, if the search term matched a redirect page, or <code>null</code> if search term did not match a redirect page
|-
|<code>description</code>
{{String}}
| Short summary of the page or <code>null</code> if no description exists
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the page's lead image or <code>null</code> if no lead image exists
{{Child properties start}}
{| class="wikitable properties"
|<code>mimetype</code>
{{String}}
| [[w:Media type|Media type]] for the image. For example: <code>image/jpeg</code>
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
5r1x8irqs9ea7o96ztncx2xl0kh3a9x
MediaWiki:Collapsible-expand
8
23
105
2020-09-18T16:34:14Z
APaskulin (WMF)
20
Switch to "Show"
wikitext
text/x-wiki
Show
pel0x7ye1679g67gl9du2kxewuzsxs1
MediaWiki:Collapsible-collapse
8
24
106
2020-09-18T16:34:53Z
APaskulin (WMF)
20
Switch to "Hide"
wikitext
text/x-wiki
Hide
668ah0slnkvb9u4big0kecyrvsyttu8
MediaWiki:Gadget-headanchor
8
27
117
2020-09-18T18:16:36Z
APaskulin (WMF)
20
Created page with "HeadAnchor: Adds section anchors to each wikipage heading. They become visible on hover."
wikitext
text/x-wiki
HeadAnchor: Adds section anchors to each wikipage heading. They become visible on hover.
hx3asr4dnfo86b4pj9ao16saqrpuym6
MediaWiki:Gadget-headanchor.css
8
28
118
2020-09-18T18:16:54Z
APaskulin (WMF)
20
Created page with "/** * Vector HeadAnchors from <https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css>. * Revision as of 2018-02-13. * * Copyright 2013-2015 Timo Tijhof *..."
css
text/css
/**
* Vector HeadAnchors from <https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css>.
* Revision as of 2018-02-13.
*
* Copyright 2013-2015 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
.mw-header {
/* core sets this to fix editsection link bunching, but they no longer float
* and we need this so that the anchors are visible */
overflow: visible;
}
.mw-headline-headanchor {
padding-left: 17px;
margin-left: -17px;
background-size: 14px 12px;
background-repeat: no-repeat;
background-position: 0 50%;
}
.mw-headline-headanchor,
.mw-headline-headanchor:hover,
.mw-headline-headanchor:visited {
color: inherit;
text-decoration: none;
}
.mw-headline-headanchor:focus {
outline: 0;
}
.mw-header:hover .mw-headline-headanchor,
.mw-headline-headanchor:target {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSI3Ij48ZyBmaWxsPSIjNDE0MDQyIj48cGF0aCBkPSJNOS44IDdoLS45bC0uOS0uMWMtLjctLjMtMS40LS43LTEuOC0xLjMtLjItLjEtLjMtLjMtLjMtLjVsLS4zLS40Yy0uMS0uNC0uMi0uOC0uMi0xLjIgMC0uNC4xLS44LjItMS4yaDEuN2MtLjMuNC0uNC44LS40IDEuMiAwIC40LjEuOC4zIDEuMS4xLjIuMi4zLjQuNC4xLjEuMi4yLjQuMy4zLjIuNy4zIDEgLjNoMy40YzEuMiAwIDIuMi0uOSAyLjItMi4xcy0xLTIuMS0yLjItMi4xaC0xLjRjLS4zLS42LS43LTEtMS4yLTEuNGgyLjZjMiAwIDMuNiAxLjYgMy42IDMuNXMtMS42IDMuNS0zLjYgMy41aC0yLjZ6TTguNCAyYy0uMS0uMS0uMi0uMy0uNC0uMy0uMy0uMi0uNy0uMy0xLS4zaC0zLjRjLTEuMiAwLTIuMi45LTIuMiAyLjEgMCAxLjIgMSAyLjEgMi4yIDIuMWgxLjRjLjMuNS43IDEgMS4yIDEuNGgtMi42Yy0yIDAtMy42LTEuNi0zLjYtMy41czEuNi0zLjUgMy42LTMuNWgzLjUwMDAwMDAwMDAwMDAwMDRsLjkuMWMuNy4yIDEuNC43IDEuOCAxLjMuMS4xLjIuMy4zLjUuMS4xLjIuMy4yLjUuMS40LjIuOC4yIDEuMiAwIC40LS4xLjgtLjIgMS4yaC0xLjZjLjMtLjUuNC0uOS40LTEuM3MtLjEtLjgtLjMtMS4xYy0uMS0uMi0uMi0uMy0uNC0uNHoiLz48L2c+PC9zdmc+);
}
2db0n1u37g9r2ei6nfdsxi5zxmivh3s
121
118
2020-09-18T18:25:02Z
APaskulin (WMF)
20
Try out different link icon
css
text/css
/**
* Vector HeadAnchors from <https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css>.
* Revision as of 2018-02-13.
*
* Copyright 2013-2015 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
.mw-header {
/* core sets this to fix editsection link bunching, but they no longer float
* and we need this so that the anchors are visible */
overflow: visible;
}
.mw-headline-headanchor {
padding-left: 17px;
margin-left: -17px;
background-size: 14px 12px;
background-repeat: no-repeat;
background-position: 0 50%;
}
.mw-headline-headanchor,
.mw-headline-headanchor:hover,
.mw-headline-headanchor:visited {
color: inherit;
text-decoration: none;
}
.mw-headline-headanchor:focus {
outline: 0;
}
/* SVG from https://doc.wikimedia.org/oojs-ui/master/demos/dist/themes/wikimediaui/images/icons/link.svg */
.mw-header:hover .mw-headline-headanchor,
.mw-headline-headanchor:target {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTx0aXRsZT4KCQlsaW5rCgk8L3RpdGxlPgoJPHBhdGggZD0iTTQuODMgMTVoMi45MWE0Ljg4IDQuODggMCAwMS0xLjU1LTJINWEzIDMgMCAxMTAtNmgzYTMgMyAwIDAxMi44MiA0aDIuMWE0LjgyIDQuODIgMCAwMC4wOC0uODN2LS4zNEE0LjgzIDQuODMgMCAwMDguMTcgNUg0LjgzQTQuODMgNC44MyAwIDAwMCA5Ljgzdi4zNEE0LjgzIDQuODMgMCAwMDQuODMgMTV6Ii8+Cgk8cGF0aCBkPSJNMTUuMTcgNWgtMi45MWE0Ljg4IDQuODggMCAwMTEuNTUgMkgxNWEzIDMgMCAxMTAgNmgtM2EzIDMgMCAwMS0yLjgyLTRoLTIuMWE0LjgyIDQuODIgMCAwMC0uMDguODN2LjM0QTQuODMgNC44MyAwIDAwMTEuODMgMTVoMy4zNEE0LjgzIDQuODMgMCAwMDIwIDEwLjE3di0uMzRBNC44MyA0LjgzIDAgMDAxNS4xNyA1eiIvPgo8L3N2Zz4=);
}
e565qewc1srp3nnfdvrs88s6611ne00
123
121
2020-09-18T18:28:27Z
APaskulin (WMF)
20
Trying out larger icon size
css
text/css
/**
* Vector HeadAnchors from <https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css>.
* Revision as of 2018-02-13.
*
* Copyright 2013-2015 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
.mw-header {
/* core sets this to fix editsection link bunching, but they no longer float
* and we need this so that the anchors are visible */
overflow: visible;
}
.mw-headline-headanchor {
padding-left: 17px;
margin-left: -17px;
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: 0 50%;
}
.mw-headline-headanchor,
.mw-headline-headanchor:hover,
.mw-headline-headanchor:visited {
color: inherit;
text-decoration: none;
}
.mw-headline-headanchor:focus {
outline: 0;
}
/* SVG from https://doc.wikimedia.org/oojs-ui/master/demos/dist/themes/wikimediaui/images/icons/link.svg */
.mw-header:hover .mw-headline-headanchor,
.mw-headline-headanchor:target {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTx0aXRsZT4KCQlsaW5rCgk8L3RpdGxlPgoJPHBhdGggZD0iTTQuODMgMTVoMi45MWE0Ljg4IDQuODggMCAwMS0xLjU1LTJINWEzIDMgMCAxMTAtNmgzYTMgMyAwIDAxMi44MiA0aDIuMWE0LjgyIDQuODIgMCAwMC4wOC0uODN2LS4zNEE0LjgzIDQuODMgMCAwMDguMTcgNUg0LjgzQTQuODMgNC44MyAwIDAwMCA5Ljgzdi4zNEE0LjgzIDQuODMgMCAwMDQuODMgMTV6Ii8+Cgk8cGF0aCBkPSJNMTUuMTcgNWgtMi45MWE0Ljg4IDQuODggMCAwMTEuNTUgMkgxNWEzIDMgMCAxMTAgNmgtM2EzIDMgMCAwMS0yLjgyLTRoLTIuMWE0LjgyIDQuODIgMCAwMC0uMDguODN2LjM0QTQuODMgNC44MyAwIDAwMTEuODMgMTVoMy4zNEE0LjgzIDQuODMgMCAwMDIwIDEwLjE3di0uMzRBNC44MyA0LjgzIDAgMDAxNS4xNyA1eiIvPgo8L3N2Zz4=);
}
dyp40nkshj1t4zewkqecaskvam4vubl
124
123
2020-09-18T18:29:01Z
APaskulin (WMF)
20
Too big
css
text/css
/**
* Vector HeadAnchors from <https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css>.
* Revision as of 2018-02-13.
*
* Copyright 2013-2015 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
.mw-header {
/* core sets this to fix editsection link bunching, but they no longer float
* and we need this so that the anchors are visible */
overflow: visible;
}
.mw-headline-headanchor {
padding-left: 17px;
margin-left: -17px;
background-size: 15px 15px;
background-repeat: no-repeat;
background-position: 0 50%;
}
.mw-headline-headanchor,
.mw-headline-headanchor:hover,
.mw-headline-headanchor:visited {
color: inherit;
text-decoration: none;
}
.mw-headline-headanchor:focus {
outline: 0;
}
/* SVG from https://doc.wikimedia.org/oojs-ui/master/demos/dist/themes/wikimediaui/images/icons/link.svg */
.mw-header:hover .mw-headline-headanchor,
.mw-headline-headanchor:target {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KCTx0aXRsZT4KCQlsaW5rCgk8L3RpdGxlPgoJPHBhdGggZD0iTTQuODMgMTVoMi45MWE0Ljg4IDQuODggMCAwMS0xLjU1LTJINWEzIDMgMCAxMTAtNmgzYTMgMyAwIDAxMi44MiA0aDIuMWE0LjgyIDQuODIgMCAwMC4wOC0uODN2LS4zNEE0LjgzIDQuODMgMCAwMDguMTcgNUg0LjgzQTQuODMgNC44MyAwIDAwMCA5Ljgzdi4zNEE0LjgzIDQuODMgMCAwMDQuODMgMTV6Ii8+Cgk8cGF0aCBkPSJNMTUuMTcgNWgtMi45MWE0Ljg4IDQuODggMCAwMTEuNTUgMkgxNWEzIDMgMCAxMTAgNmgtM2EzIDMgMCAwMS0yLjgyLTRoLTIuMWE0LjgyIDQuODIgMCAwMC0uMDguODN2LjM0QTQuODMgNC44MyAwIDAwMTEuODMgMTVoMy4zNEE0LjgzIDQuODMgMCAwMDIwIDEwLjE3di0uMzRBNC44MyA0LjgzIDAgMDAxNS4xNyA1eiIvPgo8L3N2Zz4=);
}
b0d1oqg33qa8hgwvwvolzpm9rwejfu5
MediaWiki:Gadget-headanchor.js
8
29
119
2020-09-18T18:17:18Z
APaskulin (WMF)
20
Created page with "/** * Vector HeadAnchors from https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.js * * Copyright 2013-2015 Timo Tijhof * @license MIT <https://opensource.o..."
javascript
text/javascript
/**
* Vector HeadAnchors from https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.js
*
* Copyright 2013-2015 Timo Tijhof
* @license MIT <https://opensource.org/licenses/MIT>
*/
mw.hook( 'wikipage.content' ).add( function ( $content ) {
// Revision as of 2018-02-13
$content.find( '.mw-headline' ).each( function ( i, el ) {
var id = el.id,
$headline = $( el ),
$header = $headline.parent();
// If MediaWiki core's anchor is here, or if ours is here already, skip.
if ( !id || $header.find( '.mw-headline-anchor,.mw-headline-headanchor').length ) {
return;
}
$headline.removeAttr('id')
$header.addClass( 'mw-header' ).prepend(
$( '<a>' ).prop({
id: id,
href: '#' + id,
title: 'Link to this section',
className: 'mw-headline-headanchor'
})
);
} );
} );
d0d2ppudpjm7seo0h0wu3pk19c80dkf
MediaWiki:Mobile.css
8
30
138
2020-09-18T22:02:38Z
APaskulin (WMF)
20
Try to increase font weight for code on mobile
css
text/css
/* All CSS here will be loaded for users of the mobile site */
/* Increase font weight for code */
pre {
font-weight: 400;
}
code {
font-weight: 400;
}
jniz2ilrqngexdznpiwzblcv5qs715m
356
138
2020-10-18T07:46:21Z
DannyS712
72
combine rules
css
text/css
/* All CSS here will be loaded for users of the mobile site */
/* Increase font weight for code */
pre,
code {
font-weight: 400;
}
f3q1i3cud24a927tf3xe8245i3c7jxb
MediaWiki:Sidebar
8
31
139
2020-09-18T22:31:25Z
APaskulin (WMF)
20
Created page with "* API Reference ** API reference|API reference"
wikitext
text/x-wiki
* API Reference
** API reference|API reference
nzsa6oxgchg9hhdwcjwyqzqr24bnm7l
204
139
2020-10-07T00:10:54Z
APaskulin (WMF)
20
Add remaining nav items
wikitext
text/x-wiki
* Use cases
** Use cases|use cases
* Documentation
** Documentation|documentation
* API Reference
** API reference|API reference
* Community
** Community|community
7aw8a689ep6n7wsrho8w38zfqczhqrx
481
204
2020-11-06T02:21:39Z
APaskulin (WMF)
20
Fixed typo
wikitext
text/x-wiki
* Use cases
** Use cases|use cases
* Documentation
** Documentation|documentation
* API reference
** API reference|API reference
* Community
** Community|community
76kier0ql4k2we6dwhj77wjx6kaqqhg
802
481
2020-12-10T05:43:35Z
APaskulin (WMF)
20
Remove use cases
wikitext
text/x-wiki
* Documentation
** Documentation|documentation
* API reference
** API reference|API reference
* Community
** Community|community
suk51tzcy5i6h8u18rwpjicdxtds8f1
803
802
2020-12-10T05:45:01Z
APaskulin (WMF)
20
Undo revision 802 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
* Use cases
** Use cases|use cases
* Documentation
** Documentation|documentation
* API reference
** API reference|API reference
* Community
** Community|community
76kier0ql4k2we6dwhj77wjx6kaqqhg
901
803
2020-12-15T19:13:53Z
DannyS712
72
boldly adding recentchanges now that the site is publicly launched
wikitext
text/x-wiki
* Use cases
** Use cases|use cases
* Documentation
** Documentation|documentation
* API reference
** API reference|API reference
* Community
** Community|community
** recentchanges-url|recentchanges
k5kh6qu4ln0kczqrokppje51gri03y2
905
901
2020-12-16T15:57:13Z
DannyS712
72
uppercase links
wikitext
text/x-wiki
* Use cases
** Use cases|Use cases
* Documentation
** Documentation|Documentation
* API reference
** API reference|API reference
* Community
** Community|Community
** recentchanges-url|recentchanges
fxcm22kcm3t2y69s986l2cdy6cviue7
912
905
2020-12-17T02:07:33Z
APaskulin (WMF)
20
Removing link to Recent Changes in favor on button on [[Community/Contributing]]
wikitext
text/x-wiki
* Use cases
** Use cases|Use cases
* Documentation
** Documentation|Documentation
* API reference
** API reference|API reference
* Community
** Community|Community
k5ym72bibwytuki0wjtqgrhsq7m0n0c
1198
912
2021-12-17T19:57:44Z
APaskulin (WMF)
20
The WMF team currently working on the API Portal is considering expanding the scope of the Portal to include all APIs, not just those routed through api.wikimedia.org. To support early efforts towards this goal, adding the experimental API catalog page to the navigation
wikitext
text/x-wiki
* Use cases
** Use cases|Use cases
* Documentation
** Documentation|Documentation
* API reference
** API reference|API reference
* API catalog
** API catalog|API catalog
* Community
** Community|Community
8n83au2duuovdnut4o9g5els9c36bw3
API reference/Feed/Featured content
0
32
144
2020-09-18T23:00:05Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
346
144
2020-10-16T22:28:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/{project}/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
rj1rvc78zjm2z52zbvzy59putyvbu1d
349
346
2020-10-16T22:28:56Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feeds API/Featured content]] to [[API reference/Feed API/Featured content]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/{project}/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
rj1rvc78zjm2z52zbvzy59putyvbu1d
362
349
2020-10-19T22:45:43Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
5865spu51kg4a324yle18ur9soqf0qf
384
362
2020-11-02T20:40:26Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feed API/Featured content]] to [[API reference/Feed/Featured content]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
5865spu51kg4a324yle18ur9soqf0qf
444
384
2020-11-03T19:53:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
__NOTOC__
{{DEFAULTSORT:1}}
js6xi0uo464paagtl35nfcva6yofz4t
446
444
2020-11-03T20:00:05Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>image</code>
{{Required object}}
| Today's featured image from Commons, in English
{{Child properties start}}
{{Child properties end}}
|-
|<code>mostread</code>
{{Optional object}}
| Yesterday's most read articles
{{Child properties start}}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
03w8fbhb033i3mect58juts40sehocp
448
446
2020-11-03T20:21:39Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Required object}}
| Today's featured image from Commons, in English
{{Child properties start}}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Yesterday's most read articles
{{Child properties start}}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
sxq3gy51wc1htin0cb6o4d6l4xkxz13
449
448
2020-11-03T20:42:18Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Required object}}
| Today's featured image from [[commons:|Wikimedia Commons]] with description in English
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image title
|-
|<code>thumbnail</code>
{{Object}}
| Image thumbnail
|-
|<code>image</code>
{{Object}}
| Image source
|-
|<code>file_page</code>
{{String}}
| URL for the image's page on Commons
|-
|<code>artist</code>
{{Object}}
|Information about the artist
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
|-
|<code>license</code>
{{Object}}
|Image license
|-
|<code>description</code>
{{Object}}
|Description of the image
|-
|<code>wb_entity_id</code>
{{string}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Yesterday's most read articles
{{Child properties start}}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
hswtmac6bnymqz4cfib292r3or0upek
450
449
2020-11-03T21:41:35Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Required object}}
| Today's featured image from [[commons:|Wikimedia Commons]] with description in English
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image title
|-
|<code>thumbnail</code>
{{Object}}
| Image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Image source
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's page on Commons
|-
|<code>artist</code>
{{Object}}
|Information about the artist
{{Child properties start}}
{| class="wikitable properties"
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Yesterday's most read articles
{{Child properties start}}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
t6jyztcclddtyavgcxk65aif32foz5j
451
450
2020-11-03T23:12:59Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Required object}}
| Today's featured image from [[commons:|Wikimedia Commons]] with description in English
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image title
|-
|<code>thumbnail</code>
{{Object}}
| Image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Image source
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's page on Commons
|-
|<code>artist</code>
{{Object}}
|Information about the artist
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to the artist who created the image
|-
|<code>text</code>
{{String}}
|Name of the artist in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Yesterday's most read articles
{{Child properties start}}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
cqd8p971kdc62rzj44joduy8lhymah4
452
451
2020-11-03T23:41:03Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Required object}}
| Today's featured image from [[commons:|Wikimedia Commons]] with description in English
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image title
|-
|<code>thumbnail</code>
{{Object}}
| Image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Image source
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's page on Commons
|-
|<code>artist</code>
{{Object}}
|Information about the artist
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to the artist who created the image
|-
|<code>text</code>
{{String}}
|Name of the artist in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
jpufy058s7ltnnrlanaztr13059leim
453
452
2020-11-04T16:59:05Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
bcz7jiyj1ve8e5pw6ckyi0m2oxp64x1
506
453
2020-11-06T21:58:00Z
APaskulin (WMF)
20
/* Parameters */ Add languages description
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
oxfnm8tuvpwjuuvtx1bgozw5ymp80qn
524
506
2020-11-10T01:48:51Z
APaskulin (WMF)
20
/* Responses */ Add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987910518",
"tid": "206770f0-22e4-11eb-8757-33dae8f0daa5",
"timestamp": "2020-11-09T23:34:12Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987906717",
"tid": "b748e030-22df-11eb-a428-e52fa9ac1697",
"timestamp": "2020-11-09T23:02:52Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987923979",
"tid": "7a4c7340-22f3-11eb-8071-2fe5a83441c7",
"timestamp": "2020-11-10T01:23:35Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987916563",
"tid": "216d4400-22eb-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:24:31Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "{request URI}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
8k6eb6q63ge5k4h7qgvxsaxefn1hlmc
525
524
2020-11-10T01:50:56Z
APaskulin (WMF)
20
Undo revision 524 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
oxfnm8tuvpwjuuvtx1bgozw5ymp80qn
526
525
2020-11-10T01:52:31Z
APaskulin (WMF)
20
/* Responses */ Add example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{"test":"test"}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
htbidgi5gdqoq80ix8sd3ow8wn82fol
527
526
2020-11-10T01:55:28Z
APaskulin (WMF)
20
/* Responses */ Add example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987926409",
"tid": "242de9a0-22f6-11eb-a854-9de080cfd906",
"timestamp": "2020-11-10T01:43:00Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987927002",
"tid": "d41a88a0-22f6-11eb-8bff-9feb98ebb4ae",
"timestamp": "2020-11-10T01:48:17Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987925905",
"tid": "a70ad910-22f5-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-10T01:39:12Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987926139",
"tid": "d21f4a50-22f5-11eb-8fd1-694349b0d82b",
"timestamp": "2020-11-10T01:41:08Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
1qugfb5sx7sfyyexh7y7bu78povvtzp
529
527
2020-11-10T17:36:46Z
APaskulin (WMF)
20
/* Parameters */ Add language note
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987926409",
"tid": "242de9a0-22f6-11eb-a854-9de080cfd906",
"timestamp": "2020-11-10T01:43:00Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987927002",
"tid": "d41a88a0-22f6-11eb-8bff-9feb98ebb4ae",
"timestamp": "2020-11-10T01:48:17Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987925905",
"tid": "a70ad910-22f5-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-10T01:39:12Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987926139",
"tid": "d21f4a50-22f5-11eb-8fd1-694349b0d82b",
"timestamp": "2020-11-10T01:41:08Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
hv2qtprpihrtoupmyu8h4tdplva69u6
531
529
2020-11-10T17:37:56Z
APaskulin (WMF)
20
/* Parameters */ Remove note; this endpoint is Wikipedia-only
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987926409",
"tid": "242de9a0-22f6-11eb-a854-9de080cfd906",
"timestamp": "2020-11-10T01:43:00Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987927002",
"tid": "d41a88a0-22f6-11eb-8bff-9feb98ebb4ae",
"timestamp": "2020-11-10T01:48:17Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987925905",
"tid": "a70ad910-22f5-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-10T01:39:12Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987926139",
"tid": "d21f4a50-22f5-11eb-8fd1-694349b0d82b",
"timestamp": "2020-11-10T01:41:08Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
7nzlkm85n5u68yce5tamu8ezgdeldt0
533
531
2020-11-10T18:15:08Z
APaskulin (WMF)
20
Undo revision 527 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
{"test":"test"}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
6d830aj76flixe1vetuk9qyevkyhms0
536
533
2020-11-10T18:30:35Z
APaskulin (WMF)
20
/* Responses */ Transclude 200 example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Date found
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Required object}}
| Previous day's most read articles
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Optional object}}
| Information about today's featured article
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Optional object}}
| Stories from today's news
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Optional object}}
| Events that occurred on this day in history
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
27w8nolk5k6yy0h5weqd7v0tjfszc51
538
536
2020-11-10T19:24:52Z
APaskulin (WMF)
20
/* Response schema */ Add language support
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Date found
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
66vmt7v45rpfuzem7uiqxrd4nuoyzhh
542
538
2020-11-10T20:23:42Z
APaskulin (WMF)
20
/* Response schema */ Transclude article object
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Date found
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
lla9ze0xmwljq88wvhmwnojm8l4t326
543
542
2020-11-10T20:32:19Z
APaskulin (WMF)
20
/* Response schema */ Add news and most read
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Date found
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
k202gldc071xp0exmeltc8hxanohpm5
544
543
2020-11-10T20:40:30Z
APaskulin (WMF)
20
/* Response schema */ Add onthisday
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Date found
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o9z6ec6dqn5oid10h1e3o1i1ynkc95f
545
544
2020-11-10T20:42:21Z
APaskulin (WMF)
20
/* Responses */ Better description
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
0xbu6behtvkk48qhpdgl06teasvybbi
582
545
2020-11-19T23:44:06Z
APaskulin (WMF)
20
/* Examples */ Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
1sry25a8ve841u675bqrnmjugs5rqdm
602
582
2020-11-20T17:53:40Z
APaskulin (WMF)
20
/* Examples */ Fix for consistency
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
cbm27c1yzi09rzu81pdqr7m6fahytzp
605
602
2020-11-20T19:35:37Z
APaskulin (WMF)
20
Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for the given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
cuma5rxxe515p5fbvnp9kpgq1fmh8bo
606
605
2020-11-20T19:37:33Z
APaskulin (WMF)
20
/* Examples */ Fix margin on curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for the given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
804e3shfau1z7n617rkwsdtp20ve92j
607
606
2020-11-20T21:35:43Z
APaskulin (WMF)
20
/* Examples */ Add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for the given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Get today's featured content from English Wikipedia
*/
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
cuh3jx9wolagqiw3ju72glxq2kjoqsi
608
607
2020-11-20T21:38:51Z
APaskulin (WMF)
20
/* Examples */ Shorter comment
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for the given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Year the aggregated content is requested for
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
f9x821nay7mfvrxvfjq9e6cd1u2dzni
609
608
2020-11-20T21:45:28Z
APaskulin (WMF)
20
/* Parameters */ Revise language
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for the given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
d3mucn9mra47d8k0uj8nvc3mxlph8pj
610
609
2020-11-20T21:47:34Z
APaskulin (WMF)
20
Better wording
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include today's featured article, a featured image or media file, a list of most read articles, the latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
lol73b495fuybohxai4j4hm2nec0jwt
611
610
2020-11-20T21:49:45Z
APaskulin (WMF)
20
Better wording
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>tfa</code>
{{Object}}
| Daily featured article. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
d198n193v9vnum718z3godloaeafa4h
615
611
2020-11-20T22:56:26Z
APaskulin (WMF)
20
/* Response schema */ Re-order table
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
8eyyeqqabkozcltkvxu8560ngww759b
618
615
2020-11-20T23:21:50Z
APaskulin (WMF)
20
/* Response schema */ Add comment
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|11 languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp all Wikipedia languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|17 languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|9 languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
c88lwh55fdohegmrp8dhbsv93ep1fnu
619
618
2020-11-20T23:38:51Z
APaskulin (WMF)
20
/* Response schema */ Round language counts
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Day that the data applies to
|-
|<code>articles</code>
{{Array}}
|Most read articles
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
cik59ik0pybeeha54fc6wcam2fcczt6
622
619
2020-11-21T00:50:47Z
APaskulin (WMF)
20
/* Response schema */ Update mostread
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
fnkh9ma9crstju5vcexqfmgnjl6174k
623
622
2020-11-21T01:37:59Z
APaskulin (WMF)
20
/* Response schema */ Update image
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| [[:commons:|Wikimedia Commons]] user page for the artist, if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL describing the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
|Wikimedia Commons Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Story description in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
j7ifg501nzg52inw964weupwu8bh3ai
624
623
2020-11-21T02:47:04Z
APaskulin (WMF)
20
/* Response schema */ Update descriptions
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%Y/%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = "https://api.wikimedia.org/feed/v1/wikipedia/en/featured/" . date("Y/m/d");
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, "YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
i7fi6ez57jh0c3semqhtj3pqn6hgftr
626
624
2020-11-21T03:20:09Z
APaskulin (WMF)
20
/* Examples */ Use all single quotes
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date('Y/m/d');
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
ni5dcdpeizrga9nwqssulhvq6l464u6
662
626
2020-11-23T22:06:56Z
APaskulin (WMF)
20
/* Examples */ Better spacing
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
7bzqfmutz7oj97zsb6k81au65vm9pk1
733
662
2020-11-25T22:26:10Z
APaskulin (WMF)
20
/* Examples */ Shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
5mzewxyfhgy94fs4bg2b9cvkz3xkepe
735
733
2020-11-25T22:27:05Z
APaskulin (WMF)
20
Undo revision 733 by [[Special:Contributions/APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]])
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
var today = new Date();
var date = today.getFullYear() + '/' + ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
7bzqfmutz7oj97zsb6k81au65vm9pk1
736
735
2020-11-25T22:29:02Z
APaskulin (WMF)
20
/* Examples */ Shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
1ja25y85gyiir2eoinrrjwfdj3rsakc
958
736
2021-01-05T23:47:23Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons to javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Commons:Credit_line|Credit link]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
lazr0fvm0va87cq1mlcd013t0ip584h
1005
958
2021-02-09T16:49:39Z
Ameisenigel
14
MyLanguage, typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Special:MyLanguage/Commons:Credit line|Credit line]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available for the current day only. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
jlwmw7piktwnaisqhtef11bj8ib8hhz
1015
1005
2021-02-11T02:37:25Z
APaskulin (WMF)
20
/* Response schema */Add note about UTC for news stories
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Special:MyLanguage/Commons:Credit line|Credit line]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available only for the current day in [[w:UTC|UTC]]. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
opg9sfm09h6egba5xqqkpsir7i148rx
1125
1015
2021-05-29T12:25:49Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Special:MyLanguage/Commons:Credit line|Credit line]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available only for the current day in [[w:UTC|UTC]]. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
axz7bp3155i84ndsyqzhjunxim6n8lj
1138
1125
2021-06-09T02:57:52Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/featured/{YYYY}/{MM}/{DD} }}
Returns featured content from Wikipedia for a given date. Depending on [[API_reference/Feed#Language_support|language availability]], the response can include the daily featured article, featured image or media file, list of most read articles, latest news stories, and events from that day in history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured content from English Wikipedia</span><br>
curl https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured content from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured content from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured content from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#Language_support|List supported languages.]]
|-
|<code>YYYY</code>
{{Required path}}
| Four-digit year
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:Featured content response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"method": "get",
"detail": "Invalid dd parameter",
"uri": "/en.wikipedia.org/v1/feed/featured/2020/11/9"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
<!-- Source: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/spec.yaml -->
{| class="wikitable properties"
|<code>tfa</code>
{{Object}}
| Today's featured article (TFA) for the requested date. Available in [[API reference/Feed#Daily_featured_article|10+ languages]].
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|-
|<code>mostread</code>
{{Object}}
| Previous day's most read articles. Available in [https://wikistats.wmcloud.org/display.php?t=wp 300+ languages].
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
|<code>articles</code>
{{Array}}
| Information about the 50 articles with the highest number of views
{{Child properties start}}
{| class="wikitable properties"
| <code>views</code>
{{Integer}}
| Number of views
|-
| <code>rank</code>
{{Integer}}
| View rank. This may not start with 1 and may not be sequential.
|-
| <code>view_history</code>
{{Array}}
| Number of views for the previous five days
{{Child properties start}}
{| class="wikitable properties"
|<code>date</code>
{{String}}
| Date that the data applies to, in [[w:ISO_8601|ISO 8601]] format
|-
| <code>views</code>
{{Integer}}
| Number of views
|}
{{Child properties end}}
|-
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Daily featured image from [[commons:|Wikimedia Commons]]. Available in English.
{{Child properties start}}
{| class="wikitable properties"
|<code>title</code>
{{String}}
| Image page title
|-
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| URL for the image's attribution page
|-
|<code>artist</code>
{{Object}}
| Information about the image's author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Artist name in HTML
|-
|<code>text</code>
{{String}}
| Artist name in plain text, if available
|-
|<code>name</code>
{{String}}
| Artist name
|-
|<code>user_page</code>
{{String}}
| User page for the artist on [[:commons:|Wikimedia Commons]], if available
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
| Attribution information. For more information about attribution, visit [[commons:Special:MyLanguage/Commons:Credit line|Credit line]] on Wikimedia Commons.
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Attribution description for the image in HTML
|-
|<code>text</code>
{{String}}
| Attribution description for the image in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
| License that the image is available under
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
| Name of the license in plain text
|-
|<code>code</code>
{{String}}
| Code for the license. For example: <code>cc-by-sa-4.0</code>
|-
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
| Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the image in HTML
|-
|<code>text</code>
{{String}}
| Description of the image in plain text
|-
|<code>lang</code>
{{String}}
| Language code for the image's description
|}
{{Child properties end}}
|-
|<code>wb_entity_id</code>
{{String}}
| [[:commons:|Wikimedia Commons]] Wikibase (WB) identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Multilingual captions for the image
{{Child properties start}}
{| class="wikitable properties"
| <code>LANGUAGE_CODE</code>
{{String}}
| Key-value pairs with the language code and translated caption. For example: <code>"en": "Image description"</code>
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>news</code>
{{Object}}
| Stories from today's news. Available only for the current day in [[w:UTC|UTC]]. Available in [[API reference/Feed#In_the_news|15+ languages]].
{{Child properties start}}
{| class="wikitable properties"
|<code>story</code>
{{String}}
| Short summary of the story in HTML
|-
|<code>links</code>
{{Array}}
| Articles related to the story
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>onthisday</code>
{{Object}}
| Events that occurred on this day in history. Available in [[API reference/Feed#On_this_day_in_history|5+ languages]]
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Short summary of the event in plain text
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
fm8g4nhe7lgn387f57k2mtipsikp5eh
API reference/Feed/On this day
0
33
145
2020-09-18T23:01:17Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
351
145
2020-10-16T22:28:56Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feeds API/On this day]] to [[API reference/Feed API/On this day]]
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
354
351
2020-10-16T22:53:42Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/{project}/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>type</code>
{{Required path}}
| * <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:1}}
__NOTOC__
{{DEFAULTSORT:2}}
9dygo9dayicuysnugofia7k6gp26fdq
355
354
2020-10-16T22:54:22Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/{project}/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
lj3lqdp5glc1mmxmdqz2sfhwpadrrq0
363
355
2020-10-19T22:46:01Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
fmxh8b790adbstd1pf847y00ktn1ocz
385
363
2020-11-02T20:40:26Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Feed API/On this day]] to [[API reference/Feed/On this day]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
fmxh8b790adbstd1pf847y00ktn1ocz
507
385
2020-11-06T21:58:15Z
APaskulin (WMF)
20
/* Parameters */ Add language description
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
hc2mzoptohzbe6lbu66okkdrns4pvez
530
507
2020-11-10T17:37:26Z
APaskulin (WMF)
20
/* Parameters */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
k5jv6kwztudc1gxgdndytc260wazqd3
547
530
2020-11-10T22:18:01Z
APaskulin (WMF)
20
/* Responses */ Add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
rmlauv88mhulv9yt94hr1rutvkue6d1
548
547
2020-11-10T22:26:32Z
APaskulin (WMF)
20
/* Responses */ Add response schema
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
2jdfs0uxvm0omb0bee8rrgjbtr1l48r
583
548
2020-11-19T23:46:41Z
APaskulin (WMF)
20
/* Examples */ Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
di80oom2uv7760n20qey3uhom5hw7fj
625
583
2020-11-21T03:15:57Z
APaskulin (WMF)
20
/* Examples */ Add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime("%m/%d")
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date('m/d');
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
gj96nb3vbjkh8i2y6k3nn46zyhsj38j
627
625
2020-11-21T03:20:57Z
APaskulin (WMF)
20
/* Examples */ Use single quotes
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date('m/d');
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
|
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Month the aggregated content is requested for, 0-padded
|-
|<code>DD</code>
{{Required path}}
| Day of the month the aggregated content is requested for, 0-padded
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
7qjfu3fphm50wzeg52ly33ogzg19ln0
628
627
2020-11-21T03:22:53Z
APaskulin (WMF)
20
/* Parameters */ Update descriptions
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Provides events that historically happened on the provided day and month. Supported types of events are:
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date('m/d');
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
cvudnidshs3xyimcedtz9g4r4fzgfcp
629
628
2020-11-21T03:33:43Z
APaskulin (WMF)
20
Update endpoint description
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date('m/d');
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
oomus0vl9cmq0wsd5ywgxbhs5iyty32
663
629
2020-11-23T22:07:25Z
APaskulin (WMF)
20
/* Examples */ Better spacing
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: all of the following
* <code>selected</code>: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year
* <code>births</code>: a list of birthdays which happened on the provided day and month
* <code>deaths</code>: a list of deaths which happened on the provided day and month
* <code>holidays</code>: a list of fixed holidays celebrated on the provided day and month
* <code>events</code>: a list of significant events which happened on the provided day and month and which are not covered by the other types yet
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
myx6wmd8v1admkhw6rrpcd7xm1dcu0k
712
663
2020-11-24T02:35:18Z
APaskulin (WMF)
20
/* Parameters */ Better descriptions
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
lb9q8bon8n5p5nf1s1pra4eyho6rx3k
713
712
2020-11-24T02:36:54Z
APaskulin (WMF)
20
/* Response schema */ Add descriptions
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
var today = new Date();
var date = ( today.getMonth() + 1 ) + '/' + today.getDate();
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
7c3eunt7wzn736dzc6dddq27r3xwcu4
734
713
2020-11-25T22:26:49Z
APaskulin (WMF)
20
/* Examples */ Shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
a3k1qfht0zjhlz5dvxcz1427f2fen8u
959
734
2021-01-05T23:48:04Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons to javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns evens that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
p1sk6xujh007aullhxa30g030e6gzsp
991
959
2021-01-21T22:42:25Z
APaskulin (WMF)
20
Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns events that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
gs8eyy9wl7f1yksa42ynkxre6nyc8z4
1127
991
2021-05-29T12:26:43Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns events that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
ayq4vc0i3h81peh9tsuemqika0k4kyz
1139
1127
2021-06-09T02:58:19Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/feed/v1/wikipedia/{language}/onthisday/{type}/{MM}/{DD} }}
Returns events that occurred on a given date in history, including notable historical events, international holidays, and births and deaths of notable people.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get information about this day in history from English Wikipedia</span><br>
https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about this day in history from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about this day in history from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/' . date( 'm/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about this day in history from English Wikipedia
let today = new Date();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/all/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[API_reference/Feed#On_this_day_in_history|List supported languages.]]
|-
|<code>type</code>
{{Required path}}
| Type of event:
* <code>all</code>: Returns all types
* <code>selected</code>: Curated set of events that occurred on the given date
* <code>births</code>: Notable people born on the given date
* <code>deaths</code>: Notable people who died on the given date
* <code>holidays</code>: Fixed holidays celebrated on the given date
* <code>events</code>: Events that occurred on the given date that are not included in another type
|-
|<code>MM</code>
{{Required path}}
| Zero-padded month, <code>01</code> through <code>12</code>
|-
|<code>DD</code>
{{Required path}}
| Zero-padded day of the month, <code>01</code> through <code>31</code>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
{{:On this day response}}
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Invalid parameters",
"method": "get",
"detail": "data.params.type should be equal to one of the allowed values: [all, selected, births, deaths, events, holidays]",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: No data found for the requested date
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "server_error#empty_response",
"title": "HyperSwitch error: No content returned by backend.",
"method": "get"
}
</syntaxhighlight>
{{Response end}}
|-
!501
| Error: Unsupported language
{{Response start}}
<syntaxhighlight lang="json">
{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route",
"title": "Not found.",
"method": "get",
"uri": "{request URL}"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>selected</code>
{{Array}}
| Curated set of events that occurred on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>births</code>
{{Array}}
| Notable people born on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Birth year
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>deaths</code>
{{Array}}
| Notable people who died on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Description of the person
|-
|<code>year</code>
{{Integer}}
| Year of death
|-
|<code>pages</code>
{{Array}}
| Articles related to the person
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>events</code>
{{Array}}
| Events that occurred on the given date that are not included in another type
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Event description
|-
|<code>year</code>
{{Integer}}
| Year the event took place
|-
|<code>pages</code>
{{Array}}
| Articles related to the event
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>holidays</code>
{{Array}}
| Fixed holidays celebrated on the given date
{{Child properties start}}
{| class="wikitable properties"
|<code>text</code>
{{String}}
| Holiday description
|-
|<code>pages</code>
{{Array}}
| Articles related to the holiday
{{Child properties start}}
{| class="wikitable properties"
{{:Feed article object}}
|}
{{Child properties end}}
|}
{{Child properties end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
ipw2l5ux50ynxa0c7t8eeqkuoo3hjan
API reference/Core/Search/Search titles
0
34
146
2020-09-18T23:05:09Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
308
146
2020-10-16T16:58:39Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
sdea8l3165qabalarlw625f0g6ot3jc
309
308
2020-10-16T17:00:18Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
tgcq0kv6cwg9qp9v3k34zgu8czke9e5
360
309
2020-10-19T22:28:34Z
APaskulin (WMF)
20
/* Examples */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[#Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
oit5t9c1jiom0bq8djer5ms4x4lbipc
361
360
2020-10-19T22:32:04Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[API_reference/Core_API/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
cvi7e0spw30mbn7bn9xaic9dw0431k2
408
361
2020-11-02T20:40:55Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Search/Complete title]] to [[API reference/Core/Search/Complete title]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[API_reference/Core_API/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
cvi7e0spw30mbn7bn9xaic9dw0431k2
415
408
2020-11-02T20:51:21Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[API_reference/Core_API/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
3r2v886420kc9bo6nggp9pmako2tu5w
500
415
2020-11-06T21:43:45Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/Search/Complete title]] to [[API reference/Core/Search/Search title]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> object containing an array of [[API_reference/Core_API/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
3r2v886420kc9bo6nggp9pmako2tu5w
551
500
2020-11-10T22:57:38Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Search English Wikipedia for up to 5 pages with titles that start with "earth"
import requests
search_query = 'earth'
number_of_results = 5
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
headers = {'User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
response = requests.get(url, headers=headers, params={'q': search_query, 'limit': number_of_results})
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
m2xy3n59i57idw6qt5tt40tm066daaf
631
551
2020-11-23T17:29:02Z
APaskulin (WMF)
20
/* Examples */ Fix Python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
rkgqko9orj8ypuupxibe9q7ca9xujkg
659
631
2020-11-23T21:44:41Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/Search/Search title]] to [[API reference/Core/Search/Search titles]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
$params = array("q" => "earth", "limit" => "5");
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/search/title";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_USERAGENT, "API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)" );
$output = curl_exec( $ch );
curl_close( $ch );
echo($output);
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
rkgqko9orj8ypuupxibe9q7ca9xujkg
664
659
2020-11-23T22:08:07Z
APaskulin (WMF)
20
/* Examples */ Add php example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for up to 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 10 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 10
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for up to 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia for up to 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
e7p5e7pe3hybyqnka10x4liwweftaju
666
664
2020-11-23T22:12:53Z
APaskulin (WMF)
20
/* Examples */ Fix comments
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
/*
Search English Wikipedia 5 pages with titles that start with "earth"
*/
async function doFetch() {
const rsp = await fetch(
"https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5",
{'Api-User-Agent': 'API Portal sample code/1.0 (https://api.wikimedia.org/wiki/Talk:API_reference/Core_API)'}
);
const data = await rsp.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log(result);
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
scgdshkz5q9frip8nahtyova8aup80j
718
666
2020-11-24T02:52:04Z
APaskulin (WMF)
20
/* Examples */ update javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
0hxzedegyxtlxk0nri6gh0in4whkl9e
738
718
2020-11-25T22:34:55Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5',
{
headers: {
'Authorization': 'Bearer ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
6e9btnuryldxtdof66xt8yw09izy0aa
742
738
2020-11-25T22:43:39Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
aa9dzvl0x7rpwfgftfpdxqjbg6gtidr
755
742
2020-11-25T22:48:57Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
phufft60s66sar85otqizevqfaz5s6c
764
755
2020-11-25T22:56:32Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
82lx361l3fg92c3lfhfgbxrscievvn3
961
764
2021-01-05T23:49:50Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns matches between the beginning of a title and the provided search terms. You can use this endpoint for a [[:en:Typeahead|typeahead]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
kg1xduygt4myq45melrks22lownxkmz
1021
961
2021-02-11T06:34:01Z
APaskulin (WMF)
20
Update intro language to use "autocomplete" instead of "typeahead"
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns pages with titles that begin with the provided search terms. You can use this endpoint as an [[w:Autocomplete|autocomplete]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
exrre63x4xz9dbi2b821cjfjp9bbr8x
1128
1021
2021-05-29T12:27:11Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns pages with titles that begin with the provided search terms. You can use this endpoint as an [[w:Autocomplete|autocomplete]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
4tk1oelczgqyayhnp8c29hl68ir6gw3
1141
1128
2021-06-09T02:58:57Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns pages with titles that begin with the provided search terms. You can use this endpoint as an [[w:Autocomplete|autocomplete]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
mmq0yowm17o685hdubw5n8u4ewoaxx5
1252
1141
2022-03-11T20:01:04Z
APaskulin (WMF)
20
/* Responses */ Add matched_title
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/search/title?q=search terms}}
Searches wiki page titles, and returns pages with titles that begin with the provided search terms. You can use this endpoint as an [[w:Autocomplete|autocomplete]] search that automatically suggests relevant pages by title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5|comment=Search English Wikipedia for 5 pages with titles that start with "earth"}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Search English Wikipedia for 5 pages with titles that start with "earth"
import requests
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title'
search_query = 'earth'
number_of_results = 5
parameters = {'q': search_query, 'limit': number_of_results}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Search English Wikipedia for 5 pages with titles that start with "earth"
$params = array('q' => 'earth', 'limit' => '5');
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?' . http_build_query($params);
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Search English Wikipedia for 5 pages with titles that start with "earth"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/search/title?q=earth&limit=5';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>q</code>
{{Required query}}
| Search terms
|-
|<code>limit</code>
{{Optional query}}
| Maximum number of search results to return, between 1 and 100. Default: 50
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns a <code>pages</code> array containing [[API_reference/Core/Search/Search_result_object|search results]].
{{Response start}}
<syntaxhighlight lang="json">
{
"pages": [
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"excerpt": "Earth",
"matched_title": null,
"description": "Third planet from the Sun in the Solar System",
"thumbnail": {
"mimetype": "image/jpeg",
"size": null,
"width": 200,
"height": 200,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/200px-The_Earth_seen_from_Apollo_17.jpg"
}
},
{
"id": 10106,
"key": "Earthquake",
"title": "Earthquake",
"excerpt": "Earthquake",
"matched_title": null,
"description": "Shaking of the surface of the earth caused by a sudden release of energy in the crust",
"thumbnail": {
"mimetype": "image/png",
"size": null,
"width": 200,
"height": 125,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Quake_epicenters_1963-98.png/200px-Quake_epicenters_1963-98.png"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Query parameter not set. Add <code>q</code> parameter.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "q",
"value": null,
"failureCode": "missingparam",
"failureData": null,
"messageTranslations": {
"en": "The \"q\" parameter must be set."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid limit requested. Set <code>limit</code> parameter to between 1 and 100.
{{Response start}}
<syntaxhighlight lang="json">
{
"error": "parameter-validation-failed",
"name": "limit",
"value": "200",
"failureCode": "outofrange",
"failureData": {
"min": 1,
"curmax": 100,
"max": 100,
"highmax": 100
},
"messageTranslations": {
"en": "The value \"200\" for parameter \"limit\" must be between 1 and 100."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
230s4ro7d663cq2b4lzwik320tqsyot
API reference/Core/Pages
0
35
147
2020-09-18T23:05:46Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
396
147
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages]] to [[API reference/Core/Pages]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
459
396
2020-11-05T17:27:38Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Resources</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Update page|Update page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
qakgjsu6e7nv498apl7ycetftn4ec1b
493
459
2020-11-06T21:38:18Z
APaskulin (WMF)
20
Formatting fixes
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Update page|Update page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
ckw7abj57w2wrvjgtj5g5k2mbw7p0le
592
493
2020-11-20T00:15:52Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Edit page|Edit page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
ndr038v5k7dq7mau3vlaax0rs0hufkz
934
592
2020-12-18T20:11:52Z
APaskulin (WMF)
20
Add description endpoints
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Edit page|Edit page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]<br>› [[API_reference/Core/Pages/Get description|Get description]]<br>› [[API_reference/Core/Pages/Edit description|Edit description]]<br>› [[API_reference/Core/Pages/Delete description|Delete description]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
f23b64y5nbk6qw2vuzu1g5chx6n11mg
1022
934
2021-02-11T06:37:19Z
APaskulin (WMF)
20
Add intro text
wikitext
text/x-wiki
Read and edit wiki pages from [[w:|Wikipedia]] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using page endpoints.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Edit page|Edit page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]<br>› [[API_reference/Core/Pages/Get description|Get description]]<br>› [[API_reference/Core/Pages/Edit description|Edit description]]<br>› [[API_reference/Core/Pages/Delete description|Delete description]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
sn6k8d0i2cucc6n8e1g9qybjsqfuz7s
1023
1022
2021-02-11T06:40:03Z
APaskulin (WMF)
20
Use multilingual link for Wikipedia
wikitext
text/x-wiki
Read and edit wiki pages from [https://www.wikipedia.org Wikipedia] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using page endpoints.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Page object|Page]]<br>› [[API_reference/Core/Pages/Language object|Language]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Create page|Create page]]<br>› [[API_reference/Core/Pages/Edit page|Edit page]]<br>› [[API_reference/Core/Pages/Get page|Get page]]<br>› [[API_reference/Core/Pages/Get page offline|Get page offline]]<br>› [[API_reference/Core/Pages/Get page source|Get page source]]<br>› [[API_reference/Core/Pages/Get HTML|Get HTML]]<br>› [[API_reference/Core/Pages/Get languages|Get languages]]<br>› [[API_reference/Core/Pages/Get files|Get files]]<br>› [[API_reference/Core/Pages/Get description|Get description]]<br>› [[API_reference/Core/Pages/Edit description|Edit description]]<br>› [[API_reference/Core/Pages/Delete description|Delete description]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
8v5ywtx068ipc8a6ssfmkzp1n8dit1l
API reference/Core/Media files
0
36
148
2020-09-18T23:06:45Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
393
148
2020-11-02T20:40:52Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Media files]] to [[API reference/Core/Media files]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
461
393
2020-11-05T17:29:52Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Resources</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/File object|File]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
nlb5tjlwaai3rkk9jnuicltd9gqaxb6
496
461
2020-11-06T21:39:44Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/File object|File]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
aky2nivl3xvre54d505ss1m3h6of9b7
1036
496
2021-02-11T23:32:02Z
APaskulin (WMF)
20
Add intro text
wikitext
text/x-wiki
Get freely licensed images, audio, and video with media file endpoints.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/File object|File]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Media files/Get file|Get file]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
hu6q3kifwucqa5vloxlb9ddxf42fjbb
API reference/Core/Revisions
0
37
149
2020-09-18T23:07:18Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:4}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
387
149
2020-11-02T20:40:51Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History]] to [[API reference/Core/History]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
462
387
2020-11-05T17:34:18Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Resources</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Revision object|Revision]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Endpoints</h5>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get page history]]<br>› [[API_reference/Core/History/Get revision stats|Get revision stats]]<br>› [[API_reference/Core/History/Get revision|Get revision]]<br>› [[API_reference/Core/History/Compare revisions|Compare revisions]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
gd4q292a3sy4k5qyom2qvo61rn5hina
497
462
2020-11-06T21:41:00Z
APaskulin (WMF)
20
Formatting fixes
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Revision object|Revision]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get page history]]<br>› [[API_reference/Core/History/Get revision stats|Get revision stats]]<br>› [[API_reference/Core/History/Get revision|Get revision]]<br>› [[API_reference/Core/History/Compare revisions|Compare revisions]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
i4c89s0qoocez9f6dfrsj9m8i5ev0yj
649
497
2020-11-23T21:39:38Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History]] to [[API reference/Core/Revisions]] without leaving a redirect
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Revision object|Revision]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/History/Get page history|Get page history]]<br>› [[API_reference/Core/History/Get revision stats|Get revision stats]]<br>› [[API_reference/Core/History/Get revision|Get revision]]<br>› [[API_reference/Core/History/Compare revisions|Compare revisions]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
i4c89s0qoocez9f6dfrsj9m8i5ev0yj
657
649
2020-11-23T21:41:48Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions/Revision object|Revision]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions/Get page history|Get page history]]<br>› [[API_reference/Core/Revisions/Get revision stats|Get revision stats]]<br>› [[API_reference/Core/Revisions/Get revision|Get revision]]<br>› [[API_reference/Core/Revisions/Compare revisions|Compare revisions]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
m6gquycostbkqo4uvsitwdmrfw5ukmt
1038
657
2021-02-11T23:37:37Z
APaskulin (WMF)
20
Add intro text
wikitext
text/x-wiki
Explore page history and compare edits with revision endpoints.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions/Revision object|Revision]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:175px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Revisions/Get page history|Get page history]]<br>› [[API_reference/Core/Revisions/Get revision stats|Get revision stats]]<br>› [[API_reference/Core/Revisions/Get revision|Get revision]]<br>› [[API_reference/Core/Revisions/Compare revisions|Compare revisions]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
9zwsohvh3b6r81zh0td7qy8rotppmqe
API reference/Changelog
0
38
150
2020-09-18T23:07:41Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
170
150
2020-09-19T00:06:04Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
430
170
2020-11-02T21:28:38Z
APaskulin (WMF)
20
wikitext
text/x-wiki
== Dashboard ==
{| class="wikitable"
! Namespace
! Latest version
|-
| [[API_reference/Core|core]]
| v1
|-
| [[API_reference/Feed|feed]]
| v1
|}
== Latest updates ==
__NOTOC__
{{DEFAULTSORT:1}}
cz7ng1mcf3bwrgdbpq09ohhe9c8xq0w
935
430
2020-12-18T20:28:57Z
APaskulin (WMF)
20
/* Latest updates */ Add description endpoints
wikitext
text/x-wiki
== Dashboard ==
{| class="wikitable"
! Namespace
! Latest version
|-
| [[API_reference/Core|core]]
| v1
|-
| [[API_reference/Feed|feed]]
| v1
|}
== Latest updates ==
{|
|style="width: 20%; vertical-align: top;"| '''December 18, 2020'''
| [[API reference/Core/Pages/Get description|Get description]], [[API reference/Core/Pages/Edit description|edit description]], and [[API reference/Core/Pages/Delete description|delete description]] are now available as part of the [[API reference/Core/Pages|page endpoints]].
|}
__NOTOC__
{{DEFAULTSORT:1}}
be6j6igduzwpfj45msgo94bs80w21kv
1093
935
2021-03-25T21:19:31Z
APaskulin (WMF)
20
Add link recommendations endpoint
wikitext
text/x-wiki
== Dashboard ==
{| class="wikitable"
! Namespace
! Latest version
|-
| [[API_reference/Core|core]]
| v1
|-
| [[API_reference/Feed|feed]]
| v1
|-
| [[API_reference/Service|service]]
| v1
|}
== Latest updates ==
{|
|style="width: 20%; vertical-align: top;"| '''March 25, 2021'''
| The [[API reference/Service/Link_recommendation/Get link recommendations|get link recommendations]] endpoint is now available in the [[API reference/Service|service namespace]].<br><br><br>
|-
|style="width: 20%; vertical-align: top;"| '''December 18, 2020'''
| [[API reference/Core/Pages/Get description|Get description]], [[API reference/Core/Pages/Edit description|edit description]], and [[API reference/Core/Pages/Delete description|delete description]] are now available as part of the [[API reference/Core/Pages|page endpoints]].
|}
__NOTOC__
{{DEFAULTSORT:1}}
3dj45c0820eiyiacnvi7g9tvu2tg5y4
1253
1093
2022-03-11T20:04:39Z
APaskulin (WMF)
20
matched_title property added to search endpoints. See https://phabricator.wikimedia.org/T296671
wikitext
text/x-wiki
== Dashboard ==
{| class="wikitable"
! Namespace
! Latest version
|-
| [[API_reference/Core|core]]
| v1
|-
| [[API_reference/Feed|feed]]
| v1
|-
| [[API_reference/Service|service]]
| v1
|}
== Latest updates ==
{|
|style="width: 20%; vertical-align: top;"| '''March 11, 2022'''
| The <code>matched_title</code> property is now returned by the [[API_reference/Core/Search|Core search endpoints]] to handle redirected pages.<br><br><br>
|-
|style="width: 20%; vertical-align: top;"| '''March 25, 2021'''
| The [[API reference/Service/Link_recommendation/Get link recommendations|get link recommendations]] endpoint is now available in the [[API reference/Service|service namespace]].<br><br><br>
|-
|style="width: 20%; vertical-align: top;"| '''December 18, 2020'''
| [[API reference/Core/Pages/Get description|Get description]], [[API reference/Core/Pages/Edit description|edit description]], and [[API reference/Core/Pages/Delete description|delete description]] are now available as part of the [[API reference/Core/Pages|page endpoints]].
|}
__NOTOC__
{{DEFAULTSORT:1}}
o44poac59d4qynm6uhp4u1drzuuzm9t
API reference/Core/Pages/Page object
0
39
151
2020-09-18T23:13:52Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
310
151
2020-10-16T17:15:23Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|''[[#Get_page|Get page]] only''
<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|''[[#Get_page_offline|Get page offline]] only''
<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|''[[#Get_page_source|Get page source]], [[#Create_page|create page]], and [[#Update_page|update page]] only''
<code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
l2sie2aakx53v0gd7nxjxwvky7l8o3g
311
310
2020-10-16T17:16:49Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|''[[#Get_page|Get page]] only''
<code>html_url</code>{{Required string}}
| API route to fetch the content of the page in HTML
|-
|''[[#Get_page_offline|Get page offline]] only''
<code>html</code>{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|''[[#Get_page_source|Get page source]], [[#Create_page|create page]], and [[#Update_page|update page]] only''
<code>source</code>{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
04ykf42kwwxnu88y3h1hr368dd513ly
312
311
2020-10-16T17:19:47Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|colspan="2"|''[[#Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2"|''[[#Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2"|''[[#Get_page_source|Get page source]], [[#Create_page|create page]], and [[#Update_page|update page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
2gkdap8gehj357bbpxb0vev1x6bpac6
405
312
2020-11-02T20:40:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Page object]] to [[API reference/Core/Pages/Page object]] without leaving a redirect
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|colspan="2"|''[[#Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2"|''[[#Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2"|''[[#Get_page_source|Get page source]], [[#Create_page|create page]], and [[#Update_page|update page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
2gkdap8gehj357bbpxb0vev1x6bpac6
553
405
2020-11-10T23:11:41Z
APaskulin (WMF)
20
/* Schema */ Fix links
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|colspan="2"|''[[API reference/Core/Pages/Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2"|''[[API reference/Core/Pages/Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2"|''[[API reference/Core/Pages/Get_page_source|Get page source]], [[API reference/Core/Pages/Create_page|create page]], and [[API reference/Core/Pages/Update_page|update page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
1lekybf74ee4jux8hd05i07lub34mpu
554
553
2020-11-10T23:15:53Z
APaskulin (WMF)
20
/* Schema */ Reduce padding on special properties
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_source|Get page source]], [[API reference/Core/Pages/Create_page|create page]], and [[API reference/Core/Pages/Update_page|update page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
0swahmnn9n83o36oli7095ozfwajb3u
1003
554
2021-02-08T16:52:59Z
Ameisenigel
14
linkfix
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. See [[mw:Special:MyLanguage/Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL of the applicable license based on the [[Manual:$wgRightsUrl|$wgRightsUrl]] setting
|-
|<code>title</code>
{{String}}
| Name of the applicable license based on the [[Manual:$wgRightsText|$wgRightsText]] setting
|}
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[mw:Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_source|Get page source]], [[API reference/Core/Pages/Create_page|create page]], and [[API reference/Core/Pages/Update_page|update page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
ipgz4o4gsdiqh9hny4mlwhxznjbruk6
1024
1003
2021-02-11T06:50:24Z
APaskulin (WMF)
20
/* Schema */ Swap generic MediaWiki info for Wikimedia-specific info
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|-
|<code>title</code>
{{String}}
| Name of the license in plain text
|}
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in HTML, following the [[mw:Specs/HTML/2.1.0|HTML 2.1.0 specification]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_source|Get page source]], [[API reference/Core/Pages/Create_page|create page]], and [[API reference/Core/Pages/Edit_page|edit page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
50nqmajulv43cf45ocd8n412twaqbnq
1030
1024
2021-02-11T23:04:03Z
APaskulin (WMF)
20
/* Schema */ Link to latest version of spec
wikitext
text/x-wiki
The page object represents the latest revision of a wiki page.
== Example ==
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 963613515,
"timestamp": "2020-06-20T20:05:55Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Page identifier
|-
| <code>key</code>
{{Required string}}
| Page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Page title in reading-friendly format
|-
| <code>latest</code>
{{Required object}}
| Information about the latest revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier for the latest revision
|-
|<code>timestamp</code>
{{String}}
| Timestamp of the latest revision in [[w:ISO_8601|ISO 8601 format]]
|}
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>license</code>
{{Required object}}
| Information about the wiki's license
{{Child properties start}}
{| class="wikitable properties"
|<code>url</code>
{{String}}
| URL for a page that describes the terms and conditions of the license
|-
|<code>title</code>
{{String}}
| Name of the license in plain text
|}
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page|Get page]] only:''
|-
|<code>html_url</code>
{{Required string}}
| API route to fetch the content of the page in HTML
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_offline|Get page offline]] only:''
|-
|<code>html</code>
{{Required string}}
| Latest page content in [[mw:Special:MyLanguage/Specs/HTML|HTML]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Pages/Get_page_source|Get page source]], [[API reference/Core/Pages/Create_page|create page]], and [[API reference/Core/Pages/Edit_page|edit page]] only:''
|-
| <code>source</code>
{{Required string}}
| Latest page content in the format specified by the <code>content_model</code> property
|}
__NOTOC__
{{DEFAULTSORT:1}}
t8go1ipvm89sq88ngprbhfrcc6tcuvy
API reference/Core/Pages/Language object
0
40
152
2020-09-18T23:14:25Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
313
152
2020-10-16T17:41:46Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The page language object represents a wiki page and its language.
== Example ==
<syntaxhighlight lang=json>
{
"code": "pl",
"name": "polski",
"key": "Ziemia",
"title": "Ziemia"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>code</code>
{{Required string}}
| Language code. For Wikimedia projects, see the [[meta:Special:SiteMatrix|site matrix on Meta-Wiki]].
|-
| <code>name</code>
{{Required string}}
| Translated language name
|-
| <code>key</code>
{{Required string}}
| Translated page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Translated page title in reading-friendly format
|}
__NOTOC__
{{DEFAULTSORT:2}}
2ezz43uhj3d3x2rmxnt2baqemr38don
314
313
2020-10-16T17:43:00Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The language object represents a wiki page and its language.
== Example ==
<syntaxhighlight lang=json>
{
"code": "pl",
"name": "polski",
"key": "Ziemia",
"title": "Ziemia"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>code</code>
{{Required string}}
| Language code. For Wikimedia projects, see the [[meta:Special:SiteMatrix|site matrix on Meta-Wiki]].
|-
| <code>name</code>
{{Required string}}
| Translated language name
|-
| <code>key</code>
{{Required string}}
| Translated page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Translated page title in reading-friendly format
|}
__NOTOC__
{{DEFAULTSORT:2}}
gigdfy2yojf70kxwbrloia2kg8brbxv
404
314
2020-11-02T20:40:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Language object]] to [[API reference/Core/Pages/Language object]] without leaving a redirect
wikitext
text/x-wiki
The language object represents a wiki page and its language.
== Example ==
<syntaxhighlight lang=json>
{
"code": "pl",
"name": "polski",
"key": "Ziemia",
"title": "Ziemia"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>code</code>
{{Required string}}
| Language code. For Wikimedia projects, see the [[meta:Special:SiteMatrix|site matrix on Meta-Wiki]].
|-
| <code>name</code>
{{Required string}}
| Translated language name
|-
| <code>key</code>
{{Required string}}
| Translated page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Translated page title in reading-friendly format
|}
__NOTOC__
{{DEFAULTSORT:2}}
gigdfy2yojf70kxwbrloia2kg8brbxv
684
404
2020-11-24T01:27:57Z
APaskulin (WMF)
20
/* Schema */ Update code
wikitext
text/x-wiki
The language object represents a wiki page and its language.
== Example ==
<syntaxhighlight lang=json>
{
"code": "pl",
"name": "polski",
"key": "Ziemia",
"title": "Ziemia"
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>code</code>
{{Required string}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
|-
| <code>name</code>
{{Required string}}
| Translated language name
|-
| <code>key</code>
{{Required string}}
| Translated page title in URL-friendly format
|-
| <code>title</code>
{{Required string}}
| Translated page title in reading-friendly format
|}
__NOTOC__
{{DEFAULTSORT:2}}
oebaa5eecdq15o0ncyx48dfvt4vz6ne
API reference/Core/Pages/Create page
0
41
153
2020-09-18T23:15:57Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
397
153
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Create page]] to [[API reference/Core/Pages/Create page]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
584
397
2020-11-19T23:50:00Z
APaskulin (WMF)
20
Add endpoint box
wikitext
text/x-wiki
{{Endpoint|endpoint=/page|method=POST }}
__NOTOC__
{{DEFAULTSORT:3}}
t0dyv3kobwsujlop90b3301kpqpupw3
585
584
2020-11-19T23:53:50Z
APaskulin (WMF)
20
Add colors
wikitext
text/x-wiki
{{Endpoint|endpoint=/page|method=POST|color=#00af89|color2=#d5fdf4}}
__NOTOC__
{{DEFAULTSORT:3}}
ked29ndyiwe2wfoyq7mmyd6l8a4lq5z
587
585
2020-11-20T00:05:09Z
APaskulin (WMF)
20
Add initial content
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#00af89|color2=#d5fdf4}}
Creates a wiki page. The response includes a location header containing the API endpoint to fetch the new page.
== Examples ==
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_TOKEN_HERE" --data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME_HERE/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
0glnohswtu5talte22zt61hxt8jlqzb
588
587
2020-11-20T00:05:55Z
APaskulin (WMF)
20
/* Examples */ Fix gadget
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#00af89|color2=#d5fdf4}}
Creates a wiki page. The response includes a location header containing the API endpoint to fetch the new page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_TOKEN_HERE" --data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME_HERE/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
f0whp73albpekihtxq1qkjhgktgfl1x
591
588
2020-11-20T00:15:24Z
APaskulin (WMF)
20
Better contrast
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page. The response includes a location header containing the API endpoint to fetch the new page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_TOKEN_HERE" --data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME_HERE/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
k1b6g3dv8onk9y2vm5nig6w5t8sw5sa
647
591
2020-11-23T17:50:57Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page. The response includes a location header containing the API endpoint to fetch the new page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
c8iwedscyiytdlepukjc1k1wlomrnuo
667
647
2020-11-23T22:17:18Z
APaskulin (WMF)
20
/* Examples */ Add PHP example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page. The response includes a location header containing the API endpoint to fetch the new page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
npo9o101db6ddog3tgagvzc5d62mhqu
668
667
2020-11-23T22:19:40Z
APaskulin (WMF)
20
Remove line about location header
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
6chelpt2fimlef3tp53bo7r2b0fy9oe
669
668
2020-11-23T22:54:06Z
APaskulin (WMF)
20
/* Request schema */ Update descriptions
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): Wiki syntax, used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
sx07ve7zq64zzpfqaof3ab5cj8btl4z
670
669
2020-11-23T23:03:54Z
APaskulin (WMF)
20
/* Responses */ Update responses
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): Wiki syntax, used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
sw6bgg5ku3rjjy6lrzouclrbdo9qtoh
671
670
2020-11-23T23:07:57Z
APaskulin (WMF)
20
/* Request schema */ Add headers section
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): Wiki syntax, used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token in the Authorization request header using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
awvd6hzxt6uuulymamshuv7s8b992d0
673
671
2020-11-23T23:09:17Z
APaskulin (WMF)
20
/* Headers */ Revise description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): Wiki syntax, used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
an7419kz975nsmg0a4thrctpdyqbhxz
675
673
2020-11-24T00:42:43Z
APaskulin (WMF)
20
/* Request schema */ Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
9j8h6u0yfz1yowzj7apiyy6f7lanq63
678
675
2020-11-24T01:16:02Z
APaskulin (WMF)
20
/* Responses */ Add response examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
kkr10bccy8b7dqf4s7z60ztt25gs5a3
683
678
2020-11-24T01:26:34Z
APaskulin (WMF)
20
/* Responses */ Better wording
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://en.wikipedia.org/w/rest.php/v1/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
irfj2s83rvydm2e1dsiymi77rorfq2g
739
683
2020-11-25T22:40:47Z
APaskulin (WMF)
20
/* Examples */ add js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
ddcf30vbfycdm2mus722syh2rryjad6
741
739
2020-11-25T22:43:19Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
eas4dtnxy1bykzmtra24ivcbu0zzdnw
754
741
2020-11-25T22:48:42Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
icfml0ukqwthopahheb1n1j4xh8zmgd
765
754
2020-11-25T22:57:05Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
kdt6zy6vl8scvgxq6k7at36gg81o3y5
962
765
2021-01-05T23:51:05Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
gs2v1ttwy11766p889lb8pwe9d41nlr
1130
962
2021-05-29T12:29:07Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
6fwiurznj7lqcqiz0ir3dh38s506g3p
1142
1130
2021-06-09T02:59:29Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page|method=POST|color=#14866d|color2=#d5fdf4}}
Creates a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Create a user sandbox page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/core/v1/wikipedia/en/page \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"source": "Hello, world!", "title": "User:YOUR_USERNAME/Sandbox", "comment": "Creating a test page with the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Create a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page'
request_data = {
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Create a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
$fields = [
'source' => 'Hello, world!',
'title' => 'User:YOUR_USERNAME/Sandbox',
'comment' => 'Creating a test page with the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Create a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'source': 'Hello, world!',
'title': 'User:YOUR_USERNAME/Sandbox',
'comment': 'Creating a test page with the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
s1agj6ucehy13srkeecif2ve55uwkeu
API reference/Core/Pages/Edit page
0
42
154
2020-09-18T23:16:24Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:4}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
406
154
2020-11-02T20:40:55Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Update page]] to [[API reference/Core/Pages/Update page]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
589
406
2020-11-20T00:06:18Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/Pages/Update page]] to [[API reference/Core/Pages/Edit page]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
590
589
2020-11-20T00:14:40Z
APaskulin (WMF)
20
Add initial content
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Updates or creates a wiki page. This endpoint is designed to be used with the OAuth extension authorization process. Callers using cookie-based authentication instead must add a CSRF token to the request body. To get a CSRF token, see the Action API.
To update a page, you need the page's latest revision ID and the page source. First call the get page source endpoint, and then use the source and latest.id to update the page. If latest.id doesn't match the page's latest revision, the API resolves conflicts automatically when possible. In the event of an edit conflict, the API returns a 409 error.
To create a page, omit latest.id from the request.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" --data '{"source": "Hello, world!", "comment": "Testing out the REST API", "latest": { "id": 555555555 }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>lastest</code>
{{Object}}
| Object identifying the base revision of the edit. Required to edit an existing page. You can fetch this information from the [[#Get_page_source|get page source endpoint]]
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Identifier for the revision used as the base for the new <code>source</code>, required for updating an existing page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. See the [[API reference/Core/History/Compare revisions|compare revisions endpoint]] for information about the diff format.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
cxn9a3rl0av480c34wlk43e6bhksyoy
648
590
2020-11-23T17:54:56Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Updates or creates a wiki page. This endpoint is designed to be used with the OAuth extension authorization process. Callers using cookie-based authentication instead must add a CSRF token to the request body. To get a CSRF token, see the Action API.
To update a page, you need the page's latest revision ID and the page source. First call the get page source endpoint, and then use the source and latest.id to update the page. If latest.id doesn't match the page's latest revision, the API resolves conflicts automatically when possible. In the event of an edit conflict, the API returns a 409 error.
To create a page, omit latest.id from the request.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>lastest</code>
{{Object}}
| Object identifying the base revision of the edit. Required to edit an existing page. You can fetch this information from the [[#Get_page_source|get page source endpoint]]
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Identifier for the revision used as the base for the new <code>source</code>, required for updating an existing page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. See the [[API reference/Core/History/Compare revisions|compare revisions endpoint]] for information about the diff format.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
tneidh5e2qt8dtd64q8fg1lrob88239
674
648
2020-11-24T00:02:54Z
APaskulin (WMF)
20
Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. See [[Manual:Page_title|the manual]] for information about page titles in MediaWiki.
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Type of content on the page. Defaults to <code>wikitext</code>. See [[Content handlers|the content handlers reference]] for content models supported by MediaWiki and extensions.
|-
| <code>lastest</code>
{{Object}}
| Object identifying the base revision of the edit. Required to edit an existing page. You can fetch this information from the [[#Get_page_source|get page source endpoint]]
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Identifier for the revision used as the base for the new <code>source</code>, required for updating an existing page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. See the [[API reference/Core/History/Compare revisions|compare revisions endpoint]] for information about the diff format.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
3uurfj8b2thcfq5yj4lybioj7cehhde
676
674
2020-11-24T00:45:07Z
APaskulin (WMF)
20
/* Request schema */ Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. See the [[API reference/Core/History/Compare revisions|compare revisions endpoint]] for information about the diff format.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
a721tsn5cqtzpvvj6rvjxtnzx0yassi
677
676
2020-11-24T00:45:59Z
APaskulin (WMF)
20
/* Request schema */ Add headers section
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Missing token
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code> based on available [[content handlers]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. See the [[API reference/Core/History/Compare revisions|compare revisions endpoint]] for information about the diff format.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Page already exists.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
1xharx9rbdyfn58ex0pmm0m41kgiyh2
679
677
2020-11-24T01:16:10Z
APaskulin (WMF)
20
/* Responses */ Add response examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
qmw54gl0yh3u7tzo0e9sdcxtotwfydx
680
679
2020-11-24T01:22:49Z
APaskulin (WMF)
20
/* Examples */ Add php example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page object]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
38fah1266hn724u6d0mrp7itddxxicb
682
680
2020-11-24T01:26:03Z
APaskulin (WMF)
20
/* Responses */ Better wording
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
akpm4c5egu8tgu2ctwvjh2pftkbio0l
740
682
2020-11-25T22:43:04Z
APaskulin (WMF)
20
/* Examples */ add js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox',
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
kdp0jpluski1a3dz01x54bxd0svk2j7
753
740
2020-11-25T22:48:29Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox',
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
ebjj5drxp72ifdmcobh0yp18xyh1588
766
753
2020-11-25T22:57:25Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=POST|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
aeyvm5pyvo9dfsgmmgf368o780qx5d2
928
766
2020-12-18T16:42:43Z
APaskulin (WMF)
20
Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
5zaxd5fo4irj3qujvflric1pxp3wjx6
963
928
2021-01-05T23:51:28Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[#Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
qkuw6076orod3w92yx5qn3efc66f974
1027
963
2021-02-11T22:30:12Z
APaskulin (WMF)
20
/* Request schema */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for creating the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[API_reference/Core/Pages/Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
h3y20e23mt5kg2vzy88bhhlu9zq6wt7
1034
1027
2021-02-11T23:22:41Z
APaskulin (WMF)
20
/* Request schema */ Typo fix
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for editing the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[API_reference/Core/Pages/Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
73ko3yfq8sa5tw4nphtlr0qzthurww0
1129
1034
2021-05-29T12:28:42Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for editing the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[API_reference/Core/Pages/Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
7clr1c65wizh3wxco1kpz9jpyoyxkpy
1143
1129
2021-06-09T02:59:50Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits a page based on the page's latest revision ID, or creates the page if no revision ID is given. To get the latest version of a page's source and revision ID, call the [[API reference/Core/Pages/Get page source|get page source endpoint]]. Most wiki pages are written in MediaWiki-flavored [[w:Help:Wikitext|Wikitext]].
In the event of a merge conflict, the API attempts to resolve the conflict automatically. If the edit conflict cannot be resolved, the API returns a 409 error.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the sandbox page on English Wikipedia with "Hello, world!"
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox \
-H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
--data '{"source": "Hello, world!", "comment": "Testing out the Wikimedia API", "latest": { "id": LATEST_REVISION_ID }}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the sandbox page on English Wikipedia with "Hello, world!"
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox'
request_data = {
'source': 'Hello, world!',
'latest': { 'id': 'LATEST_REVISION_ID' },
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the sandbox page on English Wikipedia with "Hello, world!"
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
$fields = [
'source' => 'Hello, world!',
'comment' => 'Testing out the Wikimedia API',
'latest' => [
'id' => LATEST_REVISION_ID
]
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the sandbox page on English Wikipedia with "Hello, world!"
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Wikipedia:Sandbox';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'source': 'Hello, world!',
'comment': 'Testing out the Wikimedia API',
'latest': { 'id': LATEST_REVISION_ID }
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>source</code>
{{Required string}}
| Page content in the format specified by the <code>content_model</code> property
|-
| <code>title</code>
{{Required string}}
| Page title. Visit individual wikis for policies about page title formats and characters. For example, for English Wikipedia, visit [[w:Wikipedia:Article titles|Article titles]].
|-
| <code>comment</code>
{{Required string}}
| Reason for editing the page. To allow the comment to be filled in by the server, use <code>"comment": null</code>.
|-
| <code>content_model</code>
{{Required string}}
| Page content format:
* <code>wikitext</code> (default): [[w:Help:Wikitext|MediaWiki-flavored markup]], used for most wiki pages
* <code>css</code>: [[w:CSS|CSS]]
* <code>javascript</code>: [[w:JavaScript|JavaScript]]
* <code>json</code>: [[w:JSON|JSON]]
* <code>text</code>: Plain text
|-
| <code>lastest</code>
{{Object}}
| Information about the latest version of the page. You can fetch this information from the [[API_reference/Core/Pages/Get_page_source|get page source endpoint]].
{{Child properties start}}
{| class="wikitable properties"
| <code>id</code>
{{Integer}}
| Revision identifier for the latest revision, required to edit a page. To create a page, omit this property.
|}
{{Child properties end}}
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page updated. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!201
| Success: Page created. Returns a [[API reference/Core/Pages/Page object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet...}}"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Bad content model. Include a valid <code>content_model</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Bad content model: incorrect"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|-
!409
| Error: Edit conflict. The error response includes the differences between the base revision specified in the request and the latest published revision. Visit the [[API reference/Core/Revisions/Compare revisions|compare revisions endpoint]] for the diff schema.
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Edit conflict."
},
"httpCode": 409,
"httpReason": "Conflict"
}
</syntaxhighlight>
{{Response end}}
|-
!415
| Error: Unsupported Content-Type. Add the request header <code>Content-Type: application/json</code>.
{{Response start}}
<syntaxhighlight lang="json">
{
"message": "Unsupported Content-Type",
"content_type": "incorrect",
"httpCode": 415,
"httpReason": "Unsupported Media Type"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
2n71jicqgdutt2fovojkld5zcdy6n0z
API reference/Core/Pages/Get page
0
43
155
2020-09-18T23:17:29Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:5}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:5}}
kxvbaoo5ubaneyrh9e4ekg064yb4ej5
315
155
2020-10-16T17:46:14Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[#Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
s86w7mtvgi3r4oegs3mkk8txggfbdf9
320
315
2020-10-16T17:51:31Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[#Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
ilx74nb2r7lww7tdb3k3994pvvqo4ul
401
320
2020-11-02T20:40:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get page]] to [[API reference/Core/Pages/Get page]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[#Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
ilx74nb2r7lww7tdb3k3994pvvqo4ul
416
401
2020-11-02T20:51:50Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[#Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
p24omr7gegtxd0op55toydr7qrcckjs
555
416
2020-11-10T23:36:15Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[#Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
paxrhss6s3mgyw1iqrabrgdaa8jbbcb
593
555
2020-11-20T00:18:34Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
2j8b7qvmfyrtsqc8z07qq2yei2rbusv
639
593
2020-11-23T17:37:23Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
d9aix17zfrftogxrjkkatscwikkmw20
681
639
2020-11-24T01:25:02Z
APaskulin (WMF)
20
/* Responses */ Add response examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
gdpls8p0k6fuzonxvyrbiazr3fkbigi
685
681
2020-11-24T01:31:06Z
APaskulin (WMF)
20
/* Examples */ Add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
lz2avcg0bzb79h9g5fzwpz39hxzeclm
719
685
2020-11-24T02:52:48Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
e0xwpwdgid0fiad8z708y5gbg4zgbre
744
719
2020-11-25T22:44:39Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
k3q51bzf6lcigu43nj8ukms97gsbjru
752
744
2020-11-25T22:48:04Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
ijgf6bfum3dic3q2mg07evl3bda9snx
767
752
2020-11-25T22:57:45Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
4zp5bolnt7wqbcz78y0lhxr8tl6tbrl
964
767
2021-01-05T23:51:48Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
4jbokl8abvs7b79r7t9028d9472l7jx
1115
964
2021-05-29T12:21:02Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
huxkiaya7dsa4ehkse1lujiu9dvzmqa
1144
1115
2021-06-09T03:00:04Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/bare}}
Returns the standard [[API reference/Core/Pages/Page_object|page object]] for a wiki page, including the API route to fetch the latest content in HTML, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare|comment=Get information about the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>html_url</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html_url": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/html"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:5}}
tis2sg0a81loubs6583tgx6g2z8vths
API reference/Core/Pages/Get page offline
0
44
156
2020-09-18T23:19:41Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:6}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:6}}
qfmdee8mkzh8wlwrjecacmy9ql5ttrk
316
156
2020-10-16T17:48:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
kt4dwk8sdxv6aedk63h5ell8xw07ivg
319
316
2020-10-16T17:51:16Z
APaskulin (WMF)
20
/* Responses */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
7ib0lqazbhkwavxs4polwdaglqauckj
402
319
2020-11-02T20:40:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get page offline]] to [[API reference/Core/Pages/Get page offline]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
7ib0lqazbhkwavxs4polwdaglqauckj
417
402
2020-11-02T20:52:06Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
1dw02xs9d6hc58xi4r9dei2dso8c8gn
556
417
2020-11-10T23:36:53Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
nngyc5t6gcir8lzkl2s64xaxequ2qfo
594
556
2020-11-20T00:20:34Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=# Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
tbr555scbslkv1xulg7zdurrfn8kkcj
595
594
2020-11-20T00:20:57Z
APaskulin (WMF)
20
/* Examples */ Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
97e2rujoqjyh48h089qcm0sfxlr9lh4
640
595
2020-11-23T17:37:44Z
APaskulin (WMF)
20
/* Examples */ Add Python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
tpagacfker6ngnseak1tk2605prcpc8
686
640
2020-11-24T01:33:14Z
APaskulin (WMF)
20
/* Examples */ Add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
8aa8r7npflp8ehxlj43iq466ilh96i4
711
686
2020-11-24T02:25:02Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
kpwca4fofuksvbe8j9rsbh47ufz3e5x
720
711
2020-11-24T02:53:28Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
h3gd8kiyp7ws6ywiw9pzu4szcw7u8ld
745
720
2020-11-25T22:45:12Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
klz8uesr77gqi39bmsoy6jj7us1rnub
751
745
2020-11-25T22:47:50Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
fsqn7f6xjlo05f4gs64jykidd7bm383
768
751
2020-11-25T22:58:07Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
fxshf1dqgroc56o0aj82nh1dc1zxrkb
965
768
2021-01-05T23:52:11Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
e1395xtfrh2x6ltv2pjo3ijh5gsyo4i
1120
965
2021-05-29T12:23:28Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
5z1gsdyksj2grukwz0bhcs6gs3vesp9
1145
1120
2021-06-09T03:00:24Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/with_html}}
Returns information about a wiki page, including the license, latest revision, and latest content in HTML.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html|comment=Get HTML and metadata for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get HTML and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/with_html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get HTML and metadata for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get HTML and metadata for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/with_html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>html</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"html": "<!DOCTYPE html>..."
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:6}}
jmvsk8div4s4aqrja1scx4r3ungdwmc
API reference/Core/Pages/Get page source
0
45
157
2020-09-18T23:20:18Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:7}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:7}}
9npx1vygjm9oygvscgobap4lxe5hfv3
317
157
2020-10-16T17:50:36Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}}}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
pyelxvojfa0rxkf1cwd7smkgb1o5ufy
318
317
2020-10-16T17:50:54Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
7eb6zmyf8nh7fxr8cw7lrnqk0zednic
403
318
2020-11-02T20:40:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get page source]] to [[API reference/Core/Pages/Get page source]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
7eb6zmyf8nh7fxr8cw7lrnqk0zednic
418
403
2020-11-02T20:52:20Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[#Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
c93bstuu09hq1v3mv3bs8pp1g9785k6
557
418
2020-11-10T23:37:11Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
81sbe3ddqxtb1a8pzwiqts2rrn6a4g5
596
557
2020-11-20T00:22:34Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
ppjq72shjxcfnapjy5r4f1cqq2dx0t0
641
596
2020-11-23T17:38:11Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get source and metadata for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
ppfytwlmpns764q4k9jl79wyslokm27
643
641
2020-11-23T17:39:15Z
APaskulin (WMF)
20
/* Examples */ Fix comment
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
05rdlcy8ksf90szhdr2l2szmxcl21rd
687
643
2020-11-24T01:34:03Z
APaskulin (WMF)
20
/* Examples */ Add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: The page you requested is not supported by this endpoint
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
4j0oiwj66nm8v1bsl7z38eexh2wyoxk
709
687
2020-11-24T02:22:17Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns [[API reference/Core/Pages/Page_object|page]] with <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
mss6jlqwnvmfreqp5omcqw12c9wa24i
710
709
2020-11-24T02:22:38Z
APaskulin (WMF)
20
/* Responses */ typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
push3108jeivt5dcjpn54azab14alk4
721
710
2020-11-24T02:54:28Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
osxrb2hp7pwy5rs3gp8izscqxrckd1b
746
721
2020-11-25T22:45:45Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
0bqyp7nh55qgwe1jakp0gg9l0g5dpsq
750
746
2020-11-25T22:47:37Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
b56ffgaz9ocemuuly52drbetab5jgou
769
750
2020-11-25T22:58:41Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
6w4q6ih4m49cuv42crypad5m2foww9j
966
769
2021-01-05T23:52:27Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
czu4r011vckzmtsk5d5yqk9kc1bqbls
1117
966
2021-05-29T12:22:21Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
4f8xhctztpi4ss0fgrk04tkvpw7gj94
1146
1117
2021-06-09T03:00:41Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title} }}
Returns the content of a wiki page in the format specified by the <code>content_model</code> property, the license, and information about the latest revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth|comment=Get the wikitext version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the wikitext version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the wikitext version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the wikitext version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Core/Pages/Page_object|page]] with the <code>source</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 9228,
"key": "Earth",
"title": "Earth",
"latest": {
"id": 989181479,
"timestamp": "2020-11-17T14:42:31Z"
},
"content_model": "wikitext",
"license": {
"url": "//creativecommons.org/licenses/by-sa/3.0/",
"title": "Creative Commons Attribution-Share Alike 3.0"
},
"source": "{{Short description|Third planet from the Sun in the Solar System}}\n{{About|the planet|its human aspects|World|other uses|Earth (disambiguation)|and|Planet Earth (disambiguation)}}\n{{pp-semi|small=yes}}\n{{Use American English|date=August 2019}}\n{{Use dmy dates|date=January 2020}}\n{{Featured article}}\n\n{{Infobox planet..}}"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Content doesn't exist or cannot be loaded
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:7}}
5gdio3rfrhxtbqa910dt1getwteqmin
API reference/Core/Pages/Get HTML
0
46
158
2020-09-18T23:20:42Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:8}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:8}}
nq71anphblvr1zhjjacsl7eaexsn0sd
321
158
2020-10-16T17:54:07Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
cjctow52jabsbsb1i5kd0brc0zmrkk7
398
321
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get HTML]] to [[API reference/Core/Pages/Get HTML]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
cjctow52jabsbsb1i5kd0brc0zmrkk7
419
398
2020-11-02T20:52:36Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
5i9utl8r137p8tr11r0alp4en4rrxpm
420
419
2020-11-02T20:52:53Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
blkin292i4rwk7bqgs1jx2hmycrqubn
421
420
2020-11-02T20:53:10Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
hfufky2wmpt5efy9t2nwin1y2u832zk
597
421
2020-11-20T00:23:20Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
4aqw74azx8uctalh7ga8ooq7d00vhy7
642
597
2020-11-23T17:38:56Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
nby8ek7h221akxr45dyr3rip4mbsf9w
688
642
2020-11-24T01:34:48Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
jbhnqg3co39yl9e97k2b2mr4bxnj04t
708
688
2020-11-24T02:13:51Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
sbeyunsrihhlrixej6ham540xxxfm4r
722
708
2020-11-24T02:55:18Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
7d0qn57vw0k36zpdxhh5zghttdvh9wt
747
722
2020-11-25T22:46:16Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
r6en8nfsoy6yatcl3s96at5hofw4sj5
749
747
2020-11-25T22:47:23Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
h529cyp32agsvkpfq1jnvy6hqbucgxe
770
749
2020-11-25T22:59:06Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
3622zj58fj8cqsgemm56sc25f5otn4c
967
770
2021-01-05T23:52:45Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML in [[mw:Specs/HTML/2.1.0|HTML 2.1.0 format]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
5l7a2iezunj35ahv9873aap9bj5z65f
1028
967
2021-02-11T22:59:09Z
APaskulin (WMF)
20
/* Responses */ Link to latest version of HTML spec
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page HTML. (Read the [[mw:Special:MyLanguage/Specs/HTML|HTML specification]].)
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
72o1n4nj30ril47pbhozga95033jq3r
1029
1028
2021-02-11T23:00:00Z
APaskulin (WMF)
20
/* Responses */ Consolidate sentences
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page [[mw:Special:MyLanguage/Specs/HTML|HTML]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
s1szrgrgq7obv6rxq92xlj6sggmxyxl
1121
1029
2021-05-29T12:23:51Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page [[mw:Special:MyLanguage/Specs/HTML|HTML]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
9d5z2ig179w8jinm0hc7y7uq7xk2vzb
1147
1121
2021-06-09T03:00:56Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/html}}
Returns the latest content of a wiki page in HTML. This endpoint returns content type <code>text/html</code>.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html|comment=Get the HTML version of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the HTML version of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/html'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
print(response.text)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the HTML version of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the HTML version of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Returns page [[mw:Special:MyLanguage/Specs/HTML|HTML]].
{{Response start}}
[https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/html View HTML example]
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:8}}
0zacrv4u5ns9qfe21na2bsj4vgahhz5
API reference/Core/Pages/Get languages
0
47
159
2020-09-18T23:21:00Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:9}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:9}}
27y86ycwr60zgtv5bbwalzorgvydwoq
322
159
2020-10-16T17:55:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[#Page_language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
sg9yezy2t95w3p1cn6ee7ijr2knguhz
323
322
2020-10-16T17:56:01Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[#Page_language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
fhfepl98wq80j4hwva3zbu4069x07hw
400
323
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get languages]] to [[API reference/Core/Pages/Get languages]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[#Page_language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
fhfepl98wq80j4hwva3zbu4069x07hw
422
400
2020-11-02T20:53:25Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[#Page_language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
peo0hez54skbnwtpinwxuu8rnr8z7kd
558
422
2020-11-10T23:37:35Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
iapt2znw0dkrs9puggo6dp5t63qsp1f
598
558
2020-11-20T00:24:58Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
7o9dt2nrs83b0geuu020sd9yw4ve2hy
644
598
2020-11-23T17:40:02Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
egbq0swr1lqex49eff1pp4qvpxnjlxa
689
644
2020-11-24T01:35:41Z
APaskulin (WMF)
20
/* Examples */ Add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|page languages]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
ey2hzjar5kur2wtfjr7c5vzhhojmd5r
707
689
2020-11-24T02:11:34Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
c4lyvmjlmawzhx56zvdy5ocsju5ljlr
723
707
2020-11-24T02:56:09Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
afr6fl0z1ukk1wsxx3hn8blr3zja0dy
748
723
2020-11-25T22:47:08Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
amo7wyjnkqod8ee8qsumd5tyjj046rt
771
748
2020-11-25T22:59:30Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
93xuf3mws9jf3c3rxakt9hqjkj9y2m6
968
771
2021-01-05T23:53:09Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
n7imeh5j9w4t2ieqp763z9zj6cafihq
1031
968
2021-02-11T23:06:10Z
APaskulin (WMF)
20
Remove extra space
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[#Page_language_object|page language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
pym3lrf002usp6ly1bvrj0xrx382q13
1032
1031
2021-02-11T23:14:14Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[API_reference/Core/Pages/Language_object|language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
sv9dn39egz3yhrhhggcjoap96hi0rq6
1126
1032
2021-05-29T12:26:15Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[API_reference/Core/Pages/Language_object|language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
q2c8gcejbihq08p5269aqalaeyx9qlc
1148
1126
2021-06-09T03:01:13Z
APaskulin (WMF)
20
Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/language}}
Searches for pages with the same topic in different languages.
Returns an array of [[API_reference/Core/Pages/Language_object|language objects]] that include the name of the language, the language code, and the translated page title.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language|comment=Find articles from other Wikipedias linked to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Find articles from other Wikipedias linked to the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/language'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Find articles from other Wikipedias linked to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/language';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Languages found. Returns array of [[API reference/Core/Pages/Language_object|languages]].
{{Response start}}
<syntaxhighlight lang="json">
[
{
"code": "ab",
"name": "Аҧсшәа",
"key": "Адгьыл",
"title": "Адгьыл"
},
{
"code": "ace",
"name": "Acèh",
"key": "Bumoë",
"title": "Bumoë"
},
{
"code": "ady",
"name": "адыгабзэ",
"key": "ЧIыгу",
"title": "ЧIыгу"
}
]
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:9}}
q45ep6ky9cdg4ngw7mmha2d2ha5l37h
API reference/Core/Pages/Get files
0
48
160
2020-09-18T23:21:24Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:10}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:10}}
kypatcjdovlcihcq85bf1p4cd9ehg9t
324
160
2020-10-16T17:58:53Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[#File_object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
rj8mwjdfta03iettnj9yvmh1jegcmko
399
324
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Pages/Get files]] to [[API reference/Core/Pages/Get files]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[#File_object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
rj8mwjdfta03iettnj9yvmh1jegcmko
423
399
2020-11-02T20:53:38Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[#File_object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
qq6th0u7foubej560mt0qqpfkq2bpvt
559
423
2020-11-10T23:38:59Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
s6muza7yiitz5htyvda1p4omscds7vn
599
559
2020-11-20T00:25:48Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
ew0ye44mhtuvk3dxaquapnlqjy0bv18
645
599
2020-11-23T17:40:36Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
ha0iq57fhfqw2o03wsfim22j73a8qib
690
645
2020-11-24T01:36:27Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 500 media files
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
1275z2fjo31y7fe81ip4hr8vxw61bji
705
690
2020-11-24T02:09:37Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
n9elquu54o0trllwwi8hy3xoqlq9ygy
706
705
2020-11-24T02:10:09Z
APaskulin (WMF)
20
add note about limit
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
skj1ymc2nu35yqlwijq7hti1x3q05zm
724
706
2020-11-24T02:56:47Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
2lqpyxxzmkrwmlaio5dyzogr012l7hb
757
724
2020-11-25T22:49:44Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
eqt9mqyfcife86tya641mznahd81mjf
772
757
2020-11-25T22:59:51Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
po8njp84mb7qh99kscvrkip71v7rc1r
969
772
2021-01-05T23:53:29Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
1us1jleabkgi5770v37g3dxx7uk3n8v
1123
969
2021-05-29T12:24:38Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
n0liqcd9qc068m13ye6zbovtvki5sw1
1149
1123
2021-06-09T03:01:49Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/links/media}}
Returns information about media files used on a wiki page, up to 100 files.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media|comment=Get media files used on the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get media files used on the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/links/media'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get media files used on the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get media files used on the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/links/media';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Media files found. Returns <code>files</code> object containing an array of [[API reference/Core/Media files/File object|files]].
{{Response start}}
<syntaxhighlight lang="json">
{
"files": [
{
"title": "Commons-logo.svg",
"file_description_url": "//en.wikipedia.org/wiki/File:Commons-logo.svg",
"latest": {
"timestamp": "2016-04-05T22:33:52Z",
"user": {
"id": 161142,
"name": "RHaworth"
}
},
"preferred": {
"mediatype": "DRAWING",
"size": null,
"width": 446,
"height": 599,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/446px-Commons-logo.svg.png"
},
"original": {
"mediatype": "DRAWING",
"size": 932,
"width": 1024,
"height": 1376,
"duration": null,
"url": "//upload.wikimedia.org/wikipedia/en/4/4a/Commons-logo.svg"
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Page contains more than 100 media files
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Too many media links found on title (100 allowed)"
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
mf6r12gratc8fd5gce4woyjvf1bu74r
API reference/Core/Media files/File object
0
49
161
2020-09-18T23:22:59Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
326
161
2020-10-16T18:13:14Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The file object represents a file uploaded to a wiki.
== Example ==
<syntaxhighlight lang=json>
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
| <code>title</code>
{{Required string}}
| File title
|-
| <code>file_description_url</code>
{{Required string}}
| URL for the page describing the file, including license information and other metadata
|-
| <code>latest</code>
{{Required object}}
| Object containing information about the latest revision to the file
{{Child properties start}}
{| class="wikitable properties"
|<code>timestamp</code>
{{String}}
| Last modified timestamp in [[w:ISO_8601|ISO 8601 format]] format
|-
|<code>id</code>
{{Object}}
| Object containing information about the user who uploaded the file
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| User identifier
|-
|<code>name</code>
{{String}}
| Username
|}
|}
|-
| <code>preferred</code>
{{Required object}}
| Information about the file's preferred preview format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| <code>original</code>
{{Required object}}
| Information about the file's original format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| colspan="2"|''[[#Get_file|Get file]] only:''
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the file's thumbnail format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
f9er4dolqhbcrzo4atj0vga8nirasor
394
326
2020-11-02T20:40:52Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Media files/File object]] to [[API reference/Core/Media files/File object]] without leaving a redirect
wikitext
text/x-wiki
The file object represents a file uploaded to a wiki.
== Example ==
<syntaxhighlight lang=json>
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
| <code>title</code>
{{Required string}}
| File title
|-
| <code>file_description_url</code>
{{Required string}}
| URL for the page describing the file, including license information and other metadata
|-
| <code>latest</code>
{{Required object}}
| Object containing information about the latest revision to the file
{{Child properties start}}
{| class="wikitable properties"
|<code>timestamp</code>
{{String}}
| Last modified timestamp in [[w:ISO_8601|ISO 8601 format]] format
|-
|<code>id</code>
{{Object}}
| Object containing information about the user who uploaded the file
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| User identifier
|-
|<code>name</code>
{{String}}
| Username
|}
|}
|-
| <code>preferred</code>
{{Required object}}
| Information about the file's preferred preview format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| <code>original</code>
{{Required object}}
| Information about the file's original format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| colspan="2"|''[[#Get_file|Get file]] only:''
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the file's thumbnail format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
f9er4dolqhbcrzo4atj0vga8nirasor
560
394
2020-11-10T23:40:19Z
APaskulin (WMF)
20
/* Schema */ Fix link and format
wikitext
text/x-wiki
The file object represents a file uploaded to a wiki.
== Example ==
<syntaxhighlight lang=json>
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
| <code>title</code>
{{Required string}}
| File title
|-
| <code>file_description_url</code>
{{Required string}}
| URL for the page describing the file, including license information and other metadata
|-
| <code>latest</code>
{{Required object}}
| Object containing information about the latest revision to the file
{{Child properties start}}
{| class="wikitable properties"
|<code>timestamp</code>
{{String}}
| Last modified timestamp in [[w:ISO_8601|ISO 8601 format]] format
|-
|<code>id</code>
{{Object}}
| Object containing information about the user who uploaded the file
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| User identifier
|-
|<code>name</code>
{{String}}
| Username
|}
|}
|-
| <code>preferred</code>
{{Required object}}
| Information about the file's preferred preview format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| <code>original</code>
{{Required object}}
| Information about the file's original format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Media files/Get_file|Get file]] only:''
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the file's thumbnail format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
09p9nkx58vvzbxef918nret1z9jepmk
691
560
2020-11-24T01:37:59Z
APaskulin (WMF)
20
/* Schema */ Fix typo
wikitext
text/x-wiki
The file object represents a file uploaded to a wiki.
== Example ==
<syntaxhighlight lang=json>
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
| style="width:25%"|<code>title</code>
{{Required string}}
| File title
|-
| <code>file_description_url</code>
{{Required string}}
| URL for the page describing the file, including license information and other metadata
|-
| <code>latest</code>
{{Required object}}
| Object containing information about the latest revision to the file
{{Child properties start}}
{| class="wikitable properties"
|<code>timestamp</code>
{{String}}
| Last modified timestamp in [[w:ISO_8601|ISO 8601]] format
|-
|<code>id</code>
{{Object}}
| Object containing information about the user who uploaded the file
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| User identifier
|-
|<code>name</code>
{{String}}
| Username
|}
|}
|-
| <code>preferred</code>
{{Required object}}
| Information about the file's preferred preview format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| <code>original</code>
{{Required object}}
| Information about the file's original format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Media files/Get_file|Get file]] only:''
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the file's thumbnail format.
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
3j68yox0bekcvmiyvpfmhlbms5xfv9d
1037
691
2021-02-11T23:34:02Z
APaskulin (WMF)
20
/* Schema */ Typo fix
wikitext
text/x-wiki
The file object represents a file uploaded to a wiki.
== Example ==
<syntaxhighlight lang=json>
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
| style="width:25%"|<code>title</code>
{{Required string}}
| File title
|-
| <code>file_description_url</code>
{{Required string}}
| URL for the page describing the file, including license information and other metadata
|-
| <code>latest</code>
{{Required object}}
| Object containing information about the latest revision to the file
{{Child properties start}}
{| class="wikitable properties"
|<code>timestamp</code>
{{String}}
| Last modified timestamp in [[w:ISO_8601|ISO 8601]] format
|-
|<code>id</code>
{{Object}}
| Object containing information about the user who uploaded the file
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| User identifier
|-
|<code>name</code>
{{String}}
| Username
|}
|}
|-
| <code>preferred</code>
{{Required object}}
| Information about the file's preferred preview format
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| <code>original</code>
{{Required object}}
| Information about the file's original format
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|-
| colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Media files/Get_file|Get file]] only:''
|-
|<code>thumbnail</code>
{{Required object}}
| Information about the file's thumbnail format
{{Child properties start}}
{| class="wikitable properties"
|<code>mediatype</code>
{{String}}
| File type, one of: BITMAP, DRAWING, AUDIO, VIDEO, MULTIMEDIA, UNKNOWN, OFFICE, TEXT, EXECUTABLE, ARCHIVE, or 3D
|-
|<code>size</code>
{{Integer}}
| File size in bytes or <code>null</code> if not available
|-
|<code>width</code>
{{Integer}}
| Maximum recommended image width in pixels or <code>null</code> if not available
|-
|<code>height</code>
{{Integer}}
| Maximum recommended image height in pixels or <code>null</code> if not available
|-
|<code>duration</code>
{{Integer}}
| Length of the video, audio, or multimedia file or <code>null</code> for other media types
|-
|<code>url</code>
{{String}}
| URL to download the file
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
4tsm5wpfw8e5xlaqwdawle80z6p8fa1
API reference/Core/Media files/Get file
0
50
162
2020-09-18T23:23:11Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
327
162
2020-10-16T19:47:22Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[#File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
jyq2xhvczeds5ys4godu0y8gxwg4wqz
395
327
2020-11-02T20:40:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/Media files/Get file]] to [[API reference/Core/Media files/Get file]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[#File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
jyq2xhvczeds5ys4godu0y8gxwg4wqz
424
395
2020-11-02T20:54:05Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[#File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
0zteh1crkl8xyheqfekyl3pn6f07god
561
424
2020-11-10T23:40:43Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
el8x5nwjnrmm1abefru4ylt7cmsqxql
600
561
2020-11-20T00:27:09Z
APaskulin (WMF)
20
Add curl example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get File:The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
1icfcbaek8cu9a7qoafrj1jkcf4mmkx
646
600
2020-11-23T17:41:07Z
APaskulin (WMF)
20
/* Examples */ Add python example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
586yjeh4bhh505v7dq7anqyg8jmlunc
692
646
2020-11-24T01:39:04Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
dxj9rric2avu7zkobhni931ccdhis11
703
692
2020-11-24T02:06:27Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
8nqu9u0y1330nbr9m4d7l8eex7jz8zh
704
703
2020-11-24T02:06:42Z
APaskulin (WMF)
20
/* Responses */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
l447883afst37jtu91al3t0eze0rf61
725
704
2020-11-24T02:58:05Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
epp95e7uhxa45g1rty191kehg5upc5n
758
725
2020-11-25T22:50:13Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
let response = await fetch( 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
st3hoq4szpi4zz0i1qaazz6hr54mq85
773
758
2020-11-25T23:00:18Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
let url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
haqpvpr4lp07qcew7ip5dzlxiot78dd
973
773
2021-01-05T23:54:30Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
let url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
iojvjw4wtcfb2a1he4ys8jwui7c8f3x
1118
973
2021-05-29T12:22:45Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
let url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
b9ayoo66o3yftyqqq1om5ugm2eeopzf
1153
1118
2021-06-09T03:02:52Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/file/{title} }}
Returns information about a file, including links to download the file in thumbnail, preview, and original formats.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg|comment=Get the file The_Blue_Marble.jpg on Wikimedia Commons}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the file The_Blue_Marble.jpg on Wikimedia Commons
import requests
file = 'File:The_Blue_Marble.jpg'
url = 'https://api.wikimedia.org/core/v1/commons/file/' + file
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
$url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the file The_Blue_Marble.jpg on Wikimedia Commons
let url = 'https://api.wikimedia.org/core/v1/commons/file/File:The_Blue_Marble.jpg';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| File title
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: file found. Returns a [[API reference/Core/Media files/File_object|file]].
{{Response start}}
<syntaxhighlight lang="json">
{
"title": "The Blue Marble.jpg",
"file_description_url": "//commons.wikimedia.org/wiki/File:The_Blue_Marble.jpg",
"latest": {
"timestamp": "2011-12-07T05:11:41Z",
"user": {
"id": 811185,
"name": "Ultimate Roadgeek"
}
},
"preferred": {
"mediatype": "BITMAP",
"size": null,
"width": 599,
"height": 599,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/599px-The_Blue_Marble.jpg"
},
"original": {
"mediatype": "BITMAP",
"size": 7011595,
"width": 3000,
"height": 3002,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg"
},
"thumbnail": {
"mediatype": "BITMAP",
"size": null,
"width": 1023,
"height": 1024,
"duration": null,
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/The_Blue_Marble.jpg/1023px-The_Blue_Marble.jpg"
}
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: File not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:2}}
tt9mzlmob0ievp9ij9oymijol99qhlk
API reference/Core/Revisions/Revision object
0
51
163
2020-09-18T23:23:51Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
328
163
2020-10-16T20:04:46Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2"|''[[#Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|}
__NOTOC__
{{DEFAULTSORT:1}}
3yqc8d33iitd32a7zp5kvsb6zvabhr0
329
328
2020-10-16T20:06:17Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2"|''[[#Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
getxyagzyzy01v50fb2d7mg8zucmn1g
331
329
2020-10-16T21:28:38Z
APaskulin (WMF)
20
/* Schema */
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[#Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o4ojyq96ju4ta2ujj9dzevw7jhx4d5b
392
331
2020-11-02T20:40:52Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History/Revision object]] to [[API reference/Core/History/Revision object]] without leaving a redirect
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[#Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o4ojyq96ju4ta2ujj9dzevw7jhx4d5b
562
392
2020-11-10T23:41:25Z
APaskulin (WMF)
20
/* Schema */ Fix link
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/History/Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o9k2clmndaldelntlmumfq3l6tiy1e3
654
562
2020-11-23T21:39:39Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History/Revision object]] to [[API reference/Core/Revisions/Revision object]] without leaving a redirect
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Help:Minor_edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/History/Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
o9k2clmndaldelntlmumfq3l6tiy1e3
1004
654
2021-02-09T16:40:34Z
Ameisenigel
14
MyLanguage
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user that made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username. For anonymous users, the <code>name</code> contains the originating IP address.
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Special:MyLanguage/Help:Minor edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/History/Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
1gill6drheqmh9clj02oex2enz07hvd
1039
1004
2021-02-11T23:41:03Z
APaskulin (WMF)
20
/* Schema */ Typo fix
wikitext
text/x-wiki
The revision object represents a change to a wiki page.
== Example ==
<syntaxhighlight lang=json>
{
"id": 931281281,
"page": {
"id": 38930,
"title": "Jupiter"
},
"size": 126009,
"minor": false,
"timestamp": "2019-12-18T01:39:24Z",
"user": {
"id": 27015025,
"name": "InternetArchiveBot"
},
"comment": "Bluelinking 2 books for [[WP:V|verifiability]].) #IABot (v2.1alpha3",
"delta": 231
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>id</code>
{{Required integer}}
| Revision identifier
|-
| <code>user</code>
{{Required object}}
| Object containing information about the user who made the edit
{{Child properties start}}
{| class="wikitable properties"
|<code>name</code>
{{String}}
| Username, or originating IP address for anonymous users
|-
|<code>id</code>
{{Integer}}
| User identifier, or <code>null</code> for anonymous users
|}
|-
| <code>timestamp</code>
{{Required string}}
| Time of the edit in [[w:ISO 8601|ISO 8601]] format
|-
| <code>comment</code>
{{Required string}}
| Comment or edit summary written by the editor. For revisions without a comment, the API returns <code>null</code> or <code>""</code>.
|-
| <code>size</code>
{{Required integer}}
| Size of the revision in bytes
|-
| <code>delta</code>
{{Required integer}}
| Number of bytes changed, positive or negative, between a revision and the preceding revision (example: <code>-20</code>). If the preceding revision is unavailable, the API returns <code>null</code>.
|-
| <code>minor</code>
{{Required boolean}}
| Set to true for edits marked as [[m:Special:MyLanguage/Help:Minor edit|minor]]
|-
|colspan="2" style="padding:0.2rem 0.8rem;"|''[[API reference/Core/Revisions/Get_revision|Get revision]] only:''
|-
|<code>page</code>
{{Required object}}
| Object containing information about the page
{{Child properties start}}
{| class="wikitable properties"
|<code>page_id</code>
{{Integer}}
| Page identifier
|-
|<code>title</code>
{{String}}
| Page title in reading-friendly format
|}
|}
__NOTOC__
{{DEFAULTSORT:1}}
k8km7cb95ie7pj6kmu86dzeizax5n9m
API reference/Core/Revisions/Get page history
0
52
164
2020-09-18T23:25:28Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
332
164
2020-10-16T21:36:58Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|- style="vertical-align:top;"
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found. Returns a [[#Response_schema|page history segment]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[#Revision_object|revision objects]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
2oifuoslorktq4hazh67r0nun2u84m1
345
332
2020-10-16T22:21:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found. Returns a [[#Response_schema|page history segment]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[#Revision_object|revision objects]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
btjpyuwesg1e9q450v3llxu7ea54q8e
389
345
2020-11-02T20:40:51Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History/Get page history]] to [[API reference/Core/History/Get page history]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found. Returns a [[#Response_schema|page history segment]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[#Revision_object|revision objects]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
btjpyuwesg1e9q450v3llxu7ea54q8e
425
389
2020-11-02T20:54:24Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found. Returns a [[#Response_schema|page history segment]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[#Revision_object|revision objects]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
0n1j6qveze97sk8ue9zzhtb52zvdafr
563
425
2020-11-10T23:42:26Z
APaskulin (WMF)
20
/* Responses */ Remove link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[#Revision_object|revision objects]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
899igrzde2z0zwm6e7ixwxkqlz4mkqm
564
563
2020-11-10T23:42:49Z
APaskulin (WMF)
20
/* Response schema */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/History/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
s1vf4zlizjw62cxm24hz4zhf1v10ltd
632
564
2020-11-23T17:31:46Z
APaskulin (WMF)
20
/* Examples */ Add curl and python examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/History/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
mwvlqzcztw15k4tnk4jwqbm5rr8dfz6
651
632
2020-11-23T21:39:38Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History/Get page history]] to [[API reference/Core/Revisions/Get page history]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/History/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
mwvlqzcztw15k4tnk4jwqbm5rr8dfz6
693
651
2020-11-24T01:44:38Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = "Earth";
$params = array("filter" => "bot", "older_than" => "939967546");
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/commons/page/" . $page . "/history";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/History/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
tjst1off7ds9d81wjvvekaox0dligcx
695
693
2020-11-24T01:47:33Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = "Earth";
$params = array("filter" => "bot", "older_than" => "939967546");
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/page/" . $page . "/history";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/History/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
a8lycl9qj6pdluovndn7tt1t24nvouo
696
695
2020-11-24T01:47:58Z
APaskulin (WMF)
20
/* Response schema */ fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = "Earth";
$params = array("filter" => "bot", "older_than" => "939967546");
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/page/" . $page . "/history";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
qte8ps1ehgek124d0ehrx8kmjlwkhef
702
696
2020-11-24T02:05:27Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = "Earth";
$params = array("filter" => "bot", "older_than" => "939967546");
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/page/" . $page . "/history";
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
i4d2jr61adhetfbyf0v7sj80n22w5zi
714
702
2020-11-24T02:40:25Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
sddsl9gscmd754ljzb0gssbe60xpntz
726
714
2020-11-24T02:59:04Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
1nqwxqv9a4lq5h2305udkvjc1f28tt1
759
726
2020-11-25T22:51:08Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
nqsdjyesdvlmpgixviidvzu9tvvha43
774
759
2020-11-25T23:00:41Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
d8kqls1lgj32tio6plrm9wvr3uy6lq7
974
774
2021-01-05T23:54:50Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Filter that returns only revisions with certain tags, one of:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
The API supports one filter per request.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
na8fydn3wdtr1xx49rkif4b789ujbdn
1040
974
2021-02-11T23:45:51Z
APaskulin (WMF)
20
/* Parameters */ Adjust language for clarity
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Use a filter to return only revisions tagged as:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
i89fylp4ninlo9i1yp16akhldktcq7r
1041
1040
2021-02-11T23:50:07Z
APaskulin (WMF)
20
/* Parameters */ Remove extra margin
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Use a filter to return only revisions tagged as:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
<p style="margin:0;">This endpoint supports one <code>filter</code> per request.</p>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
rbn4vho49ua3my30ylpr005r457g2ko
1134
1041
2021-05-29T12:30:45Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Use a filter to return only revisions tagged as:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
<p style="margin:0;">This endpoint supports one <code>filter</code> per request.</p>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
iy2su54g2x51hprnrd9uamuijrt9o5d
1154
1134
2021-06-09T03:03:12Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history}}
Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments, letting you scroll through page history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172|comment=Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history'
filter_type = 'bot'
older_than = 981126172
parameters = {'filter': filter_type, 'older_than': older_than}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
$page = 'Earth';
$params = array('filter' => 'bot', 'older_than' => '939967546');
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history';
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get revisions to the Earth article on English Wikipedia made by bots prior to revision 981126172
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history?filter=bot&older_than=981126172';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>older_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions older than the given revision ID.
|-
| <code>newer_than</code>
{{Optional query}}
| Accepts a revision ID. Returns the next 20 revisions newer than the given revision ID.
|-
| <code>filter</code>
{{Optional query}}
| Use a filter to return only revisions tagged as:
* <code>reverted</code>: Returns only revisions that revert an earlier edit
* <code>anonymous</code>: Returns only revisions made by anonymous users
* <code>bot</code>: Returns only revisions made by bots
* <code>minor</code>: Returns only revisions marked as [[m:Help:Minor_edit|minor]] edits
<p style="margin:0;">This endpoint supports one <code>filter</code> per request.</p>
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found.
{{Response start}}
<syntaxhighlight lang="json">
{
"revisions": [
{
"id": 980777318,
"timestamp": "2020-09-28T11:33:07Z",
"minor": false,
"size": 171755,
"comment": "Alter: title, url. URLs might have been internationalized/anonymized. Add: s2cid, pmid, doi-broken-date, pages, author pars. 1-1. Removed parameters. Formatted [[WP:ENDASH|dashes]]. Some additions/deletions were actually parameter name changes. | You can [[WP:UCB|use this bot]] yourself. [[WP:DBUG|Report bugs here]]. | Suggested by Abductive | All pages linked from cached copy of Black_Sea | via #UCB_webform_linked",
"user": {
"id": 7903804,
"name": "Citation bot"
},
"delta": 194
}
],
"latest": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot",
"older": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&older_than=911020152",
"newer": "https://en.wikipedia.org/w/rest.php/v1/page/Earth/history?filter=bot&newer_than=980777318"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision identifier must be greater than 0
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Revision id must be greater than 0"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Parameters <code>older_than</code> and <code>newer_than</code> cannot both be specified
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "Parameters \"older_than\" and \"newer_than\" cannot both be specified"
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>latest</code>
{{Required string}}
| API route to get the latest revisions
|-
| <code>older</code>
{{Optional string}}
| If available, API route to get the prior revisions
|-
| <code>newer</code>
{{Optional string}}
| If available, API route to get the following revisions
|-
| <code>revisions</code>
{{Required array}}
| Array of 0-20 [[API reference/Core/Revisions/Revision_object|revisions]]
|}
__NOTOC__
{{DEFAULTSORT:2}}
abyz6o8q09hye59xx6qfw5f9f2gzbjq
API reference/Core/Revisions/Get revision stats
0
53
165
2020-09-18T23:28:19Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
335
165
2020-10-16T21:50:58Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
k6yu2j4vn92fr7yosscarklcg9nelgk
339
335
2020-10-16T22:17:52Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|- style="vertical-align:top;"
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
ic9c2x2ltr7fvw8hjt6tb49v1rsz4eh
344
339
2020-10-16T22:21:32Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
k6yu2j4vn92fr7yosscarklcg9nelgk
391
344
2020-11-02T20:40:52Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History/Get revision stats]] to [[API reference/Core/History/Get revision stats]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
k6yu2j4vn92fr7yosscarklcg9nelgk
426
391
2020-11-02T20:54:32Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
fx0mc0cbx631fesr9gj1nvciotx5ccj
633
426
2020-11-23T17:33:46Z
APaskulin (WMF)
20
/* Examples */ Add curl and python examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
6xwnfpo7mpit509i36zgxo8lubi92kr
653
633
2020-11-23T21:39:39Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History/Get revision stats]] to [[API reference/Core/Revisions/Get revision stats]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
6xwnfpo7mpit509i36zgxo8lubi92kr
694
653
2020-11-24T01:46:53Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = "Earth";
$count_type = "edits";
$params = array("from" => 986561235, "to" => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/page/" . $page . "/history/counts/" . $count_type;
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
oaw0tky1o36v93ljnncsqzq5yx84yek
701
694
2020-11-24T02:02:39Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = "Earth";
$count_type = "edits";
$params = array("from" => 986561235, "to" => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = "https://api.wikimedia.org/core/v1/wikipedia/en/page/" . $page . "/history/counts/" . $count_type;
$url = $endpoint . "?" . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
pu1av5vxhjkqybcqr8hoeni834l7eth
715
701
2020-11-24T02:41:45Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
n1trfsfiknlgcrs1hsykle8ldmiqn9e
727
715
2020-11-24T02:59:47Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
cb8pz0gstz0qyarp0x9pupmr3cw7ro2
760
727
2020-11-25T22:51:45Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
es54uw5nw3ugl90221ekxhab3tpra4e
775
760
2020-11-25T23:01:06Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
pg4iffc7cv7t9228isyj2c9zoi93po3
975
775
2021-01-05T23:55:06Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
dsrkce925eay0jj1c7t6lnj7p4g4av8
1132
975
2021-05-29T12:29:52Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
1r0yy2cj1wagjzwc9nr3qmfa0p0p7va
1155
1132
2021-06-09T03:03:28Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/history/counts/{type} }}
Returns data about a page's history.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000|comment=Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/history/counts/edits'
from_revision = 986561235
to_revision = 985158000
parameters = {'from': from_revision, 'to': to_revision}
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
$page = 'Earth';
$count_type = 'edits';
$params = array('from' => 986561235, 'to' => 985158000);
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' . $page . '/history/counts/' . $count_type;
$url = $endpoint . '?' . http_build_query($params);
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get the number of edits made to the Earth article on English Wikipedia between revisions 986561235 and 985158000
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/history/counts/edits?from=986561235&to=985158000';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| <code>type</code>
{{Required path}}
| Type of count, one of:
* <code>anonymous</code>: Edits made by anonymous users. Limit: 10,000
* <code>bot</code>: Edits made by bots. Limit: 10,000
* <code>editors</code>: Users or bots that have edited a page. Limit: 25,000
* <code>edits</code>: Any change to page content. Limit: 30,000
* <code>minor</code>: Edits marked as [[m:Help:Minor_edit|minor]]. If the minor edit count exceeds 2,000, the API returns a 500 error. Limit: 1,000
* <code>reverted</code>: Edits that revert an earlier edit. Limit: 30,000
|-
| colspan="2" style="padding:0.2rem 0.8rem;"| ''For <code style="font-weight: 400;">edits</code> and <code style="font-weight: 400;">editors</code> types only:''
|-
| <code>from</code>
{{Optional query}}
| rowspan="2"|Restricts the count to between two revisions, specified by revision ID. The <code>from</code> and <code>to</code> query parameters must be used as a pair. The result excludes the edits or editors represented by the <code>from</code> and <code>to</code> revisions.
|-
| <code>to</code>
{{Optional query}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success
{{Response start}}
<syntaxhighlight lang="json">
{
"count": 99,
"limit": false
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid parameter or combination of parameters
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified combination of parameters is not supported."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title or revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|-
!500
| Error: Minor edit count exceeds 2000
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title contains too many revisions to retrieve this count."
},
"httpCode": 500,
"httpReason": "Internal Server Error"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>count</code>
{{Required integer}}
| The value of the data point up to the type's limit. If the value exceeds the limit, the API returns the limit as the value of <code>count</code> and sets the <code>limit</code> property to true.
|-
| <code>limit</code>
{{Required boolean}}
| Returns true if the data point exceeds the type's limit.
|}
__NOTOC__
{{DEFAULTSORT:3}}
1gu1x6fk7c64m367zidddjbae1se6uz
API reference/Core/Revisions/Get revision
0
54
166
2020-09-18T23:28:55Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:4}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
336
166
2020-10-16T21:54:05Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[#Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
cog6nm7atmdiue43yyg4cgj4j63y25b
390
336
2020-11-02T20:40:51Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History/Get revision]] to [[API reference/Core/History/Get revision]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[#Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
cog6nm7atmdiue43yyg4cgj4j63y25b
427
390
2020-11-02T20:54:40Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[#Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
9965xd77ivzs6k73ijfqmrb0pj5jhvq
565
427
2020-11-10T23:43:16Z
APaskulin (WMF)
20
/* Responses */ Fix link
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/History/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
9hi31vzyurw12afbqye9nvi2nk0989u
634
565
2020-11-23T17:34:44Z
APaskulin (WMF)
20
/* Examples */ Add curl and python examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/History/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
sbqnw29b21zmx9jo6wygv79zuihhcis
652
634
2020-11-23T21:39:38Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History/Get revision]] to [[API reference/Core/Revisions/Get revision]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/History/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
sbqnw29b21zmx9jo6wygv79zuihhcis
697
652
2020-11-24T01:50:49Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . "/bare";
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/History/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
09wf094wbtzxo1u38bg4jmwh248hw09
700
697
2020-11-24T01:59:53Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . "/bare";
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
4ov5a7lhxyocj5ulh7y9l5ja254wgwa
716
700
2020-11-24T02:42:11Z
APaskulin (WMF)
20
/* Examples */ fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
h8g4jg8648pgtuekclshoq0zp83krqh
728
716
2020-11-24T03:00:25Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
jhox72yxgh13048futc49npn9n6ej92
761
728
2020-11-25T22:52:28Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
kulntug3e9ioap78tp7jhc4navte5z8
776
761
2020-11-25T23:01:29Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
fzkcyik89hah3jutqn7pscp6qggs4xo
976
776
2021-01-05T23:55:23Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
s9ic9c6f4edz67285o3xfb52lknvujt
1119
976
2021-05-29T12:23:06Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
2kz48unibpspymsnynezaf9esl3axom
1156
1119
2021-06-09T03:03:44Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{id}/bare}}
Returns details for an individual revision.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare|comment=Get information about revision 983392678 to the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get information about revision 983392678 to the Earth article on English Wikipedia
import requests
revision_id = '983392678'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + revision_id + '/bare'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get information about revision 983392678 to the Earth article on English Wikipedia
$revision = '983392678';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$endpoint = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $revision . '/bare';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get information about revision 983392678 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/983392678/bare';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>id</code>
{{Required path}}
| Revision identifier
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revision found. Returns a [[API reference/Core/Revisions/Revision_object|revision]].
{{Response start}}
<syntaxhighlight lang="json">
{
"id": 983392678,
"page": {
"id": 9228,
"title": "Earth"
},
"size": 174533,
"minor": true,
"timestamp": "2020-10-14T00:23:50Z",
"user": {
"id": 28903366,
"name": "Bender the Bot"
},
"comment": "/* References */HTTP → HTTPS for [[Wayback Machine]], replaced: http://web.archive.org/ → https://web.archive.org/",
"delta": 1
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revision does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
11houtz7vx9cfupm095q798xhm2g4x7
API reference/Core/Revisions/Compare revisions
0
55
167
2020-09-18T23:29:08Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:5}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:5}}
kxvbaoo5ubaneyrh9e4ekg064yb4ej5
337
167
2020-10-16T22:15:31Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to}}}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
3qhhj1kj213rrnozpkpqaawjf12zn3c
340
337
2020-10-16T22:19:32Z
APaskulin (WMF)
20
/* Response schema */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to}}}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|- style="vertical-align:top;"
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|- style="vertical-align:top;"
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
j82hkgyp74oqa62kr3b253bgym9u9jw
342
340
2020-10-16T22:20:26Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|- style="vertical-align:top;"
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|- style="vertical-align:top;"
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
9xr0abidbpc25lidw1d5j6niyxi8jo0
343
342
2020-10-16T22:21:13Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
t4iq3g7wj2o9da2pievmb1vuu44t43q
388
343
2020-11-02T20:40:51Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core API/History/Compare revisions]] to [[API reference/Core/History/Compare revisions]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
t4iq3g7wj2o9da2pievmb1vuu44t43q
428
388
2020-11-02T20:54:49Z
APaskulin (WMF)
20
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
3hw32gtree24ggl1dso6n8z0ehko85g
638
428
2020-11-23T17:36:33Z
APaskulin (WMF)
20
/* Examples */ Add curl and python eaxmples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
tjhmwfo70v21ifx2ws5w8b4e4e44i7w
650
638
2020-11-23T21:39:38Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/History/Compare revisions]] to [[API reference/Core/Revisions/Compare revisions]] without leaving a redirect
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
tjhmwfo70v21ifx2ws5w8b4e4e44i7w
698
650
2020-11-24T01:52:51Z
APaskulin (WMF)
20
/* Examples */ add php
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Invalid content type
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!403
| Error: Revision not publicly accessible
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
1aw2qcuwm93a1stfd0pimbtdl6c6h5i
699
698
2020-11-24T01:56:36Z
APaskulin (WMF)
20
/* Responses */ add examples
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
6jwezqbny34hg0vj5wpgy5uqfvk7mqn
729
699
2020-11-24T03:01:07Z
APaskulin (WMF)
20
/* Examples */ add js
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
async function doFetch() {
const response = await fetch(
'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
);
const data = await response.json();
return data;
}
async function fetchAsync()
{
try {
let result = await doFetch();
console.log( result );
} catch( err ) {
console.error( err.message );
}
}
fetchAsync();
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
d0ozp8p0wu1mp5ljfmcmhftbsg3waq2
762
729
2020-11-25T22:53:02Z
APaskulin (WMF)
20
/* Examples */ shorten js example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
let response = await fetch( 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941',
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
d57g7cq9wbr98pejqkl8wma86cqgkds
777
762
2020-11-25T23:01:58Z
APaskulin (WMF)
20
/* Examples */ fix variable
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
28v2gtoql570tmscbp0p6zw19pg136d
977
777
2021-01-05T23:55:38Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
goloyqz17o6i8946htm7xlteq9mj4of
1124
977
2021-05-29T12:25:16Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
r9s8szw30p3w0l0ygvtw1g1wba2sav0
1157
1124
2021-06-09T03:04:00Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/revision/{from}/compare/{to} }}
Returns data that lets you display a line-by-line comparison of two revisions.
(See [https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=388864&oldid=388863&title=Main_Page&type=revision an example].)
Only text-based wiki pages can be compared.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941|comment=Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
import requests
from_revision = '847170467'
to_revision = '851733941'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' + from_revision + '/compare/' + to_revision
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
$from = '847170467';
$to = '851733941';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/' . $from . '/compare/' . $to;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Compare revisions 847170467 and 851733941 to the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/revision/847170467/compare/851733941';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>from</code>
{{Required path}}
| Revision identifier to use as the base for comparison
|-
| <code>to</code>
{{Required path}}
| Revision identifier to compare to the base
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Revisions found
{{Response start}}
<syntaxhighlight lang="json">
{
"from": {
"id": 847170467,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 15634
},
{
"level": 2,
"heading": "==References==",
"offset": 15985
},
{
"level": 2,
"heading": "==External links==",
"offset": 16018
}
]
},
"to": {
"id": 851733941,
"slot_role": "main",
"sections": [
{
"level": 2,
"heading": "==Description==",
"offset": 3006
},
{
"level": 2,
"heading": "==Taxonomy==",
"offset": 4324
},
{
"level": 3,
"heading": "===Family placement===",
"offset": 4643
},
{
"level": 3,
"heading": "===Species===",
"offset": 9513
},
{
"level": 2,
"heading": "==Cultivation==",
"offset": 12089
},
{
"level": 2,
"heading": "==Allergenic potential==",
"offset": 16157
},
{
"level": 2,
"heading": "==References==",
"offset": 16508
},
{
"level": 2,
"heading": "==External links==",
"offset": 16541
}
]
},
"diff": [
{
"type": 0,
"lineNumber": 95,
"text": "",
"offset": {
"from": 14692,
"to": 14692
}
},
{
"type": 0,
"lineNumber": 96,
"text": "Though ''Neuranethes spodopterodes'' is invasive in the regions where it has emerged as a pest, it is not an exotic invader, but a [[Species translocation|translocated species]], having been imported inadvertently from its natural range in more northerly regions of the country. In its original range the moth is not of horticultural importance, being controlled by natural enemies that as yet have neither been identified nor imported along with the host plants. In contrast the ''Agapanthus'' borer is of considerable concern in the South West, and its voracity is so impressive that the species shows promise as a possible control for invasive ''Agapanthus praecox'' in countries like New Zealand.<ref>M.D. Picker and M. Krüger. Spread and Impacts of the Agapanthus Borer (Neuranethes spodopterodes (Hampson, 1908), comb. nov.), a Translocated Native Moth Species (Lepidoptera: Noctuidae). African Entomology 2013 21 (1), 172-176</ref>",
"offset": {
"from": 14693,
"to": 14693
}
},
{
"type": 1,
"lineNumber": 97,
"text": "",
"offset": {
"from": null,
"to": 15633
}
},
{
"type": 1,
"lineNumber": 98,
"text": "In 2016, a new species of [[Cecidomyiidae|gall midge]], ''[[Enigmadiplosis agapanthi]]'', was described damaging Agapanthus in the [[United Kingdom]].<ref>{{cite journal| last1 =Harris | first1 =KM | last2 =Salisbury |first2=A| last3=Jones |first3=H | title =''Enigmadiplosis agapanthi'', a new genus and species of gall midge (Diptera, Cecidomyiidae) damaging Agapanthus flowers in England. | journal =Cecidology | volume =31 | issue = | pages =17-20 | publisher =British Gall Society | location = | date =2016 }} </ref>",
"offset": {
"from": null,
"to": 15634
}
},
{
"type": 0,
"lineNumber": 99,
"text": "",
"offset": {
"from": 15633,
"to": 16156
}
},
{
"type": 0,
"lineNumber": 100,
"text": "==Allergenic potential==",
"offset": {
"from": 15634,
"to": 16157
}
}
]
}
</syntaxhighlight>
{{Response end}}
|-
!400
| Error: Revision IDs are for different pages or for pages that can't be compared
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified revisions belong to different pages; refusing to compare them."
},
"httpCode": 400,
"httpReason": "Bad Request"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Revision not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The revision specified by the to parameter does not exist."
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
== Response schema ==
{| class="wikitable properties"
|<code>from</code>
{{Required object}}
| Information about the base revision used in the comparison
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>to</code>
{{Required object}}
| Information about the revision being compared to the base revision
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Revision identifier
|-
|<code>slot_role</code>
{{String}}
| Area of the page being compared, usually <code>main</code>
|-
|<code>sections</code>
{{Array}}
| Array of objects representing section headings
{{Child properties start}}
{| class="wikitable properties"
|<code>level</code>
{{Integer}}
| Heading level, 1 through 4
|-
|<code>heading</code>
{{String}}
| Text of the heading line, in wikitext
|-
|<code>offset</code>
{{Integer}}
|Location of the heading, in bytes from the beginning of the page
|}
|}
|-
| <code>diff</code>
{{Required array}}
| Each object in the <code>diff</code> array represents a line in a visual, line-by-line comparison between the two revisions.
{{Child properties start}}
{| class="wikitable properties"
|-
|<code>type</code>
{{Integer}}
| The type of change represented by the diff object, either:
* <code>0</code>: A line with the same content in both revisions, included to provide context when viewing the diff. The API returns up to two context lines around each change.
* <code>1</code>: A line included in the <code>to</code> revision but not in the <code>from</code> revision.
* <code>2</code>: A line included in the <code>from</code> revision but not in the <code>to</code> revision.
* <code>3</code>: A line containing text that differs between the two revisions. (For changes to paragraph location as well as content, see type 5.)
* <code>4</code>: When a paragraph's location differs between the two revisions, a type 4 object represents the location in the <code>from</code> revision.
* <code>5</code>: When a paragraph's location differs between the two revisions, a type 5 object represents the location in the <code>to</code> revision. This type can also include word-level differences between the two revisions.
|-
|<code>lineNumber</code>
{{Integer}}
| The line number of the change based on the <code>to</code> revision.
|-
|<code>text</code>
{{String}}
| The text of the line, including content from both revisions. For a line containing text that differs between the two revisions, you can use <code>highlightRanges</code> to visually indicate added and removed text. For a line containing a new line, the API returns the text as <code>""</code> (empty string).
|-
|<code>highlightRanges</code>
{{Array}}
| An array of objects that indicate where and in what style text should be highlighted to visually represent changes.
Each object includes:
{{Child properties start}}
{| class="wikitable properties"
|<code>start</code>
{{Integer}}
| Where the highlighted text should start, in the number of bytes from the beginning of the line
|-
|<code>length</code>
{{Integer}}
| Length of the highlighted section, in bytes
|-
|<code>type</code>
{{Integer}}
| Type of highlight:
* <code>0</code> indicates an addition.
* <code>1</code> indicates a deletion.
|}
|-
|<code>moveInfo</code>
{{Object}}
|Visual indicators to use when a paragraph's location differs between the two revisions. <code>moveInfo</code> objects occur in pairs within the diff.
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{String}}
| Identifier of the paragraph described by the diff object
|-
|<code>linkId</code>
{{String}}
| Identifier of the corresponding paragraph
* For type 4 diff objects, <code>linkId</code> represents the location in the <code>to</code> revision.
* For type 5 diff objects, <code>linkId</code> represents the location in the <code>from</code> revision.
|-
|<code>linkDirection</code>
{{Integer}}
| A visual indicator of the relationship between the two locations. You can use this property to display an arrow icon within the diff.
* <code>0</code> indicates that the <code>linkId</code> paragraph is lower on the page than the <code>id</code> paragraph.
* <code>1</code> indicates that the <code>linkId</code> paragraph is higher on the page than the <code>id</code> paragraph.
|}
|-
|<code>offset</code>
{{Object}}
| Location of the line in bytes from the beginning of the page
{{Child properties start}}
{| class="wikitable properties"
|<code>from</code>
{{Integer}}
| The first byte of the line in the <code>from</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>from</code> revision.
|-
|<code>to</code>
{{Integer}}
| The first byte of the line in the <code>to</code> revision. A <code>null</code> value indicates that the line doesn't exist in the <code>to</code> revision.
|}
|}
|}
__NOTOC__
{{DEFAULTSORT:5}}
083jlc8s5ve0zxfho4i5ry3niauryue
Documentation
0
57
201
2020-10-07T00:07:56Z
APaskulin (WMF)
20
Created page with "__NOTOC__"
wikitext
text/x-wiki
__NOTOC__
kql9fyxoa5yczcpxajv4ee65vgow5eh
479
201
2020-11-05T20:35:39Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikipedia articles</h3>
Search Wikipedia for articles in over 300 languages.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</span>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Search Wikipedia</h5>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Featured content</h5>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Daily featured article|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Images and media files</h5>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Projects and languages</h5>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Reusing free content</h5>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Rate limits</h5>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Managing clients</h5>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Authentication</h5>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Log in with Wikimedia</h5>
<p class="card-text" style="font-size: 14px;">Allow users to authorize your app through their Wikimedia account.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Log in with Wikimedia|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Stability policy</h5>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Security</h5>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<h5 class="card-title">Bots and tools</h5>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Bots and tools|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
n3xstao4kiavox0pl9rugo0blzo0jk7
488
479
2020-11-06T21:01:17Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikipedia articles</h3>
Search for encyclopedia articles in over 300 languages.
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Daily featured article|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing clients</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authorization</p>
<p class="card-text" style="font-size: 14px;">Allow users to authorize your app through their Wikimedia account.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authorization|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Bots and tools|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
mfj2yj0yryq9iczwbdrinm12fq8w4et
580
488
2020-11-16T20:45:48Z
APaskulin (WMF)
20
Change intro header
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikimedia API documentation</h3>
Open access to free knowledge in over 300 languages
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{#invoke:Clickable button 2|main| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Daily featured article|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing clients</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authorization</p>
<p class="card-text" style="font-size: 14px;">Allow users to authorize your app through their Wikimedia account.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authorization|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Bots and tools|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
61hf3dcyhu8a1vd38xdbjae4ujj68uz
786
580
2020-12-07T22:02:01Z
DannyS712
72
Use {{Clickable button 2}} template instead of the module directly
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikimedia API documentation</h3>
Open access to free knowledge in over 300 languages
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Daily featured article|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing clients</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authorization</p>
<p class="card-text" style="font-size: 14px;">Allow users to authorize your app through their Wikimedia account.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authorization|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Bots and tools|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
3w684quqo4hkhibezyt66focl3vgc0u
808
786
2020-12-10T06:13:43Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikimedia API documentation</h3>
Open access to free knowledge in over 300 languages
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing clients</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Tools and bots|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
06lelhwtofcdimn55ik27os5nr1shjv
821
808
2020-12-10T06:35:16Z
APaskulin (WMF)
20
fix link
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikimedia API documentation</h3>
Open access to free knowledge in over 300 languages
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Images and media|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing clients</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing clients|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Tools and bots|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
fmcwrph0g6ygfh6dh5xa78p64qa2291
922
821
2020-12-17T19:57:48Z
APaskulin (WMF)
20
/* Authentication */ Fix link
wikitext
text/x-wiki
<div class="container">
<div class="row">
<div class="col-sm-6">
<br><h3>Wikimedia API documentation</h3>
Open access to free knowledge in over 300 languages
</div>
<div class="col-sm-2">
</div>
<div class="col-sm"><br><br>
{{Clickable button 2| Get started |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Documentation/Getting_started}}
</div>
</div>
</div>
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Images and media|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
== Exploring Wikimedia ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Projects and languages</p>
<p class="card-text" style="font-size: 14px;">Discover projects beyond Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Wikimedia projects|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Reusing free content</p>
<p class="card-text" style="font-size: 14px;">Learn about licensing and attribution for free content.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Reusing free content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
== Authentication ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Managing API keys</p>
<p class="card-text" style="font-size: 14px;">Create and manage API credentials.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Managing API keys|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Authentication</p>
<p class="card-text" style="font-size: 14px;">Implement OAuth 2.0 authentication for your requests.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Authentication|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Rate limits</p>
<p class="card-text" style="font-size: 14px;">Be aware of limits to Wikimedia API access.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Getting started/Rate limits|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
== Best practices ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Tools and bots|Learn more]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
dfflcattxquafrcdhkk8yxg8dq4galu
Use cases
0
58
202
2020-10-07T00:08:22Z
APaskulin (WMF)
20
Created page with "__NOTOC__"
wikitext
text/x-wiki
__NOTOC__
kql9fyxoa5yczcpxajv4ee65vgow5eh
823
202
2020-12-10T06:40:25Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Education</p>
<p class="card-text" style="font-size: 14px;">Resources for teachers and learners</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Education|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Travel</p>
<p class="card-text" style="font-size: 14px;">Travel guides and phrasebooks</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Travel|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
fi9v61xff4ikhrfczv84pfu2ni62m1v
996
823
2021-01-22T00:03:05Z
APaskulin (WMF)
20
Add new use case pages
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured content</p>
<p class="card-text" style="font-size: 14px;">Featured Wikipedia article and Commons image</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Daily featured content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Current events</p>
<p class="card-text" style="font-size: 14px;">Topics in today's news</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Current events|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">Wikipedia's daily most read articles</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Most read articles|Learn more]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Education</p>
<p class="card-text" style="font-size: 14px;">Resources for teachers and learners</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Education|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Travel</p>
<p class="card-text" style="font-size: 14px;">Travel guides and phrasebooks</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Travel|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
mco2hmkx4kw8udxlctryn4fjyb58lw4
1002
996
2021-02-02T00:13:25Z
APaskulin (WMF)
20
Fix typo
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Daily featured content</p>
<p class="card-text" style="font-size: 14px;">Featured Wikipedia article and Commons image</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Daily featured content|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Current events</p>
<p class="card-text" style="font-size: 14px;">Topics in today's news</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Current events|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Most read articles</p>
<p class="card-text" style="font-size: 14px;">Wikipedia's daily most read articles</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Most read articles|Learn more]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Education</p>
<p class="card-text" style="font-size: 14px;">Resources for teachers and students</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Education|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Travel</p>
<p class="card-text" style="font-size: 14px;">Travel guides and phrasebooks</p>
<p class="card-text" style="font-size: 14px;">› [[Use cases/Travel|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
b5108v9gj6akh5e87etqlkod3f9h0p2
Community
0
59
203
2020-10-07T00:08:33Z
APaskulin (WMF)
20
Created page with "__NOTOC__"
wikitext
text/x-wiki
__NOTOC__
kql9fyxoa5yczcpxajv4ee65vgow5eh
578
203
2020-11-16T20:40:50Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Connect with the Wikimedia community by participating in free knowledge projects, contributing to open source code, and joining hackathons and events.
* [https://wikimediafoundation.org/participate/ Participate in Wikimedia projects]
* [https://www.mediawiki.org/wiki/New_Developers Contribute to Wikimedia open source]
* [https://techblog.wikimedia.org/ Share your story on the Wikimedia Technical Blog]
* [https://twitter.com/wikimediatech Follow Wikimedia Tech on Twitter]
== Contribute to documentation ==
== Share a code sample ==
== Discover more Wikimedia APIs ==
* Pageviews API
* Event streams API
__NOTOC__
hrj2m47sc1z8qh479twgqe59go7z5ai
798
578
2020-12-10T05:30:27Z
APaskulin (WMF)
20
/* Discover more Wikimedia APIs */ fix links
wikitext
text/x-wiki
Connect with the Wikimedia community by participating in free knowledge projects, contributing to open source code, and joining hackathons and events.
* [https://wikimediafoundation.org/participate/ Participate in Wikimedia projects]
* [https://www.mediawiki.org/wiki/New_Developers Contribute to Wikimedia open source]
* [https://techblog.wikimedia.org/ Share your story on the Wikimedia Technical Blog]
* [https://twitter.com/wikimediatech Follow Wikimedia Tech on Twitter]
== Contribute to documentation ==
== Share a code sample ==
== Discover more Wikimedia APIs ==
* [https://wikimedia.org/api/rest_v1/#/Pageviews%20data Pageviews API]
* [[wikitech:Event_Platform/EventStreams|Event streams API]]
__NOTOC__
rlz6ht3ziqdnmtohte36zocon4duniy
799
798
2020-12-10T05:32:54Z
APaskulin (WMF)
20
Add contributing section
wikitext
text/x-wiki
Connect with the Wikimedia community by participating in free knowledge projects, contributing to open source code, and joining hackathons and events.
* [https://wikimediafoundation.org/participate/ Participate in Wikimedia projects]
* [https://www.mediawiki.org/wiki/New_Developers Contribute to Wikimedia open source]
* [https://techblog.wikimedia.org/ Share your story on the Wikimedia Technical Blog]
* [https://twitter.com/wikimediatech Follow Wikimedia Tech on Twitter]
== Contribute to documentation ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[contributing talk page]]. To learn more about contributing to Wikimedia documentation, visit us on [[mw:Documentation|mediawiki.org]], and become a [[mw:Wikimedia_technical_documentation:_Friends_of_the_Docs|Friend of the Docs]].
== Discover more Wikimedia APIs ==
* [https://wikimedia.org/api/rest_v1/#/Pageviews%20data Pageviews API]
* [[wikitech:Event_Platform/EventStreams|Event streams API]]
__NOTOC__
bxz8znsnp9ty0hjkposzj82mw6ogjq8
848
799
2020-12-10T16:13:29Z
APaskulin (WMF)
20
/* Contribute to documentation */ Fix link
wikitext
text/x-wiki
Connect with the Wikimedia community by participating in free knowledge projects, contributing to open source code, and joining hackathons and events.
* [https://wikimediafoundation.org/participate/ Participate in Wikimedia projects]
* [https://www.mediawiki.org/wiki/New_Developers Contribute to Wikimedia open source]
* [https://techblog.wikimedia.org/ Share your story on the Wikimedia Technical Blog]
* [https://twitter.com/wikimediatech Follow Wikimedia Tech on Twitter]
== Contribute to documentation ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|contributing talk page]]. To learn more about contributing to Wikimedia documentation, visit us on [[mw:Documentation|mediawiki.org]], and become a [[mw:Wikimedia_technical_documentation:_Friends_of_the_Docs|Friend of the Docs]].
== Discover more Wikimedia APIs ==
* [https://wikimedia.org/api/rest_v1/#/Pageviews%20data Pageviews API]
* [[wikitech:Event_Platform/EventStreams|Event streams API]]
__NOTOC__
inlw7i9v1es483wzjqrhl06z8y2l0oh
1006
848
2021-02-09T16:59:20Z
Ameisenigel
14
MyLanguage, make external to internal link
wikitext
text/x-wiki
Connect with the Wikimedia community by participating in free knowledge projects, contributing to open source code, and joining hackathons and events.
* [https://wikimediafoundation.org/participate/ Participate in Wikimedia projects]
* [[mw:Special:MyLanguage/New Developers|Contribute to Wikimedia open source]]
* [https://techblog.wikimedia.org/ Share your story on the Wikimedia Technical Blog]
* [https://twitter.com/wikimediatech Follow Wikimedia Tech on Twitter]
== Contribute to documentation ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|contributing talk page]]. To learn more about contributing to Wikimedia documentation, visit us on [[mw:Special:MyLanguage/Documentation|mediawiki.org]], and become a [[mw:Wikimedia_technical_documentation:_Friends_of_the_Docs|Friend of the Docs]].
== Discover more Wikimedia APIs ==
* [https://wikimedia.org/api/rest_v1/#/Pageviews%20data Pageviews API]
* [[wikitech:Event_Platform/EventStreams|Event streams API]]
__NOTOC__
iwpq66a9ltd3u9vb27ds7ughzju4t3o
MediaWiki:Gadget-tabbedwindow
8
60
221
2020-10-13T21:20:55Z
DannyS712
72
create based on mediawiki.org description, see [[:mw:MediaWiki:Gadget-tabbedwindow]] for attribution
wikitext
text/x-wiki
Embeds an OOUI tabbed window; each tab of the window contains sample code in a programming language (PHP, Javascript, Python, etc.) demonstrating the use of the MediaWiki REST API.
q68pi755tvhplkuxnhviq0rz41lmd8u
Template:Endpoint
10
61
226
2020-10-15T18:29:50Z
APaskulin (WMF)
20
Created page with "{| style="width: 100%;" !style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET |style="background-color:#eaf3ff; padding:5px;"|<code styl..."
wikitext
text/x-wiki
{| style="width: 100%;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
ht9195v7uysr5qxswp694ipc0cjetyk
227
226
2020-10-15T18:31:08Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%; padding-bottom:10px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
eeld6fc2lj0je0mxrifqwi4w37fn4s1
228
227
2020-10-15T18:33:21Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
2kiy102agfqx1sewn61f8e9r129159a
229
228
2020-10-15T18:34:18Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Endpoint box]] to [[Template:Endpoint]]
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
2kiy102agfqx1sewn61f8e9r129159a
232
229
2020-10-15T18:36:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Endpoint]] to [[Template:Endpoint box]] over redirect
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
2kiy102agfqx1sewn61f8e9r129159a
235
232
2020-10-15T18:44:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Endpoint box]] to [[Template:Endpoint]] over redirect
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{1}}}</code>
|}
2kiy102agfqx1sewn61f8e9r129159a
237
235
2020-10-15T18:45:57Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:#36c; color:white; padding:5px;"| GET
|style="background-color:#eaf3ff; padding:5px;"|<code style="color: #202122; background-color:#eaf3ff; border:0;">{{{endpoint}}}</code>
|}
tm10j5y4rp11d2y7pn0l5hzuie1ge21
586
237
2020-11-19T23:54:29Z
APaskulin (WMF)
20
Add support for all methods
wikitext
text/x-wiki
{| style="width: 100%; margin-bottom:25px;"
!style="text-align:center; width: 5%; background-color:{{{color|#36c}}}; color:white; padding:5px;"|{{{method|GET}}}
|style="background-color:{{{color2|#eaf3ff}}}; padding:5px;"|<code style="color: #202122; background-color:{{{color2|#eaf3ff}}}; border:0;">{{{endpoint}}}</code>
|}
sgq2b76dyt9g4gaaszwg3yr2lgtqn6h
Template:Endpoint box
10
64
236
2020-10-15T18:44:53Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Endpoint box]] to [[Template:Endpoint]] over redirect
wikitext
text/x-wiki
#REDIRECT [[Template:Endpoint]]
1w4aeajabggorrl4pbr3n8gfu1zwffu
Template:Optional query
10
65
252
2020-10-15T19:32:59Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
kwkmmdjdg2q2exvo8k2938qh2h85pkc
Template:Required query
10
66
254
2020-10-15T19:34:18Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #fef6e7; padding:.2em .6em; border-radius: 3px;">query</span></p>
cqbtv7nouf72q350zoiqjrayecr071y
Template:Required path
10
67
255
2020-10-15T19:35:02Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaf3ff; padding:.2em .6em; border-radius: 3px;">path</span></p>
tgfvravfhdxbyitqq20239x5y1ejnfp
Template:Response start
10
70
278
2020-10-15T21:42:03Z
APaskulin (WMF)
20
Created page with "<div class="mw-collapsible mw-collapsed"> <div class="example">Example</div> <div class="mw-collapsible-content"> <syntaxhighlight lang="json">"
wikitext
text/x-wiki
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="json">
g4q8xn4r6mt5l6wlj7cwa7f1r35aq0p
282
278
2020-10-15T21:44:08Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="mw-collapsible mw-collapsed">
<div class="example">Example</div>
<div class="mw-collapsible-content">
65bi4ig8c54pqwlpool97vm7hbie8v8
Template:Response end
10
71
279
2020-10-15T21:42:33Z
APaskulin (WMF)
20
Created page with "</syntaxhighlight></div></div>"
wikitext
text/x-wiki
</syntaxhighlight></div></div>
8etr3luopogwsfftg4pswya63qfvth7
281
279
2020-10-15T21:43:58Z
APaskulin (WMF)
20
wikitext
text/x-wiki
</div></div>
6beenvuqlxgtrm6xgzuo2v0i2a1h6tp
Template:Required integer
10
72
286
2020-10-15T22:57:50Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
6e0us46sm439i2muuvijtszm9yho7ch
Template:Required string
10
73
287
2020-10-15T22:59:38Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
me4u2bfsy5tg9llb1tuc5u9zz850zau
Template:Required object
10
74
288
2020-10-15T23:02:13Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
1hnjwqk6wxtgfjoajly6grme084bf1x
Template:Child properties start
10
75
291
2020-10-15T23:09:14Z
APaskulin (WMF)
20
Created page with "<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;"> <div s..."
wikitext
text/x-wiki
<div class="mw-collapsible mw-collapsed" style="background-color:#fff; max-width:100%; border:1px solid #eaecf0; padding: 6px 12px; margin-top: 6px; font-size:0.9rem;">
<div style="font-weight:700;">Properties</div>
<div class="mw-collapsible-content">
lbwobgvppjnql9zclzrbht6ij55rmf9
Template:String
10
76
292
2020-10-15T23:12:29Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
ot2pfvkslzzbfcmaolx7y3hzv9ykmhf
Template:Integer
10
77
293
2020-10-15T23:13:05Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">integer</span></p>
jv7287er51csc61hwb2k67eb2fvur33
Template:Curl
10
78
301
2020-10-16T16:20:50Z
APaskulin (WMF)
20
Created page with "<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mo..."
wikitext
text/x-wiki
<p style="margin: 0px;"><span class="plainlinks" style="color: #408080; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;">''# {{{comment}}}''<br>
<span style="color:#212529">$ curl</span> {{{url}}}
</span></p>
o33hhm71vv7sqz8qx85s47nf4bkflg8
Maintainers/Templates/Endpoint reference
0
79
303
2020-10-16T16:28:05Z
APaskulin (WMF)
20
Created page with "<pre> {{Endpoint|endpoint=}} Searches wiki page titles and contents for the provided search terms, and returns matching pages. == Examples == <div class="mw-gadget-tabbedwin..."
wikitext
text/x-wiki
<pre>
{{Endpoint|endpoint=}}
Searches wiki page titles and contents for the provided search terms, and returns matching pages.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code></code>
{{Required path}}
|
|-
|<code></code>
{{Optional query}}
|
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
</pre>
3r58sg1rcey6pt2mhvdlxuityr6pygs
304
303
2020-10-16T16:29:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<pre>
{{Endpoint|endpoint=}}
Description
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code></code>
{{Required path}}
|
|-
|<code></code>
{{Optional query}}
|
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
</pre>
62re5kj1r8oburo01qi7m031gsdioso
306
304
2020-10-16T16:45:52Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<pre>
{{Endpoint|endpoint=}}
Description
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=|comment=}}
=== Python ===
<syntaxhighlight lang="python">
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name
|-
|<code>language</code>
{{Required path}}
| Language code
|-
|<code></code>
{{Required path}}
|
|-
|<code></code>
{{Optional query}}
|
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|-
!400
| Error:
{{Response start}}
<syntaxhighlight lang="json">
</syntaxhighlight>
{{Response end}}
|}
</pre>
spmc57bs12i1fv1i9osinpk84241kzq
Maintainers/Templates/Object reference
0
80
305
2020-10-16T16:32:23Z
APaskulin (WMF)
20
Created page with "<pre> Description == Example == <syntaxhighlight lang="json"> </syntaxhighlight> == Schema == {| class="wikitable properties" |<code></code> {{Required string}} | |- |<cod..."
wikitext
text/x-wiki
<pre>
Description
== Example ==
<syntaxhighlight lang="json">
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code></code>
{{Required string}}
|
|-
|<code></code>
{{Required integer}}
|
|-
|<code></code>
{{Required object}}
|
{{Child properties start}}
{| class="wikitable properties"
|<code></code>
{{String}}
|
|-
|<code></code>
{{Integer}}
|
|}
|}
</pre>
00h8ejsk4cep4aie002hm9a0fnxqjma
Template:Object
10
81
325
2020-10-16T18:03:52Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
67rhbdnjjicq9z1mvazx1z80shew6wi
Template:Required boolean
10
82
330
2020-10-16T20:06:51Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">boolean</span></p>
ghcyfpg8fqhjmy8kkayzoc639mtxjh6
Template:Optional string
10
83
333
2020-10-16T21:40:18Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
j6wcmfuw2vkhx0e3sequifxujq7fpta
Template:Required array
10
84
334
2020-10-16T21:40:54Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">string</span></p>
me4u2bfsy5tg9llb1tuc5u9zz850zau
Template:Array
10
85
338
2020-10-16T22:16:22Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">array</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">array</span></p>
mwspo4ef2zyhuyo69i3y7jk4v7m7ypb
Template:Projects
10
89
364
2020-10-20T00:12:29Z
APaskulin (WMF)
20
Created page with "{| class="wikitable" ! <code style="font-weight:400;">wikipedia</code><br><p style="font-size:12px; font-weight:400;">requires /{language}</p> | Encyclopedia articles |- ! <co..."
wikitext
text/x-wiki
{| class="wikitable"
! <code style="font-weight:400;">wikipedia</code><br><p style="font-size:12px; font-weight:400;">requires /{language}</p>
| Encyclopedia articles
|-
! <code style="font-weight:400;">wiktionary</code><br><p style="font-size:12px; font-weight:400;">requires /{language}</p>
| Dictionary definitions
|-
! <code style="font-weight:400;">commons</code><br><p style="font-size:12px; font-weight:400;">multilingual</p>
| Media files
|}
{| class="wikitable"
! <p style="font-size:12px; font-weight:400;"><span style="font-size:16px; padding-bottom:20px;">Wikipedia</span><br>Encyclopedia articles<br>Available in [[50 languages]]<br>[[CCBY3SA]] and [[GPL]]</p>
|}
5ycn8aw0hzlpcdb0cs639q9mgzrb2kw
365
364
2020-10-20T02:33:04Z
APaskulin (WMF)
20
wikitext
text/x-wiki
{| class="wikitable"
! <code style="font-weight:400;">wikipedia</code><br><p style="font-size:12px; font-weight:400;">requires /{language}</p>
| Encyclopedia articles
|-
! <code style="font-weight:400;">wiktionary</code><br><p style="font-size:12px; font-weight:400;">requires /{language}</p>
| Dictionary definitions
|-
! <code style="font-weight:400;">commons</code><br><p style="font-size:12px; font-weight:400;">multilingual</p>
| Media files
|}
<div class="container">
<div class="row">
<div class="col-3">
{| class="wikitable"
! style=" padding-bottom:4px;"|<div style="font-size:14px; font-weight:400;"> <div style="font-size:16px; padding-bottom:4px;">[[File:Wikipedia-logo-v2.svg|20px]] [[Wikipedia]]</div>Encyclopedia articles</div></div>
|-
|style="background-color:#ffffff;font-size:13px; font-weight:400; padding-top:4px; padding-bottom:4px;"|[[File:OOjs_UI_icon_language-ltr.svg|16px]] Available in [[50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [[CCBY3SA]] and [[GPL]]
|}
</div>
<div class="col-3>
{| class="wikitable"
! <div style="font-size:13px; font-weight:400;"> <div style="font-size:16px; padding-bottom:4px;">[[Wiktionary]]</div>Dictionary definitions<br>Available in [[50 languages]]<br>[[CCBY3SA]] and [[GPL]]</div>
|}
</div>
<div class="col-3>
{| class="wikitable"
! <div style="font-size:13px; font-weight:400;"> <div style="font-size:16px; padding-bottom:4px;">[[Commons]]</div>Media files<br>Multilingual<br>Individual file licenses</div>
|}
</div>
</div>
</div>
jhd6nq28yz5r6m4mlskiepuj2vyshv4
MediaWiki talk:Sidebar
9
90
366
2020-10-20T14:29:16Z
DannyS712
72
question
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
lmullyy1kx3myzj80934rk0ogfv079k
367
366
2020-10-23T19:45:22Z
APaskulin (WMF)
20
/* RecentChanges? */ Responded to Danny's comment
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
oojqxjx20qfghcxnv6d8p4x5z1gyfy1
635
367
2020-11-23T17:34:52Z
DannyS712
72
/* RecentChanges? */ re
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: {{ping|APaskulin (WMF)}} any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:34, 23 November 2020 (UTC)
tpwa163pmtnd9pxcoouaqr4r5t7u5f3
636
635
2020-11-23T17:35:02Z
DannyS712
72
Reverted edits by [[Special:Contributions/DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) to last revision by [[User:APaskulin (WMF)|APaskulin (WMF)]]
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
oojqxjx20qfghcxnv6d8p4x5z1gyfy1
637
636
2020-11-23T17:35:17Z
DannyS712
72
/* RecentChanges? */ re
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
i4qun07qokd60ijkxo0bqyyl1jw11js
902
637
2020-12-15T19:14:29Z
DannyS712
72
Reply
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
::I've gone ahead and added recent changes under "Community" for now, since the site is now public and a recent changes link is generally expected in the sidebar [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 19:14, 15 December 2020 (UTC)
obofjdqc7lzyz2778chfwm1x1mug6yk
903
902
2020-12-16T13:18:42Z
Majavah
6
Reply
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
::I've gone ahead and added recent changes under "Community" for now, since the site is now public and a recent changes link is generally expected in the sidebar [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 19:14, 15 December 2020 (UTC)
:::@[[User:DannyS712|DannyS712]] Can you change the "community" dropdown item uppercase? It looks out-of-place as lowercase. [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 13:18, 16 December 2020 (UTC)
erfio2bfhkalbdnh3unb0um68aryk0n
906
903
2020-12-16T15:57:24Z
DannyS712
72
Reply
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
::I've gone ahead and added recent changes under "Community" for now, since the site is now public and a recent changes link is generally expected in the sidebar [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 19:14, 15 December 2020 (UTC)
:::@[[User:DannyS712|DannyS712]] Can you change the "community" dropdown item uppercase? It looks out-of-place as lowercase. [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 13:18, 16 December 2020 (UTC)
::::done [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 15:57, 16 December 2020 (UTC)
57osqf03evtrc687wvpd6fdy0yxbt3g
911
906
2020-12-17T02:06:11Z
APaskulin (WMF)
20
Reply
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
::I've gone ahead and added recent changes under "Community" for now, since the site is now public and a recent changes link is generally expected in the sidebar [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 19:14, 15 December 2020 (UTC)
:::@[[User:DannyS712|DannyS712]] Can you change the "community" dropdown item uppercase? It looks out-of-place as lowercase. [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 13:18, 16 December 2020 (UTC)
::::done [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 15:57, 16 December 2020 (UTC)
:::Hi @[[User:DannyS712|DannyS712]], thanks for following up on this. For now, I don't think we need the Recent Changes link in the Community dropdown. I definitely agree that the link is important, so I've added a button to [[Community/Contributing]]. Since we have a limited number of editors at this time, I don't think we need to highlight Recent Changes in the same way that we usually do in the sidebar. Although this is a departure from the standard Vector-style sidebar, I'd like to keep the primary navigation elements focused on the needs of most readers and provide a portal for contributor resources through the dedicated [[Community/Contributing]] page. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 02:06, 17 December 2020 (UTC)
5xs6bjyvbbeh8muminw309n3qn94c2s
913
911
2020-12-17T02:07:41Z
DannyS712
72
Reply
wikitext
text/x-wiki
== RecentChanges? ==
@[[User:APaskulin (WMF)|APaskulin (WMF)]] can I suggest adding back the link to recent changes? Thanks, --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 14:29, 20 October 2020 (UTC)
: Thanks for the suggestion, @[[User:DannyS712|DannyS712]]! I think this is a valid point. I'll think about how to include this, and get back to you soon. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:45, 23 October 2020 (UTC)
:: @[[User:APaskulin (WMF)|APaskulin (WMF)]] any updates? --[[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 17:35, 23 November 2020 (UTC)
::I've gone ahead and added recent changes under "Community" for now, since the site is now public and a recent changes link is generally expected in the sidebar [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 19:14, 15 December 2020 (UTC)
:::@[[User:DannyS712|DannyS712]] Can you change the "community" dropdown item uppercase? It looks out-of-place as lowercase. [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 13:18, 16 December 2020 (UTC)
::::done [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 15:57, 16 December 2020 (UTC)
:::Hi @[[User:DannyS712|DannyS712]], thanks for following up on this. For now, I don't think we need the Recent Changes link in the Community dropdown. I definitely agree that the link is important, so I've added a button to [[Community/Contributing]]. Since we have a limited number of editors at this time, I don't think we need to highlight Recent Changes in the same way that we usually do in the sidebar. Although this is a departure from the standard Vector-style sidebar, I'd like to keep the primary navigation elements focused on the needs of most readers and provide a portal for contributor resources through the dedicated [[Community/Contributing]] page. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 02:06, 17 December 2020 (UTC)
::::"Since we have a limited number of editors at this time" - since the public launch there are more editors, and ever readers might find it useful to see recently updated documentation - I'm sure someone will ask that it be added back at some point [[User:DannyS712|DannyS712]] ([[User talk:DannyS712|talk]]) 02:07, 17 December 2020 (UTC)
1qkwdgo97dnmvazdgkxb3kjabyhl1w0
Documentation/Getting started
0
91
368
2020-10-27T20:26:30Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
512
368
2020-11-09T20:46:12Z
APaskulin (WMF)
20
Add initial content
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main| Log in |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main| Create account |url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main| My clients |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Make a request ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/{language}/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main| Learn more |url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
; Discover documentation
: Explore Wikimedia API endpoints in the [[API reference]].
; Create app credentials
: Create and manage [[Documentation/Getting started/Managing clients|client credentials]] to use in published apps.
; Learn about OAuth 2.0 authentication and authorization
: [[Documentation/Getting started/Authentication|Authenticate]] your requests on behalf of your apps, or allow users to [[Documentation/Getting started/Authorization|authorize]] your app with a Wikimedia account.
; Connect with the community
: Share your apps, contribute to documentation, and join the [[Community|Wikimedia community]].
__NOTOC__
{{DEFAULTSORT:1}}
rezqzq0hrce9ejj973qmhvycx1uxj9d
513
512
2020-11-09T20:47:04Z
APaskulin (WMF)
20
/* 3. Make a request */ Better heading
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main| Log in |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main| Create account |url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main| My clients |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/{language}/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main| Learn more |url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
; Discover documentation
: Explore Wikimedia API endpoints in the [[API reference]].
; Create app credentials
: Create and manage [[Documentation/Getting started/Managing clients|client credentials]] to use in published apps.
; Learn about OAuth 2.0 authentication and authorization
: [[Documentation/Getting started/Authentication|Authenticate]] your requests on behalf of your apps, or allow users to [[Documentation/Getting started/Authorization|authorize]] your app with a Wikimedia account.
; Connect with the community
: Share your apps, contribute to documentation, and join the [[Community|Wikimedia community]].
__NOTOC__
{{DEFAULTSORT:1}}
1u794bv8be4z8l9imi1c4hunb3b3agj
514
513
2020-11-09T20:53:08Z
APaskulin (WMF)
20
/* Next steps */ Expand next steps
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main| Log in |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main| Create account |url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main| My clients |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/{language}/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main| Learn more |url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app
* Become an editor
* Contribute to docs
__NOTOC__
{{DEFAULTSORT:1}}
a9ttxi9gnga103yq7a57rtjhy94c7g6
516
514
2020-11-09T20:57:35Z
APaskulin (WMF)
20
/* Connect with the community */ Consolidate bullets
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main| Log in |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main| Create account |url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main| My clients |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/{language}/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main| Learn more |url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
__NOTOC__
{{DEFAULTSORT:1}}
sg5g7dtea2co5uzaxfjfgfk2stgfm2h
517
516
2020-11-10T00:44:25Z
APaskulin (WMF)
20
/* 3. Get today’s featured article */ Fix typo
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main| Log in |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main| Create account |url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main| My clients |class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main| Learn more |url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
__NOTOC__
{{DEFAULTSORT:1}}
gbb9bsb50thtznm6fgmp9ppymoj1309
518
517
2020-11-10T00:46:39Z
APaskulin (WMF)
20
Remove extra spaces
wikitext
text/x-wiki
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
__NOTOC__
{{DEFAULTSORT:1}}
tavgajmxh53ieqrenwr3fy3hs5sa7ph
519
518
2020-11-10T01:28:03Z
APaskulin (WMF)
20
Set max-width to improve readability (~100 characters per line)
wikitext
text/x-wiki
<div style="max-width:765px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
e016u9nwu2ox793i8wd0svyjmegl74w
520
519
2020-11-10T01:28:34Z
APaskulin (WMF)
20
Increase max-width
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
h12wzazjm7a7cic5mcfedla3yawqvrc
778
520
2020-11-30T19:13:52Z
APaskulin (WMF)
20
/* 3. Get today’s featured article */ Add multilingual samples
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
n97q27sp8a2mct7y53kl9xjb76nfa7a
779
778
2020-11-30T19:14:41Z
APaskulin (WMF)
20
/* 3. Get today’s featured article */ Fix spacing
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]] and [[Documentation/Getting started/Authorization|authorization]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
hmho63vci1byp9enerlgc2e5jvx33v3
780
779
2020-11-30T19:15:10Z
APaskulin (WMF)
20
/* Build an app */ Remove old link
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{#invoke:Clickable button 2|main|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{#invoke:Clickable button 2|main|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{#invoke:Clickable button 2|main|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{#invoke:Clickable button 2|main|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
qvagi18qxp00d00uhyjw30o2v55asl0
784
780
2020-12-07T22:01:03Z
DannyS712
72
Use {{Clickable button 2}} template instead of the module directly
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Daily_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
0oe6mne870wckpq4h649e0q8ty18t0n
788
784
2020-12-07T22:03:49Z
DannyS712
72
/* 3. Get today’s featured article */ page was moved
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing clients|Create app credentials]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app.
* Contribute to docs.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
76x4hr7r6zccp6bnjqyejcvkjlx1l2v
923
788
2020-12-17T20:00:07Z
APaskulin (WMF)
20
/* Next steps */ Fix links
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|My clients]] to create and manage your client credentials. Select '''Create client''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [https://apps-gallery.toolforge.org/ Apps Gallery].
* [[Community/Contributing|Contribute to docs.]]
</div>
__NOTOC__
{{DEFAULTSORT:1}}
d4xozrueu8u2tra4m34huvix6vk0ho7
924
923
2020-12-17T20:00:50Z
APaskulin (WMF)
20
/* 2. Create a personal API token */ Fix links and language
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear()
let month = today.getMonth() + 1
let day = today.getDate()
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [https://apps-gallery.toolforge.org/ Apps Gallery].
* [[Community/Contributing|Contribute to docs.]]
</div>
__NOTOC__
{{DEFAULTSORT:1}}
hzbxnmsdas87vtlwc42imyrduxjann6
978
924
2021-01-05T23:56:42Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [https://apps-gallery.toolforge.org/ Apps Gallery].
* [[Community/Contributing|Contribute to docs.]]
</div>
__NOTOC__
{{DEFAULTSORT:1}}
6bwlqjh5wnnoq6do02jklts04nvauj4
1008
978
2021-02-10T16:49:49Z
Ameisenigel
14
make external to internal link
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
l6w388bjtyp3xdla0512box0697jhhw
1107
1008
2021-05-26T22:42:51Z
Cedarlakeventures
3431
Mention that new accounts need to log in to the respective wiki sites they want to access via the API (see https://phabricator.wikimedia.org/T283555 ) and make some of the nomenclature used in the text more directly match that used elsewhere to make it easier for new users to pattern match.
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
''If you create a new account here on the API portal, you need to log in to the respective wiki sites you want to access via the API for your account to be recognized. See [[phab:T283555|this issue]] in the bug tracker.''
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''Personal API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|My clients and API keys|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
ga6t3gkkwu5m9p6oessak6eniyrribq
1110
1107
2021-05-27T23:09:18Z
APaskulin (WMF)
20
Consolidate troubleshooting information
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''Personal API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|API keys|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|class=mw-ui-progressive|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
{{Clickable button 2|Troubleshooting guide|url=https://api.wikimedia.org/wiki/Documentation/Getting_started/Authentication#Troubleshooting}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
k82qhszooui0gsfb03ubo8jv4bejszf
1137
1110
2021-05-29T12:32:10Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''Personal API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|API keys|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|class=mw-ui-progressive|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
{{Clickable button 2|Troubleshooting guide|url=https://api.wikimedia.org/wiki/Documentation/Getting_started/Authentication#Troubleshooting}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
kcn2sonzsup1gjvb8rn5as3fxhgcpsp
1160
1137
2021-06-09T03:06:36Z
APaskulin (WMF)
20
/* 3. Get today’s featured article */ Add comma
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''Personal API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|API keys|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|class=mw-ui-progressive|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Today%27s_featured_article}}
{{Clickable button 2|Troubleshooting guide|url=https://api.wikimedia.org/wiki/Documentation/Getting_started/Authentication#Troubleshooting}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
ipuxuwt8grklglwf13h22lp0uiy53iz
1258
1160
2022-04-27T21:57:17Z
APaskulin (WMF)
20
/* 3. Get today’s featured article */ Fix link
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikipedia and other Wikimedia projects are free, collaborative repositories of knowledge, written and maintained by volunteers from around the world. The Wikimedia API gives you open access to add this free knowledge to your projects and apps. In this quick start, you’ll log in, create client credentials, and make your first request.
== 1. Log in with your Wikimedia account ==
To log in to the API Portal, use the same account you use for Wikipedia and other Wikimedia projects. If you’re new to Wikimedia (Welcome!), you can create a free account now.
{{Clickable button 2|Log in|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:UserLogin}}
{{Clickable button 2|Create account|url=https://api.wikimedia.org/wiki/Special:CreateAccount}}
== 2. Create a personal API token ==
Once you’ve logged in, visit [[Special:AppManagement|API keys]] to create and manage your API credentials. Select '''Create key''', and select the '''Personal API token''' option. This token is tied to your account. It should only be used by you and should not be published or shared. Remember to store your token in a secure place, like a password manager.
{{Clickable button 2|API keys|class=mw-ui-progressive|url=https://api.wikimedia.org/wiki/Special:AppManagement}}
== 3. Get today’s featured article ==
For your first request, call the [[API reference/Feed/Featured content|featured content endpoint]] to get today’s featured article from English Wikipedia. Use your API token to authenticate the request.
<div class="mw-gadget-tabbedwindow">
=== curl ===
<p style="margin: 0.4em 0 0 0;"><span class="plainlinks" style="border: 0; color: #000; display: block; background-color: #f8f9fa; padding: 1em; font-family: 'Menlo','Consolas','Liberation Mono','Courier New',monospace; font-size: 0.875rem;line-height: 1.5;">
<span style="color: #408080;font-style: italic;"><nowiki>#</nowiki> Get today’s featured article from English Wikipedia</span><br>
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/feed/v1/wikipedia/en/featured/{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY2}}
</span></p>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get today's featured article from English Wikipedia
import datetime
import requests
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' + date
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get today's featured article from English Wikipedia
$url = 'https://api.wikimedia.org/feed/v1/wikipedia/en/featured/' . date( 'Y/m/d' );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get today's featured article from English Wikipedia
let today = new Date();
let year = today.getFullYear();
let month = today.getMonth() + 1;
let day = today.getDate();
let url = `https://api.wikimedia.org/feed/v1/wikipedia/en/featured/${year}/${month}/${day}`;
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|class=mw-ui-progressive|Learn more|url=https://api.wikimedia.org/wiki/Documentation/Code_samples/Featured_content}}
{{Clickable button 2|Troubleshooting guide|url=https://api.wikimedia.org/wiki/Documentation/Getting_started/Authentication#Troubleshooting}}
== Next steps ==
=== Build an app ===
The Wikimedia API uses OAuth 2.0 for authentication and authorization.
* [[Documentation/Getting started/Managing API keys|Create an API key]] to get started.
* Learn about [[Documentation/Getting started/Authentication|authentication]].
=== Discover documentation ===
The API Portal includes all the documentation you need to build free knowledge apps and tools.
* Check out [[Documentation/Code samples|code samples]] to get inspired and learn about interacting with wiki pages.
* Visit the [[API reference|reference]] to discover APIs and stay up to date with the latest changes.
=== Connect with the community ===
Join the Wikimedia community, and contribute to free knowledge.
* Share your app in the [[toolforge:apps-gallery|Apps Gallery]].
* [[Community/Contributing|Contribute to docs]].
</div>
__NOTOC__
{{DEFAULTSORT:1}}
lo1khxhwsgp4kkoe09fieg6py8sujrq
Documentation/Getting started/Wikimedia projects
0
92
369
2020-10-27T20:26:50Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
370
369
2020-10-27T20:29:27Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Getting started/Exploring Wikimedia projects]] to [[Documentation/Getting started/Wikimedia projects]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
371
370
2020-10-28T23:18:41Z
APaskulin (WMF)
20
wikitext
text/x-wiki
== Single-language projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:List_of_Wikipedias|300 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wiktionary|150 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiquote|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikivoyage|20 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikinews|30 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikibooks|100 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikisource|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiversity|15 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
== Multilingual projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
nnnd0y8xwwkrcc1if8rm2pe3uf05rno
372
371
2020-10-28T23:50:15Z
APaskulin (WMF)
20
Fixed license
wikitext
text/x-wiki
== Single-language projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:List_of_Wikipedias|300 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wiktionary|150 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiquote|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikivoyage|20 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikinews|30 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikibooks|100 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikisource|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiversity|15 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
== Multilingual projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
7n3075e9ryc9wa6cl1lufucnbb43kie
381
372
2020-11-02T18:52:11Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with Wikimedia APIs.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[meta:Special:SiteMatrix|site matrix on Meta]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[meta:Special:SiteMatrix|site matrix on Meta]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:List_of_Wikipedias|300 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wiktionary|150 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiquote|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikivoyage|20 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikinews|30 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikibooks|100 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikisource|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiversity|15 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
i0vsrhlfxxcyn6mirw9wsedoheodpkw
382
381
2020-11-02T20:37:51Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with the Wikimedia API.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[meta:Special:SiteMatrix|site matrix on Meta]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[meta:Special:SiteMatrix|site matrix on Meta]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:List_of_Wikipedias|300 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wiktionary|150 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiquote|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikivoyage|20 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikinews|30 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikibooks|100 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikisource|50 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [[meta:Wikiversity|15 languages]]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
fqcdq4bvq9a4didv1j17fv6wpghh4mc
483
382
2020-11-06T02:27:19Z
APaskulin (WMF)
20
/* Single-language projects */
wikitext
text/x-wiki
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with the Wikimedia API.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[meta:Special:SiteMatrix|site matrix on Meta]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[meta:Special:SiteMatrix|site matrix on Meta]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wb 100 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
51waejyiknre2b8bvo7zhelayjepsr8
537
483
2020-11-10T19:13:59Z
APaskulin (WMF)
20
Switch to narrower, two-column layout
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with the Wikimedia API.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[meta:Special:SiteMatrix|site matrix on Meta]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[meta:Special:SiteMatrix|site matrix on Meta]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wb 100 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
8vwy70nqofx270h2d19769qjlsl9kut
790
537
2020-12-10T01:33:50Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with the Wikimedia API.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[Special:SiteMatrix|site matrix]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[Special:SiteMatrix|site matrix]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wb 100 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikispecies.org Wikispecies]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
k85shajwas7321d9oukfgr5gtvfflk3
1009
790
2021-02-10T16:59:14Z
Ameisenigel
14
make external to internal links
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia content is organized by project and language. Each project hosts a different type of free content—encyclopedia articles on Wikipedia, dictionary entries on Wiktionary—and can be published under a different free license. Wikimedia API requests include the project name in the URL. Use this page to explore different projects that you can access with the Wikimedia API.
== Single-language projects ==
Most Wikimedia projects are created and maintained in a single language. This means that what we think of as Wikipedia is really over 300 different Wikipedias—English Wikipedia, Cebuano Wikipedia, Swedish Wikipedia, and many more—all writing original articles in their own language. For single-language projects, Wikimedia API requests include the language code in the URL. Available languages vary by project; visit the [[Special:SiteMatrix|site matrix]] for a complete list of projects and languages.
'''About language codes:''' Language codes are used as subdomains for Wikimedia projects. Based on [[w:ISO 639-1|ISO 639-1]] and [[w:ISO 639-2|ISO 639-2]], language codes are usually two or three letters, such as <code>en</code> for English, <code>es</code> for Spanish, and <code>ar</code> for Arabic. To find a language code, visit the [[Special:SiteMatrix|site matrix]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikibooks.org Wikibooks]
|icon=Wikibooks-logo.svg
|content=
<span style="font-size:14px;">Collaborative books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wb 100 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Multilingual projects ==
Some projects are maintained in English and translated into other languages, or they are created to be language neutral. These multilingual projects use the project name as the subdomain instead of a language code. Wikimedia API requests to multilingual projects should not include a language code in the URL.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[[c:|Commons]]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[[species:|Wikispecies]]
|icon=Wikispecies-logo.svg
|content=
<span style="font-size:14px;">Species classifications<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
07id2rdmi9i3j49ox2zujj5z5wtdc8s
Project and language
0
93
413
2020-11-02T20:50:19Z
APaskulin (WMF)
20
Created page with "|<code>project</code> {{Required path}} | Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wik..."
wikitext
text/x-wiki
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]] Prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].
cn3w93dfazpr3tcgo8yqtedu1luruym
503
413
2020-11-06T21:52:54Z
APaskulin (WMF)
20
Add highlight for exception note
wikitext
text/x-wiki
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 12px 24px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
4pg71dr2n1ceo7lx1v0kredztgqe90z
504
503
2020-11-06T21:55:13Z
APaskulin (WMF)
20
Reduce padding
wikitext
text/x-wiki
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 10px 12px; margin-top:5px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
id9e7w4d3w8wncfvoisg7ca8vasop6s
505
504
2020-11-06T21:57:21Z
APaskulin (WMF)
20
Reduce padding; increase margin
wikitext
text/x-wiki
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[meta:Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
a2vqkqkywuqygl7l73hq78859ivadju
528
505
2020-11-10T17:29:32Z
APaskulin (WMF)
20
Switch to internal link
wikitext
text/x-wiki
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
7ygkep87ca89oiezb2zpqigo2n5szks
1242
528
2022-03-07T19:11:17Z
Stang
4123
fix syntax
wikitext
text/x-wiki
{|
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|}
chk8hit61c6w145vmupq9c95ncbrz1m
1247
1242
2022-03-09T17:04:11Z
APaskulin (WMF)
20
Undo revision 1242 by [[Special:Contributions/Stang|Stang]] ([[User talk:Stang|talk]]) Sorry for the confusion here! Although this looks like a mess on this page, it is designed to be transcluded within tables on other pages, so the syntax is intended to be incomplete. I've added a note with some details.
wikitext
text/x-wiki
<noinclude>'''''Transcluded page fragment:''' This page contains a partial table that is transcluded within the parameters table in the Core API reference docs (such as [[API reference/Core/Pages/Get page]] and [[API reference/Core/Media files/Get file]]). It uses table opening and closing syntax and table styles from those pages.''
</noinclude>
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' The <code>language</code> parameter is prohibited for <code>commons</code> and [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
npt5rntzxbja98l3cj4bdzl70uc94bh
Documentation/Getting started/Reusing free content
0
94
431
2020-11-02T21:32:37Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
824
431
2020-12-10T06:42:48Z
APaskulin (WMF)
20
wikitext
text/x-wiki
==== 🚧 Under construction 🚧 ====
__NOTOC__
{{DEFAULTSORT:2}}
s90l9g65yz6t4l3p2r8homjag89y9ua
908
824
2020-12-17T01:44:07Z
APaskulin (WMF)
20
Add initial draft
wikitext
text/x-wiki
<div style="max-width:775px;">
Free content is defined as any cultural work that can be freely studied, applied, copied, and modified.<ref>https://freedomdefined.org/Definition</ref> Articles on Wikipedia and content on other [[Documentation/Getting started/Wikimedia projects|Wikimedia projects]] are licensed as free content under a variety of free licenses, including [https://creativecommons.org/about/cclicenses/ Creative Commons licenses] and others. This page shows you how to properly attribute free content from Wikimedia in your apps.
== 1. Check the license ==
Before you include a piece of free content in your app, check the license. In general, Wikimedia projects use free licenses, but there are exceptions. Being aware of the license helps you comply with any restrictions and avoid surprises.
Most Wikipedias are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License] (CC BY-SA 3.0), but it’s a good idea to check the bottom of the page on any Wikipedia to confirm the license. Some projects, like Wikimedia Commons, license pieces of content individually, so it’s important to check the content page for the applicable license. Most licenses ask that you state the license and link to the license text when providing attribution.
== 2. Provide attribution ==
Most Wikimedia content is licensed under a free license that requires attribution. This includes [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] and [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]. In most cases attribution includes the title, author, source, and license, but this can vary. Check the applicable license for specific requirements.
== 3. Indicate changes ==
If you make any changes to the content, it’s important to indicate this in the attribution. For modified content, make sure to state clearly that modifications have been made. Some licenses, like the Creative Commons ShareAlike (SA) licenses, require that you license your modifications under the same license or a compatible license. Always check the applicable license for requirements for handling modifications.
== Wikipedia and Wikimedia logos ==
To learn about using Wikipedia and other Wikimedia logos, read the [[foundation:Trademark policy|Wikimedia trademark policy]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
45be7ce6nlq6tbe8eyktcx93jcsggf6
Documentation/Getting started/Managing API keys
0
95
432
2020-11-02T21:32:54Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
730
432
2020-11-25T19:49:15Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The [[Special:AppManagement|My clients]] page lets you create and manage OAuth 2.0 client credentials for use with the Wikimedia API.
== Create a client ==
To create a client, select '''Create client''', and fill in your client details.
=== Create app credentials ===
App credentials let you build an app to publish and share. Wikimedia API requests are rate limited based on client ID, so you should create one set of client credentials per app. To create app credentials, select the '''App credentials''' client type, and provide a redirect URL.
* '''Name''': Choose a unique name to help identify your app.
* '''Description''': Admins use this field to evaluate your client, so include a description of how your app uses Wikimedia content.
* '''Redirect URI''' is used by the OAuth authenticate server to return users to your app after approval.
App credentials must be approved by Wikimedia OAuth administrators before they can be used. You can see the status of your client on the [[Special:AppManagement|My clients]] page. Once your app is approved, you'll receive an email from wiki@wikimedia.org.
=== Create a personal API token ===
A personal API token is tied to your Wikimedia account. It should only be used by you and should not be published or shared. To create a personal API token, select the '''API token''' client type. After submitting the form, you'll be shown a client ID, client secret, and access token. Remember to store your access token in a secure place; you won't be able to access it again through the API Portal. Personal API tokens are approved automatically.
== Client status ==
[[Special:AppManagement|My clients]] displays the status of each client.
* '''Approved''' clients are ready to use.
* '''Approval pending''' clients are waiting for review and approval by Wikimedia OAuth admins. Approval usually occurs within two weeks.
* '''Rejected''' clients have been rejected by Wikimedia OAuth admins. This is usually due to security concerns or missing or unclear information. If your client is rejected, you should receive an email from wiki@wikimedia.org with the rejection reason and steps to re-submit your client.
* '''Expired''' clients have not been approved within 30 days. If your client is expired, please re-create the client.
* '''Disabled''' clients have been disabled by Wikimedia OAuth admins due to security concerns or risky behavior.
== Reset secrets ==
To reset a client secret, select '''View details''' for the client on [[Special:AppManagement|My clients]], and select '''Reset client secret'''. This resets all provided secrets for the client, including a personal API token. Resetting a secret does not invalidate existing secrets.
__NOTOC__
{{DEFAULTSORT:3}}
qqkprmgxelmv6zt26ao4nmbfpbbepiw
919
730
2020-12-17T19:54:29Z
APaskulin (WMF)
20
Update for new interface copy
wikitext
text/x-wiki
The [[Special:AppManagement|API keys dashboard]] lets you create and manage OAuth 2.0 client credentials for use with the Wikimedia API.
== Create a key ==
To create an API key, select '''Create key''', and complete the registration form.
=== Create app credentials ===
App credentials let you build an app to publish and share. Wikimedia API requests are rate limited based on client ID, so you should create one set of client credentials per app. To create credentials, select an app type, and provide a redirect URL.
* '''Name''': Choose a unique name to help identify your app.
* '''Description''': Admins use this field to evaluate your client, so include a description of how your app uses Wikimedia content.
* '''Redirect URI''' is used by the OAuth authentication server to return users to your app after approval.
App credentials must be approved by Wikimedia OAuth administrators before they can be used. You can see the status of your client on the [[Special:AppManagement|API keys dashboard]]. Once your app is approved, you'll receive an email from wiki@wikimedia.org.
=== Create a personal API token ===
A personal API token is tied to your Wikimedia account. It should only be used by you and should not be published or shared. To create a personal API token, select the '''API token''' key type. After submitting the form, you'll be shown a client ID, client secret, and access token. Remember to store your access token in a secure place; you won't be able to access it again through the API Portal. Personal API tokens are approved automatically.
== Client status ==
[[Special:AppManagement|My clients]] displays the status of each client.
* '''Approved''' clients are ready to use.
* '''Approval pending''' clients are waiting for review and approval by Wikimedia OAuth admins. Approval usually occurs within two weeks.
* '''Rejected''' clients have been rejected by Wikimedia OAuth admins. This is usually due to security concerns or missing or unclear information. If your client is rejected, you should receive an email from wiki@wikimedia.org with the rejection reason and steps to re-submit your client.
* '''Expired''' clients have not been approved within 30 days. If your client is expired, please re-create the client.
* '''Disabled''' clients have been disabled by Wikimedia OAuth admins due to security concerns or risky behavior.
== Reset secrets ==
To reset a client secret, select '''View details''' for the client on the [[Special:AppManagement|API keys dashboard]], and select '''Reset client secret'''. This resets all provided secrets for the client, including a personal API token. Resetting a secret does not invalidate existing secrets.
__NOTOC__
{{DEFAULTSORT:3}}
rpdlydkrhtfpx4ulrdtd240xz40plso
920
919
2020-12-17T19:57:01Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Getting started/Managing clients]] to [[Documentation/Getting started/Managing API keys]] without leaving a redirect: Updating for new language on user interface
wikitext
text/x-wiki
The [[Special:AppManagement|API keys dashboard]] lets you create and manage OAuth 2.0 client credentials for use with the Wikimedia API.
== Create a key ==
To create an API key, select '''Create key''', and complete the registration form.
=== Create app credentials ===
App credentials let you build an app to publish and share. Wikimedia API requests are rate limited based on client ID, so you should create one set of client credentials per app. To create credentials, select an app type, and provide a redirect URL.
* '''Name''': Choose a unique name to help identify your app.
* '''Description''': Admins use this field to evaluate your client, so include a description of how your app uses Wikimedia content.
* '''Redirect URI''' is used by the OAuth authentication server to return users to your app after approval.
App credentials must be approved by Wikimedia OAuth administrators before they can be used. You can see the status of your client on the [[Special:AppManagement|API keys dashboard]]. Once your app is approved, you'll receive an email from wiki@wikimedia.org.
=== Create a personal API token ===
A personal API token is tied to your Wikimedia account. It should only be used by you and should not be published or shared. To create a personal API token, select the '''API token''' key type. After submitting the form, you'll be shown a client ID, client secret, and access token. Remember to store your access token in a secure place; you won't be able to access it again through the API Portal. Personal API tokens are approved automatically.
== Client status ==
[[Special:AppManagement|My clients]] displays the status of each client.
* '''Approved''' clients are ready to use.
* '''Approval pending''' clients are waiting for review and approval by Wikimedia OAuth admins. Approval usually occurs within two weeks.
* '''Rejected''' clients have been rejected by Wikimedia OAuth admins. This is usually due to security concerns or missing or unclear information. If your client is rejected, you should receive an email from wiki@wikimedia.org with the rejection reason and steps to re-submit your client.
* '''Expired''' clients have not been approved within 30 days. If your client is expired, please re-create the client.
* '''Disabled''' clients have been disabled by Wikimedia OAuth admins due to security concerns or risky behavior.
== Reset secrets ==
To reset a client secret, select '''View details''' for the client on the [[Special:AppManagement|API keys dashboard]], and select '''Reset client secret'''. This resets all provided secrets for the client, including a personal API token. Resetting a secret does not invalidate existing secrets.
__NOTOC__
{{DEFAULTSORT:3}}
rpdlydkrhtfpx4ulrdtd240xz40plso
980
920
2021-01-08T02:50:05Z
APaskulin (WMF)
20
Change menu position
wikitext
text/x-wiki
The [[Special:AppManagement|API keys dashboard]] lets you create and manage OAuth 2.0 client credentials for use with the Wikimedia API.
== Create a key ==
To create an API key, select '''Create key''', and complete the registration form.
=== Create app credentials ===
App credentials let you build an app to publish and share. Wikimedia API requests are rate limited based on client ID, so you should create one set of client credentials per app. To create credentials, select an app type, and provide a redirect URL.
* '''Name''': Choose a unique name to help identify your app.
* '''Description''': Admins use this field to evaluate your client, so include a description of how your app uses Wikimedia content.
* '''Redirect URI''' is used by the OAuth authentication server to return users to your app after approval.
App credentials must be approved by Wikimedia OAuth administrators before they can be used. You can see the status of your client on the [[Special:AppManagement|API keys dashboard]]. Once your app is approved, you'll receive an email from wiki@wikimedia.org.
=== Create a personal API token ===
A personal API token is tied to your Wikimedia account. It should only be used by you and should not be published or shared. To create a personal API token, select the '''API token''' key type. After submitting the form, you'll be shown a client ID, client secret, and access token. Remember to store your access token in a secure place; you won't be able to access it again through the API Portal. Personal API tokens are approved automatically.
== Client status ==
[[Special:AppManagement|My clients]] displays the status of each client.
* '''Approved''' clients are ready to use.
* '''Approval pending''' clients are waiting for review and approval by Wikimedia OAuth admins. Approval usually occurs within two weeks.
* '''Rejected''' clients have been rejected by Wikimedia OAuth admins. This is usually due to security concerns or missing or unclear information. If your client is rejected, you should receive an email from wiki@wikimedia.org with the rejection reason and steps to re-submit your client.
* '''Expired''' clients have not been approved within 30 days. If your client is expired, please re-create the client.
* '''Disabled''' clients have been disabled by Wikimedia OAuth admins due to security concerns or risky behavior.
== Reset secrets ==
To reset a client secret, select '''View details''' for the client on the [[Special:AppManagement|API keys dashboard]], and select '''Reset client secret'''. This resets all provided secrets for the client, including a personal API token. Resetting a secret does not invalidate existing secrets.
__NOTOC__
{{DEFAULTSORT:4}}
4s1bzrbthb9hmudrycvafr5dk3tt8tv
1196
980
2021-12-04T01:16:18Z
APaskulin (WMF)
20
Replace "client" with "API key"
wikitext
text/x-wiki
The [[Special:AppManagement|API keys dashboard]] lets you create and manage OAuth 2.0 credentials for use with the Wikimedia API.
== Create a key ==
To create an API key, select '''Create key''', and complete the registration form.
=== Create app credentials ===
App credentials let you build an app to publish and share. Wikimedia API requests are rate limited based on client ID, so you should create one set of credentials per app. To create credentials, select an app type, and provide a redirect URL.
* '''Name''': Choose a unique name to help identify your app.
* '''Description''': Admins use this field to evaluate your client, so include a description of how your app uses Wikimedia content.
* '''Redirect URI''' is used by the OAuth authentication server to return users to your app after approval.
App credentials must be approved by Wikimedia OAuth administrators before they can be used. You can see the status of your client on the [[Special:AppManagement|API keys dashboard]]. Once your app is approved, you'll receive an email from wiki@wikimedia.org.
=== Create a personal API token ===
A personal API token is tied to your Wikimedia account. It should only be used by you and should not be published or shared. To create a personal API token, select the '''API token''' key type. After submitting the form, you'll be shown a client ID, client secret, and access token. Remember to store your access token in a secure place; you won't be able to access it again through the API Portal. Personal API tokens are approved automatically.
== Key status ==
The [[Special:AppManagement|API keys dashboard]] displays the status of each key.
* '''Approved''' keys are ready to use.
* '''Approval pending''' keys are waiting for review and approval by Wikimedia OAuth admins. Approval usually occurs within two weeks.
* '''Rejected''' keys have been rejected by Wikimedia OAuth admins. This is usually due to security concerns or missing or unclear information. If your key is rejected, you should receive an email from wiki@wikimedia.org with the rejection reason and steps to re-submit your key.
* '''Expired''' keys have not been approved within 30 days. If your key is expired, please re-create the key.
* '''Disabled''' keys have been disabled by Wikimedia OAuth admins due to security concerns or risky behavior.
== Reset secrets ==
To reset a client secret, select '''View details''' for the key on the [[Special:AppManagement|API keys dashboard]], and select '''Reset client secret'''. This resets all provided secrets for the key, including a personal API token. Resetting a secret does not invalidate existing secrets.
__NOTOC__
{{DEFAULTSORT:4}}
5r32kapnmzf45n60hw6yzgy0g17tzje
Documentation/Getting started/Authentication
0
96
433
2020-11-02T21:33:10Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:4}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
566
433
2020-11-11T19:26:27Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div style="max-width:775px;">
The Wikimedia API uses [[w:OAuth#OAuth_2.0|OAuth 2.0]] for authentication. [[Special:AppManagement|My clients]] lets you create and manage two types of OAuth client credentials:
* [[#API_token|API token]]: Call the API with a personal token tied to your Wikimedia account.
* [[#App_credentials|App credentials]]: Build an app to publish and share.
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== App credentials ==
To authenticate a request on behalf of an app, use the OAuth 2.0 client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">Client credentials must be stored securely. The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and select the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
The first step of the OAuth 2.0 client credentials workflow is to use your client ID and secret to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth/access_token
</syntaxhighlight>
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
eachzw7nujcyiim5sye9aifv5lsbm9t
567
566
2020-11-11T19:31:43Z
APaskulin (WMF)
20
/* 2. Get an access token */
wikitext
text/x-wiki
<div style="max-width:775px;">
The Wikimedia API uses [[w:OAuth#OAuth_2.0|OAuth 2.0]] for authentication. [[Special:AppManagement|My clients]] lets you create and manage two types of OAuth client credentials:
* [[#API_token|API token]]: Call the API with a personal token tied to your Wikimedia account.
* [[#App_credentials|App credentials]]: Build an app to publish and share.
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== App credentials ==
To authenticate a request on behalf of an app, use the OAuth 2.0 client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">Client credentials must be stored securely. The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and select the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
The first step of the OAuth 2.0 client credentials workflow is to use your client ID and secret to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
4f3waip0osw9xos4ykbnwxr8wbl4l1s
568
567
2020-11-12T19:19:51Z
APaskulin (WMF)
20
/* 2. Get an access token */ Fix URL
wikitext
text/x-wiki
<div style="max-width:775px;">
The Wikimedia API uses [[w:OAuth#OAuth_2.0|OAuth 2.0]] for authentication. [[Special:AppManagement|My clients]] lets you create and manage two types of OAuth client credentials:
* [[#API_token|API token]]: Call the API with a personal token tied to your Wikimedia account.
* [[#App_credentials|App credentials]]: Build an app to publish and share.
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== App credentials ==
To authenticate a request on behalf of an app, use the OAuth 2.0 client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">Client credentials must be stored securely. The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and select the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
The first step of the OAuth 2.0 client credentials workflow is to use your client ID and secret to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
roon2e22gvjs43d5wvpvzb79saabgn9
569
568
2020-11-13T18:37:03Z
APaskulin (WMF)
20
Reorganize page
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using the [[#Client_credentials|OAuth 2.0 client credentials flow]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
== Client credentials ==
To authenticate a request on behalf of an app, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">To use this flow, client credentials must be stored securely. The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
First, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
bir6t38mcmiu78pdeq1nrcz9a1rl9om
570
569
2020-11-13T19:10:43Z
APaskulin (WMF)
20
/* Client credentials */ Simplify note
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using the [[#Client_credentials|OAuth 2.0 client credentials flow]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
== Client credentials ==
To authenticate a request on behalf of an app, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
First, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
rjcb5uxxufoag88wzdchdqh8iiu03kw
572
570
2020-11-13T19:22:39Z
APaskulin (WMF)
20
/* Client credentials */ Add refresh section
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using the [[#Client_credentials|OAuth 2.0 client credentials flow]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
== Client credentials ==
To authenticate a request on behalf of an app, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
First, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and periodically expire. To get a new access token, submit a POST request using your refresh token, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
ehk04i0zwt1utunnw052m7ouq25shuf
573
572
2020-11-13T19:23:33Z
APaskulin (WMF)
20
/* 2. Authenticate your request */ Add validity note
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using the [[#Client_credentials|OAuth 2.0 client credentials flow]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
== Client credentials ==
To authenticate a request on behalf of an app, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
First, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and periodically expire. To get a new access token, submit a POST request using your refresh token, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== API token ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
7qw9fu631u3fukpev16szarxw6ckems
731
573
2020-11-25T19:52:14Z
APaskulin (WMF)
20
Merge with authorization page
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using the [[#Client_credentials|OAuth 2.0 client credentials flow]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
* [[#Read-only_apps|Read-only apps]]
* [[#Read/write_apps|Read/write apps]]
* [[#Read/write_apps|Personal API tokens]]
== Read-only apps ==
To authenticate a request on behalf of an app, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] client credentials flow. This flow lets you access public Wikimedia content like Wikipedia articles.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option.
To use the client credentials workflow, check the '''I can store my credentials securely''' checkbox. This confirms that you are able to store your client secret without submitting it to source control or publishing it in user-accessible code.
=== 2. Get an access token ===
First, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and periodically expire. To get a new access token, submit a POST request using your refresh token, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Read/write apps ==
To allow your app to interact with and access content on behalf of a user, use the [[w:OAuth#OAuth_2.0|OAuth 2.0]] authorization code workflow. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create app credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create app credentials, select '''Create client''', and choose the '''App credentials''' option. You should have one set of client credentials per app.
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. See [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and periodically expire. To get a new access token, submit a POST request using your refresh token, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token. To implement authentication for an app, use the [[#App_credentials|client credentials workflow]].</div>
=== 1. Create an API token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate your request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
dg5o80x6leqlxsc8hytlhfaup3q8u0c
916
731
2020-12-17T03:01:22Z
APaskulin (WMF)
20
Update page for new client management interface
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
* [[#App_authentication|App authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|User authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
== App authentication ==
To authenticate a request on behalf of an app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile, desktop, or single-page apps. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''Server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== User authentication ==
To allow your app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
g96tvfrkh6cqhka3z553jcbbd0qt7ho
979
916
2021-01-08T02:50:00Z
APaskulin (WMF)
20
Change menu position
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#API_token|API token]].
* [[#App_authentication|App authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|User authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
== App authentication ==
To authenticate a request on behalf of an app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile, desktop, or single-page apps. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''Server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== User authentication ==
To allow your app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
gwy0q0z4blsapkdyoyehfxrdxv8wwo4
981
979
2021-01-08T02:52:49Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div style="max-width:775px;">
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#Personal_API_tokens|API token]].
* [[#App_authentication|App authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|User authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
== App authentication ==
To authenticate a request on behalf of an app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile, desktop, or single-page apps. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''Server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== User authentication ==
To allow your app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
o4wk6tmx5wvk8z4p0ynf85mt25tjfaj
1054
981
2021-02-22T19:56:03Z
APaskulin (WMF)
20
Add draft notice
wikitext
text/x-wiki
<div style="max-width:775px;">
<div style="background-color: #eaf3ff; padding: 8px 10px; margin-top:10px;">
<p style="margin-bottom:0;">
🚧 <span style="font-weight:600;">Work in progress</span><br>
<span>This page is a draft. The information on this page is currently in development.</span>
</p>
</div>
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#Personal_API_tokens|API token]].
* [[#App_authentication|App authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|User authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
== App authentication ==
To authenticate a request on behalf of an app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The client credentials flow is not supported for mobile, desktop, or single-page apps. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''Server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== User authentication ==
To allow your app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">API tokens are tied to the account that created them and must be stored securely. Do not share or publish your API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
ct5tf3xndt3a39o8v4axufrivg5q9ng
1108
1054
2021-05-26T22:58:32Z
Cedarlakeventures
3431
Make the nomenclature used across the document more consistently match that used on the Client / API key management page for easier reader pattern matching.
wikitext
text/x-wiki
<div style="max-width:775px;">
<div style="background-color: #eaf3ff; padding: 8px 10px; margin-top:10px;">
<p style="margin-bottom:0;">
🚧 <span style="font-weight:600;">Work in progress</span><br>
<span>This page is a draft. The information on this page is currently in development.</span>
</p>
</div>
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#Personal_API_tokens|API token]].
* [[#App_authentication|Server-side app authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|Client-side or installed app user authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
== Server-side app authentication ==
To authenticate a request on behalf of a server-side app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The OAuth 2.0 client credentials flow is not supported for Client-side or installed apps (mobile, desktop, and single-page apps) - use the flow described in the next section instead. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''Server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Client-side or installed app user authentication ==
To allow your client-side or installed app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id={client ID}&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code={authorization code}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token={refresh token}' \
-F 'client_id={client ID}' \
-F 'client_secret={client secret}' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
Personal API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use personal API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">Personal API tokens are tied to the account that created them and must be stored securely. Do not share or publish your personal API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''Personal API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer $AccessToken" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== Troubleshooting ==
If your requests fail with a '''rest-read-denied''' error, then you may be running into [[phab:T283555|this issue]] - you need to log in to the respective wikis you're trying to access via the API before your account is recognized on them.
</div>
__NOTOC__
{{DEFAULTSORT:3}}
77v113jfaci2acdskbhtt2q3uzmp97v
1109
1108
2021-05-27T23:02:38Z
APaskulin (WMF)
20
Clarified placeholder values in examples. Added table and anchor to Troubleshooting section
wikitext
text/x-wiki
<div style="max-width:775px;">
<div style="background-color: #eaf3ff; padding: 8px 10px; margin-top:10px;">
<p style="margin-bottom:0;">
🚧 <span style="font-weight:600;">Work in progress</span><br>
<span>This page is a draft. The information on this page is currently in development.</span>
</p>
</div>
Apps using the Wikimedia API should authenticate their requests using [[w:OAuth#OAuth_2.0|OAuth 2.0]]. This provides a secure process for accessing Wikimedia resources and applies an app-specific [[Documentation/Getting started/Rate limits|rate limit]]. For a streamlined experience for evaluation and prototyping, you can authenticate using a personal [[#Personal_API_tokens|API token]].
* [[#App_authentication|App authentication]]: OAuth 2.0 client credentials flow
* [[#User_authentication|User authentication]]: OAuth 2.0 authorization code flow
* [[#Personal_API_tokens|Personal API token]]
* [[#Troubleshooting|Troubleshooting]]
== App authentication ==
To authenticate a request on behalf of an app, use the [https://oauth.net/2/grant-types/client-credentials/ OAuth 2.0 client credentials flow]. This flow lets you access public Wikimedia content like Wikipedia articles using a client ID and client secret.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">The OAuth 2.0 client credentials flow is not supported for client-side or installed apps (mobile, desktop, and single-page apps). Instead, use the [[#User_authentication|user authentication flow]]. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit the [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose the '''server-side app''' option. After creating the key, you'll be shown a client ID and secret. Make sure to store these credentials securely before exiting the dialog.
=== 2. Get an access token ===
To start the authentication process, use your client credentials to request an access token from the authentication server. The Wikimedia API uses meta.wikimedia.org as the authentication server. To request an access token, submit a POST request using your client ID and secret.
<syntaxhighlight lang="bash">
# Request an access token using a client ID and secret
curl -X POST -F 'grant_type=client_credentials' \
-F 'client_id=YOUR_CLIENT_ID' \
-F 'client_secret=YOUR_CLIENT_SECRET' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 3. Authenticate your request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 4. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token=YOUR_REFRESH_TOKEN' \
-F 'client_id=YOUR_CLIENT_ID' \
-F 'client_secret=YOUR_CLIENT_SECRET' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== User authentication ==
To allow your app to interact with and access content on behalf of a user, use the [https://oauth.net/2/grant-types/authorization-code/ OAuth 2.0 authorization code flow]. This provides a secure process for users to log in with their Wikimedia account and authorize your app. The OAuth 2.0 authorization code workflow can be used by server-side, client-side, and installed apps.
The OAuth 2.0 authorization code workflow includes three steps: [[#2._Request_authorization|request authorization from the user]], [[#3._Get_access_token|get an access token]], and [[#4._Authenticate_request|authenticate the request]].
=== 1. Create credentials ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|API keys dashboard]]. To create credentials, select '''Create key''', and choose your app type. You should have one set of credentials per app.
==== Choosing a redirect URI ====
To use the authorization code flow, you'll need to choose a redirect URI for your app. Following successful authorization, the authorization server redirects users to your app via this path. [https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/ Learn more about redirect URLs for mobile apps.]
=== 2. Request authorization ===
The first step in the workflow is to exchange user approval for an authorization code. To request authorization, ask your users to click on a link containing the Wikimedia API authentication server URL, client ID, and response type. This takes them to a page on meta.wikimedia.org where they can log in with their Wikimedia account and approve the request.
<syntaxhighlight lang="bash">
https://meta.wikimedia.org/w/rest.php/oauth2/authorize?client_id=YOUR_CLIENT_ID&response_type=code
</syntaxhighlight>
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">For mobile apps, desktop apps, Javascript apps, or other types of apps that publish client secrets in user-accessible code, include a PKCE code challenge in your authorization request. Read [[Documentation/Best practices/Security|security best practices]] to learn more.</div>
If the user approves the request, they are redirected to your app’s redirect URI with a query parameter, <code>code</code>, that contains the authorization code. You can use this code to get an access token.
=== 3. Get access token ===
Now that you have an authentication code, you can use it to get an access token from the authentication server. To request an access token, submit a POST request using your authorization code, client ID, and client secret.
<syntaxhighlight lang="bash">
# Request an access token using an authorization code
curl -X POST -F 'grant_type=authorization_code' \
-F 'code=YOUR_AUTHORIZATION_CODE' \
-F 'client_id=YOUR_CLIENT_ID' \
-F 'client_secret=YOUR_CLIENT_SECRET' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
The response contains an <code>access_token</code> and a <code>refresh_token</code>.
=== 4. Authenticate request ===
To authenticate an API request, include the access token in the Authorization request header using the Bearer authentication scheme.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
=== 5. Refresh token ===
Access tokens have limited validity and expire after four hours. To get a new access token, submit a POST request using your refresh token, client ID, and client secret. Refresh tokens are valid for 365 days.
<syntaxhighlight lang="bash">
# Request an access token using a refresh token
curl -X POST -F 'grant_type=refresh_token' \
-F 'refresh_token=YOUR_REFRESH_TOKEN' \
-F 'client_id=OUR_CLIENT_ID' \
-F 'client_secret=YOUR_CLIENT_SECRET' \
https://meta.wikimedia.org/w/rest.php/oauth2/access_token
</syntaxhighlight>
== Personal API tokens ==
Personal API tokens let you authenticate API requests on behalf of your Wikimedia account. You can use personal API tokens for testing and evaluation, running scripts locally, and prototyping apps.
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">Personal API tokens are tied to the account that created them and must be stored securely. Do not share or publish your personal API token.</div>
=== 1. Create token ===
[[Special:UserLogin|Log in]] with your Wikimedia account, and visit [[Special:AppManagement|My clients]]. To create an API token, select '''Create client''', and select the '''Personal API token''' option. Remember to store your access token in a secure place, like a password manager.
=== 2. Authenticate request ===
To authenticate an API request, include your access token in the Authorization request header using the Bearer authentication scheme. Personal access tokens are valid indefinitely and do not expire.
<syntaxhighlight lang="bash">
# Get the Earth article from English Wikipedia
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/bare
</syntaxhighlight>
== Troubleshooting ==
{| class="wikitable properties"
| Request fails with a '''rest-read-denied''' error
| This error can happen when a [[Documentation/Getting_started/Wikimedia_projects|project]] doesn't recognize new API Portal accounts. If you encounter this error, try visiting the project you're trying to access and logging in with your API Portal account.
|}
</div>
__NOTOC__
{{DEFAULTSORT:3}}
jlh4g5zt1mmgqmhe7engz0d09jjr5ng
Documentation/Getting started/Rate limits
0
97
434
2020-11-02T21:33:46Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:5}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:5}}
kxvbaoo5ubaneyrh9e4ekg064yb4ej5
440
434
2020-11-03T00:29:27Z
APaskulin (WMF)
20
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:6}}
qfmdee8mkzh8wlwrjecacmy9ql5ttrk
732
440
2020-11-25T19:57:31Z
APaskulin (WMF)
20
wikitext
text/x-wiki
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Authenticated requests ==
API requests authenticated using an access token are limited to 5000 requests per hour per user or IP address.
== Request a higher rate limit ==
To request a higher rate limit, send a request to...
__NOTOC__
{{DEFAULTSORT:6}}
62rthoxnh7bg0tbc14q82qf9654hf61
894
732
2020-12-11T02:50:22Z
APaskulin (WMF)
20
Remove upgrade process pending new product owner
wikitext
text/x-wiki
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Authenticated requests ==
API requests authenticated using an access token are limited to 5000 requests per hour per user or IP address.
__NOTOC__
{{DEFAULTSORT:6}}
lyerqw549shsejpe3ckkfzs3xpupiug
917
894
2020-12-17T03:08:13Z
APaskulin (WMF)
20
Reorganize and fix links
wikitext
text/x-wiki
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Personal requests ==
API requests authenticated using a [[Documentation/Getting started/Authentication#Personal_API_tokens|personal API token]] are limited to 5,000 requests per hour.
== App-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#App_authentication|OAuth 2.0 client credentials flow]] are limited to 5,000 requests per hour.
== User-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#User_authentication|OAuth 2.0 authorization code flow]] are limited to 5,000 requests per hour per user.
__NOTOC__
{{DEFAULTSORT:6}}
dla781soyfp79rofwf1xboji507n1wh
1013
917
2021-02-10T20:17:50Z
APaskulin (WMF)
20
Add note about 429 response code
wikitext
text/x-wiki
Rate limits restrict API calls to a set number of requests per hour based on the type of request. A 429 response code indicates that the applicable rate limit has been exceeded.
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Personal requests ==
API requests authenticated using a [[Documentation/Getting started/Authentication#Personal_API_tokens|personal API token]] are limited to 5,000 requests per hour.
== App-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#App_authentication|OAuth 2.0 client credentials flow]] are limited to 5,000 requests per hour.
== User-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#User_authentication|OAuth 2.0 authorization code flow]] are limited to 5,000 requests per hour per user.
__NOTOC__
{{DEFAULTSORT:6}}
eudr6g9j8lqm5ewl4d13ze1jn7phr3h
1014
1013
2021-02-10T20:29:06Z
APaskulin (WMF)
20
Limit content width for readability
wikitext
text/x-wiki
<div style="max-width:775px;">
Rate limits restrict API calls to a set number of requests per hour based on the type of request. A 429 response code indicates that the applicable rate limit has been exceeded.
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Personal requests ==
API requests authenticated using a [[Documentation/Getting started/Authentication#Personal_API_tokens|personal API token]] are limited to 5,000 requests per hour.
== App-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#App_authentication|OAuth 2.0 client credentials flow]] are limited to 5,000 requests per hour.
== User-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#User_authentication|OAuth 2.0 authorization code flow]] are limited to 5,000 requests per hour per user.
</div>
__NOTOC__
{{DEFAULTSORT:6}}
cqhfi577w5hrqntjc71bwuuqzsmknhg
1055
1014
2021-02-22T19:56:50Z
APaskulin (WMF)
20
Add draft notice
wikitext
text/x-wiki
<div style="max-width:775px;">
<div style="background-color: #eaf3ff; padding: 8px 10px; margin-top:10px;">
<p style="margin-bottom:0;">
🚧 <span style="font-weight:600;">Work in progress</span><br>
<span>This page is a draft. The information on this page is currently in development.</span>
</p>
</div>
Rate limits restrict API calls to a set number of requests per hour based on the type of request. A 429 response code indicates that the applicable rate limit has been exceeded.
== Anonymous requests ==
API requests without an access token are limited to 500 requests per hour per IP address.
== Personal requests ==
API requests authenticated using a [[Documentation/Getting started/Authentication#Personal_API_tokens|personal API token]] are limited to 5,000 requests per hour.
== App-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#App_authentication|OAuth 2.0 client credentials flow]] are limited to 5,000 requests per hour.
== User-authenticated requests ==
API requests authenticated using the [[Documentation/Getting started/Authentication#User_authentication|OAuth 2.0 authorization code flow]] are limited to 5,000 requests per hour per user.
</div>
__NOTOC__
{{DEFAULTSORT:6}}
0nenhi6izyngfzncqiodado9zgwcvpc
Template:Child properties end
10
99
445
2020-11-03T19:55:04Z
APaskulin (WMF)
20
Created page with "</div> </div> </div>"
wikitext
text/x-wiki
</div>
</div>
</div>
tlykbmqh7ajtd46jurxhkiubsc4zywp
Template:Optional object
10
100
447
2020-11-03T20:20:43Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">object</span></p>
8yk055n42ju2kopluutgjey28nklnkf
Documentation/Code samples
0
101
463
2020-11-05T17:35:11Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
464
463
2020-11-05T17:35:45Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Sample code]] to [[Documentation/Code samples]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
813
464
2020-12-10T06:31:52Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search images|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
34j6wsxb2bnzqbugzrcsniq66k4gtkz
816
813
2020-12-10T06:32:50Z
APaskulin (WMF)
20
fix link
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Reusing media|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
qky55q38u3698k3ooi6ubhu7h6i5gb6
820
816
2020-12-10T06:34:53Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search Wikipedia</p>
<p class="card-text" style="font-size: 14px;">Find articles by subject and title.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Search Wikipedia|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content</p>
<p class="card-text" style="font-size: 14px;">Get daily featured articles, most read pages, and more.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Featured content|Code sample]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Images and media files</p>
<p class="card-text" style="font-size: 14px;">Reuse free image, audio, and video.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code samples/Images and media|Code sample]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
1mc8kwbfabufd5z524iumha4gro1w84
Documentation/Best practices
0
102
465
2020-11-05T17:36:04Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
811
465
2020-12-10T06:21:23Z
APaskulin (WMF)
20
Add content
wikitext
text/x-wiki
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Stability policy</p>
<p class="card-text" style="font-size: 14px;">Learn about API versioning.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Stability policy|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Security</p>
<p class="card-text" style="font-size: 14px;">Keep your client credentials safe and secure.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Security|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Bots and tools</p>
<p class="card-text" style="font-size: 14px;">Get started building tools that support editors.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Tools and bots|Learn more]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Conditional requests</p>
<p class="card-text" style="font-size: 14px;">Optimize your API calls.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Best practices/Conditional requests|Learn more]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
<div class="col-sm">
</div>
</div>
</div>
</div>
__NOTOC__
__NOTOC__
{{DEFAULTSORT:3}}
mjlgfjr0azkt8ctuu0cbkyxv1adhfpf
Documentation/Code samples/Featured content
0
103
466
2020-11-05T17:41:03Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
601
466
2020-11-20T00:35:00Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Daily featured article]] to [[Documentation/Code samples/Today's featured article]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
789
601
2020-12-10T01:17:52Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Today's featured article]] to [[Documentation/Code samples/Featured content]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
791
789
2020-12-10T02:27:52Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div style="max-width:775px;">
== Getting featured content from Wikipedia with Python ==
Many [[w:Wikipedia|Wikipedias]] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The [[API_reference/Feed/Featured_content|featured content endpoint]] lets you access this content programmatically, adding high-quality, multilingual content to your apps. In this tutorial, you'll use the API to extract information about today's featured article, featured image, and latest news.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-featured-content.ipynb?format=raw downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
The Wikimedia API supports featured content in over 12 languages based on the type of content. You can see language availability for each type of featured content by visiting the [[API_reference/Feed#Language_support|API reference]]. While a Wikipedia may include featured content on its main page, not all Wikipedias are integrated into the Wikimedia API. Check the [[API_reference/Changelog|API changelog]] for the latest updates on language support.
'''API authentication:''' These examples use a User Agent header to identify the source of the request and an OAuth 2.0 access token for authentication. To learn about authentication for the Wikimedia API, read the [[Documentation/Getting_started/Authentication|authentication guide]].
=== Today's featured article ===
Editors from across Wikipedias select and curate quality articles to feature on their wiki's homepage. The [[API_reference/Feed/Featured_content|featured content endpoint]] allows you to access the daily featured article in over 10 languages. To use this endpoint, you'll need today's date in YYYY-MM-DD format and the language code. Language codes are usually two or three letters, such as <code>en</code> for English, <code>he</code> for Hebrew, and <code>fa</code> for Persian. To get the language code for your language, review the [[API_reference/Feed#Daily_featured_article|list of supported languages]].
<syntaxhighlight lang="python">
# Python 3
# Get today's date in YYYY-MM-DD format.
import datetime
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
# Choose your language, and get today's featured content.
import requests
language_code = 'en' # English
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'API Portal code sample (Talk:Documentation/Code_samples/Featured_content)'
}
base_url = 'https://api.wikimedia.org/feed/v1/wikipedia/'
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made request, you can extract information about today's featured article (`tfa`) from the [[API_reference/Feed/Featured_content#Response_schema|JSON response]]. In this example, we'll use the title of the article, the link to the original article on Wikipedia, a short extract, and a thumbnail of the article's lead image. To satisfy the attribution requirements for Wikipedia's [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license, make sure to include a link back to the original article on Wikipedia.
<syntaxhighlight lang="python">
# Get the featured article's title, URL, extract, and thumbnail.
import json
response = json.loads(response.text)
display_title = response['tfa']['titles']['display']
desktop_url = response['tfa']['content_urls']['desktop']['page']
extract_html = response['tfa']['extract_html']
thumbnail_url = response['tfa']['thumbnail']['source']
</syntaxhighlight>
=== Today's featured image ===
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. The [[API_reference/Feed/Featured_content|featured content endpoint]] includes information about the daily featured image from Wikimedia Commons.
When reusing a free image, review the license to provide the correct attribution information. For most free content licenses, you can correctly attribute the work by listing the artist, license, and linking to the file page on Wikimedia Commons. The Wikimedia API currently supports featured image descriptions in English only.
<syntaxhighlight lang="python">
# Get the featured image's thumbnail, description, license, and attribution information.
thumbnail_url = response['image']['thumbnail']['source']
description_html = response['image']['description']['html']
artist_name = response['image']['artist']['text']
attribution_url = response['image']['file_page']
license_name = response['image']['license']['type']
license_url = response['image']['license']['url']
</syntaxhighlight>
=== In the news ===
Some Wikipedias feature the latest news stories on their homepages, which we can also access using the featured content endpoint. Note that in-the-news content is only available for the current date. For example, to get the news stories featured on the main page of English Wikipedia:
As we did before, we can change the base URL to get today's news from another Wikipedia. For example, here's today's news from French Wikipedia. You can see that the featured stories aren't consistent between languages. This is because each Wikipedia is an independently managed community, and the stories featured depend on available articles and cultural context. You may also notice slight formatting differences between wikis.
<syntaxhighlight lang="python">
# Choose language
language_code = 'en' # English
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
# Get a list of headlines
headlines = []
response = json.loads(response.text)
for story in response['news']:
headline = story['story']
# Replace relative URLs with absolute URLs
headline = headline.replace('"./', '"https://' + language_code + '.wikipedia.org/wiki/')
headlines.append(headline)
</syntaxhighlight>
=== More featured content ===
The Wikimedia API [[API_reference/Feed|feed endpoints]] support additional types of featured content, including the previous day's most read articles, curated set of events that occurred on the given date, fixed holidays celebrated on the given date, and more.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
gfzs4e2a6ra8zubzfbdy0pw1eru1dg6
856
791
2020-12-10T16:23:16Z
APaskulin (WMF)
20
Fix date format
wikitext
text/x-wiki
<div style="max-width:775px;">
== Getting featured content from Wikipedia with Python ==
Many [[w:Wikipedia|Wikipedias]] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The [[API_reference/Feed/Featured_content|featured content endpoint]] lets you access this content programmatically, adding high-quality, multilingual content to your apps. In this tutorial, you'll use the API to extract information about today's featured article, featured image, and latest news.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-featured-content.ipynb?format=raw downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
The Wikimedia API supports featured content in over 12 languages based on the type of content. You can see language availability for each type of featured content by visiting the [[API_reference/Feed#Language_support|API reference]]. While a Wikipedia may include featured content on its main page, not all Wikipedias are integrated into the Wikimedia API. Check the [[API_reference/Changelog|API changelog]] for the latest updates on language support.
'''API authentication:''' These examples use a User Agent header to identify the source of the request and an OAuth 2.0 access token for authentication. To learn about authentication for the Wikimedia API, read the [[Documentation/Getting_started/Authentication|authentication guide]].
=== Today's featured article ===
Editors from across Wikipedias select and curate quality articles to feature on their wiki's homepage. The [[API_reference/Feed/Featured_content|featured content endpoint]] allows you to access the daily featured article in over 10 languages. To use this endpoint, you'll need today's date in YYYY/MM/DD format and the language code. Language codes are usually two or three letters, such as <code>en</code> for English, <code>he</code> for Hebrew, and <code>fa</code> for Persian. To get the language code for your language, review the [[API_reference/Feed#Daily_featured_article|list of supported languages]].
<syntaxhighlight lang="python">
# Python 3
# Get today's date in YYYY/MM/DD format.
import datetime
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
# Choose your language, and get today's featured content.
import requests
language_code = 'en' # English
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'API Portal code sample (Talk:Documentation/Code_samples/Featured_content)'
}
base_url = 'https://api.wikimedia.org/feed/v1/wikipedia/'
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made request, you can extract information about today's featured article (`tfa`) from the [[API_reference/Feed/Featured_content#Response_schema|JSON response]]. In this example, we'll use the title of the article, the link to the original article on Wikipedia, a short extract, and a thumbnail of the article's lead image. To satisfy the attribution requirements for Wikipedia's [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license, make sure to include a link back to the original article on Wikipedia.
<syntaxhighlight lang="python">
# Get the featured article's title, URL, extract, and thumbnail.
import json
response = json.loads(response.text)
display_title = response['tfa']['titles']['display']
desktop_url = response['tfa']['content_urls']['desktop']['page']
extract_html = response['tfa']['extract_html']
thumbnail_url = response['tfa']['thumbnail']['source']
</syntaxhighlight>
=== Today's featured image ===
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. The [[API_reference/Feed/Featured_content|featured content endpoint]] includes information about the daily featured image from Wikimedia Commons.
When reusing a free image, review the license to provide the correct attribution information. For most free content licenses, you can correctly attribute the work by listing the artist, license, and linking to the file page on Wikimedia Commons. The Wikimedia API currently supports featured image descriptions in English only.
<syntaxhighlight lang="python">
# Get the featured image's thumbnail, description, license, and attribution information.
thumbnail_url = response['image']['thumbnail']['source']
description_html = response['image']['description']['html']
artist_name = response['image']['artist']['text']
attribution_url = response['image']['file_page']
license_name = response['image']['license']['type']
license_url = response['image']['license']['url']
</syntaxhighlight>
=== In the news ===
Some Wikipedias feature the latest news stories on their homepages, which we can also access using the featured content endpoint. Note that in-the-news content is only available for the current date. For example, to get the news stories featured on the main page of English Wikipedia:
As we did before, we can change the base URL to get today's news from another Wikipedia. For example, here's today's news from French Wikipedia. You can see that the featured stories aren't consistent between languages. This is because each Wikipedia is an independently managed community, and the stories featured depend on available articles and cultural context. You may also notice slight formatting differences between wikis.
<syntaxhighlight lang="python">
# Choose language
language_code = 'en' # English
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
# Get a list of headlines
headlines = []
response = json.loads(response.text)
for story in response['news']:
headline = story['story']
# Replace relative URLs with absolute URLs
headline = headline.replace('"./', '"https://' + language_code + '.wikipedia.org/wiki/')
headlines.append(headline)
</syntaxhighlight>
=== More featured content ===
The Wikimedia API [[API_reference/Feed|feed endpoints]] support additional types of featured content, including the previous day's most read articles, curated set of events that occurred on the given date, fixed holidays celebrated on the given date, and more.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
32b4ngg79iheerm58b7jy7n5f1lh5l2
895
856
2020-12-11T21:05:25Z
APaskulin (WMF)
20
Fix user agent
wikitext
text/x-wiki
<div style="max-width:775px;">
== Getting featured content from Wikipedia with Python ==
Many [[w:Wikipedia|Wikipedias]] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The [[API_reference/Feed/Featured_content|featured content endpoint]] lets you access this content programmatically, adding high-quality, multilingual content to your apps. In this tutorial, you'll use the API to extract information about today's featured article, featured image, and latest news.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-featured-content.ipynb?format=raw downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
The Wikimedia API supports featured content in over 12 languages based on the type of content. You can see language availability for each type of featured content by visiting the [[API_reference/Feed#Language_support|API reference]]. While a Wikipedia may include featured content on its main page, not all Wikipedias are integrated into the Wikimedia API. Check the [[API_reference/Changelog|API changelog]] for the latest updates on language support.
'''API authentication:''' These examples use a User Agent header to identify the source of the request and an OAuth 2.0 access token for authentication. To learn about authentication for the Wikimedia API, read the [[Documentation/Getting_started/Authentication|authentication guide]].
=== Today's featured article ===
Editors from across Wikipedias select and curate quality articles to feature on their wiki's homepage. The [[API_reference/Feed/Featured_content|featured content endpoint]] allows you to access the daily featured article in over 10 languages. To use this endpoint, you'll need today's date in YYYY/MM/DD format and the language code. Language codes are usually two or three letters, such as <code>en</code> for English, <code>he</code> for Hebrew, and <code>fa</code> for Persian. To get the language code for your language, review the [[API_reference/Feed#Daily_featured_article|list of supported languages]].
<syntaxhighlight lang="python">
# Python 3
# Get today's date in YYYY/MM/DD format.
import datetime
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
# Choose your language, and get today's featured content.
import requests
language_code = 'en' # English
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/feed/v1/wikipedia/'
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made request, you can extract information about today's featured article (`tfa`) from the [[API_reference/Feed/Featured_content#Response_schema|JSON response]]. In this example, we'll use the title of the article, the link to the original article on Wikipedia, a short extract, and a thumbnail of the article's lead image. To satisfy the attribution requirements for Wikipedia's [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license, make sure to include a link back to the original article on Wikipedia.
<syntaxhighlight lang="python">
# Get the featured article's title, URL, extract, and thumbnail.
import json
response = json.loads(response.text)
display_title = response['tfa']['titles']['display']
desktop_url = response['tfa']['content_urls']['desktop']['page']
extract_html = response['tfa']['extract_html']
thumbnail_url = response['tfa']['thumbnail']['source']
</syntaxhighlight>
=== Today's featured image ===
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. The [[API_reference/Feed/Featured_content|featured content endpoint]] includes information about the daily featured image from Wikimedia Commons.
When reusing a free image, review the license to provide the correct attribution information. For most free content licenses, you can correctly attribute the work by listing the artist, license, and linking to the file page on Wikimedia Commons. The Wikimedia API currently supports featured image descriptions in English only.
<syntaxhighlight lang="python">
# Get the featured image's thumbnail, description, license, and attribution information.
thumbnail_url = response['image']['thumbnail']['source']
description_html = response['image']['description']['html']
artist_name = response['image']['artist']['text']
attribution_url = response['image']['file_page']
license_name = response['image']['license']['type']
license_url = response['image']['license']['url']
</syntaxhighlight>
=== In the news ===
Some Wikipedias feature the latest news stories on their homepages, which we can also access using the featured content endpoint. Note that in-the-news content is only available for the current date. For example, to get the news stories featured on the main page of English Wikipedia:
As we did before, we can change the base URL to get today's news from another Wikipedia. For example, here's today's news from French Wikipedia. You can see that the featured stories aren't consistent between languages. This is because each Wikipedia is an independently managed community, and the stories featured depend on available articles and cultural context. You may also notice slight formatting differences between wikis.
<syntaxhighlight lang="python">
# Choose language
language_code = 'en' # English
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
# Get a list of headlines
headlines = []
response = json.loads(response.text)
for story in response['news']:
headline = story['story']
# Replace relative URLs with absolute URLs
headline = headline.replace('"./', '"https://' + language_code + '.wikipedia.org/wiki/')
headlines.append(headline)
</syntaxhighlight>
=== More featured content ===
The Wikimedia API [[API_reference/Feed|feed endpoints]] support additional types of featured content, including the previous day's most read articles, curated set of events that occurred on the given date, fixed holidays celebrated on the given date, and more.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
m0d4h6tuvke31v9rx0aet71bxlt5vr7
1051
895
2021-02-14T17:08:55Z
Ameisenigel
14
Category
wikitext
text/x-wiki
<div style="max-width:775px;">
== Getting featured content from Wikipedia with Python ==
Many [[w:Wikipedia|Wikipedias]] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The [[API_reference/Feed/Featured_content|featured content endpoint]] lets you access this content programmatically, adding high-quality, multilingual content to your apps. In this tutorial, you'll use the API to extract information about today's featured article, featured image, and latest news.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-featured-content.ipynb?format=raw downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
The Wikimedia API supports featured content in over 12 languages based on the type of content. You can see language availability for each type of featured content by visiting the [[API_reference/Feed#Language_support|API reference]]. While a Wikipedia may include featured content on its main page, not all Wikipedias are integrated into the Wikimedia API. Check the [[API_reference/Changelog|API changelog]] for the latest updates on language support.
'''API authentication:''' These examples use a User Agent header to identify the source of the request and an OAuth 2.0 access token for authentication. To learn about authentication for the Wikimedia API, read the [[Documentation/Getting_started/Authentication|authentication guide]].
=== Today's featured article ===
Editors from across Wikipedias select and curate quality articles to feature on their wiki's homepage. The [[API_reference/Feed/Featured_content|featured content endpoint]] allows you to access the daily featured article in over 10 languages. To use this endpoint, you'll need today's date in YYYY/MM/DD format and the language code. Language codes are usually two or three letters, such as <code>en</code> for English, <code>he</code> for Hebrew, and <code>fa</code> for Persian. To get the language code for your language, review the [[API_reference/Feed#Daily_featured_article|list of supported languages]].
<syntaxhighlight lang="python">
# Python 3
# Get today's date in YYYY/MM/DD format.
import datetime
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
# Choose your language, and get today's featured content.
import requests
language_code = 'en' # English
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/feed/v1/wikipedia/'
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made request, you can extract information about today's featured article (`tfa`) from the [[API_reference/Feed/Featured_content#Response_schema|JSON response]]. In this example, we'll use the title of the article, the link to the original article on Wikipedia, a short extract, and a thumbnail of the article's lead image. To satisfy the attribution requirements for Wikipedia's [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license, make sure to include a link back to the original article on Wikipedia.
<syntaxhighlight lang="python">
# Get the featured article's title, URL, extract, and thumbnail.
import json
response = json.loads(response.text)
display_title = response['tfa']['titles']['display']
desktop_url = response['tfa']['content_urls']['desktop']['page']
extract_html = response['tfa']['extract_html']
thumbnail_url = response['tfa']['thumbnail']['source']
</syntaxhighlight>
=== Today's featured image ===
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. The [[API_reference/Feed/Featured_content|featured content endpoint]] includes information about the daily featured image from Wikimedia Commons.
When reusing a free image, review the license to provide the correct attribution information. For most free content licenses, you can correctly attribute the work by listing the artist, license, and linking to the file page on Wikimedia Commons. The Wikimedia API currently supports featured image descriptions in English only.
<syntaxhighlight lang="python">
# Get the featured image's thumbnail, description, license, and attribution information.
thumbnail_url = response['image']['thumbnail']['source']
description_html = response['image']['description']['html']
artist_name = response['image']['artist']['text']
attribution_url = response['image']['file_page']
license_name = response['image']['license']['type']
license_url = response['image']['license']['url']
</syntaxhighlight>
=== In the news ===
Some Wikipedias feature the latest news stories on their homepages, which we can also access using the featured content endpoint. Note that in-the-news content is only available for the current date. For example, to get the news stories featured on the main page of English Wikipedia:
As we did before, we can change the base URL to get today's news from another Wikipedia. For example, here's today's news from French Wikipedia. You can see that the featured stories aren't consistent between languages. This is because each Wikipedia is an independently managed community, and the stories featured depend on available articles and cultural context. You may also notice slight formatting differences between wikis.
<syntaxhighlight lang="python">
# Choose language
language_code = 'en' # English
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
# Get a list of headlines
headlines = []
response = json.loads(response.text)
for story in response['news']:
headline = story['story']
# Replace relative URLs with absolute URLs
headline = headline.replace('"./', '"https://' + language_code + '.wikipedia.org/wiki/')
headlines.append(headline)
</syntaxhighlight>
=== More featured content ===
The Wikimedia API [[API_reference/Feed|feed endpoints]] support additional types of featured content, including the previous day's most read articles, curated set of events that occurred on the given date, fixed holidays celebrated on the given date, and more.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
[[Category:Code samples]]
5jp5d2tl4y8p858fuyz4zws59srcjbo
1259
1051
2022-04-27T22:00:44Z
APaskulin (WMF)
20
/* Today's featured article */ Uncomment line
wikitext
text/x-wiki
<div style="max-width:775px;">
== Getting featured content from Wikipedia with Python ==
Many [[w:Wikipedia|Wikipedias]] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The [[API_reference/Feed/Featured_content|featured content endpoint]] lets you access this content programmatically, adding high-quality, multilingual content to your apps. In this tutorial, you'll use the API to extract information about today's featured article, featured image, and latest news.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-featured-content.ipynb?format=raw downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
The Wikimedia API supports featured content in over 12 languages based on the type of content. You can see language availability for each type of featured content by visiting the [[API_reference/Feed#Language_support|API reference]]. While a Wikipedia may include featured content on its main page, not all Wikipedias are integrated into the Wikimedia API. Check the [[API_reference/Changelog|API changelog]] for the latest updates on language support.
'''API authentication:''' These examples use a User Agent header to identify the source of the request and an OAuth 2.0 access token for authentication. To learn about authentication for the Wikimedia API, read the [[Documentation/Getting_started/Authentication|authentication guide]].
=== Today's featured article ===
Editors from across Wikipedias select and curate quality articles to feature on their wiki's homepage. The [[API_reference/Feed/Featured_content|featured content endpoint]] allows you to access the daily featured article in over 10 languages. To use this endpoint, you'll need today's date in YYYY/MM/DD format and the language code. Language codes are usually two or three letters, such as <code>en</code> for English, <code>he</code> for Hebrew, and <code>fa</code> for Persian. To get the language code for your language, review the [[API_reference/Feed#Daily_featured_article|list of supported languages]].
<syntaxhighlight lang="python">
# Python 3
# Get today's date in YYYY/MM/DD format.
import datetime
today = datetime.datetime.now()
date = today.strftime('%Y/%m/%d')
# Choose your language, and get today's featured content.
import requests
language_code = 'en' # English
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/feed/v1/wikipedia/'
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made request, you can extract information about today's featured article (`tfa`) from the [[API_reference/Feed/Featured_content#Response_schema|JSON response]]. In this example, we'll use the title of the article, the link to the original article on Wikipedia, a short extract, and a thumbnail of the article's lead image. To satisfy the attribution requirements for Wikipedia's [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] license, make sure to include a link back to the original article on Wikipedia.
<syntaxhighlight lang="python">
# Get the featured article's title, URL, extract, and thumbnail.
import json
response = json.loads(response.text)
display_title = response['tfa']['titles']['display']
desktop_url = response['tfa']['content_urls']['desktop']['page']
extract_html = response['tfa']['extract_html']
thumbnail_url = response['tfa']['thumbnail']['source']
</syntaxhighlight>
=== Today's featured image ===
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. The [[API_reference/Feed/Featured_content|featured content endpoint]] includes information about the daily featured image from Wikimedia Commons.
When reusing a free image, review the license to provide the correct attribution information. For most free content licenses, you can correctly attribute the work by listing the artist, license, and linking to the file page on Wikimedia Commons. The Wikimedia API currently supports featured image descriptions in English only.
<syntaxhighlight lang="python">
# Get the featured image's thumbnail, description, license, and attribution information.
thumbnail_url = response['image']['thumbnail']['source']
description_html = response['image']['description']['html']
artist_name = response['image']['artist']['text']
attribution_url = response['image']['file_page']
license_name = response['image']['license']['type']
license_url = response['image']['license']['url']
</syntaxhighlight>
=== In the news ===
Some Wikipedias feature the latest news stories on their homepages, which we can also access using the featured content endpoint. Note that in-the-news content is only available for the current date. For example, to get the news stories featured on the main page of English Wikipedia:
As we did before, we can change the base URL to get today's news from another Wikipedia. For example, here's today's news from French Wikipedia. You can see that the featured stories aren't consistent between languages. This is because each Wikipedia is an independently managed community, and the stories featured depend on available articles and cultural context. You may also notice slight formatting differences between wikis.
<syntaxhighlight lang="python">
# Choose language
language_code = 'en' # English
url = base_url + language_code + '/featured/' + date
response = requests.get(url, headers=headers)
# Get a list of headlines
headlines = []
response = json.loads(response.text)
for story in response['news']:
headline = story['story']
# Replace relative URLs with absolute URLs
headline = headline.replace('"./', '"https://' + language_code + '.wikipedia.org/wiki/')
headlines.append(headline)
</syntaxhighlight>
=== More featured content ===
The Wikimedia API [[API_reference/Feed|feed endpoints]] support additional types of featured content, including the previous day's most read articles, curated set of events that occurred on the given date, fixed holidays celebrated on the given date, and more.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
[[Category:Code samples]]
do5x6aajrwv36nwinb8zsfwl89ocfxr
Documentation/Code samples/Search Wikipedia
0
104
467
2020-11-05T17:41:33Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
825
467
2020-12-10T06:43:00Z
APaskulin (WMF)
20
wikitext
text/x-wiki
==== 🚧 Under construction 🚧 ====
__NOTOC__
{{DEFAULTSORT:2}}
s90l9g65yz6t4l3p2r8homjag89y9ua
896
825
2020-12-11T22:26:20Z
APaskulin (WMF)
20
Add content
wikitext
text/x-wiki
<div style="max-width:775px;">
== Searching for Wikipedia articles using Python ==
The Wikimedia API lets you build apps and scripts that access content from [[w:Wikipedia|Wikipedia]] and other Wikimedia projects. In this tutorial, we'll use the search endpoints to find encyclopedia articles about the Solar System.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-search-wikipedia.ipynb downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
Wikipedia is available in [https://wikistats.wmcloud.org/display.php?t=wp over 300 languages]. You can request content in your language by specifying the language code in the URL. Language codes are usually two or three letters, such as en for English, he for Hebrew, and fa for Persian. To get the language code for your language, visit the [https://wikistats.wmcloud.org/display.php?t=wp list of Wikipedias]. In this example, we'll request one search result from [[:en:|English Wikipedia]], but you can change the language by setting the language code.
<syntaxhighlight lang="python">
# Python 3
# Choose your language, and search for articles.
import requests
language_code = 'en'
search_query = 'solar system'
number_of_results = 1
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/core/v1/wikipedia/'
endpoint = '/search/page'
url = base_url + language_code + endpoint
parameters = {'q': search_query, 'limit': number_of_results}
response = requests.get(url, headers=headers, params=parameters)
</syntaxhighlight>
The [[API_reference/Core/Search/Search_content|search content endpoint]] returns an array of page objects, giving you information about each article in the search results. The <code>title</code> property provides the article title as it appears on the page, while the <code>key</code> property gives you the title in URL-friendly format. You can use the <code>key</code> to construct the URL for the article using the language code and article path (/wiki). <code>description</code> provides a short summary of the topic. If a description isn't available, <code>description</code> will be null.
To add images to the search results, you can use the <code>thumbnail</code> object's <code>url</code> property. Like <code>description</code>, <code>thumbnail</code> is null if no thumbnail is available. To account for this, we'll use a <code>try</code> statement that substitutes a default image of the Wikipedia globe in case of an exception.
<syntaxhighlight lang="python">
# Get article title, description, and URL from the search results
import json
response = json.loads(response.text)
for page in response['pages']:
display_title = page['title']
article_url = 'https://' + language_code + '.wikipedia.org/wiki/' + page['key']
try:
article_description = page['description']
except:
article_description = 'a Wikipedia article'
try:
thumbnail_url = 'https:' + page['thumbnail']['url']
except:
thumbnail_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/200px-Wikipedia-logo-v2.svg.png'
</syntaxhighlight>
To get more information about how the article relates to the search query, you can use the <code>excerpt</code> property, which gives you a few lines from the article in HTML. In the excerpt, search terms are highlighted with span tags with <code>class="searchmatch"</code> to make them easy to style in your app.
=== Search languages ===
Once you have a page title, you can search for pages with the same topic in different languages using the [[API_reference/Core/Pages/Get_languages|get languages endpoint]].
<syntaxhighlight lang="python">
# Set the article title and get related articles in other languages.
title = 'Solar System'
endpoint = '/page/' + title + '/links/language'
url = base_url + language_code + endpoint
response = requests.get(url, headers=headers)
response = json.loads(response.text)
language_links = []
for language in response:
link = '{name}: https://{code}.wikipedia.org/wiki/{title}'.format(
name=language['name'], code=language['code'], title=language['key'])
language_links.append(link)
</syntaxhighlight>
You should now be able to use the Wikimedia API to search for article on Wikipedia. You can also use these endpoints with any Wikimedia projects; try searching for [https://www.wiktionary.org dictionary entries], [https://www.wikiquote.org/ famous quotes], and [https://wikimediafoundation.org/our-work/wikimedia-projects/ more]. For more information about these endpoints, see the [[API reference]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
qsj09jyhc2tv09pamus18u99kwdzr4m
1044
896
2021-02-12T03:46:11Z
APaskulin (WMF)
20
Replace content with transcluded page
wikitext
text/x-wiki
{{:Searching for Wikipedia articles using Python}}
{{DEFAULTSORT:2}}
t55nmlpouy507rqacegxfrmpb0eil1i
Documentation/Best practices/Stability policy
0
105
468
2020-11-05T17:47:07Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
792
468
2020-12-10T02:40:39Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Designed to provide long-term stability for developers, the Wikimedia API is versioned using a version number in the API path (for example: <code>/v1/</code>) that is applied per API namespace. Visit the [[API_reference/Changelog|changelog]] for the latest version of each namespace.
Following the principles of [https://semver.org/ semantic versioning], the version number is incremented when an endpoint in the namespace is changed in a backwards-incompatible way, such as removing a response property or adding a required parameter.
Within a major version, the API may change in backwards-compatible ways, such as adding a response property or optional request parameter.
__NOTOC__
{{DEFAULTSORT:1}}
1qgj2hbwelpw0gtv726bwyscfhu9oic
793
792
2020-12-10T02:41:03Z
APaskulin (WMF)
20
Add max-width
wikitext
text/x-wiki
<div style="max-width:775px;">
Designed to provide long-term stability for developers, the Wikimedia API is versioned using a version number in the API path (for example: <code>/v1/</code>) that is applied per API namespace. Visit the [[API_reference/Changelog|changelog]] for the latest version of each namespace.
Following the principles of [https://semver.org/ semantic versioning], the version number is incremented when an endpoint in the namespace is changed in a backwards-incompatible way, such as removing a response property or adding a required parameter.
Within a major version, the API may change in backwards-compatible ways, such as adding a response property or optional request parameter.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
rmy8d82izd9pjjtap7wsymda88bghlp
Documentation/Best practices/Security
0
106
469
2020-11-05T17:56:26Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
470
469
2020-11-05T17:57:00Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Best practices/Security best practices]] to [[Documentation/Best practices/Security]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
576
470
2020-11-16T19:26:20Z
APaskulin (WMF)
20
wikitext
text/x-wiki
== Storing client credentials ==
== Using state in authorization requests ==
== Using PKCE in authorization requests ==
__NOTOC__
{{DEFAULTSORT:2}}
5lrlh8hg8vmo4rs2z6s2cmuvaxxe89u
812
576
2020-12-10T06:30:05Z
APaskulin (WMF)
20
Add minimal content
wikitext
text/x-wiki
[[w:OAuth|OAuth]] is designed to keep secrets confidential during authentication and authorization. However, there are additional best practices that you can takes to improve the security of your app.
== Storing client credentials ==
API tokens and client secrets must be kept confidential and not submitted to public source control or exposed in user-accessible code.
== Using PKCE in authorization requests ==
A Proof Key for Code Exchange (PKCE) is required for mobile, desktop, and single-page apps as part of the OAuth 2.0 authorization code flow. Visit the [https://www.oauth.com/oauth2-servers/pkce/authorization-request/ OAuth documentation] for information about using PKCE in authorization requests.
__NOTOC__
{{DEFAULTSORT:2}}
3eq33l7khjb7s3e2h1xgsc9v1fwtzbm
Documentation/Best practices/Conditional requests
0
107
471
2020-11-05T17:58:33Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
809
471
2020-12-10T06:15:35Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia API endpoints support conditional GET requests using [[w:HTTP ETag|ETags]].
ETags, short for entity tags, are unique identifiers assigned to different versions of a resource.
You can use ETags to optimize your API calls when accessing the same resource multiple times.
== Making a conditional request using an ETag ==
To make a conditional request, provide the value of the <code>etag</code> response header in an If-None-Match request header.
If the resource has ''not'' changed since the last request, the API returns HTTP status 304 (Not Modified).
If the resource has changed, the API returns HTTP status 200 (OK) with the latest data and a new ETag.
<syntaxhighlight lang="bash">
# Conditional request using If-None-Match
curl --include --header 'If-None-Match: W/"917562775"' \
https://en.wikipedia.org/w/rest.php/v1/page/Earth/history
# Response: resource unchanged
HTTP 304
etag: W/"917562775"
# Response: resource changed
HTTP 200
etag: W/"537558444"
</syntaxhighlight>
To detect a matching resource, use the If-Match request header.
If no match is found or an evaluation error occurs, the API returns a HTTP status 412 (Precondition Failed).
== Making a conditional request using last-modified ==
When present, ETags are the preferred method for conditional requests.
However, to improve API efficiency, some endpoints do not support ETags.
To make a conditional request to an endpoint that doesn't return an ETag, supply the value of the last-modified response header in an If-Modified-Since or If-Unmodified-Since request header.
<syntaxhighlight lang="bash">
# Conditional request using If-Modified-Since
curl --include --header 'If-Modified-Since: Sat, 06 Jun 2020 16:38:47 GMT' \
https://en.wikipedia.org/w/rest.php/v1/page/Earth/history/counts/edits
# Response: resource unchanged
HTTP 304
content-type: application/json
last-modified: Sat, 06 Jun 2020 16:38:47 GMT
# Response: resource changed
HTTP 200
content-type: application/json
last-modified: Mon, 10 Jun 2020 06:51:35 GMT
{"count":12773,"limit":false}
</syntaxhighlight>
</div>
__NOTOC__
{{DEFAULTSORT:3}}
4c505o2e8jjo05xc2e2lkvkt25oazd1
Documentation/Best practices/Tools and bots
0
108
472
2020-11-05T18:00:02Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:4}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
577
472
2020-11-16T19:29:27Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Best practices/Bots and tools]] to [[Documentation/Best practices/Tools and bots]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:4}}
q1gco9aing29v1wze5er37sfa32isrj
579
577
2020-11-16T20:44:43Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Tools are apps and scripts that help editors maintain Wikimedia projects. They can include editing tools, browser tools, citation tools, and anti-vandalism tools. By making use of Wikimedia APIs, tools can provide helpful features that build on Wikipedia projects.
== Getting started with tools ==
Before creating a tool, visit the [https://hay.toolforge.org/directory/ Tools Directory] to see what is currently available and how you can contribute to an existing tool.
== Getting started with bots ==
Bots are automated tools that carries out repetitive and mundane tasks to maintain Wikimedia projects. Each Wikimedia project has a policy that governs that creation and implementation of bots.
Before creating a bot, visit your local Wikimedia projects to discover what bots are currently active and how you can contribute to them. Your local wiki should include a bot policy that determines the process for creating and implementing a bot. For example, on English Wikipedia, visit the [[w:Wikipedia:Bots|bots portal]].
== Hosting for tools and bots ==
Tools and bots related to maintaining Wikimedia projects can be hosted on the Wikimedia Toolforge servers. Visit the [[wikitech:Portal:Toolforge|Toolforge portal on Wikitech]] to get started.
__NOTOC__
{{DEFAULTSORT:4}}
prsee1hg3ispaazfb55nk27eeyek22g
810
579
2020-12-10T06:15:58Z
APaskulin (WMF)
20
Add max-width
wikitext
text/x-wiki
<div style="max-width:775px;">
Tools are apps and scripts that help editors maintain Wikimedia projects. They can include editing tools, browser tools, citation tools, and anti-vandalism tools. By making use of Wikimedia APIs, tools can provide helpful features that build on Wikipedia projects.
== Getting started with tools ==
Before creating a tool, visit the [https://hay.toolforge.org/directory/ Tools Directory] to see what is currently available and how you can contribute to an existing tool.
== Getting started with bots ==
Bots are automated tools that carries out repetitive and mundane tasks to maintain Wikimedia projects. Each Wikimedia project has a policy that governs that creation and implementation of bots.
Before creating a bot, visit your local Wikimedia projects to discover what bots are currently active and how you can contribute to them. Your local wiki should include a bot policy that determines the process for creating and implementing a bot. For example, on English Wikipedia, visit the [[w:Wikipedia:Bots|bots portal]].
== Hosting for tools and bots ==
Tools and bots related to maintaining Wikimedia projects can be hosted on the Wikimedia Toolforge servers. Visit the [[wikitech:Portal:Toolforge|Toolforge portal on Wikitech]] to get started.
</div>
__NOTOC__
{{DEFAULTSORT:4}}
41t677vqwwx7nvhncesfq482hmyv5bn
1007
810
2021-02-10T16:38:46Z
Ameisenigel
14
make external to internal link
wikitext
text/x-wiki
<div style="max-width:775px;">
Tools are apps and scripts that help editors maintain Wikimedia projects. They can include editing tools, browser tools, citation tools, and anti-vandalism tools. By making use of Wikimedia APIs, tools can provide helpful features that build on Wikipedia projects.
== Getting started with tools ==
Before creating a tool, visit the [[toolforge:hay/directory|Tools Directory]] to see what is currently available and how you can contribute to an existing tool.
== Getting started with bots ==
Bots are automated tools that carries out repetitive and mundane tasks to maintain Wikimedia projects. Each Wikimedia project has a policy that governs that creation and implementation of bots.
Before creating a bot, visit your local Wikimedia projects to discover what bots are currently active and how you can contribute to them. Your local wiki should include a bot policy that determines the process for creating and implementing a bot. For example, on English Wikipedia, visit the [[w:Wikipedia:Bots|bots portal]].
== Hosting for tools and bots ==
Tools and bots related to maintaining Wikimedia projects can be hosted on the Wikimedia Toolforge servers. Visit the [[wikitech:Portal:Toolforge|Toolforge portal on Wikitech]] to get started.
</div>
__NOTOC__
{{DEFAULTSORT:4}}
5n1x99djg73rlcka3emu5oa76gzklr2
1260
1007
2022-04-27T22:02:46Z
APaskulin (WMF)
20
/* Getting started with bots */
wikitext
text/x-wiki
<div style="max-width:775px;">
Tools are apps and scripts that help editors maintain Wikimedia projects. They can include editing tools, browser tools, citation tools, and anti-vandalism tools. By making use of Wikimedia APIs, tools can provide helpful features that build on Wikipedia projects.
== Getting started with tools ==
Before creating a tool, visit the [[toolforge:hay/directory|Tools Directory]] to see what is currently available and how you can contribute to an existing tool.
== Getting started with bots ==
Bots are automated tools that carry out repetitive tasks to maintain Wikimedia projects. Each Wikimedia project has a policy that governs the creation and implementation of bots.
Before creating a bot, visit your local Wikimedia project to discover what bots are currently active and how you can contribute to them. Your local wiki should include a bot policy that determines the process for creating and implementing a bot. For example, on English Wikipedia, visit the [[w:Wikipedia:Bots|bots portal]].
== Hosting for tools and bots ==
Tools and bots related to maintaining Wikimedia projects can be hosted on the Wikimedia Toolforge servers. Visit the [[wikitech:Portal:Toolforge|Toolforge portal on Wikitech]] to get started.
</div>
__NOTOC__
{{DEFAULTSORT:4}}
hpbx7c6jaacrd84yhimpvioovgsapxu
Documentation/Code samples/Images and media
0
109
473
2020-11-05T18:36:53Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:3}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
814
473
2020-12-10T06:32:09Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Search images]] to [[Documentation/Code samples/Images and medial files]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
815
814
2020-12-10T06:32:30Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Images and medial files]] to [[Documentation/Code samples/Reusing media]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
817
815
2020-12-10T06:33:45Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Reusing media]] to [[Documentation/Code samples/Images, audio, & video]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
818
817
2020-12-10T06:34:02Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Images, audio, & video]] to [[Documentation/Code samples/Images and media files]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
819
818
2020-12-10T06:34:35Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Documentation/Code samples/Images and media files]] to [[Documentation/Code samples/Images and media]] without leaving a redirect
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:3}}
jbluo52qlra6nyonrps5l3j0ts5o4ns
826
819
2020-12-10T06:43:11Z
APaskulin (WMF)
20
wikitext
text/x-wiki
==== 🚧 Under construction 🚧 ====
__NOTOC__
{{DEFAULTSORT:3}}
s73x1noryg2p9b73m7ej1099tzntohe
897
826
2020-12-12T00:06:23Z
APaskulin (WMF)
20
Add content
wikitext
text/x-wiki
<div style="max-width:775px;">
== Reusing free images and media files from Wikimedia Commons with Python ==
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. In this tutorial, you'll use the Wikimedia API to reuse an image, audio file, and video from Wikimedia Commons.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-reuse-images.ipynb downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
To find media files on Commons, use the [[commons:Special:Search|advanced search]] to filter by file type or extension. By using the Wikimedia API, you can easily access the file in multiple formats.
=== Images ===
Once you've selected an image, get the filename from the top of the page. For example, the filename for [[commons:File:The_Blue_Marble.jpg|this image]] is File:The_Blue_Marble.jpg. You can use the filename to get the image via the [[API_reference/Core/Media_files/Get_file|get file endpoint]].
<syntaxhighlight lang="python">
# Python 3
# Choose a file, and call the file endpoint.
import requests
file = 'File:The_Blue_Marble.jpg'
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/core/v1/commons/file/'
url = base_url + file
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made the request, you can extract the image's preferred format from the JSON response. On the file description page, you can see that File:The_Blue_Marble.jpg is in the public domain. To provide attribution for the image, include the license, and link back to the file page. For example:
[[commons:File:The Blue Marble.jpg|The Blue Marble.jpg]]<br>
by NASA | Public domain
<syntaxhighlight lang="python">
# Get the file's title, preferred size, and URL.
import json
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
preferred_file_url = response['preferred']['url']
preferred_width = response['preferred']['width']
preferred_height = response['preferred']['height']
</syntaxhighlight>
=== Video ===
You can access videos from Wikimedia Commons in the same way. For example, to access [[commons:File:Cheetahs on the Edge (Director's Cut).ogv|File:Cheetahs on the Edge (Director's Cut).ogv]], reset the file name, and call the file endpoint again. On the file page, you can see that this video is licensed under [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]. To provide the correct attribution for this license, make sure to credit the author and include a link to the license:
[[commons:File:Cheetahs on the Edge (Director's Cut).ogv|Cheetahs on the Edge (Director's Cut).ogv]]<br>
by Gregory Wilson | [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
<syntaxhighlight lang="python">
# Choose a video, and call the file endpoint.
file = "File:Cheetahs on the Edge (Director's Cut).ogv"
url = base_url + file
response = requests.get(url, headers=headers)
# Get the file's title, preferred size, and URL.
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
file_url = response['preferred']['url']
</syntaxhighlight>
=== Audio ===
For audio files, use the original format to access the file URL. Here's an example using [[commons:File:Wikipedia-Morse.ogg|File:Wikipedia-Morse.ogg]]. To provide attribution for this file under [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0], credit the author and include a link to the license:
[[commons:File:Wikipedia-Morse.ogg|Wikipedia-Morse.ogg]]<br>
by Horsten | [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
<syntaxhighlight lang="python">
# Choose an audio file, and call the file endpoint.
file = 'File:Wikipedia-Morse.ogg'
url = base_url + file
response = requests.get(url, headers=headers)
# Get the file's title, original size, and URL.
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
file_url = response['original']['url']
</syntaxhighlight>
To learn more about free images and media files, [[commons:Commons:Welcome|read the documentation]] on Wikimedia Commons.
__NOTOC__
{{DEFAULTSORT:3}}
brkwsv0kuml7pluduz5mmuei20fbba7
1052
897
2021-02-14T17:09:18Z
Ameisenigel
14
Category
wikitext
text/x-wiki
<div style="max-width:775px;">
== Reusing free images and media files from Wikimedia Commons with Python ==
[[commons:|Wikimedia Commons]] is a collection of over 60,000,000 freely usable media files, many of which are used in Wikipedia articles. In this tutorial, you'll use the Wikimedia API to reuse an image, audio file, and video from Wikimedia Commons.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-reuse-images.ipynb downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
To find media files on Commons, use the [[commons:Special:Search|advanced search]] to filter by file type or extension. By using the Wikimedia API, you can easily access the file in multiple formats.
=== Images ===
Once you've selected an image, get the filename from the top of the page. For example, the filename for [[commons:File:The_Blue_Marble.jpg|this image]] is File:The_Blue_Marble.jpg. You can use the filename to get the image via the [[API_reference/Core/Media_files/Get_file|get file endpoint]].
<syntaxhighlight lang="python">
# Python 3
# Choose a file, and call the file endpoint.
import requests
file = 'File:The_Blue_Marble.jpg'
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/core/v1/commons/file/'
url = base_url + file
response = requests.get(url, headers=headers)
</syntaxhighlight>
Once you've made the request, you can extract the image's preferred format from the JSON response. On the file description page, you can see that File:The_Blue_Marble.jpg is in the public domain. To provide attribution for the image, include the license, and link back to the file page. For example:
[[commons:File:The Blue Marble.jpg|The Blue Marble.jpg]]<br>
by NASA | Public domain
<syntaxhighlight lang="python">
# Get the file's title, preferred size, and URL.
import json
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
preferred_file_url = response['preferred']['url']
preferred_width = response['preferred']['width']
preferred_height = response['preferred']['height']
</syntaxhighlight>
=== Video ===
You can access videos from Wikimedia Commons in the same way. For example, to access [[commons:File:Cheetahs on the Edge (Director's Cut).ogv|File:Cheetahs on the Edge (Director's Cut).ogv]], reset the file name, and call the file endpoint again. On the file page, you can see that this video is licensed under [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]. To provide the correct attribution for this license, make sure to credit the author and include a link to the license:
[[commons:File:Cheetahs on the Edge (Director's Cut).ogv|Cheetahs on the Edge (Director's Cut).ogv]]<br>
by Gregory Wilson | [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
<syntaxhighlight lang="python">
# Choose a video, and call the file endpoint.
file = "File:Cheetahs on the Edge (Director's Cut).ogv"
url = base_url + file
response = requests.get(url, headers=headers)
# Get the file's title, preferred size, and URL.
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
file_url = response['preferred']['url']
</syntaxhighlight>
=== Audio ===
For audio files, use the original format to access the file URL. Here's an example using [[commons:File:Wikipedia-Morse.ogg|File:Wikipedia-Morse.ogg]]. To provide attribution for this file under [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0], credit the author and include a link to the license:
[[commons:File:Wikipedia-Morse.ogg|Wikipedia-Morse.ogg]]<br>
by Horsten | [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]
<syntaxhighlight lang="python">
# Choose an audio file, and call the file endpoint.
file = 'File:Wikipedia-Morse.ogg'
url = base_url + file
response = requests.get(url, headers=headers)
# Get the file's title, original size, and URL.
response = json.loads(response.text)
display_title = response['title']
attribution_url = 'https:' + response['file_description_url']
file_url = response['original']['url']
</syntaxhighlight>
To learn more about free images and media files, [[commons:Commons:Welcome|read the documentation]] on Wikimedia Commons.
__NOTOC__
{{DEFAULTSORT:3}}
[[Category:Code samples]]
rhs56xq2aocmp4olyb8t3mcuwg7mii6
Featured content response
0
112
522
2020-11-10T01:41:44Z
APaskulin (WMF)
20
Created page with "{ "tfa": { "type": "standard", "title": "Japanese_battleship_Yashima", "displaytitle": "Japanese battleship <i>Yashima</i>", "namespace": { "id": 0,..."
wikitext
text/x-wiki
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987910518",
"tid": "206770f0-22e4-11eb-8757-33dae8f0daa5",
"timestamp": "2020-11-09T23:34:12Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987906717",
"tid": "b748e030-22df-11eb-a428-e52fa9ac1697",
"timestamp": "2020-11-09T23:02:52Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987923979",
"tid": "7a4c7340-22f3-11eb-8071-2fe5a83441c7",
"timestamp": "2020-11-10T01:23:35Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987916563",
"tid": "216d4400-22eb-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:24:31Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
25nsgudulnbv28pusag67jzmd8dhfmg
523
522
2020-11-10T01:43:45Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987910518",
"tid": "206770f0-22e4-11eb-8757-33dae8f0daa5",
"timestamp": "2020-11-09T23:34:12Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"views": 1707752,
"rank": 4,
"view_history": [
{
"date": "2020-11-04Z",
"views": 277933
},
{
"date": "2020-11-05Z",
"views": 202543
},
{
"date": "2020-11-06Z",
"views": 187680
},
{
"date": "2020-11-07Z",
"views": 780011
},
{
"date": "2020-11-08Z",
"views": 1707752
}
],
"type": "standard",
"title": "Jill_Biden",
"displaytitle": "Jill Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q235349",
"titles": {
"canonical": "Jill_Biden",
"normalized": "Jill Biden",
"display": "Jill Biden"
},
"pageid": 18992270,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Jill_Biden_official_portrait_2.jpg/213px-Jill_Biden_official_portrait_2.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/Jill_Biden_official_portrait_2.jpg",
"width": 2000,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987906717",
"tid": "b748e030-22df-11eb-a428-e52fa9ac1697",
"timestamp": "2020-11-09T23:02:52Z",
"description": "American educator and academic, former Second Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.wikipedia.org/wiki/Jill_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jill_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jill_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jill_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Jill_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jill_Biden"
}
},
"extract": "Jill Tracy Jacobs Biden is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.",
"extract_html": "<p><b>Jill Tracy Jacobs Biden</b> is an American educator who is the First Lady of the United States designate and was Second Lady of the United States from 2009 to 2017. She is married to Joe Biden, the current President-elect of the United States; President-elect Biden is set to be inaugurated as the 46th President of the United States on January 20, 2021. She would be the first ever Italian American to become First Lady.</p>",
"normalizedtitle": "Jill Biden"
},
{
"views": 1648352,
"rank": 5,
"view_history": [
{
"date": "2020-11-04Z",
"views": 390202
},
{
"date": "2020-11-05Z",
"views": 262141
},
{
"date": "2020-11-06Z",
"views": 249776
},
{
"date": "2020-11-07Z",
"views": 610944
},
{
"date": "2020-11-08Z",
"views": 1648352
}
],
"type": "standard",
"title": "Beau_Biden",
"displaytitle": "Beau Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q813332",
"titles": {
"canonical": "Beau_Biden",
"normalized": "Beau Biden",
"display": "Beau Biden"
},
"pageid": 8194931,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg/229px-BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/75/BeauBiden-DOJ2013_%28cropped%29.jpg",
"width": 290,
"height": 405
},
"lang": "en",
"dir": "ltr",
"revision": "987767773",
"tid": "a2d36960-22d3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T03:27:22Z",
"description": "American politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.wikipedia.org/wiki/Beau_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Beau_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Beau_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Beau_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Beau_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Beau_Biden"
}
},
"extract": "Joseph Robinette \"Beau\" Biden III was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.",
"extract_html": "<p><b>Joseph Robinette </b>\"<b>Beau</b>\"<b> Biden III</b> was an American politician, lawyer and officer in the Army Judge Advocate General's Corps from Wilmington, Delaware. He was the eldest of three children from the marriage of U.S. President-elect Joe Biden and his first wife, Neilia Hunter. He served as the 44th Attorney General of Delaware and a Major in the Delaware Army National Guard.</p>",
"normalizedtitle": "Beau Biden"
},
{
"views": 1489547,
"rank": 6,
"view_history": [
{
"date": "2020-11-04Z",
"views": 66080
},
{
"date": "2020-11-05Z",
"views": 64878
},
{
"date": "2020-11-06Z",
"views": 86561
},
{
"date": "2020-11-07Z",
"views": 618461
},
{
"date": "2020-11-08Z",
"views": 1489547
}
],
"type": "standard",
"title": "Doug_Emhoff",
"displaytitle": "Doug Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q65029113",
"titles": {
"canonical": "Doug_Emhoff",
"normalized": "Doug Emhoff",
"display": "Doug Emhoff"
},
"pageid": 58425188,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg/245px-Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/95/Douglas_Emhoff_%281%29_%28cropped%29.jpg",
"width": 396,
"height": 516
},
"lang": "en",
"dir": "ltr",
"revision": "987919174",
"tid": "05f168c0-22ee-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:45:21Z",
"description": "Second Gentleman-designate of the United States, American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Doug_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Doug_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Doug_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Doug_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Doug_Emhoff"
}
},
"extract": "Douglas C. Emhoff is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.",
"extract_html": "<p><b>Douglas C. Emhoff</b> is an American lawyer and the husband of U.S. Senator and vice president-elect of the United States Kamala Harris. He is set to become the first Second Gentleman of the United States and the first Jewish spouse of a president or vice president.</p>",
"normalizedtitle": "Doug Emhoff"
},
{
"views": 1222695,
"rank": 8,
"view_history": [
{
"date": "2020-11-04Z",
"views": 82587
},
{
"date": "2020-11-05Z",
"views": 76007
},
{
"date": "2020-11-06Z",
"views": 79122
},
{
"date": "2020-11-07Z",
"views": 574150
},
{
"date": "2020-11-08Z",
"views": 1222695
}
],
"type": "standard",
"title": "Shyamala_Gopalan",
"displaytitle": "Shyamala Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60844968",
"titles": {
"canonical": "Shyamala_Gopalan",
"normalized": "Shyamala Gopalan",
"display": "Shyamala Gopalan"
},
"pageid": 59744825,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/7/7c/Shyamala_Gopalan_Harris_died_2009.jpg",
"width": 251,
"height": 278
},
"lang": "en",
"dir": "ltr",
"revision": "987872981",
"tid": "ddad38e0-22c9-11eb-94ee-893aedb1258e",
"timestamp": "2020-11-09T19:12:53Z",
"description": "Indian-American cancer researcher and civil rights activist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Shyamala_Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/Shyamala_Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Shyamala_Gopalan"
}
},
"extract": "Shyamala Gopalan was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.",
"extract_html": "<p><b>Shyamala Gopalan</b> was an Indian-American biomedical scientist, whose work in isolating and characterizing the progesterone receptor gene stimulated advances in breast biology and oncology.</p>",
"normalizedtitle": "Shyamala Gopalan"
},
{
"views": 1155359,
"rank": 9,
"view_history": [
{
"date": "2020-11-04Z",
"views": 73351
},
{
"date": "2020-11-05Z",
"views": 69711
},
{
"date": "2020-11-06Z",
"views": 79356
},
{
"date": "2020-11-07Z",
"views": 559187
},
{
"date": "2020-11-08Z",
"views": 1155359
}
],
"type": "standard",
"title": "Donald_J._Harris",
"displaytitle": "Donald J. Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q60894135",
"titles": {
"canonical": "Donald_J._Harris",
"normalized": "Donald J. Harris",
"display": "Donald J. Harris"
},
"pageid": 64832502,
"lang": "en",
"dir": "ltr",
"revision": "987919208",
"tid": "0ed36d30-22ee-11eb-b883-313adaa8938e",
"timestamp": "2020-11-10T00:45:34Z",
"description": "American economist",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_J._Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_J._Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_J._Harris",
"edit": "https://en.m.wikipedia.org/wiki/Donald_J._Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_J._Harris"
}
},
"extract": "Donald Jasper Harris is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.",
"extract_html": "<p><b>Donald Jasper Harris</b> is a Jamaican-American economist and professor emeritus at Stanford University, known for applying post-Keynesian ideas to development economics. He is the father of Kamala Harris, U.S. Senator from California, and Maya Harris, a lawyer and political commentator.</p>",
"normalizedtitle": "Donald J. Harris"
},
{
"views": 1130575,
"rank": 10,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2634
},
{
"date": "2020-11-05Z",
"views": 3682
},
{
"date": "2020-11-06Z",
"views": 6247
},
{
"date": "2020-11-07Z",
"views": 6536
},
{
"date": "2020-11-08Z",
"views": 1130575
}
],
"type": "standard",
"title": "Alex_Trebek",
"displaytitle": "Alex Trebek",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q929985",
"titles": {
"canonical": "Alex_Trebek",
"normalized": "Alex Trebek",
"display": "Alex Trebek"
},
"pageid": 312251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/210px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 210,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg/1120px-Alex_Trebek_%28May_21%2C_2012%29.jpg.jpg",
"width": 1120,
"height": 1703
},
"lang": "en",
"dir": "ltr",
"revision": "987916538",
"tid": "188e4cd0-22eb-11eb-b324-6782cd775777",
"timestamp": "2020-11-10T00:24:16Z",
"description": "Canadian-American television personality",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.wikipedia.org/wiki/Alex_Trebek?action=history",
"edit": "https://en.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alex_Trebek"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alex_Trebek",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alex_Trebek",
"edit": "https://en.m.wikipedia.org/wiki/Alex_Trebek?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alex_Trebek"
}
},
"extract": "George Alexander Trebek was a Canadian-American television personality and game show host. He was the host of the syndicated game show Jeopardy! for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including The Wizard of Odds, Double Dare, High Rollers, Battlestars, Classic Concentration, and To Tell the Truth. Trebek also made appearances in numerous television series, in which he usually played himself.",
"extract_html": "<p><b>George Alexander Trebek</b> was a Canadian-American television personality and game show host. He was the host of the syndicated game show <i>Jeopardy!</i> for 36 years from its revival in 1984 until his death in 2020. He also hosted a number of other game shows, including <i>The Wizard of Odds</i>, <i>Double Dare</i>, <i>High Rollers</i>, <i>Battlestars</i>, <i>Classic Concentration</i>, and <i>To Tell the Truth</i>. Trebek also made appearances in numerous television series, in which he usually played himself.</p>",
"normalizedtitle": "Alex Trebek"
},
{
"views": 1106754,
"rank": 11,
"view_history": [
{
"date": "2020-11-04Z",
"views": 51632
},
{
"date": "2020-11-05Z",
"views": 55049
},
{
"date": "2020-11-06Z",
"views": 58948
},
{
"date": "2020-11-07Z",
"views": 372278
},
{
"date": "2020-11-08Z",
"views": 1106754
}
],
"type": "standard",
"title": "Maya_Harris",
"displaytitle": "Maya Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16729668",
"titles": {
"canonical": "Maya_Harris",
"normalized": "Maya Harris",
"display": "Maya Harris"
},
"pageid": 8352422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg/236px-Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 236,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/97/Maya_Harris_at_Kamala_Harris_inauguration_as_Attorney_General.jpg",
"width": 558,
"height": 756
},
"lang": "en",
"dir": "ltr",
"revision": "987858986",
"tid": "c6fcc730-22b2-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T17:41:16Z",
"description": "American attorney",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.wikipedia.org/wiki/Maya_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Maya_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Maya_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Maya_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Maya_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Maya_Harris"
}
},
"extract": "Maya Lakshmi Harris is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.",
"extract_html": "<p><b>Maya Lakshmi Harris</b> is an American lawyer, public policy advocate, and television commentator. She is a political analyst for MSNBC and in 2015 was appointed as one of three senior policy advisors to lead the development of an agenda for Hillary Clinton's 2016 presidential campaign. She was formerly a senior fellow at the Center for American Progress. From 2008, until she took her current position, Harris was Vice President for Democracy, Rights and Justice at the Ford Foundation.Prior to joining the Ford Foundation, she served as the Executive Director of the American Civil Liberties Union (ACLU) of Northern California. Before joining the ACLU, the former law school dean was a Senior Associate at PolicyLink. Harris has authored two publications which include a report highlighting community-centered policing practices nationwide and an advocacy manual for police reform. She served as campaign chairwoman for her sister Kamala Harris's 2020 campaign for president until the campaign's suspension. Her sister, Kamala Harris is the Vice President-elect of the United States.</p>",
"normalizedtitle": "Maya Harris"
},
{
"views": 976120,
"rank": 12,
"view_history": [
{
"date": "2020-11-04Z",
"views": 23352
},
{
"date": "2020-11-05Z",
"views": 24600
},
{
"date": "2020-11-06Z",
"views": 24574
},
{
"date": "2020-11-07Z",
"views": 169766
},
{
"date": "2020-11-08Z",
"views": 976120
}
],
"type": "standard",
"title": "Family_of_Kamala_Harris",
"displaytitle": "Family of Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98476216",
"titles": {
"canonical": "Family_of_Kamala_Harris",
"normalized": "Family of Kamala Harris",
"display": "Family of Kamala Harris"
},
"pageid": 64851531,
"lang": "en",
"dir": "ltr",
"revision": "987821734",
"tid": "8e03dbc0-22b3-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-09T12:54:08Z",
"description": "Family of Kamala Harris",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Kamala_Harris"
}
},
"extract": "The family of Kamala Harris is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.",
"extract_html": "<p>The <b>family of Kamala Harris</b> is an American political and academic family comprising several notable members. Kamala Harris's maternal ancestry comes from Tamil Nadu, India and her father is from Jamaica. She is married to Douglas Emhoff.</p>",
"normalizedtitle": "Family of Kamala Harris"
},
{
"views": 956904,
"rank": 13,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209955
},
{
"date": "2020-11-05Z",
"views": 166034
},
{
"date": "2020-11-06Z",
"views": 156092
},
{
"date": "2020-11-07Z",
"views": 388561
},
{
"date": "2020-11-08Z",
"views": 956904
}
],
"type": "standard",
"title": "Hunter_Biden",
"displaytitle": "Hunter Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5944264",
"titles": {
"canonical": "Hunter_Biden",
"normalized": "Hunter Biden",
"display": "Hunter Biden"
},
"pageid": 19026387,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png/320px-R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 320,
"height": 295
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cf/R._Hunter_Biden_at_Center_for_Strategic_%26_International_Studies_%28Speaking%29.png",
"width": 391,
"height": 360
},
"lang": "en",
"dir": "ltr",
"revision": "987829130",
"tid": "a36cc330-22d3-11eb-b14e-9702e0c77a7f",
"timestamp": "2020-11-09T13:58:30Z",
"description": "Son of former Vice President of the United States Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.wikipedia.org/wiki/Hunter_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hunter_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hunter_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hunter_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Hunter_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hunter_Biden"
}
},
"extract": "Robert Hunter Biden is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.",
"extract_html": "<p><b>Robert Hunter Biden</b> is an American lawyer and investment advisor who is the second son of United States President-elect Joe Biden. He is a founding partner of investment and advisory firm Rosemont Seneca Partners. Biden was recruited to the board of Burisma Holdings, one of the largest private natural gas producers in Ukraine, in 2014 and served until his term expired in April 2019.</p>",
"normalizedtitle": "Hunter Biden"
},
{
"views": 948024,
"rank": 14,
"view_history": [
{
"date": "2020-11-04Z",
"views": 164361
},
{
"date": "2020-11-05Z",
"views": 137753
},
{
"date": "2020-11-06Z",
"views": 129053
},
{
"date": "2020-11-07Z",
"views": 373827
},
{
"date": "2020-11-08Z",
"views": 948024
}
],
"type": "standard",
"title": "Ashley_Biden",
"displaytitle": "Ashley Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q97588420",
"titles": {
"canonical": "Ashley_Biden",
"normalized": "Ashley Biden",
"display": "Ashley Biden"
},
"pageid": 19149610,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg/240px-Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Ashley_Biden_130121-Z-QU230-318_%281%29.jpg",
"width": 514,
"height": 686
},
"lang": "en",
"dir": "ltr",
"revision": "987866813",
"tid": "a265da80-22d3-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-09T18:33:44Z",
"description": "American social worker and fashion designer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.wikipedia.org/wiki/Ashley_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ashley_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ashley_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ashley_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Ashley_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ashley_Biden"
}
},
"extract": "Ashley Blazer Biden is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.",
"extract_html": "<p><b>Ashley Blazer Biden</b> is an American social worker, activist, philanthropist, and fashion designer. She served as the Executive Director of the Delaware Center for Justice from 2014 to 2019. Prior to her administrative role at the center, she worked in the Delaware Department of Services for Children, Youth, and Their Families. She founded the fashion company Livelihood, which partners with the online retailer Gilt Groupe to raise money for community programs focused on eliminating income inequality in the United States, launching it at New York Fashion Week in 2017. Biden is the daughter of U.S. President-elect Joe Biden, and the only child from his second marriage to U.S. First Lady-Designate Jill Biden.</p>",
"normalizedtitle": "Ashley Biden"
},
{
"views": 862464,
"rank": 15,
"view_history": [
{
"date": "2020-11-04Z",
"views": 34254
},
{
"date": "2020-11-05Z",
"views": 38929
},
{
"date": "2020-11-06Z",
"views": 42472
},
{
"date": "2020-11-07Z",
"views": 240013
},
{
"date": "2020-11-08Z",
"views": 862464
}
],
"type": "standard",
"title": "Meena_Harris",
"displaytitle": "Meena Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q96224414",
"titles": {
"canonical": "Meena_Harris",
"normalized": "Meena Harris",
"display": "Meena Harris"
},
"pageid": 64251281,
"lang": "en",
"dir": "ltr",
"revision": "987829232",
"tid": "8de0ea70-22b3-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-09T13:59:19Z",
"description": "American attorney and author",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.wikipedia.org/wiki/Meena_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Meena_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Meena_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Meena_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Meena_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Meena_Harris"
}
},
"extract": "Meenakshi Ashley Harris is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled Kamala and Maya's Big Idea, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.",
"extract_html": "<p><b>Meenakshi Ashley Harris</b> is an American lawyer, children's book author, and founder of the Phenomenal Woman Action Campaign. In June 2020, Harris released her first book from HarperCollins entitled <i>Kamala and Maya's Big Idea</i>, which is based on the story of her mother, Maya Harris, and aunt, Kamala Harris, the Vice President-elect of the United States.</p>",
"normalizedtitle": "Meena Harris"
},
{
"views": 851482,
"rank": 16,
"view_history": [
{
"date": "2020-11-04Z",
"views": 793477
},
{
"date": "2020-11-05Z",
"views": 536108
},
{
"date": "2020-11-06Z",
"views": 464704
},
{
"date": "2020-11-07Z",
"views": 864800
},
{
"date": "2020-11-08Z",
"views": 851482
}
],
"type": "standard",
"title": "Donald_Trump",
"displaytitle": "Donald Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22686",
"titles": {
"canonical": "Donald_Trump",
"normalized": "Donald Trump",
"display": "Donald Trump"
},
"pageid": 4848272,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Donald_Trump_official_portrait.jpg/253px-Donald_Trump_official_portrait.jpg",
"width": 253,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/56/Donald_Trump_official_portrait.jpg",
"width": 2250,
"height": 2850
},
"lang": "en",
"dir": "ltr",
"revision": "987916293",
"tid": "d60eadf0-22ea-11eb-a333-1b3853347cd9",
"timestamp": "2020-11-10T00:21:53Z",
"description": "45th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.wikipedia.org/wiki/Donald_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donald_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donald_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donald_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Donald_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donald_Trump"
}
},
"extract": "Donald John Trump is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.",
"extract_html": "<p><b>Donald John Trump</b> is the 45th and current president of the United States. Before entering politics, he was a businessman and television personality.</p>",
"normalizedtitle": "Donald Trump"
},
{
"views": 728147,
"rank": 17,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2392807
},
{
"date": "2020-11-05Z",
"views": 1236820
},
{
"date": "2020-11-06Z",
"views": 902222
},
{
"date": "2020-11-07Z",
"views": 1019999
},
{
"date": "2020-11-08Z",
"views": 728147
}
],
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987923979",
"tid": "7a4c7340-22f3-11eb-8071-2fe5a83441c7",
"timestamp": "2020-11-10T01:23:35Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters selected presidential electors of the Electoral College who in turn will vote on December 14, 2020, to elect the new president and vice president. This was the first election since 1992 in which an incumbent president failed to win re-election to a second term, and the first since 1960 in which the winning candidate did not carry bellwether state Ohio. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008; with more than 75 million votes, Biden received the most votes ever cast for a presidential candidate in an American election.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"views": 710152,
"rank": 18,
"view_history": [
{
"date": "2020-11-04Z",
"views": 209021
},
{
"date": "2020-11-05Z",
"views": 161538
},
{
"date": "2020-11-06Z",
"views": 141573
},
{
"date": "2020-11-07Z",
"views": 361470
},
{
"date": "2020-11-08Z",
"views": 710152
}
],
"type": "standard",
"title": "Neilia_Hunter",
"displaytitle": "Neilia Hunter",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q19285477",
"titles": {
"canonical": "Neilia_Hunter",
"normalized": "Neilia Hunter",
"display": "Neilia Hunter"
},
"pageid": 64572543,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/f/f1/Neilia_Hunter.jpeg/242px-Neilia_Hunter.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f1/Neilia_Hunter.jpeg",
"width": 250,
"height": 330
},
"lang": "en",
"dir": "ltr",
"revision": "987862436",
"tid": "a2252800-22d3-11eb-9ac2-b9495801bf2c",
"timestamp": "2020-11-09T18:04:56Z",
"description": "First wife of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=history",
"edit": "https://en.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neilia_Hunter"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neilia_Hunter",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neilia_Hunter",
"edit": "https://en.m.wikipedia.org/wiki/Neilia_Hunter?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neilia_Hunter"
}
},
"extract": "Neilia Hunter Biden was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.",
"extract_html": "<p><b>Neilia Hunter Biden</b> was an American teacher and the first wife of United States President-elect Joe Biden. She died in a car crash in 1972 with her infant daughter, Naomi; her two sons, Beau and Hunter, were severely injured but survived.</p>",
"normalizedtitle": "Neilia Hunter"
},
{
"views": 611075,
"rank": 19,
"view_history": [
{
"date": "2020-11-04Z",
"views": 19792
},
{
"date": "2020-11-05Z",
"views": 21258
},
{
"date": "2020-11-06Z",
"views": 22370
},
{
"date": "2020-11-07Z",
"views": 168970
},
{
"date": "2020-11-08Z",
"views": 611075
}
],
"type": "standard",
"title": "Kerstin_Emhoff",
"displaytitle": "Kerstin Emhoff",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q98304897",
"titles": {
"canonical": "Kerstin_Emhoff",
"normalized": "Kerstin Emhoff",
"display": "Kerstin Emhoff"
},
"pageid": 64888224,
"lang": "en",
"dir": "ltr",
"revision": "987881164",
"tid": "44a32170-22c7-11eb-b6f4-0b5893405232",
"timestamp": "2020-11-09T20:07:57Z",
"description": "American film producer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=history",
"edit": "https://en.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kerstin_Emhoff",
"edit": "https://en.m.wikipedia.org/wiki/Kerstin_Emhoff?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kerstin_Emhoff"
}
},
"extract": "Kerstin Emhoff is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.",
"extract_html": "<p><b>Kerstin Emhoff</b> is an American film producer and founder and CEO of the production company Prettybird. Under her leadership the company's films have won Grammy Awards, Emmy Awards, and Cannes Lions, while she personally won a News & Documentary Emmy Award in 2012. She was president of the \"film craft\" jury of the 2020 Cannes Lions International Festival of Creativity.</p>",
"normalizedtitle": "Kerstin Emhoff"
},
{
"views": 532877,
"rank": 20,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4831902
},
{
"date": "2020-11-05Z",
"views": 1217296
},
{
"date": "2020-11-06Z",
"views": 922765
},
{
"date": "2020-11-07Z",
"views": 804620
},
{
"date": "2020-11-08Z",
"views": 532877
}
],
"type": "standard",
"title": "2016_United_States_presidential_election",
"displaytitle": "2016 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q699872",
"titles": {
"canonical": "2016_United_States_presidential_election",
"normalized": "2016 United States presidential election",
"display": "2016 United States presidential election"
},
"pageid": 21377251,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/320px-ElectoralCollege2016.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/ElectoralCollege2016.svg/1020px-ElectoralCollege2016.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987642471",
"tid": "2beb65b0-22be-11eb-8c5d-0db7d0461193",
"timestamp": "2020-11-08T10:53:25Z",
"description": "58th U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2016_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_United_States_presidential_election"
}
},
"extract": "The 2016 United States presidential election was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.",
"extract_html": "<p>The <b>2016 United States presidential election</b> was the 58th quadrennial presidential election, held on Tuesday, November 8, 2016. The Republican ticket of businessman Donald Trump and Indiana governor Mike Pence defeated the Democratic ticket of former secretary of state Hillary Clinton and U.S. senator from Virginia Tim Kaine. Trump took office as the 45th president, and Pence as the 48th vice president, on January 20, 2017. It was the fifth and most recent presidential election in which the winning candidate lost the popular vote.</p>",
"normalizedtitle": "2016 United States presidential election"
},
{
"views": 521271,
"rank": 21,
"view_history": [
{
"date": "2020-11-04Z",
"views": 105525
},
{
"date": "2020-11-05Z",
"views": 78690
},
{
"date": "2020-11-06Z",
"views": 74125
},
{
"date": "2020-11-07Z",
"views": 196503
},
{
"date": "2020-11-08Z",
"views": 521271
}
],
"type": "standard",
"title": "Family_of_Joe_Biden",
"displaytitle": "Family of Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q54495162",
"titles": {
"canonical": "Family_of_Joe_Biden",
"normalized": "Family of Joe Biden",
"display": "Family of Joe Biden"
},
"pageid": 19105073,
"lang": "en",
"dir": "ltr",
"revision": "987890106",
"tid": "83ce47b0-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T21:06:09Z",
"description": "Immediate family of Joe Biden",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Family_of_Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Family_of_Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Family_of_Joe_Biden"
}
},
"extract": "The family of Joe Biden, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.",
"extract_html": "<p>The <b>family of Joe Biden</b>, the current President-elect of the United States, is a prominent American family, prominent in law, education and politics. Biden's immediate family will become the first family of the United States on his inauguration on January 20, 2021. The Biden family is of English, French and Irish descent, Biden's third great-grandfather immigrated from England to Maryland in 1822.</p>",
"normalizedtitle": "Family of Joe Biden"
},
{
"views": 400666,
"rank": 22,
"view_history": [
{
"date": "2020-11-04Z",
"views": 376662
},
{
"date": "2020-11-05Z",
"views": 279272
},
{
"date": "2020-11-06Z",
"views": 228678
},
{
"date": "2020-11-07Z",
"views": 354348
},
{
"date": "2020-11-08Z",
"views": 400666
}
],
"type": "standard",
"title": "Barack_Obama",
"displaytitle": "Barack Obama",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q76",
"titles": {
"canonical": "Barack_Obama",
"normalized": "Barack Obama",
"display": "Barack Obama"
},
"pageid": 534366,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/256px-President_Barack_Obama.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/President_Barack_Obama.jpg",
"width": 2687,
"height": 3356
},
"lang": "en",
"dir": "ltr",
"revision": "987882844",
"tid": "d1874980-22c8-11eb-9b22-7bff29e42012",
"timestamp": "2020-11-09T20:18:29Z",
"description": "44th president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.wikipedia.org/wiki/Barack_Obama?action=history",
"edit": "https://en.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Barack_Obama"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Barack_Obama",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Barack_Obama",
"edit": "https://en.m.wikipedia.org/wiki/Barack_Obama?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Barack_Obama"
}
},
"extract": "Barack Hussein Obama II is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.",
"extract_html": "<p><b>Barack Hussein Obama II</b> is an American politician and attorney who served as the 44th president of the United States from 2009 to 2017. A member of the Democratic Party, Obama was the first African-American president of the United States. He previously served as a U.S. senator from Illinois from 2005 to 2008 and an Illinois state senator from 1997 to 2004.</p>",
"normalizedtitle": "Barack Obama"
},
{
"views": 394604,
"rank": 23,
"view_history": [
{
"date": "2020-11-04Z",
"views": 357489
},
{
"date": "2020-11-05Z",
"views": 280987
},
{
"date": "2020-11-06Z",
"views": 252314
},
{
"date": "2020-11-07Z",
"views": 451299
},
{
"date": "2020-11-08Z",
"views": 394604
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States",
"displaytitle": "List of presidents of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35073",
"titles": {
"canonical": "List_of_presidents_of_the_United_States",
"normalized": "List of presidents of the United States",
"display": "List of presidents of the United States"
},
"pageid": 19908980,
"lang": "en",
"dir": "ltr",
"revision": "987765338",
"tid": "b3bb7120-2286-11eb-993c-413b09a2daf3",
"timestamp": "2020-11-09T03:03:45Z",
"description": "Wikipedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States"
}
},
"extract": "The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The president of the United States is the head of state and head of government of the United States, indirectly elected to a 4-year term by the people through the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "List of presidents of the United States"
},
{
"views": 371771,
"rank": 24,
"view_history": [
{
"date": "2020-11-04Z",
"views": 30691
},
{
"date": "2020-11-05Z",
"views": 28280
},
{
"date": "2020-11-06Z",
"views": 25792
},
{
"date": "2020-11-07Z",
"views": 161967
},
{
"date": "2020-11-08Z",
"views": 371771
}
],
"type": "standard",
"title": "P._V._Gopalan",
"displaytitle": "P. V. Gopalan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q91928120",
"titles": {
"canonical": "P._V._Gopalan",
"normalized": "P. V. Gopalan",
"display": "P. V. Gopalan"
},
"pageid": 63768976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/P.V._Gopalan.png/229px-P.V._Gopalan.png",
"width": 229,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a3/P.V._Gopalan.png",
"width": 439,
"height": 613
},
"lang": "en",
"dir": "ltr",
"revision": "987857848",
"tid": "8dfc88c0-22b3-11eb-aea6-a544926648c6",
"timestamp": "2020-11-09T17:33:23Z",
"description": "Indian civil servant",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=history",
"edit": "https://en.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:P._V._Gopalan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/P._V._Gopalan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/P._V._Gopalan",
"edit": "https://en.m.wikipedia.org/wiki/P._V._Gopalan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:P._V._Gopalan"
}
},
"extract": "Painganadu Venkataraman Gopalan was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.",
"extract_html": "<p><b>Painganadu Venkataraman Gopalan</b> was an Indian career civil servant who served as Director of Relief Measures and Refugees in the Government of Zambia, especially the exodus of Refugees from Southern Rhodesia. While in Zambia, he later served as Advisor to then President of Zambia. He served as Joint Secretary to the Government of India in 1960s.</p>",
"normalizedtitle": "P. V. Gopalan"
},
{
"views": 325737,
"rank": 25,
"view_history": [
{
"date": "2020-11-04Z",
"views": 728695
},
{
"date": "2020-11-05Z",
"views": 454839
},
{
"date": "2020-11-06Z",
"views": 382066
},
{
"date": "2020-11-07Z",
"views": 320521
},
{
"date": "2020-11-08Z",
"views": 325737
}
],
"type": "standard",
"title": "2000_United_States_presidential_election",
"displaytitle": "2000 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q327959",
"titles": {
"canonical": "2000_United_States_presidential_election",
"normalized": "2000 United States presidential election",
"display": "2000 United States presidential election"
},
"pageid": 32009,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/320px-ElectoralCollege2000.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/ElectoralCollege2000.svg/1020px-ElectoralCollege2000.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987805701",
"tid": "3a647e60-2273-11eb-af19-cdfc3a0a162b",
"timestamp": "2020-11-09T10:06:12Z",
"description": "54th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2000_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2000_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2000_United_States_presidential_election"
}
},
"extract": "The 2000 United States presidential election was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.",
"extract_html": "<p>The <b>2000 United States presidential election</b> was the 54th quadrennial presidential election, held on Tuesday, November 7, 2000. Republican candidate George W. Bush, the governor of Texas and eldest son of the 41st president, George H. W. Bush, won the disputed election, defeating Democratic nominee Al Gore, the incumbent vice president. It was the fourth of five presidential elections in which the winning candidate lost the popular vote and is considered one of the closest elections in US history.</p>",
"normalizedtitle": "2000 United States presidential election"
},
{
"views": 318107,
"rank": 26,
"view_history": [
{
"date": "2020-11-04Z",
"views": 182091
},
{
"date": "2020-11-05Z",
"views": 144305
},
{
"date": "2020-11-06Z",
"views": 124608
},
{
"date": "2020-11-07Z",
"views": 199885
},
{
"date": "2020-11-08Z",
"views": 318107
}
],
"type": "standard",
"title": "Melania_Trump",
"displaytitle": "Melania Trump",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q432473",
"titles": {
"canonical": "Melania_Trump",
"normalized": "Melania Trump",
"display": "Melania Trump"
},
"pageid": 1209075,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Melania_Trump_official_portrait.jpg/213px-Melania_Trump_official_portrait.jpg",
"width": 213,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Melania_Trump_official_portrait.jpg",
"width": 852,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987759724",
"tid": "46cacd90-2231-11eb-bda6-1d69c3a48aa6",
"timestamp": "2020-11-09T02:14:08Z",
"description": "First Lady of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.wikipedia.org/wiki/Melania_Trump?action=history",
"edit": "https://en.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Melania_Trump"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Melania_Trump",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Melania_Trump",
"edit": "https://en.m.wikipedia.org/wiki/Melania_Trump?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Melania_Trump"
}
},
"extract": "Melania Trump is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.",
"extract_html": "<p><b>Melania Trump</b> is a Slovene-American former model and businesswoman. She is the current First Lady of the United States, as the wife of the 45th U.S. president Donald Trump.</p>",
"normalizedtitle": "Melania Trump"
},
{
"views": 311502,
"rank": 27,
"view_history": [
{
"date": "2020-11-04Z",
"views": 13955
},
{
"date": "2020-11-05Z",
"views": 16079
},
{
"date": "2020-11-06Z",
"views": 17534
},
{
"date": "2020-11-07Z",
"views": 101459
},
{
"date": "2020-11-08Z",
"views": 311502
}
],
"type": "standard",
"title": "Tony_West_(attorney)",
"displaytitle": "Tony West (attorney)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q16196331",
"titles": {
"canonical": "Tony_West_(attorney)",
"normalized": "Tony West (attorney)",
"display": "Tony West (attorney)"
},
"pageid": 39107829,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/TonyWest-Official_DOJ_Portrait.jpg/256px-TonyWest-Official_DOJ_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/6/6c/TonyWest-Official_DOJ_Portrait.jpg",
"width": 606,
"height": 758
},
"lang": "en",
"dir": "ltr",
"revision": "987918866",
"tid": "b3fe40b0-22ed-11eb-8333-65858104dfa1",
"timestamp": "2020-11-10T00:43:01Z",
"description": "American lawyer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=history",
"edit": "https://en.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tony_West_(attorney)",
"edit": "https://en.m.wikipedia.org/wiki/Tony_West_(attorney)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tony_West_(attorney)"
}
},
"extract": "Derek Anthony \"Tony\" West is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.",
"extract_html": "<p><b>Derek Anthony \"Tony\" West</b> is an American attorney and former government official serving as the Chief Legal Officer of Uber, where he is responsible for Uber's legal, security and compliance and ethics functions. Before Uber, West served as Associate Attorney General of the United States and General Counsel of PepsiCo.</p>",
"normalizedtitle": "Tony West (attorney)"
},
{
"views": 299018,
"rank": 28,
"view_history": [
{
"date": "2020-11-04Z",
"views": 192146
},
{
"date": "2020-11-05Z",
"views": 218514
},
{
"date": "2020-11-06Z",
"views": 225997
},
{
"date": "2020-11-07Z",
"views": 273704
},
{
"date": "2020-11-08Z",
"views": 299018
}
],
"type": "standard",
"title": "The_Queen's_Gambit_(miniseries)",
"displaytitle": "<i>The Queen's Gambit</i> (miniseries)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q85808226",
"titles": {
"canonical": "The_Queen's_Gambit_(miniseries)",
"normalized": "The Queen's Gambit (miniseries)",
"display": "<i>The Queen's Gambit</i> (miniseries)"
},
"pageid": 61327392,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/a/af/TheQueensGambitCropped.png/320px-TheQueensGambitCropped.png",
"width": 320,
"height": 107
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/a/af/TheQueensGambitCropped.png",
"width": 525,
"height": 175
},
"lang": "en",
"dir": "ltr",
"revision": "987882785",
"tid": "b63dd040-22c8-11eb-83b2-eb601f7bcc64",
"timestamp": "2020-11-09T20:18:12Z",
"description": "2020 American drama streaming television miniseries",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=history",
"edit": "https://en.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/The_Queen's_Gambit_(miniseries)",
"edit": "https://en.m.wikipedia.org/wiki/The_Queen's_Gambit_(miniseries)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:The_Queen's_Gambit_(miniseries)"
}
},
"extract": "The Queen's Gambit is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.",
"extract_html": "<p><i><b>The Queen's Gambit </b></i> is an American drama television miniseries based on Walter Tevis's 1983 novel of the same name, starring Anya Taylor-Joy. It was created by Scott Frank and Allan Scott and released on Netflix on October 23, 2020.</p>",
"normalizedtitle": "The Queen's Gambit (miniseries)"
},
{
"views": 297552,
"rank": 29,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1174347
},
{
"date": "2020-11-05Z",
"views": 578507
},
{
"date": "2020-11-06Z",
"views": 484498
},
{
"date": "2020-11-07Z",
"views": 400525
},
{
"date": "2020-11-08Z",
"views": 297552
}
],
"type": "standard",
"title": "2012_United_States_presidential_election",
"displaytitle": "2012 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4226",
"titles": {
"canonical": "2012_United_States_presidential_election",
"normalized": "2012 United States presidential election",
"display": "2012 United States presidential election"
},
"pageid": 20102947,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/320px-ElectoralCollege2012.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/44/ElectoralCollege2012.svg/1020px-ElectoralCollege2012.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987829231",
"tid": "a6cfeb60-22d3-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-09T13:59:16Z",
"description": "57th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2012_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2012_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2012_United_States_presidential_election"
}
},
"extract": "The 2012 United States presidential election was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.",
"extract_html": "<p>The <b>2012 United States presidential election</b> was the 57th quadrennial presidential election, held on Tuesday, November 6, 2012. The incumbent Democratic President Barack Obama, and his running mate, Vice President Joe Biden, were re-elected to a second term. They defeated the Republican ticket of businessman and former Governor Mitt Romney of Massachusetts and Representative Paul Ryan of Wisconsin.</p>",
"normalizedtitle": "2012 United States presidential election"
},
{
"views": 295379,
"rank": 30,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1045418
},
{
"date": "2020-11-05Z",
"views": 589724
},
{
"date": "2020-11-06Z",
"views": 509404
},
{
"date": "2020-11-07Z",
"views": 412295
},
{
"date": "2020-11-08Z",
"views": 295379
}
],
"type": "standard",
"title": "2008_United_States_presidential_election",
"displaytitle": "2008 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q45578",
"titles": {
"canonical": "2008_United_States_presidential_election",
"normalized": "2008 United States presidential election",
"display": "2008 United States presidential election"
},
"pageid": 406859,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/320px-ElectoralCollege2008.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/ElectoralCollege2008.svg/1020px-ElectoralCollege2008.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987922520",
"tid": "a3bcbc50-22f1-11eb-9d3b-23a729f37904",
"timestamp": "2020-11-10T01:10:53Z",
"description": "56th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2008_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2008_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2008_United_States_presidential_election"
}
},
"extract": "The 2008 United States presidential election was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.",
"extract_html": "<p>The <b>2008 United States presidential election</b> was the 56th quadrennial presidential election, held on Tuesday, November 4, 2008. The Democratic ticket of Barack Obama, the junior U.S. Senator from Illinois, and Joe Biden, the senior U.S. Senator from Delaware, defeated the Republican ticket of John McCain, the senior Senator from Arizona, and Sarah Palin, the Governor of Alaska. Obama became the first African American ever to be elected to the presidency, as well as being only the third sitting United States Senator elected president, joining Warren G. Harding and John F. Kennedy.</p>",
"normalizedtitle": "2008 United States presidential election"
},
{
"views": 281220,
"rank": 31,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1744
},
{
"date": "2020-11-05Z",
"views": 4406
},
{
"date": "2020-11-06Z",
"views": 15977
},
{
"date": "2020-11-07Z",
"views": 49971
},
{
"date": "2020-11-08Z",
"views": 281220
}
],
"type": "standard",
"title": "Parler",
"displaytitle": "Parler",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q64852796",
"titles": {
"canonical": "Parler",
"normalized": "Parler",
"display": "Parler"
},
"pageid": 13713320,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/0/04/Parler_screenshot.jpg/320px-Parler_screenshot.jpg",
"width": 320,
"height": 157
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/0/04/Parler_screenshot.jpg",
"width": 451,
"height": 221
},
"lang": "en",
"dir": "ltr",
"revision": "987919190",
"tid": "0b80e6d0-22ee-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-10T00:45:28Z",
"description": "Microblogging and social networking service",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Parler",
"revisions": "https://en.wikipedia.org/wiki/Parler?action=history",
"edit": "https://en.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Parler"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Parler",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Parler",
"edit": "https://en.m.wikipedia.org/wiki/Parler?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Parler"
}
},
"extract": "Parler is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4 million users.",
"extract_html": "<p><b>Parler</b> is a United States-based microblogging and social networking service launched in August 2018. Parler has a significant user base of Trump supporters, conservatives, and Saudi nationalists. Posts on the website often contain far-right content, antisemitism, and conspiracy theories. The site has been described as an alternative to Twitter, and is popular among people who have been banned from mainstream social networks or oppose their moderation policies. The site markets itself as a \"free speech\" and unbiased alternative to mainstream social networks such as Twitter and Facebook. However, journalists and users have criticized the service for content policies that are more restrictive than the company portrays, and sometimes more restrictive than those of its competitors. As of November 2020, the site had more than 4<span class=\"nowrap\"> </span>million users.</p>",
"normalizedtitle": "Parler"
},
{
"views": 253689,
"rank": 32,
"view_history": [
{
"date": "2020-11-04Z",
"views": 93
},
{
"date": "2020-11-05Z",
"views": 84
},
{
"date": "2020-11-06Z",
"views": 95
},
{
"date": "2020-11-07Z",
"views": 86
},
{
"date": "2020-11-08Z",
"views": 253689
}
],
"type": "standard",
"title": "Hans_Münch",
"displaytitle": "Hans Münch",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q75939",
"titles": {
"canonical": "Hans_Münch",
"normalized": "Hans Münch",
"display": "Hans Münch"
},
"pageid": 5007797,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/thumb/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg/221px-Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 221,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/d/d9/Dr_Hans_W_Muench_%28SS%29.jpg",
"width": 262,
"height": 379
},
"lang": "en",
"dir": "ltr",
"revision": "987717630",
"tid": "ff473320-2201-11eb-b674-1ffd4b689089",
"timestamp": "2020-11-08T20:35:47Z",
"description": "German physician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=history",
"edit": "https://en.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Hans_M%C3%BCnch",
"edit": "https://en.m.wikipedia.org/wiki/Hans_M%C3%BCnch?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Hans_M%C3%BCnch"
}
},
"extract": "Hans Wilhelm Münch was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.",
"extract_html": "<p><b>Hans Wilhelm Münch</b> was a German Nazi Party member who worked as an SS doctor during World War II at the Auschwitz concentration camp from 1943 to 1945 in German occupied Poland.</p>",
"normalizedtitle": "Hans Münch"
},
{
"views": 230336,
"rank": 33,
"view_history": [
{
"date": "2020-11-04Z",
"views": 2239
},
{
"date": "2020-11-05Z",
"views": 2838
},
{
"date": "2020-11-06Z",
"views": 22526
},
{
"date": "2020-11-07Z",
"views": 127366
},
{
"date": "2020-11-08Z",
"views": 230336
}
],
"type": "standard",
"title": "Charles_Curtis",
"displaytitle": "Charles Curtis",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q271023",
"titles": {
"canonical": "Charles_Curtis",
"normalized": "Charles Curtis",
"display": "Charles Curtis"
},
"pageid": 92213,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Charles_Curtis-portrait.jpg/245px-Charles_Curtis-portrait.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e6/Charles_Curtis-portrait.jpg",
"width": 1143,
"height": 1494
},
"lang": "en",
"dir": "ltr",
"revision": "987797769",
"tid": "59ad8670-22ed-11eb-952c-41d46fb29b1d",
"timestamp": "2020-11-09T08:50:52Z",
"description": "American politician, 31st Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.wikipedia.org/wiki/Charles_Curtis?action=history",
"edit": "https://en.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Charles_Curtis"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Charles_Curtis",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Charles_Curtis",
"edit": "https://en.m.wikipedia.org/wiki/Charles_Curtis?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Charles_Curtis"
}
},
"extract": "Charles Curtis was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.",
"extract_html": "<p><b>Charles Curtis</b> was an American attorney and Republican politician from Kansas who served as the 31st vice president of the United States from 1929 to 1933 and Senate Majority Leader from 1924 to 1929. A member of the Kaw Nation born in the Kansas Territory, Curtis was the first person with significant Native American ancestry and the first person with acknowledged non-European ancestry to reach either of the highest offices in the federal executive branch. He is the highest-ranking enrolled Native American ever to serve in the federal government. He is the most recent Executive Branch officer to have been born in a territory rather than a state.</p>",
"normalizedtitle": "Charles Curtis"
},
{
"views": 224899,
"rank": 34,
"view_history": [
{
"date": "2020-11-04Z",
"views": 188268
},
{
"date": "2020-11-05Z",
"views": 111561
},
{
"date": "2020-11-06Z",
"views": 92480
},
{
"date": "2020-11-07Z",
"views": 187799
},
{
"date": "2020-11-08Z",
"views": 224899
}
],
"type": "standard",
"title": "Mike_Pence",
"displaytitle": "Mike Pence",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q24313",
"titles": {
"canonical": "Mike_Pence",
"normalized": "Mike Pence",
"display": "Mike Pence"
},
"pageid": 391324,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg/256px-Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b9/Mike_Pence_official_Vice_Presidential_portrait.jpg",
"width": 2593,
"height": 3241
},
"lang": "en",
"dir": "ltr",
"revision": "987784720",
"tid": "6c56e0e0-22da-11eb-bba0-ebdfb551e9c0",
"timestamp": "2020-11-09T06:24:17Z",
"description": "48th vice president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.wikipedia.org/wiki/Mike_Pence?action=history",
"edit": "https://en.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mike_Pence"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mike_Pence",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mike_Pence",
"edit": "https://en.m.wikipedia.org/wiki/Mike_Pence?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mike_Pence"
}
},
"extract": "Michael Richard Pence is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.",
"extract_html": "<p><b>Michael Richard Pence</b> is an American politician and lawyer serving as the 48th and current vice president of the United States since 2017. He was the 50th governor of Indiana from 2013 to 2017 and served six terms in the U.S. House of Representatives from 2001 to 2013. He is expected to leave office on January 20, 2021, following the results of the 2020 United States presidential election.</p>",
"normalizedtitle": "Mike Pence"
},
{
"views": 217172,
"rank": 35,
"view_history": [
{
"date": "2020-11-04Z",
"views": 158178
},
{
"date": "2020-11-05Z",
"views": 132759
},
{
"date": "2020-11-06Z",
"views": 120140
},
{
"date": "2020-11-07Z",
"views": 176705
},
{
"date": "2020-11-08Z",
"views": 217172
}
],
"type": "standard",
"title": "George_W._Bush",
"displaytitle": "George W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q207",
"titles": {
"canonical": "George_W._Bush",
"normalized": "George W. Bush",
"display": "George W. Bush"
},
"pageid": 3414021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/George-W-Bush.jpeg/242px-George-W-Bush.jpeg",
"width": 242,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/George-W-Bush.jpeg",
"width": 2267,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987830595",
"tid": "68d89cf0-2295-11eb-950b-b169b76bf54f",
"timestamp": "2020-11-09T14:10:40Z",
"description": "43rd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_W._Bush"
}
},
"extract": "George Walker Bush is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.",
"extract_html": "<p><b>George Walker Bush</b> is an American politician and businessman who served as the 43rd president of the United States from 2001 to 2009. A member of the Republican Party, he had previously served as the 46th governor of Texas from 1995 to 2000. Born into the Bush family, his father, George H. W. Bush, served as the 41st president of the United States from 1989 to 1993.</p>",
"normalizedtitle": "George W. Bush"
},
{
"views": 212845,
"rank": 36,
"view_history": [
{
"date": "2020-11-04Z",
"views": 152258
},
{
"date": "2020-11-05Z",
"views": 127377
},
{
"date": "2020-11-06Z",
"views": 108904
},
{
"date": "2020-11-07Z",
"views": 238111
},
{
"date": "2020-11-08Z",
"views": 212845
}
],
"type": "standard",
"title": "President_of_the_United_States",
"displaytitle": "President of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q11696",
"titles": {
"canonical": "President_of_the_United_States",
"normalized": "President of the United States",
"display": "President of the United States"
},
"pageid": 24113,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/320px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 320,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Seal_of_the_President_of_the_United_States.svg/2424px-Seal_of_the_President_of_the_United_States.svg.png",
"width": 2424,
"height": 2425
},
"lang": "en",
"dir": "ltr",
"revision": "987758286",
"tid": "b7078ee0-2286-11eb-8f58-21ee475c3ae2",
"timestamp": "2020-11-09T02:01:03Z",
"description": "Head of state and government of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/President_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_the_United_States"
}
},
"extract": "The president of the United States (POTUS) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.",
"extract_html": "<p>The <b>president of the United States</b> (<b>POTUS</b>) is the head of state and head of government of the United States of America. The president directs the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces.</p>",
"normalizedtitle": "President of the United States"
},
{
"views": 203259,
"rank": 37,
"view_history": [
{
"date": "2020-11-04Z",
"views": 135870
},
{
"date": "2020-11-05Z",
"views": 116672
},
{
"date": "2020-11-06Z",
"views": 118511
},
{
"date": "2020-11-07Z",
"views": 187029
},
{
"date": "2020-11-08Z",
"views": 203259
}
],
"type": "standard",
"title": "George_H._W._Bush",
"displaytitle": "George H. W. Bush",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q23505",
"titles": {
"canonical": "George_H._W._Bush",
"normalized": "George H. W. Bush",
"display": "George H. W. Bush"
},
"pageid": 11955,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg/244px-George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 244,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ee/George_H._W._Bush_presidential_portrait_%28cropped%29.jpg",
"width": 1600,
"height": 2100
},
"lang": "en",
"dir": "ltr",
"revision": "987741370",
"tid": "b94d8740-2286-11eb-9ed0-f5cde53bdde6",
"timestamp": "2020-11-08T23:33:51Z",
"description": "41st president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=history",
"edit": "https://en.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:George_H._W._Bush"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/George_H._W._Bush",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/George_H._W._Bush",
"edit": "https://en.m.wikipedia.org/wiki/George_H._W._Bush?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:George_H._W._Bush"
}
},
"extract": "George Herbert Walker Bush was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.",
"extract_html": "<p><b>George Herbert Walker Bush</b> was an American politician, diplomat, and businessman who served as the 41st president of the United States from 1989 to 1993. A member of the Republican Party, Bush also served as the 43rd vice president from 1981 to 1989, in the U.S. House of Representatives, as U.S. Ambassador to the United Nations, and as Director of Central Intelligence.</p>",
"normalizedtitle": "George H. W. Bush"
},
{
"views": 190235,
"rank": 38,
"view_history": [
{
"date": "2020-11-04Z",
"views": 14397
},
{
"date": "2020-11-05Z",
"views": 11026
},
{
"date": "2020-11-06Z",
"views": 7504
},
{
"date": "2020-11-07Z",
"views": 21023
},
{
"date": "2020-11-08Z",
"views": 190235
}
],
"type": "standard",
"title": "Garrett_Gilbert",
"displaytitle": "Garrett Gilbert",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5523891",
"titles": {
"canonical": "Garrett_Gilbert",
"normalized": "Garrett Gilbert",
"display": "Garrett Gilbert"
},
"pageid": 15931987,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg/281px-Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 281,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Garrett_Gilbert_browns_2019_preseason_%28cropped%29.jpg",
"width": 1364,
"height": 1552
},
"lang": "en",
"dir": "ltr",
"revision": "987916563",
"tid": "216d4400-22eb-11eb-a5e4-c19d1ee3371d",
"timestamp": "2020-11-10T00:24:31Z",
"description": "American football quarterback",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=history",
"edit": "https://en.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Garrett_Gilbert"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Garrett_Gilbert",
"edit": "https://en.m.wikipedia.org/wiki/Garrett_Gilbert?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Garrett_Gilbert"
}
},
"extract": "Garrett Antone Gilbert is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.",
"extract_html": "<p><b>Garrett Antone Gilbert</b> is an American football quarterback for the Dallas Cowboys of the National Football League (NFL). Regarded as one of the best high school quarterbacks of his class, he played college football at Texas and SMU and was selected by the St. Louis Rams in the sixth round of the 2014 NFL Draft. He is the son of former NFL quarterback Gale Gilbert.</p>",
"normalizedtitle": "Garrett Gilbert"
},
{
"views": 184005,
"rank": 39,
"view_history": [
{
"date": "2020-11-04Z",
"views": 4986159
},
{
"date": "2020-11-05Z",
"views": 1199558
},
{
"date": "2020-11-06Z",
"views": 511019
},
{
"date": "2020-11-07Z",
"views": 320628
},
{
"date": "2020-11-08Z",
"views": 184005
}
],
"type": "standard",
"title": "United_States_Electoral_College",
"displaytitle": "United States Electoral College",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q47586",
"titles": {
"canonical": "United_States_Electoral_College",
"normalized": "United States Electoral College",
"display": "United States Electoral College"
},
"pageid": 85533,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/320px-Electoral_map_2020.svg.png",
"width": 320,
"height": 198
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Electoral_map_2020.svg/959px-Electoral_map_2020.svg.png",
"width": 959,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987917999",
"tid": "cdd70860-22ec-11eb-9865-5306c880b0d8",
"timestamp": "2020-11-10T00:36:18Z",
"description": "Institution that officially elects both the President and Vice President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=history",
"edit": "https://en.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:United_States_Electoral_College"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/United_States_Electoral_College",
"edit": "https://en.m.wikipedia.org/wiki/United_States_Electoral_College?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:United_States_Electoral_College"
}
},
"extract": "The United States Electoral College is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more electoral votes is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.",
"extract_html": "<p>The <b>United States Electoral College</b> is the group of presidential electors required by the Constitution to form every four years for the sole purpose of electing the president and vice president. Each state appoints electors according to its legislature, equal in number to its congressional delegation but federal office holders cannot be electors. Of the current 538 electors, an absolute majority of 270 or more <i>electoral votes</i> is required to elect the president and vice president. If no candidate achieves an absolute majority there, a contingent election is held by the U.S. Congress to elect the president and vice president.</p>",
"normalizedtitle": "United States Electoral College"
},
{
"views": 178261,
"rank": 40,
"view_history": [
{
"date": "2020-11-04Z",
"views": 187762
},
{
"date": "2020-11-05Z",
"views": 117113
},
{
"date": "2020-11-06Z",
"views": 91536
},
{
"date": "2020-11-07Z",
"views": 126179
},
{
"date": "2020-11-08Z",
"views": 178261
}
],
"type": "standard",
"title": "Alexandria_Ocasio-Cortez",
"displaytitle": "Alexandria Ocasio-Cortez",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q55223040",
"titles": {
"canonical": "Alexandria_Ocasio-Cortez",
"normalized": "Alexandria Ocasio-Cortez",
"display": "Alexandria Ocasio-Cortez"
},
"pageid": 54885332,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg/256px-Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Alexandria_Ocasio-Cortez_Official_Portrait.jpg",
"width": 3360,
"height": 4200
},
"lang": "en",
"dir": "ltr",
"revision": "987874185",
"tid": "cb0faf00-22c0-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T19:21:25Z",
"description": "U.S. Representative from New York's 14th congressional district",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=history",
"edit": "https://en.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Alexandria_Ocasio-Cortez",
"edit": "https://en.m.wikipedia.org/wiki/Alexandria_Ocasio-Cortez?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Alexandria_Ocasio-Cortez"
}
},
"extract": "Alexandria Ocasio-Cortez, also known by her initials AOC, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.",
"extract_html": "<p><b>Alexandria Ocasio-Cortez</b>, also known by her initials <b>AOC</b>, is an American politician serving as the U.S. Representative for New York's 14th congressional district since 2019. The district includes the eastern part of the Bronx, portions of north-central Queens, and Rikers Island in New York City. She is a member of the Democratic Party.</p>",
"normalizedtitle": "Alexandria Ocasio-Cortez"
},
{
"views": 176796,
"rank": 41,
"view_history": [
{
"date": "2020-11-04Z",
"views": 112580
},
{
"date": "2020-11-05Z",
"views": 132032
},
{
"date": "2020-11-06Z",
"views": 131578
},
{
"date": "2020-11-07Z",
"views": 159470
},
{
"date": "2020-11-08Z",
"views": 176796
}
],
"type": "standard",
"title": "Anya_Taylor-Joy",
"displaytitle": "Anya Taylor-Joy",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20882479",
"titles": {
"canonical": "Anya_Taylor-Joy",
"normalized": "Anya Taylor-Joy",
"display": "Anya Taylor-Joy"
},
"pageid": 47572155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg/218px-Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 218,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9a/Anya_Taylor-Joy_by_Gage_Skidmore.jpg",
"width": 2328,
"height": 3416
},
"lang": "en",
"dir": "ltr",
"revision": "987799010",
"tid": "84857a70-226a-11eb-8a2d-ed0744013232",
"timestamp": "2020-11-09T09:03:58Z",
"description": "American-British-Argentinian actress",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=history",
"edit": "https://en.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anya_Taylor-Joy",
"edit": "https://en.m.wikipedia.org/wiki/Anya_Taylor-Joy?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anya_Taylor-Joy"
}
},
"extract": "Anya Josephine Marie Taylor-Joy is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series Atlantis (2015), and had her breakthrough with the period horror film The Witch (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films Split (2016) and Glass (2019), Lily Reynolds in the black comedy Thoroughbreds (2017) and Emma Woodhouse in the comedy-drama Emma (2020).",
"extract_html": "<p><b>Anya Josephine Marie Taylor-Joy</b> is an American-born Argentine and British actress. She first became known for making appearances on the fantasy series <i>Atlantis</i> (2015), and had her breakthrough with the period horror film <i>The Witch</i> (2015), for which she earned several accolades. She gained further recognition and praise for her role as Casey Cooke in the psychological horror films <i>Split</i> (2016) and <i>Glass</i> (2019), Lily Reynolds in the black comedy <i>Thoroughbreds</i> (2017) and Emma Woodhouse in the comedy-drama <i>Emma</i> (2020).</p>",
"normalizedtitle": "Anya Taylor-Joy"
},
{
"views": 176083,
"rank": 42,
"view_history": [
{
"date": "2020-11-04Z",
"views": 180365
},
{
"date": "2020-11-05Z",
"views": 168432
},
{
"date": "2020-11-06Z",
"views": 174546
},
{
"date": "2020-11-07Z",
"views": 184302
},
{
"date": "2020-11-08Z",
"views": 176083
}
],
"type": "standard",
"title": "Bible",
"displaytitle": "Bible",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1845",
"titles": {
"canonical": "Bible",
"normalized": "Bible",
"display": "Bible"
},
"pageid": 3390,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg/320px-Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 320,
"height": 200
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/b/b6/Gutenberg_Bible%2C_Lenox_Copy%2C_New_York_Public_Library%2C_2009._Pic_01.jpg",
"width": 1920,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987602793",
"tid": "b8c9a4b0-229b-11eb-a9aa-89196a4a8a0b",
"timestamp": "2020-11-08T03:14:35Z",
"description": "Collection of religious texts in Judaism and Christianity",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bible",
"revisions": "https://en.wikipedia.org/wiki/Bible?action=history",
"edit": "https://en.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bible"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bible",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bible",
"edit": "https://en.m.wikipedia.org/wiki/Bible?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bible"
}
},
"extract": "The Bible is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.",
"extract_html": "<p>The <b>Bible</b> is a collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. It appears in the form of an anthology, a compilation of texts of a variety of forms that are all linked by the belief that they are collectively revelations of God. These texts include theologically-focused historical accounts, hymns, prayers, proverbs, parables, didactic letters, erotica, poetry, and prophecies. Believers also generally consider the Bible to be a product of divine inspiration.</p>",
"normalizedtitle": "Bible"
},
{
"views": 174443,
"rank": 43,
"view_history": [
{
"date": "2020-11-04Z",
"views": 56687
},
{
"date": "2020-11-05Z",
"views": 42014
},
{
"date": "2020-11-06Z",
"views": 38460
},
{
"date": "2020-11-07Z",
"views": 72225
},
{
"date": "2020-11-08Z",
"views": 174443
}
],
"type": "standard",
"title": "Glioblastoma",
"displaytitle": "Glioblastoma",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q282142",
"titles": {
"canonical": "Glioblastoma",
"normalized": "Glioblastoma",
"display": "Glioblastoma"
},
"pageid": 1023575,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg/320px-Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 320,
"height": 311
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/cb/Glioblastoma_-_MR_coronal_with_contrast.jpg",
"width": 974,
"height": 947
},
"lang": "en",
"dir": "ltr",
"revision": "987880522",
"tid": "a39a27b0-22c6-11eb-8ca9-fbe4e43c022c",
"timestamp": "2020-11-09T20:03:22Z",
"description": "Most aggressive type of brain cancer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.wikipedia.org/wiki/Glioblastoma?action=history",
"edit": "https://en.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Glioblastoma"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Glioblastoma",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Glioblastoma",
"edit": "https://en.m.wikipedia.org/wiki/Glioblastoma?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Glioblastoma"
}
},
"extract": "Glioblastoma, also known as glioblastoma multiforme (GBM), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.",
"extract_html": "<p><b>Glioblastoma</b>, also known as <b>glioblastoma multiforme</b> (<b>GBM</b>), is the most aggressive type of cancer that begins within the brain. Initially, signs and symptoms of glioblastoma are nonspecific. They may include headaches, personality changes, nausea and symptoms similar to those of a stroke. Symptoms often worsen rapidly and may progress to unconsciousness.</p>",
"normalizedtitle": "Glioblastoma"
},
{
"views": 170870,
"rank": 44,
"view_history": [
{
"date": "2020-11-04Z",
"views": 27365
},
{
"date": "2020-11-05Z",
"views": 24663
},
{
"date": "2020-11-06Z",
"views": 22943
},
{
"date": "2020-11-07Z",
"views": 61925
},
{
"date": "2020-11-08Z",
"views": 170870
}
],
"type": "standard",
"title": "Howard_Krein",
"displaytitle": "Howard Krein",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q100331973",
"titles": {
"canonical": "Howard_Krein",
"normalized": "Howard Krein",
"display": "Howard Krein"
},
"pageid": 65577565,
"lang": "en",
"dir": "ltr",
"revision": "987833949",
"tid": "a21326a0-22d3-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-09T14:38:41Z",
"description": "American surgeon",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.wikipedia.org/wiki/Howard_Krein?action=history",
"edit": "https://en.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Howard_Krein"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Howard_Krein",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Howard_Krein",
"edit": "https://en.m.wikipedia.org/wiki/Howard_Krein?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Howard_Krein"
}
},
"extract": "Howard David Krein is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.",
"extract_html": "<p><b>Howard David Krein</b> is an American otolaryngologist, plastic surgeon, and business executive. He is an assistant professor of otolaryngology at Thomas Jefferson University and is a founding partner and co-director of Thomas Jefferson University Hospital's Facial Aesthetic and Reconstructive Center. Krein is the Chief Medical Officer at StartUp Health, a venture capital and health technology firm. He is the husband of Ashley Biden, the daughter of United States President-Elect Joe Biden. He served on the Biden Cancer Initiative's board of directors from 2017 to 2019. Krein has advised the Joe Biden 2020 presidential campaign on its COVID-19 pandemic response in an unofficial role.</p>",
"normalizedtitle": "Howard Krein"
},
{
"views": 170291,
"rank": 45,
"view_history": [
{
"date": "2020-11-04Z",
"views": 297507
},
{
"date": "2020-11-05Z",
"views": 193191
},
{
"date": "2020-11-06Z",
"views": 152796
},
{
"date": "2020-11-07Z",
"views": 180014
},
{
"date": "2020-11-08Z",
"views": 170291
}
],
"type": "standard",
"title": "Democratic_Party_(United_States)",
"displaytitle": "Democratic Party (United States)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q29552",
"titles": {
"canonical": "Democratic_Party_(United_States)",
"normalized": "Democratic Party (United States)",
"display": "Democratic Party (United States)"
},
"pageid": 5043544,
"lang": "en",
"dir": "ltr",
"revision": "987853789",
"tid": "cad64a20-22ad-11eb-8fdb-bfec077b8472",
"timestamp": "2020-11-09T17:05:10Z",
"description": "Major political party in the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=history",
"edit": "https://en.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Democratic_Party_(United_States)",
"edit": "https://en.m.wikipedia.org/wiki/Democratic_Party_(United_States)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Democratic_Party_(United_States)"
}
},
"extract": "The Democratic Party is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.",
"extract_html": "<p>The <b>Democratic Party</b> is one of the two major contemporary political parties in the United States, along with its main rival, the Republican Party. Tracing its heritage back to Thomas Jefferson and James Madison's Democratic-Republican Party, the modern-day Democratic Party was founded around 1828 by supporters of Andrew Jackson, making it the world's oldest active political party.</p>",
"normalizedtitle": "Democratic Party (United States)"
},
{
"views": 168257,
"rank": 46,
"view_history": [
{
"date": "2020-11-04Z",
"views": 133722
},
{
"date": "2020-11-05Z",
"views": 106138
},
{
"date": "2020-11-06Z",
"views": 125816
},
{
"date": "2020-11-07Z",
"views": 255785
},
{
"date": "2020-11-08Z",
"views": 168257
}
],
"type": "standard",
"title": "List_of_presidents_of_the_United_States_by_time_in_office",
"displaytitle": "List of presidents of the United States by time in office",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6594922",
"titles": {
"canonical": "List_of_presidents_of_the_United_States_by_time_in_office",
"normalized": "List of presidents of the United States by time in office",
"display": "List of presidents of the United States by time in office"
},
"pageid": 1038417,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Cropped_Portrait_of_FDR.jpg/267px-Cropped_Portrait_of_FDR.jpg",
"width": 267,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a7/Cropped_Portrait_of_FDR.jpg",
"width": 2080,
"height": 2493
},
"lang": "en",
"dir": "ltr",
"revision": "987678455",
"tid": "b4ab4610-21db-11eb-ae02-5919ceda22b4",
"timestamp": "2020-11-08T16:01:42Z",
"description": "Wikimedia list article",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=history",
"edit": "https://en.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/List_of_presidents_of_the_United_States_by_time_in_office",
"edit": "https://en.m.wikipedia.org/wiki/List_of_presidents_of_the_United_States_by_time_in_office?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:List_of_presidents_of_the_United_States_by_time_in_office"
}
},
"extract": "This is a list of presidents of the United States by time in office. The listed number of days is calculated as the difference between dates, which counts the number of calendar days except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.",
"extract_html": "<p>This is a <b>list of presidents of the United States by time in office</b>. The listed number of days is calculated as the <i>difference between dates</i>, which counts the number of <i>calendar days</i> except the last day. The length of a full four-year presidential term of office amounts to 1,461 days. If the last day is included, all numbers would be one day more, except Grover Cleveland would have two more days.</p>",
"normalizedtitle": "List of presidents of the United States by time in office"
},
{
"views": 164671,
"rank": 47,
"view_history": [
{
"date": "2020-11-04Z",
"views": 567738
},
{
"date": "2020-11-05Z",
"views": 313866
},
{
"date": "2020-11-06Z",
"views": 259226
},
{
"date": "2020-11-07Z",
"views": 213215
},
{
"date": "2020-11-08Z",
"views": 164671
}
],
"type": "standard",
"title": "2004_United_States_presidential_election",
"displaytitle": "2004 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q464075",
"titles": {
"canonical": "2004_United_States_presidential_election",
"normalized": "2004 United States presidential election",
"display": "2004 United States presidential election"
},
"pageid": 1297662,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/320px-ElectoralCollege2004.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/ElectoralCollege2004.svg/1020px-ElectoralCollege2004.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "987897995",
"tid": "c60368b0-22d6-11eb-a3ba-b57a9e4e9c1c",
"timestamp": "2020-11-09T21:58:46Z",
"description": "55th quadrennial U.S. presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2004_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2004_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2004_United_States_presidential_election"
}
},
"extract": "The 2004 United States presidential election was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.",
"extract_html": "<p>The <b>2004 United States presidential election</b> was the 55th quadrennial presidential election, held on Tuesday, November 2, 2004. The incumbent Republican President George W. Bush and his running mate Vice President Dick Cheney were elected to a second term, defeating the Democratic ticket of John Kerry, a United States Senator from Massachusetts and his running mate John Edwards, a United States Senator from North Carolina. Notably, it is the only presidential election since 1988 where the Republican party won the popular vote.</p>",
"normalizedtitle": "2004 United States presidential election"
},
{
"views": 162676,
"rank": 48,
"view_history": [
{
"date": "2020-11-04Z",
"views": 126872
},
{
"date": "2020-11-05Z",
"views": 101969
},
{
"date": "2020-11-06Z",
"views": 103709
},
{
"date": "2020-11-07Z",
"views": 143802
},
{
"date": "2020-11-08Z",
"views": 162676
}
],
"type": "standard",
"title": "Ronald_Reagan",
"displaytitle": "Ronald Reagan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q9960",
"titles": {
"canonical": "Ronald_Reagan",
"normalized": "Ronald Reagan",
"display": "Ronald Reagan"
},
"pageid": 25433,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Official_Portrait_of_President_Reagan_1981.jpg/256px-Official_Portrait_of_President_Reagan_1981.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/16/Official_Portrait_of_President_Reagan_1981.jpg",
"width": 2399,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987881360",
"tid": "855ccd60-22c7-11eb-baf5-dbdc40055e0a",
"timestamp": "2020-11-09T20:09:26Z",
"description": "40th President of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=history",
"edit": "https://en.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ronald_Reagan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ronald_Reagan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ronald_Reagan",
"edit": "https://en.m.wikipedia.org/wiki/Ronald_Reagan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ronald_Reagan"
}
},
"extract": "Ronald Wilson Reagan was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.",
"extract_html": "<p><b>Ronald Wilson Reagan</b> was an American politician who served as the 40th president of the United States from 1981 to 1989 and became a highly influential voice of modern conservatism. Prior to his presidency, he was a Hollywood actor and union leader before serving as the 33rd governor of California from 1967 to 1975.</p>",
"normalizedtitle": "Ronald Reagan"
},
{
"views": 160881,
"rank": 49,
"view_history": [
{
"date": "2020-11-04Z",
"views": 132723
},
{
"date": "2020-11-05Z",
"views": 109120
},
{
"date": "2020-11-06Z",
"views": 105541
},
{
"date": "2020-11-07Z",
"views": 143354
},
{
"date": "2020-11-08Z",
"views": 160881
}
],
"type": "standard",
"title": "Bill_Clinton",
"displaytitle": "Bill Clinton",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1124",
"titles": {
"canonical": "Bill_Clinton",
"normalized": "Bill Clinton",
"display": "Bill Clinton"
},
"pageid": 3356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Bill_Clinton.jpg/245px-Bill_Clinton.jpg",
"width": 245,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d3/Bill_Clinton.jpg",
"width": 2299,
"height": 3000
},
"lang": "en",
"dir": "ltr",
"revision": "987848012",
"tid": "c595e130-22d3-11eb-af16-ad5047b6b1c4",
"timestamp": "2020-11-09T16:24:31Z",
"description": "42nd president of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.wikipedia.org/wiki/Bill_Clinton?action=history",
"edit": "https://en.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bill_Clinton"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bill_Clinton",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bill_Clinton",
"edit": "https://en.m.wikipedia.org/wiki/Bill_Clinton?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bill_Clinton"
}
},
"extract": "William Jefferson Clinton is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.",
"extract_html": "<p><b>William Jefferson Clinton</b> is an American lawyer and politician who served as the 42nd president of the United States from 1993 to 2001. Prior to his presidency, he served as governor of Arkansas and as attorney general of Arkansas (1977–1979). A member of the Democratic Party, Clinton was known as a New Democrat, and many of his policies reflected a centrist \"Third Way\" political philosophy. He is the husband of former secretary of state, former U.S. senator, and two-time candidate for president Hillary Clinton.</p>",
"normalizedtitle": "Bill Clinton"
},
{
"views": 157569,
"rank": 50,
"view_history": [
{
"date": "2020-11-04Z",
"views": 11912
},
{
"date": "2020-11-05Z",
"views": 14675
},
{
"date": "2020-11-06Z",
"views": 16188
},
{
"date": "2020-11-07Z",
"views": 22231
},
{
"date": "2020-11-08Z",
"views": 157569
}
],
"type": "standard",
"title": "Dave_Chappelle",
"displaytitle": "Dave Chappelle",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q40321",
"titles": {
"canonical": "Dave_Chappelle",
"normalized": "Dave Chappelle",
"display": "Dave Chappelle"
},
"pageid": 339365,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg/214px-Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 214,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/23/Dave_Chappelle_%2842791297960%29_%28cropped%29.jpg",
"width": 1209,
"height": 1808
},
"lang": "en",
"dir": "ltr",
"revision": "987901084",
"tid": "0c841610-22da-11eb-b89d-752adf80185c",
"timestamp": "2020-11-09T22:22:16Z",
"description": "American comedian",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=history",
"edit": "https://en.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Dave_Chappelle"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Dave_Chappelle",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Dave_Chappelle",
"edit": "https://en.m.wikipedia.org/wiki/Dave_Chappelle?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Dave_Chappelle"
}
},
"extract": "David Khari Webber Chappelle is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series Chappelle's Show (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by Esquire and, in 2013, \"the best\" by a Billboard writer. In 2017, Rolling Stone ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"",
"extract_html": "<p><b>David Khari Webber Chappelle</b> is an American stand-up comedian, actor, writer, and producer. With his incisive observations, he has been described as \"poetically unfiltered and sociopolitically introspective, with an ability to illuminate and interrogate agonizing and poignant topics.\" Chappelle is the recipient of numerous accolades, including four Emmy Awards and three Grammy Awards as well as the Mark Twain Prize. He is known for his satirical comedy sketch series <i>Chappelle's Show</i> (2003–2006). The series, co-written with Neal Brennan, ran until Chappelle quit the show in the middle of production of the third season. After leaving the show, Chappelle returned to performing stand-up comedy across the U.S. By 2006, Chappelle was called the \"comic genius of America\" by <i>Esquire</i> and, in 2013, \"the best\" by a <i>Billboard</i> writer. In 2017, <i>Rolling Stone</i> ranked him No. 9 in their \"50 Best Stand Up Comics of All Time.\"</p>",
"normalizedtitle": "Dave Chappelle"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"text": "East German official Günter Schabowski mistakenly announced the immediate opening of the inner German border, resulting in the fall of the Berlin Wall that night (border crossing pictured).",
"pages": [
{
"type": "standard",
"title": "Günter_Schabowski",
"displaytitle": "Günter Schabowski",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q57445",
"titles": {
"canonical": "Günter_Schabowski",
"normalized": "Günter Schabowski",
"display": "Günter Schabowski"
},
"pageid": 296020,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg/251px-Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 251,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7d/Bundesarchiv_Bild_183-1982-0504-421%2C_G%C3%BCnter_Schabowski.jpg",
"width": 627,
"height": 800
},
"lang": "en",
"dir": "ltr",
"revision": "987873694",
"tid": "46a3d7a0-22c0-11eb-950b-717e4a399875",
"timestamp": "2020-11-09T19:17:53Z",
"description": "German politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=history",
"edit": "https://en.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/G%C3%BCnter_Schabowski",
"edit": "https://en.m.wikipedia.org/wiki/G%C3%BCnter_Schabowski?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:G%C3%BCnter_Schabowski"
}
},
"extract": "Günter Schabowski was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.",
"extract_html": "<p><b>Günter Schabowski</b> was an East German politician who served as an official of the Socialist Unity Party of Germany, the ruling party during most of the existence of the German Democratic Republic (GDR). Schabowski gained worldwide fame in November 1989 when he improvised a slightly mistaken answer to a press conference question, raising popular expectations much more rapidly than the government planned, so that massive crowds gathered the same night at the Berlin Wall, forcing its opening after 28 years; soon after, the entire inner German border was opened.</p>",
"normalizedtitle": "Günter Schabowski"
},
{
"type": "standard",
"title": "Inner_German_border",
"displaytitle": "Inner German border",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q700754",
"titles": {
"canonical": "Inner_German_border",
"normalized": "Inner German border",
"display": "Inner German border"
},
"pageid": 849186,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/Halt_hier_grenze.jpg/320px-Halt_hier_grenze.jpg",
"width": 320,
"height": 236
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/38/Halt_hier_grenze.jpg",
"width": 3105,
"height": 2293
},
"lang": "en",
"dir": "ltr",
"revision": "987871376",
"tid": "069b3e20-22be-11eb-becf-21fada8c7f91",
"timestamp": "2020-11-09T19:01:38Z",
"description": "Border which separated East Germany and West Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.wikipedia.org/wiki/Inner_German_border?action=history",
"edit": "https://en.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Inner_German_border"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Inner_German_border",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Inner_German_border",
"edit": "https://en.m.wikipedia.org/wiki/Inner_German_border?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Inner_German_border"
}
},
"extract": "The Inner German border was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.",
"extract_html": "<p>The <b>Inner German border</b> was the border between the German Democratic Republic and the Federal Republic of Germany from 1949 to 1990. Not including the similar and physically separate Berlin Wall, the border was 1,393 kilometres (866 mi) long and ran from the Baltic Sea to Czechoslovakia.</p>",
"normalizedtitle": "Inner German border"
},
{
"type": "standard",
"title": "Fall_of_the_Berlin_Wall",
"displaytitle": "Fall of the Berlin Wall",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q69163529",
"titles": {
"canonical": "Fall_of_the_Berlin_Wall",
"normalized": "Fall of the Berlin Wall",
"display": "Fall of the Berlin Wall"
},
"pageid": 61917089,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg/320px-West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and_East_Germans_at_the_Brandenburg_Gate_in_1989.jpg",
"width": 661,
"height": 498
},
"lang": "en",
"dir": "ltr",
"revision": "987832115",
"tid": "30645560-2297-11eb-a63d-65249d17832a",
"timestamp": "2020-11-09T14:23:42Z",
"description": "Historical event",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=history",
"edit": "https://en.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Fall_of_the_Berlin_Wall",
"edit": "https://en.m.wikipedia.org/wiki/Fall_of_the_Berlin_Wall?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Fall_of_the_Berlin_Wall"
}
},
"extract": "The fall of the Berlin Wall on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.",
"extract_html": "<p>The <b>fall of the Berlin Wall</b> on 9 November 1989 was a pivotal event in world history which marked the falling of the Iron Curtain and the start of the fall of communism in Eastern and Central Europe. The fall of the inner German border took place shortly afterwards. An end to the Cold War was declared at the Malta Summit three weeks later, and the reunification of Germany took place in October the following year.</p>",
"normalizedtitle": "Fall of the Berlin Wall"
}
],
"year": 1989
},
{
"text": "French comic book heroes Valérian and Laureline first appeared in Pilote magazine.",
"pages": [
{
"type": "standard",
"title": "Comic_book",
"displaytitle": "Comic book",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1760610",
"titles": {
"canonical": "Comic_book",
"normalized": "Comic book",
"display": "Comic book"
},
"pageid": 6231,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/MuseoFerrocarrilSLP19.JPG/320px-MuseoFerrocarrilSLP19.JPG",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/MuseoFerrocarrilSLP19.JPG",
"width": 6016,
"height": 4000
},
"lang": "en",
"dir": "ltr",
"revision": "984525880",
"tid": "e02334c0-1be0-11eb-b6c0-b115c14adcfe",
"timestamp": "2020-10-20T15:17:24Z",
"description": "Publication of comics art",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.wikipedia.org/wiki/Comic_book?action=history",
"edit": "https://en.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Comic_book"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Comic_book",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Comic_book",
"edit": "https://en.m.wikipedia.org/wiki/Comic_book?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Comic_book"
}
},
"extract": "A comic book, also called comic magazine or simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, Famous Funnies, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term comic book derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.",
"extract_html": "<p>A <b>comic book</b>, also called <b>comic magazine</b> or simply <b>comic</b>, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are often accompanied by descriptive prose and written narrative, usually, dialogue contained in word balloons emblematic of the comics art form. Although comics has some origins in 18th century Japan, comic books were first popularized in the United States and the United Kingdom during the 1930s. The first modern comic book, <i>Famous Funnies</i>, was released in the US in 1933 and was a reprinting of earlier newspaper humor comic strips, which had established many of the story-telling devices used in comics. The term <i>comic book</i> derives from American comic books once being a compilation of comic strips of a humorous tone; however, this practice was replaced by featuring stories of all genres, usually not humorous in tone.</p>",
"normalizedtitle": "Comic book"
},
{
"type": "standard",
"title": "Valérian_and_Laureline",
"displaytitle": "<i>Valérian and Laureline</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q658568",
"titles": {
"canonical": "Valérian_and_Laureline",
"normalized": "Valérian and Laureline",
"display": "<i>Valérian and Laureline</i>"
},
"pageid": 480721,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg/320px-M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/ce/M%C3%A9zi%C3%A8res_-_Christin_-_Tranl%C3%A9.jpg",
"width": 3306,
"height": 2204
},
"lang": "en",
"dir": "ltr",
"revision": "974881439",
"tid": "6d5d2fc0-1886-11eb-aadc-49b4fbd208f6",
"timestamp": "2020-08-25T15:31:48Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=history",
"edit": "https://en.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Val%C3%A9rian_and_Laureline",
"edit": "https://en.m.wikipedia.org/wiki/Val%C3%A9rian_and_Laureline?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Val%C3%A9rian_and_Laureline"
}
},
"extract": "Valérian and Laureline, also known as Valérian: Spatio-Temporal Agent or just Valérian, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in Pilote magazine in 1967, the final installment was published in 2010. All of the Valérian stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.",
"extract_html": "<p><i><b>Valérian and Laureline</b></i>, also known as <i><b>Valérian: Spatio-Temporal Agent</b></i> or just <i><b>Valérian</b></i>, is a French science fiction comics series, created by writer Pierre Christin and artist Jean-Claude Mézières. First published in <i>Pilote</i> magazine in 1967, the final installment was published in 2010. All of the <i>Valérian</i> stories have been collected in comic album format, comprising some twenty-one volumes plus a short story collection and an encyclopaedia.</p>",
"normalizedtitle": "Valérian and Laureline"
},
{
"type": "standard",
"title": "Pilote",
"displaytitle": "<i>Pilote</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1929868",
"titles": {
"canonical": "Pilote",
"normalized": "Pilote",
"display": "<i>Pilote</i>"
},
"pageid": 1758356,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/b/b8/Pilote_0.jpg",
"width": 199,
"height": 287
},
"lang": "en",
"dir": "ltr",
"revision": "985604057",
"tid": "89abad40-17d3-11eb-a7f6-85a15b0dbe0b",
"timestamp": "2020-10-26T21:38:06Z",
"description": "French comic book",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Pilote",
"revisions": "https://en.wikipedia.org/wiki/Pilote?action=history",
"edit": "https://en.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Pilote"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Pilote",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Pilote",
"edit": "https://en.m.wikipedia.org/wiki/Pilote?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Pilote"
}
},
"extract": "Pilote was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as Astérix, Barbe-Rouge, Blueberry, Achille Talon, and Valérian et Laureline. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.",
"extract_html": "<p><i><b>Pilote</b></i> was a French comic magazine published from 1959 to 1989. Showcasing most of the major French or Belgian comics talents of its day the magazine introduced major series such as <i>Astérix</i>, <i>Barbe-Rouge</i>, <i>Blueberry</i>, <i>Achille Talon</i>, and <i>Valérian et Laureline</i>. Major comics writers like René Goscinny, Jean-Michel Charlier, Greg, Pierre Christin and Jacques Lob were featured in the magazine, as were artists such as Jijé, Morris, Albert Uderzo, Jean (Mœbius) Giraud, Enki Bilal, Jean-Claude Mézières, Jacques Tardi, Philippe Druillet, Marcel Gotlib, Alexis, and Annie Goetzinger.</p>",
"normalizedtitle": "Pilote"
}
],
"year": 1967
},
{
"text": "Kristallnacht began as SA stormtroopers and civilians destroyed and ransacked Jewish homes, businesses and synagogues in Germany and Austria, resulting in at least 90 deaths and the deportation of 30,000 men to concentration camps.",
"pages": [
{
"type": "standard",
"title": "Kristallnacht",
"displaytitle": "<i>Kristallnacht</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36756",
"titles": {
"canonical": "Kristallnacht",
"normalized": "Kristallnacht",
"display": "<i>Kristallnacht</i>"
},
"pageid": 83530,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg/320px-View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 320,
"height": 233
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8e/View_of_the_old_synagogue_in_Aachen_after_its_destruction_during_Kristallnacht_07.jpg",
"width": 1648,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987797144",
"tid": "b239a430-2267-11eb-acb4-a17f3fd19ee0",
"timestamp": "2020-11-09T08:43:46Z",
"description": "Pogrom against Jews throughout Nazi Germany on 9–10 November 1938",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.wikipedia.org/wiki/Kristallnacht?action=history",
"edit": "https://en.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kristallnacht"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kristallnacht",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kristallnacht",
"edit": "https://en.m.wikipedia.org/wiki/Kristallnacht?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kristallnacht"
}
},
"extract": "Kristallnacht or the Night of Broken Glass, also called the November Pogrom(s), was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name Kristallnacht comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.",
"extract_html": "<p><i><b>Kristallnacht</b></i> or the <b>Night of Broken Glass</b>, also called the <b>November Pogrom(s)</b>, was a pogrom against Jews carried out by SA paramilitary forces and civilians throughout Nazi Germany on 9–10 November 1938. The German authorities looked on without intervening. The name <i>Kristallnacht</i> comes from the shards of broken glass that littered the streets after the windows of Jewish-owned stores, buildings and synagogues were smashed. The pretext for the attacks was the assassination of the German diplomat Ernst vom Rath by Herschel Grynszpan, a 17-year-old German-born Polish Jew living in Paris.</p>",
"normalizedtitle": "Kristallnacht"
},
{
"type": "standard",
"title": "Sturmabteilung",
"displaytitle": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q150793",
"titles": {
"canonical": "Sturmabteilung",
"normalized": "Sturmabteilung",
"display": "<i lang=\"de\" title=\"German language text\">Sturmabteilung</i>"
},
"pageid": 54378,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg/193px-Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 193,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/Bundesarchiv_Bild_146-1982-159-21A%2C_N%C3%BCrnberg%2C_Reichsparteitag%2C_Hitler_und_R%C3%B6hm.jpg",
"width": 857,
"height": 1421
},
"lang": "en",
"dir": "ltr",
"revision": "984268030",
"tid": "02e55c90-21c2-11eb-9ca8-73b69c097853",
"timestamp": "2020-10-19T05:02:27Z",
"description": "Nazi Party's original paramilitary wing",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.wikipedia.org/wiki/Sturmabteilung?action=history",
"edit": "https://en.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Sturmabteilung"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Sturmabteilung",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Sturmabteilung",
"edit": "https://en.m.wikipedia.org/wiki/Sturmabteilung?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Sturmabteilung"
}
},
"extract": "The Sturmabteilung, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the Roter Frontkämpferbund of the Communist Party of Germany (KPD) and the Reichsbanner Schwarz-Rot-Gold of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.",
"extract_html": "<p>The <b><i lang=\"de\" title=\"German language text\">Sturmabteilung</i></b>, literally \"Storm Detachment\", was the Nazi Party's original paramilitary wing. It played a significant role in Adolf Hitler's rise to power in the 1920s and 1930s. Its primary purposes were providing protection for Nazi rallies and assemblies; disrupting the meetings of opposing parties; fighting against the paramilitary units of the opposing parties, especially the <i>Roter Frontkämpferbund</i> of the Communist Party of Germany (KPD) and the <i>Reichsbanner Schwarz-Rot-Gold</i> of the Social Democratic Party of Germany (SPD); and intimidating Romani, trade unionists, and especially Jews such as during the 1933 Nazi boycott of Jewish businesses.</p>",
"normalizedtitle": "Sturmabteilung"
},
{
"type": "standard",
"title": "Nazi_concentration_camps",
"displaytitle": "Nazi concentration camps",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q328468",
"titles": {
"canonical": "Nazi_concentration_camps",
"normalized": "Nazi concentration camps",
"display": "Nazi concentration camps"
},
"pageid": 514725,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg/220px-Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 220,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Prisoners_hauling_earth_for_the_construction_of_the_%22Russian_camp%22_at_Mauthausen.jpg",
"width": 1169,
"height": 1700
},
"lang": "en",
"dir": "ltr",
"revision": "981099237",
"tid": "c8a5fd90-20f5-11eb-a274-638b22e9c8b1",
"timestamp": "2020-09-30T08:17:48Z",
"description": "Concentration camps operated by Nazi Germany",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=history",
"edit": "https://en.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Nazi_concentration_camps",
"edit": "https://en.m.wikipedia.org/wiki/Nazi_concentration_camps?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Nazi_concentration_camps"
}
},
"extract": "From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.",
"extract_html": "<p>From 1933 to 1945, Nazi Germany operated more than a thousand concentration camps on its own territory and in parts of German-occupied Europe.</p>",
"normalizedtitle": "Nazi concentration camps"
}
],
"year": 1938
},
{
"text": "The government of the Azerbaijan Democratic Republic adopted the national flag which is still used by the Republic of Azerbaijan today, with minor modifications.",
"pages": [
{
"type": "standard",
"title": "Azerbaijan_Democratic_Republic",
"displaytitle": "Azerbaijan Democratic Republic",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q206411",
"titles": {
"canonical": "Azerbaijan_Democratic_Republic",
"normalized": "Azerbaijan Democratic Republic",
"display": "Azerbaijan Democratic Republic"
},
"pageid": 2409969,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/320px-Flag_of_Azerbaijan_1918.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Flag_of_Azerbaijan_1918.svg/1200px-Flag_of_Azerbaijan_1918.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987683490",
"tid": "3cc07990-21e0-11eb-9d27-0f2fecc3afad",
"timestamp": "2020-11-08T16:34:03Z",
"description": "First democratic Azerbaijani state",
"description_source": "local",
"coordinates": {
"lat": 40.50891111,
"lon": 47.33232778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan_Democratic_Republic",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan_Democratic_Republic?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan_Democratic_Republic"
}
},
"extract": "The Azerbaijan Democratic Republic, also known as Azerbaijan People's Republic, or simply as Azerbaijan in Paris Peace Conference, 1919–1920, Caucasian Azerbaijan in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.",
"extract_html": "<p>The <b>Azerbaijan Democratic Republic</b>, also known as <b>Azerbaijan People's Republic</b>, or simply as <b>Azerbaijan</b> in Paris Peace Conference, 1919–1920, <b>Caucasian Azerbaijan</b> in some diplomatic documents abroad, was the third secular democratic republic in the Turkic world and Muslim world, after the Crimean People's Republic and Idel-Ural Republic. The ADR was founded by the Azerbaijani National Council in Tiflis on 28 May 1918 after the collapse of the Russian Empire. Its established borders were with Russia to the north, the Democratic Republic of Georgia to the north-west, the First Republic of Armenia to the west, and Iran to the south. It had a population of 2.86 million. Ganja was the temporary capital of the Republic as Baku was under Bolshevik control. The name of \"Azerbaijan\" which the leading Musavat party adopted, for political reasons, was, prior to the establishment of the Azerbaijan Democratic Republic in 1918, exclusively used to identify the adjacent region of contemporary northwestern Iran.</p>",
"normalizedtitle": "Azerbaijan Democratic Republic"
},
{
"type": "standard",
"title": "Flag_of_Azerbaijan",
"displaytitle": "Flag of Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q82236",
"titles": {
"canonical": "Flag_of_Azerbaijan",
"normalized": "Flag of Azerbaijan",
"display": "Flag of Azerbaijan"
},
"pageid": 339643,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "985489994",
"tid": "e20845e0-22da-11eb-b118-4123bae1c5d0",
"timestamp": "2020-10-26T07:18:56Z",
"description": "National flag",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Flag_of_Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Flag_of_Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Flag_of_Azerbaijan"
}
},
"extract": "The national flag of the Republic of Azerbaijan is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is The Tricolour Flag.",
"extract_html": "<p>The national <b>flag of the Republic of Azerbaijan</b> is a horizontal tricolour featuring three equally sized fesses of bright blue, red, and green, with a white crescent and an eight-pointed star in the center. The tricolour replaced an earlier design used by the Azerbaijan SSR. The bright blue symbolizes Azerbaijan's Turkic heritage, the red stands for progress, and the green represents Islam, the religion of majority of Azerbaijanis. The official colors and size were adopted on 5 February 1991. This flag was used from 9 November 1918 to 1920, when Azerbaijan was independent, and it was revived with slight variations on 5 February 1991. The nickname for the flag is <b>The Tricolour Flag</b>.</p>",
"normalizedtitle": "Flag of Azerbaijan"
},
{
"type": "standard",
"title": "Azerbaijan",
"displaytitle": "Azerbaijan",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q227",
"titles": {
"canonical": "Azerbaijan",
"normalized": "Azerbaijan",
"display": "Azerbaijan"
},
"pageid": 746,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/320px-Flag_of_Azerbaijan.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Flag_of_Azerbaijan.svg/1200px-Flag_of_Azerbaijan.svg.png",
"width": 1200,
"height": 600
},
"lang": "en",
"dir": "ltr",
"revision": "987889901",
"tid": "3534cec0-22cf-11eb-a150-d5c442ae65f8",
"timestamp": "2020-11-09T21:04:29Z",
"description": "Country in the Caucasus",
"description_source": "local",
"coordinates": {
"lat": 40.3,
"lon": 47.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.wikipedia.org/wiki/Azerbaijan?action=history",
"edit": "https://en.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Azerbaijan"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Azerbaijan",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Azerbaijan",
"edit": "https://en.m.wikipedia.org/wiki/Azerbaijan?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Azerbaijan"
}
},
"extract": "Azerbaijan, officially the Republic of Azerbaijan, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.",
"extract_html": "<p><b>Azerbaijan</b>, officially the <b>Republic of Azerbaijan</b>, is a country in the Caucasus region of Eurasia. Located at the crossroads of Eastern Europe and Western Asia, it is bounded by the Caspian Sea to the east, the Russian republic of Dagestan to the north, Georgia to the northwest, Armenia and Turkey to the west, and Iran to the south.</p>",
"normalizedtitle": "Azerbaijan"
}
],
"year": 1918
},
{
"text": "World War I: Off the Cocos (Keeling) Islands, the Australian light cruiser Sydney sank Emden, the last active German warship in the Indian Ocean.",
"pages": [
{
"type": "standard",
"title": "World_War_I",
"displaytitle": "World War I",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q361",
"titles": {
"canonical": "World_War_I",
"normalized": "World War I",
"display": "World War I"
},
"pageid": 4764461,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/WWImontage.jpg/309px-WWImontage.jpg",
"width": 309,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/20/WWImontage.jpg",
"width": 799,
"height": 828
},
"lang": "en",
"dir": "ltr",
"revision": "987174279",
"tid": "42dbb270-22c8-11eb-96e9-81ca3722b55f",
"timestamp": "2020-11-05T11:09:48Z",
"description": "1914–1918 global war starting in Europe",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.wikipedia.org/wiki/World_War_I?action=history",
"edit": "https://en.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:World_War_I"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/World_War_I",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/World_War_I",
"edit": "https://en.m.wikipedia.org/wiki/World_War_I?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:World_War_I"
}
},
"extract": "World War I was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the Great War or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.",
"extract_html": "<p><b>World War I</b> was a global war originating in Europe that lasted from 28 July 1914 to 11 November 1918. Contemporaneously known as the <b>Great War</b> or \"the war to end all wars\", it led to the mobilisation of more than 70 million military personnel, including 60 million Europeans, making it one of the largest wars in history. It is also one of the deadliest conflicts in history, with an estimated 9 million combatant deaths and 13 million civilian deaths as a direct result of the war, while resulting genocides and the related 1918 Spanish flu pandemic caused another 17–100 million deaths worldwide, including an estimated 2.64 million Spanish flu deaths in Europe and as many as 675,000 Spanish flu deaths in the United States.</p>",
"normalizedtitle": "World War I"
},
{
"type": "standard",
"title": "Cocos_(Keeling)_Islands",
"displaytitle": "Cocos (Keeling) Islands",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36004",
"titles": {
"canonical": "Cocos_(Keeling)_Islands",
"normalized": "Cocos (Keeling) Islands",
"display": "Cocos (Keeling) Islands"
},
"pageid": 5520,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/320px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 320,
"height": 160
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Flag_of_the_Cocos_%28Keeling%29_Islands.svg/600px-Flag_of_the_Cocos_%28Keeling%29_Islands.svg.png",
"width": 600,
"height": 300
},
"lang": "en",
"dir": "ltr",
"revision": "987826952",
"tid": "aaaa84c0-2297-11eb-93fa-8334161759c4",
"timestamp": "2020-11-09T13:39:26Z",
"description": "Group of islands in the Indian Ocean",
"description_source": "local",
"coordinates": {
"lat": -12.1175,
"lon": 96.895
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=history",
"edit": "https://en.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Cocos_(Keeling)_Islands",
"edit": "https://en.m.wikipedia.org/wiki/Cocos_(Keeling)_Islands?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Cocos_(Keeling)_Islands"
}
},
"extract": "The Territory of Cocos (Keeling) Islands is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.",
"extract_html": "<p>The <b>Territory of Cocos (Keeling) Islands</b> is an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and closer to the Indonesian island of Sumatra. It is part of Southeast Asia and is in the Southern Hemisphere. The territory's dual name reflects that the islands have historically been known as either the <b>Cocos Islands</b> or the <b>Keeling Islands</b>.</p>",
"normalizedtitle": "Cocos (Keeling) Islands"
},
{
"type": "standard",
"title": "HMAS_Sydney_(1912)",
"displaytitle": "HMAS <i>Sydney</i> (1912)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1031981",
"titles": {
"canonical": "HMAS_Sydney_(1912)",
"normalized": "HMAS Sydney (1912)",
"display": "HMAS <i>Sydney</i> (1912)"
},
"pageid": 964235,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg/320px-HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 320,
"height": 230
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/4/4a/HMAS_Sydney_1914_AWM_EN0194.jpg",
"width": 450,
"height": 323
},
"lang": "en",
"dir": "ltr",
"revision": "972129253",
"tid": "7245b4e0-1af6-11eb-b5e8-09e8a3fa510a",
"timestamp": "2020-08-10T09:33:52Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=history",
"edit": "https://en.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/HMAS_Sydney_(1912)",
"edit": "https://en.m.wikipedia.org/wiki/HMAS_Sydney_(1912)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:HMAS_Sydney_(1912)"
}
},
"extract": "HMAS Sydney was a Chatham-class light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.",
"extract_html": "<p><b>HMAS <i>Sydney</i></b> was a <span><i>Chatham</i>-class</span> light cruiser of the Royal Australian Navy (RAN). Laid down in 1911 and launched in 1912, the cruiser was commissioned into the RAN in 1913.</p>",
"normalizedtitle": "HMAS Sydney (1912)"
},
{
"type": "standard",
"title": "Battle_of_Cocos",
"displaytitle": "Battle of Cocos",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2981856",
"titles": {
"canonical": "Battle_of_Cocos",
"normalized": "Battle of Cocos",
"display": "Battle of Cocos"
},
"pageid": 1687523,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg/320px-British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 320,
"height": 272
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f0/British_Ships_of_the_First_World_War_Q21817.jpg",
"width": 2081,
"height": 1772
},
"lang": "en",
"dir": "ltr",
"revision": "987766616",
"tid": "e6ab0520-2239-11eb-8081-f9533023792d",
"timestamp": "2020-11-09T03:15:57Z",
"coordinates": {
"lat": -11.83333333,
"lon": 96.81666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Cocos"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Cocos",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Cocos?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Cocos"
}
},
"extract": "The Battle of Cocos was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser HMAS Sydney responded to an attack on a communications station at Direction Island by the German light cruiser SMS Emden.",
"extract_html": "<p>The <b>Battle of Cocos</b> was a single-ship action that occurred on 9 November 1914, after the Australian light cruiser <span>HMAS <i>Sydney</i></span> responded to an attack on a communications station at Direction Island by the German light cruiser <span>SMS <i>Emden</i></span>.</p>",
"normalizedtitle": "Battle of Cocos"
},
{
"type": "standard",
"title": "SMS_Emden",
"displaytitle": "SMS <i>Emden</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q329540",
"titles": {
"canonical": "SMS_Emden",
"normalized": "SMS Emden",
"display": "SMS <i>Emden</i>"
},
"pageid": 40812014,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg/320px-Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 320,
"height": 178
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Bundesarchiv_DVM_10_Bild-23-61-13%2C_Kleiner_Kreuzer_%22SMS_Emden_I%22.jpg",
"width": 800,
"height": 444
},
"lang": "en",
"dir": "ltr",
"revision": "987761768",
"tid": "c787e2e0-2233-11eb-9d5f-a138b11fcfa3",
"timestamp": "2020-11-09T02:32:09Z",
"description": "German Dresden-class cruiser",
"description_source": "local",
"coordinates": {
"lat": -11.8333,
"lon": 96.8167
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.wikipedia.org/wiki/SMS_Emden?action=history",
"edit": "https://en.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:SMS_Emden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/SMS_Emden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/SMS_Emden",
"edit": "https://en.m.wikipedia.org/wiki/SMS_Emden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:SMS_Emden"
}
},
"extract": "SMS Emden was the second and final member of the Dresden class of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the Kaiserliche Werft in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, Dresden. Like the preceding Königsberg-class cruisers, Emden was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.",
"extract_html": "<p><b>SMS <i>Emden</i></b> was the second and final member of the <span><i>Dresden</i> class</span> of light cruisers built for the Imperial German Navy. Named for the town of Emden, she was laid down at the <span><i>Kaiserliche Werft</i></span> in Danzig in 1906. The hull was launched in May 1908, and completed in July 1909. She had one sister ship, <span><i>Dresden</i></span>. Like the preceding <span><i>Königsberg</i>-class</span> cruisers, <i>Emden</i> was armed with ten 10.5 cm (4.1 in) guns and two torpedo tubes.</p>",
"normalizedtitle": "SMS Emden"
}
],
"year": 1914
},
{
"text": "The \"Big Blow\" storm reached its maximum intensity in the Great Lakes Basin of North America, destroying 19 ships and 68,300 tons of cargo, and killing more than 250 people.",
"pages": [
{
"type": "standard",
"title": "Great_Lakes_Storm_of_1913",
"displaytitle": "Great Lakes Storm of 1913",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1150855",
"titles": {
"canonical": "Great_Lakes_Storm_of_1913",
"normalized": "Great Lakes Storm of 1913",
"display": "Great Lakes Storm of 1913"
},
"pageid": 1461470,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/November_gale.png/320px-November_gale.png",
"width": 320,
"height": 306
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/3b/November_gale.png",
"width": 658,
"height": 629
},
"lang": "en",
"dir": "ltr",
"revision": "984870534",
"tid": "1afb0020-1b21-11eb-96d6-85fabc69e68e",
"timestamp": "2020-10-22T16:13:52Z",
"description": "November 1913 storm at the Great Lakes of North America",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Storm_of_1913",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Storm_of_1913?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Storm_of_1913"
}
},
"extract": "The Great Lakes Storm of 1913, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.",
"extract_html": "<p>The <b>Great Lakes Storm of 1913</b>, historically referred to as the \"Big Blow,\" the \"Freshwater Fury,\" or the \"White Hurricane,\" was a blizzard with hurricane-force winds that devastated the Great Lakes Basin in the Midwestern United States and Ontario, Canada from November 7 through November 10, 1913. The storm was most powerful on November 9, battering and overturning ships on four of the five Great Lakes, particularly Lake Huron. Deceptive lulls in the storm and the slow pace of weather reports contributed to the storm's destructiveness.</p>",
"normalizedtitle": "Great Lakes Storm of 1913"
},
{
"type": "standard",
"title": "Great_Lakes_Basin",
"displaytitle": "Great Lakes Basin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5599423",
"titles": {
"canonical": "Great_Lakes_Basin",
"normalized": "Great Lakes Basin",
"display": "Great Lakes Basin"
},
"pageid": 10200423,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Sub-basins_Great_Lakes_Basin.png/320px-Sub-basins_Great_Lakes_Basin.png",
"width": 320,
"height": 263
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d4/Sub-basins_Great_Lakes_Basin.png",
"width": 700,
"height": 575
},
"lang": "en",
"dir": "ltr",
"revision": "984870697",
"tid": "b1fd6d60-20d9-11eb-be72-a3d1c9e93795",
"timestamp": "2020-10-22T16:15:01Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=history",
"edit": "https://en.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Great_Lakes_Basin",
"edit": "https://en.m.wikipedia.org/wiki/Great_Lakes_Basin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Great_Lakes_Basin"
}
},
"extract": "The Great Lakes Basin consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.",
"extract_html": "<p>The <b>Great Lakes Basin</b> consists of the Great Lakes and the surrounding lands of the states of Illinois, Indiana, Michigan, Minnesota, New York, Ohio, Pennsylvania, and Wisconsin in the United States, and the province of Ontario in Canada, whose direct surface runoff and watersheds form a large drainage basin that feeds into the lakes. It is generally considered to also include a small area around and beyond Wolfe Island, Ontario, at the east end of Lake Ontario, which does not directly drain into the Great Lakes, but into the Saint Lawrence River.</p>",
"normalizedtitle": "Great Lakes Basin"
},
{
"type": "standard",
"title": "Tonnage",
"displaytitle": "Tonnage",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491774",
"titles": {
"canonical": "Tonnage",
"normalized": "Tonnage",
"display": "Tonnage"
},
"pageid": 308683,
"lang": "en",
"dir": "ltr",
"revision": "982312371",
"tid": "eef917e0-0c49-11eb-8bc3-c72a58ede2d7",
"timestamp": "2020-10-07T11:31:39Z",
"description": "Measure of the cargo-carrying volumetric capacity of a ship",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.wikipedia.org/wiki/Tonnage?action=history",
"edit": "https://en.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Tonnage"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Tonnage",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Tonnage",
"edit": "https://en.m.wikipedia.org/wiki/Tonnage?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Tonnage"
}
},
"extract": "Tonnage is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on tuns or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although tonnage (volume) should not be confused with displacement, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.",
"extract_html": "<p><b>Tonnage</b> is a measure of the cargo-carrying capacity of a ship, and is commonly used to assess fees on commercial shipping. The term derives from the taxation paid on <i>tuns</i> or casks of wine. In modern maritime usage, \"tonnage\" specifically refers to a calculation of the volume or cargo volume of a ship. Although <b>tonnage</b> (volume) should not be confused with <b>displacement</b>, the Imperial ton of 2240lbs is derived from the fact that a \"tun\" of wine typically weighed that much.</p>",
"normalizedtitle": "Tonnage"
}
],
"year": 1913
},
{
"text": "Mary Jane Kelly was murdered in London; she was widely believed to be the fifth and final victim of the notorious unidentified serial killer Jack the Ripper.",
"pages": [
{
"type": "standard",
"title": "Mary_Jane_Kelly",
"displaytitle": "Mary Jane Kelly",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q242469",
"titles": {
"canonical": "Mary_Jane_Kelly",
"normalized": "Mary Jane Kelly",
"display": "Mary Jane Kelly"
},
"pageid": 1235008,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Mary_Jane_Kelly.jpg/240px-Mary_Jane_Kelly.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/79/Mary_Jane_Kelly.jpg",
"width": 960,
"height": 1280
},
"lang": "en",
"dir": "ltr",
"revision": "987793381",
"tid": "d829c400-2261-11eb-986f-992f7f7b2916",
"timestamp": "2020-11-09T08:01:50Z",
"description": "Whitechapel victim",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=history",
"edit": "https://en.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mary_Jane_Kelly",
"edit": "https://en.m.wikipedia.org/wiki/Mary_Jane_Kelly?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mary_Jane_Kelly"
}
},
"extract": "Mary Jane Kelly, also known as Marie Jeanette Kelly, Fair Emma, Ginger, Dark Mary, and Black Mary, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.",
"extract_html": "<p><b>Mary Jane Kelly</b>, also known as <b>Marie Jeanette Kelly</b>, <b>Fair Emma</b>, <b>Ginger</b>, <b>Dark Mary</b>, and <b>Black Mary</b>, is widely believed to have been the final victim of the notorious unidentified serial killer Jack the Ripper, who murdered and mutilated a minimum of five women in the Whitechapel and Spitalfields districts of London from late August to early November 1888. At the time of Kelly's death, she was approximately 25 years old, working as a prostitute, and living in relative poverty.</p>",
"normalizedtitle": "Mary Jane Kelly"
},
{
"type": "standard",
"title": "Jack_the_Ripper",
"displaytitle": "Jack the Ripper",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43963",
"titles": {
"canonical": "Jack_the_Ripper",
"normalized": "Jack the Ripper",
"display": "Jack the Ripper"
},
"pageid": 6860726,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/JacktheRipper1888.jpg/301px-JacktheRipper1888.jpg",
"width": 301,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a1/JacktheRipper1888.jpg",
"width": 847,
"height": 900
},
"lang": "en",
"dir": "ltr",
"revision": "984467139",
"tid": "c63848a0-2097-11eb-850f-bb62d1959d97",
"timestamp": "2020-10-20T07:08:16Z",
"description": "Unidentified serial killer",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=history",
"edit": "https://en.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Jack_the_Ripper"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Jack_the_Ripper",
"edit": "https://en.m.wikipedia.org/wiki/Jack_the_Ripper?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Jack_the_Ripper"
}
},
"extract": "Jack the Ripper was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the Whitechapel Murderer and Leather Apron.",
"extract_html": "<p><b>Jack the Ripper</b> was an unidentified serial killer active in the largely impoverished areas in and around the Whitechapel district of London in 1888. In both the criminal case files and contemporary journalistic accounts, the killer was called the <b>Whitechapel Murderer</b> and <b>Leather Apron</b>.</p>",
"normalizedtitle": "Jack the Ripper"
}
],
"year": 1888
},
{
"text": "USS Alligator (pictured) engaged three pirate schooners off the coast of Cuba in one of the West Indies anti-piracy operations of the United States.",
"pages": [
{
"type": "standard",
"title": "USS_Alligator_(1820)",
"displaytitle": "USS <i>Alligator</i> (1820)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7867228",
"titles": {
"canonical": "USS_Alligator_(1820)",
"normalized": "USS Alligator (1820)",
"display": "USS <i>Alligator</i> (1820)"
},
"pageid": 1653785,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "925396855",
"tid": "2f903540-1c30-11eb-9e31-f3740d931939",
"timestamp": "2019-11-09T21:37:56Z",
"coordinates": {
"lat": 24.85131667,
"lon": -80.61838333
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=history",
"edit": "https://en.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/USS_Alligator_(1820)",
"edit": "https://en.m.wikipedia.org/wiki/USS_Alligator_(1820)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:USS_Alligator_(1820)"
}
},
"extract": "The third USS Alligator was a schooner in the United States Navy.",
"extract_html": "<p>The third <b>USS <i>Alligator</i></b> was a schooner in the United States Navy.</p>",
"normalizedtitle": "USS Alligator (1820)"
},
{
"type": "standard",
"title": "Action_of_9_November_1822",
"displaytitle": "Action of 9 November 1822",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q4677395",
"titles": {
"canonical": "Action_of_9_November_1822",
"normalized": "Action of 9 November 1822",
"display": "Action of 9 November 1822"
},
"pageid": 28743129,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/USS_Alligator.jpg/320px-USS_Alligator.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/3/30/USS_Alligator.jpg",
"width": 8880,
"height": 5920
},
"lang": "en",
"dir": "ltr",
"revision": "983681463",
"tid": "a45862d0-20fe-11eb-a545-0fb4b6375b13",
"timestamp": "2020-10-15T16:45:39Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=history",
"edit": "https://en.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Action_of_9_November_1822",
"edit": "https://en.m.wikipedia.org/wiki/Action_of_9_November_1822?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Action_of_9_November_1822"
}
},
"extract": "The Action of 9 November 1822 was a naval battle fought between the United States Navy schooner USS Alligator and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, Alligator under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.",
"extract_html": "<p>The <b>Action of 9 November 1822</b> was a naval battle fought between the United States Navy schooner <span>USS <i>Alligator</i></span> and a squadron of three pirate schooners off the coast of Cuba during the Navy's West Indies anti-piracy operation. Fifteen leagues from Matanzas, Cuba, a large band of pirates captured several vessels and held them for ransom. Upon hearing of the pirate attacks, <i>Alligator</i> under Lieutenant William Howard Allen rushed to the scene to rescue the vessels and seize the pirates.</p>",
"normalizedtitle": "Action of 9 November 1822"
},
{
"type": "standard",
"title": "Schooner",
"displaytitle": "Schooner",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q204577",
"titles": {
"canonical": "Schooner",
"normalized": "Schooner",
"display": "Schooner"
},
"pageid": 62413,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Oosterschelde_Kieler_Foerde.jpg/320px-Oosterschelde_Kieler_Foerde.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/ed/Oosterschelde_Kieler_Foerde.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "986665497",
"tid": "0238eff0-21c2-11eb-98ba-1d0be480f3ac",
"timestamp": "2020-11-02T07:35:54Z",
"description": "Sailing vessel",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Schooner",
"revisions": "https://en.wikipedia.org/wiki/Schooner?action=history",
"edit": "https://en.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Schooner"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Schooner",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Schooner",
"edit": "https://en.m.wikipedia.org/wiki/Schooner?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Schooner"
}
},
"extract": "A schooner is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.",
"extract_html": "<p>A <b>schooner</b> is a type of sailing vessel defined by its rig: fore-and-aft rigged on all of 2 or more masts and, in the case of a 2 masted schooner, the foremast generally being shorter than the mainmast. A common variant, the topsail schooner also has a square topsail on the foremast, to which may be added a topgallant and other square sails, but not a fore course, as that would make the vessel a brigantine. Many schooners are gaff-rigged, but other examples include Bermuda rig and the staysail schooner.</p>",
"normalizedtitle": "Schooner"
},
{
"type": "standard",
"title": "West_Indies_anti-piracy_operations_of_the_United_States",
"displaytitle": "West Indies anti-piracy operations of the United States",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q7985528",
"titles": {
"canonical": "West_Indies_anti-piracy_operations_of_the_United_States",
"normalized": "West Indies anti-piracy operations of the United States",
"display": "West Indies anti-piracy operations of the United States"
},
"pageid": 31590173,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Schooner_Grampus.jpg/320px-Schooner_Grampus.jpg",
"width": 320,
"height": 128
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c7/Schooner_Grampus.jpg",
"width": 609,
"height": 243
},
"lang": "en",
"dir": "ltr",
"revision": "981983947",
"tid": "60b58bc0-1c3f-11eb-bb47-6daaf0c58021",
"timestamp": "2020-10-05T14:58:49Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=history",
"edit": "https://en.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/West_Indies_anti-piracy_operations_of_the_United_States",
"edit": "https://en.m.wikipedia.org/wiki/West_Indies_anti-piracy_operations_of_the_United_States?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:West_Indies_anti-piracy_operations_of_the_United_States"
}
},
"extract": "The West Indies Anti-Piracy Operations refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.",
"extract_html": "<p>The <b>West Indies Anti-Piracy Operations</b> refer to the United States Navy presence in the Antilles, and surrounding waters, which fought against pirates. Between 1817 and 1825, the American West Indies Squadron constantly pursued pirates on sea and land, primarily around Cuba and Puerto Rico. After the capture of Roberto Cofresi in 1825, acts of piracy became rare and the operation was considered a success although limited occurrences went on until slightly after the start of the 20th-century.</p>",
"normalizedtitle": "West Indies anti-piracy operations of the United States"
}
],
"year": 1822
},
{
"text": "Great Britain, France, and Spain signed the Treaty of Seville to end the Anglo-Spanish War, despite the underlying tensions being left unresolved.",
"pages": [
{
"type": "standard",
"title": "Treaty_of_Seville",
"displaytitle": "Treaty of Seville",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q1195251",
"titles": {
"canonical": "Treaty_of_Seville",
"normalized": "Treaty of Seville",
"display": "Treaty of Seville"
},
"pageid": 1011479,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987897888",
"tid": "a8523e40-22d6-11eb-b256-13e26ae91ef8",
"timestamp": "2020-11-09T21:58:07Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=history",
"edit": "https://en.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Treaty_of_Seville"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Treaty_of_Seville",
"edit": "https://en.m.wikipedia.org/wiki/Treaty_of_Seville?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Treaty_of_Seville"
}
},
"extract": "The Treaty of Seville was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.",
"extract_html": "<p>The <b>Treaty of Seville</b> was signed on 9 November 1729 between Britain, France, and Spain, formally ending the 1727–1729 Anglo-Spanish War; the Dutch Republic joined the Treaty on 29 November.</p>",
"normalizedtitle": "Treaty of Seville"
},
{
"type": "standard",
"title": "Anglo-Spanish_War_(1727–1729)",
"displaytitle": "Anglo-Spanish War (1727–1729)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q604204",
"titles": {
"canonical": "Anglo-Spanish_War_(1727–1729)",
"normalized": "Anglo-Spanish War (1727–1729)",
"display": "Anglo-Spanish War (1727–1729)"
},
"pageid": 15055916,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg/320px-German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 320,
"height": 259
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e4/German_print_of_the_1727_Gibraltar_Siege.jpg",
"width": 1000,
"height": 809
},
"lang": "en",
"dir": "ltr",
"revision": "987757119",
"tid": "a26f8e60-229a-11eb-a5f4-fddda4846512",
"timestamp": "2020-11-09T01:49:55Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=history",
"edit": "https://en.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anglo-Spanish_War_(1727%E2%80%931729)",
"edit": "https://en.m.wikipedia.org/wiki/Anglo-Spanish_War_(1727%E2%80%931729)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anglo-Spanish_War_(1727%E2%80%931729)"
}
},
"extract": "The Anglo-Spanish War of 1727–1729 was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.",
"extract_html": "<p>The <b>Anglo-Spanish War of 1727–1729</b> was a limited war that took place between Great Britain and Spain during the late 1720s, and consisted of a failed Spanish attempt to capture Gibraltar and a unsuccessful British blockade of Porto Bello. It eventually ended with a return to the previous status quo ante bellum following the Treaty of Seville.</p>",
"normalizedtitle": "Anglo-Spanish War (1727–1729)"
}
],
"year": 1729
}
]
}
</syntaxhighlight>
9qv19bizjs6oyeefwbghks4ngihqr7i
534
523
2020-11-10T18:22:51Z
APaskulin (WMF)
20
Shorten to try to appease syntaxhighlight
wikitext
text/x-wiki
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Japanese_battleship_Yashima",
"displaytitle": "Japanese battleship <i>Yashima</i>",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q705170",
"titles": {
"canonical": "Japanese_battleship_Yashima",
"normalized": "Japanese battleship Yashima",
"display": "Japanese battleship <i>Yashima</i>"
},
"pageid": 3798521,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Colorized_Yashima.jpg/640px-Colorized_Yashima.jpg",
"width": 640,
"height": 452
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/9/9b/Colorized_Yashima.jpg",
"width": 1232,
"height": 871
},
"lang": "en",
"dir": "ltr",
"revision": "987901309",
"tid": "4c91ca90-22da-11eb-bbc5-375c4c5bd365",
"timestamp": "2020-11-09T22:24:05Z",
"description": "Japanese Fuji-class battleship",
"description_source": "local",
"coordinates": {
"lat": 38.56666667,
"lon": 121.66666667
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=history",
"edit": "https://en.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Japanese_battleship_Yashima",
"edit": "https://en.m.wikipedia.org/wiki/Japanese_battleship_Yashima?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Japanese_battleship_Yashima"
}
},
"extract": "Yashima was a Fuji-class pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. Yashima was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.",
"extract_html": "<p><i><b>Yashima</b></i><span style=\"font-weight:normal\"> </span> was a <span><i>Fuji</i>-class</span> pre-dreadnought battleship built for the Imperial Japanese Navy (IJN) in the 1890s. As Japan lacked the industrial capacity to construct such vessels, the ship was designed and built in the United Kingdom. She participated in the early stages of the Russo-Japanese War of 1904–1905, including the Battle of Port Arthur on the second day of the war. <i>Yashima</i> was involved in subsequent operations until she struck two mines off Port Arthur in May 1904. The ship did not sink immediately, but capsized while under tow later that day. The Japanese were able to keep her loss a secret from the Russians for over a year. As a result, the Russians were unable to take advantage of the ship's loss.</p>",
"normalizedtitle": "Japanese battleship Yashima"
},
"mostread": {
"date": "2020-11-08Z",
"articles": [
{
"views": 6591413,
"rank": 1,
"view_history": [
{
"date": "2020-11-04Z",
"views": 595961
},
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "987911996",
"tid": "f1cc3800-22e5-11eb-872d-df4fb2360a91",
"timestamp": "2020-11-09T23:47:10Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female Vice President in U.S. history, and will also be the first African American and first Asian American to hold the post. She will be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"views": 3826893,
"rank": 3,
"view_history": [
{
"date": "2020-11-04Z",
"views": 1778266
},
{
"date": "2020-11-05Z",
"views": 1391484
},
{
"date": "2020-11-06Z",
"views": 1144292
},
{
"date": "2020-11-07Z",
"views": 3113384
},
{
"date": "2020-11-08Z",
"views": 3826893
}
],
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "987910518",
"tid": "206770f0-22e4-11eb-8757-33dae8f0daa5",
"timestamp": "2020-11-09T23:34:12Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and United States Senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"documentation_note": "Additional mostread page objects have been omitted for readability"
}
]
},
"image": {
"title": "File:Cordillera de Alaska desde Tok, Alaska, Estados Unidos, 2017-08-29, DD 16-19 PAN.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg/640px-Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 640,
"height": 177
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/82/Cordillera_de_Alaska_desde_Tok%2C_Alaska%2C_Estados_Unidos%2C_2017-08-29%2C_DD_16-19_PAN.jpg",
"width": 17996,
"height": 4974
},
"file_page": "https://commons.wikimedia.org/wiki/File:Cordillera_de_Alaska_desde_Tok,_Alaska,_Estados_Unidos,_2017-08-29,_DD_16-19_PAN.jpg",
"artist": {
"html": "<bdi><a href=\"https://www.wikidata.org/wiki/Q28147777\" class=\"extiw\" title=\"d:Q28147777\">Diego Delso</a>\n</bdi>",
"text": "Diego Delso"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "View of the <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska%20Range\" title=\"en:Alaska Range\">Alaska Range</a> from <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/%20Tok,%20Alaska\" title=\"en: Tok, Alaska\">Tok</a>, <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Alaska\" title=\"en:Alaska\">Alaska</a>, United States.",
"text": "View of the Alaska Range from Tok, Alaska, United States.",
"lang": "en"
},
"wb_entity_id": "M69592677",
"structured": {
"captions": {}
}
},
"onthisday": [
{
"text": "A tram derailed in Croydon, London, killing seven people.",
"pages": [
{
"type": "standard",
"title": "2016_Croydon_tram_derailment",
"displaytitle": "2016 Croydon tram derailment",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q27807478",
"titles": {
"canonical": "2016_Croydon_tram_derailment",
"normalized": "2016 Croydon tram derailment",
"display": "2016 Croydon tram derailment"
},
"pageid": 52232155,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Sandilands_Junction_derailed_tram.jpg/320px-Sandilands_Junction_derailed_tram.jpg",
"width": 320,
"height": 213
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Sandilands_Junction_derailed_tram.jpg",
"width": 960,
"height": 640
},
"lang": "en",
"dir": "ltr",
"revision": "987912935",
"tid": "03685110-22e7-11eb-8f76-db698b2421dc",
"timestamp": "2020-11-09T23:55:06Z",
"coordinates": {
"lat": 51.3743,
"lon": -0.0755
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=history",
"edit": "https://en.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2016_Croydon_tram_derailment",
"edit": "https://en.m.wikipedia.org/wiki/2016_Croydon_tram_derailment?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2016_Croydon_tram_derailment"
}
},
"extract": "On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.",
"extract_html": "<p>On 9 November 2016, a tram operated by Tramlink derailed and overturned on a sharp bend approaching a junction. Of a total 69 passengers, there were 7 fatalities and 62 injured, 19 of whom sustained serious injuries. This was the first tram incident in the United Kingdom in which passengers died since 1959.</p>",
"normalizedtitle": "2016 Croydon tram derailment"
},
{
"type": "standard",
"title": "Croydon",
"displaytitle": "Croydon",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2213391",
"titles": {
"canonical": "Croydon",
"normalized": "Croydon",
"display": "Croydon"
},
"pageid": 491650,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg/320px-P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/7/7a/P1490912_The_Old_Town_Hall%2CKatherine_Street.._Croydon...jpg",
"width": 1107,
"height": 831
},
"lang": "en",
"dir": "ltr",
"revision": "987834031",
"tid": "db5d59d0-22e7-11eb-b3f8-651897f4ffe7",
"timestamp": "2020-11-09T14:39:16Z",
"description": "Town in South London, England",
"description_source": "local",
"coordinates": {
"lat": 51.3727,
"lon": -0.1099
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croydon",
"revisions": "https://en.wikipedia.org/wiki/Croydon?action=history",
"edit": "https://en.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croydon"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croydon",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croydon",
"edit": "https://en.m.wikipedia.org/wiki/Croydon?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croydon"
}
},
"extract": "Croydon is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.",
"extract_html": "<p><b>Croydon</b> is a large town in south London, England. It is 9.4 miles (15.1 km) south of Charing Cross. The principal settlement in the London Borough of Croydon, it is one of the largest commercial districts in Greater London outside Central London, with an extensive shopping district and night-time economy. The entire town had a population of 192,064 as of 2011, whilst the wider borough had a population of 384,837.</p>",
"normalizedtitle": "Croydon"
}
],
"year": 2016
},
{
"text": "War in Bosnia and Herzegovina: Croatian Defence Council forces destroyed the Stari Most, a 16th-century bridge crossing the river Neretva in the city of Mostar.",
"pages": [
{
"type": "standard",
"title": "Bosnian_War",
"displaytitle": "Bosnian War",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181533",
"titles": {
"canonical": "Bosnian_War",
"normalized": "Bosnian War",
"display": "Bosnian War"
},
"pageid": 577771,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/58/Bosnian_war_header.no.png",
"width": 290,
"height": 291
},
"lang": "en",
"dir": "ltr",
"revision": "986673817",
"tid": "002e99c0-22ae-11eb-a24d-e9191c86120e",
"timestamp": "2020-11-02T09:04:10Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.wikipedia.org/wiki/Bosnian_War?action=history",
"edit": "https://en.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Bosnian_War"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Bosnian_War",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Bosnian_War",
"edit": "https://en.m.wikipedia.org/wiki/Bosnian_War?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Bosnian_War"
}
},
"extract": "The Bosnian War was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.",
"extract_html": "<p>The <b>Bosnian War</b> was an international armed conflict that took place in Bosnia and Herzegovina between 1992 and 1995. Following a number of violent incidents in early 1992, the war is commonly viewed as having started on 6 April 1992. The war ended on 14 December 1995. The main belligerents were the forces of the Republic of Bosnia and Herzegovina and those of Herzeg-Bosnia and Republika Srpska, proto-states led and supplied by Croatia and Serbia, respectively.</p>",
"normalizedtitle": "Bosnian War"
},
{
"type": "standard",
"title": "Croatian_Defence_Council",
"displaytitle": "Croatian Defence Council",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q35895",
"titles": {
"canonical": "Croatian_Defence_Council",
"normalized": "Croatian Defence Council",
"display": "Croatian Defence Council"
},
"pageid": 5713295,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/200px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 200,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Logo_of_Croatian_Defence_Council.svg/269px-Logo_of_Croatian_Defence_Council.svg.png",
"width": 269,
"height": 431
},
"lang": "en",
"dir": "ltr",
"revision": "981412373",
"tid": "b15d7440-180f-11eb-97dd-41e3ad29101e",
"timestamp": "2020-10-02T04:33:53Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=history",
"edit": "https://en.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Croatian_Defence_Council",
"edit": "https://en.m.wikipedia.org/wiki/Croatian_Defence_Council?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Croatian_Defence_Council"
}
},
"extract": "The Croatian Defence Council was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.",
"extract_html": "<p>The <b>Croatian Defence Council</b> was the official military formation of the Croatian Republic of Herzeg-Bosnia, an unrecognized entity that existed in Bosnia and Herzegovina between 1991 and 1996. The HVO was the main military force of Croats of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Croatian Defence Council"
},
{
"type": "standard",
"title": "Stari_Most",
"displaytitle": "Stari Most",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q188528",
"titles": {
"canonical": "Stari_Most",
"normalized": "Stari Most",
"display": "Stari Most"
},
"pageid": 2110211,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Stari_Most22.jpg/320px-Stari_Most22.jpg",
"width": 320,
"height": 240
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Stari_Most22.jpg",
"width": 1600,
"height": 1200
},
"lang": "en",
"dir": "ltr",
"revision": "987451571",
"tid": "9a7ea6a0-20ab-11eb-83cf-ff8fcd059462",
"timestamp": "2020-11-07T03:44:51Z",
"coordinates": {
"lat": 43.3371,
"lon": 17.81485
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.wikipedia.org/wiki/Stari_Most?action=history",
"edit": "https://en.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Stari_Most"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Stari_Most",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Stari_Most",
"edit": "https://en.m.wikipedia.org/wiki/Stari_Most?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Stari_Most"
}
},
"extract": "Stari Most, also known as Mostar Bridge, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.",
"extract_html": "<p><b>Stari Most</b>, also known as <b>Mostar Bridge</b>, is a rebuilt 16th-century Ottoman bridge in the city of Mostar in Bosnia and Herzegovina that crosses the river Neretva and connects the two parts of the city. The Old Bridge stood for 427 years, until it was destroyed on 9 November 1993 by Croat paramilitary forces during the Croat–Bosniak War. Subsequently, a project was set in motion to reconstruct it; the rebuilt bridge opened on 23 July 2004.</p>",
"normalizedtitle": "Stari Most"
},
{
"type": "standard",
"title": "Neretva",
"displaytitle": "Neretva",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q190777",
"titles": {
"canonical": "Neretva",
"normalized": "Neretva",
"display": "Neretva"
},
"pageid": 854002,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg/320px-NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 320,
"height": 219
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/2e/NERETVA_RIVER_VALLEY_NEAR_POCITELJ.jpg",
"width": 5262,
"height": 3595
},
"lang": "en",
"dir": "ltr",
"revision": "987041264",
"tid": "0565add0-1eac-11eb-b9d1-a5556ef3e10c",
"timestamp": "2020-11-04T14:42:47Z",
"coordinates": {
"lat": 43.021385,
"lon": 17.448328
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Neretva",
"revisions": "https://en.wikipedia.org/wiki/Neretva?action=history",
"edit": "https://en.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Neretva"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Neretva",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Neretva",
"edit": "https://en.m.wikipedia.org/wiki/Neretva?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Neretva"
}
},
"extract": "The Neretva, also known as the Narenta, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.",
"extract_html": "<p>The <b>Neretva</b>, also known as the <b>Narenta</b>, is one of the largest rivers of the eastern part of the Adriatic basin. Four HE power-plants with large dams provide flood protection, power and water storage. It is recognized for its natural environment and diversity of its landscape.</p>",
"normalizedtitle": "Neretva"
},
{
"type": "standard",
"title": "Mostar",
"displaytitle": "Mostar",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q93347",
"titles": {
"canonical": "Mostar",
"normalized": "Mostar",
"display": "Mostar"
},
"pageid": 551361,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Mostar_Old_Town_Panorama.jpg/320px-Mostar_Old_Town_Panorama.jpg",
"width": 320,
"height": 214
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Mostar_Old_Town_Panorama.jpg",
"width": 2048,
"height": 1371
},
"lang": "en",
"dir": "ltr",
"revision": "987050552",
"tid": "3c99cbe0-1eb8-11eb-a744-7f4fc54cd169",
"timestamp": "2020-11-04T16:10:09Z",
"description": "City in Federation of Bosnia and Herzegovina, Bosnia and Herzegovina",
"description_source": "local",
"coordinates": {
"lat": 43.33333333,
"lon": 17.8
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Mostar",
"revisions": "https://en.wikipedia.org/wiki/Mostar?action=history",
"edit": "https://en.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Mostar"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Mostar",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Mostar",
"edit": "https://en.m.wikipedia.org/wiki/Mostar?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Mostar"
}
},
"extract": "Mostar is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.",
"extract_html": "<p><b>Mostar</b> is a city and the administrative center of Herzegovina-Neretva Canton of the Federation of Bosnia and Herzegovina, an entity of Bosnia and Herzegovina.</p>",
"normalizedtitle": "Mostar"
}
],
"year": 1993
},
{
"documentation_note": "Additional onthisday objects have been omitted for readability"
}
]
}
</syntaxhighlight>
la6xxxzs3jy138ly64e2v5dzh8t5sbu
535
534
2020-11-10T18:29:39Z
APaskulin (WMF)
20
Include news
wikitext
text/x-wiki
<syntaxhighlight lang="json">
{
"tfa": {
"type": "standard",
"title": "Episode_14_(Twin_Peaks)",
"displaytitle": "Episode 14 (<i>Twin Peaks</i>)",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q5383519",
"titles": {
"canonical": "Episode_14_(Twin_Peaks)",
"normalized": "Episode 14 (Twin Peaks)",
"display": "Episode 14 (<i>Twin Peaks</i>)"
},
"pageid": 36669976,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f6/Leland_Palmer-BOB.jpg",
"width": 376,
"height": 250
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/en/f/f6/Leland_Palmer-BOB.jpg",
"width": 376,
"height": 250
},
"lang": "en",
"dir": "ltr",
"revision": "988037596",
"tid": "bb728c70-237e-11eb-9f2e-31bd5a9869a2",
"timestamp": "2020-11-10T18:01:12Z",
"description": "episode of Twin Peaks",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Episode_14_(Twin_Peaks)",
"revisions": "https://en.wikipedia.org/wiki/Episode_14_(Twin_Peaks)?action=history",
"edit": "https://en.wikipedia.org/wiki/Episode_14_(Twin_Peaks)?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Episode_14_(Twin_Peaks)"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Episode_14_(Twin_Peaks)",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Episode_14_(Twin_Peaks)",
"edit": "https://en.m.wikipedia.org/wiki/Episode_14_(Twin_Peaks)?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Episode_14_(Twin_Peaks)"
}
},
"extract": "\"Episode 14\", also known as \"Lonely Souls\", is the seventh episode of the second season of the American mystery television series Twin Peaks. The episode was written by series co-creator Mark Frost and directed by series co-creator David Lynch. It features series regulars Kyle MacLachlan, Michael Ontkean, Ray Wise and Richard Beymer; and guest stars Frank Silva (uncredited) as Killer BOB, Hank Worden as The Waiter, Julee Cruise as Singer, and David Lynch as Gordon Cole.",
"extract_html": "<p>\"<b>Episode 14</b>\", also known as \"<b>Lonely Souls</b>\", is the seventh episode of the second season of the American mystery television series <i>Twin Peaks</i>. The episode was written by series co-creator Mark Frost and directed by series co-creator David Lynch. It features series regulars Kyle MacLachlan, Michael Ontkean, Ray Wise and Richard Beymer; and guest stars Frank Silva (uncredited) as Killer BOB, Hank Worden as The Waiter, Julee Cruise as Singer, and David Lynch as Gordon Cole.</p>",
"normalizedtitle": "Episode 14 (Twin Peaks)"
},
"mostread": {
"date": "2020-11-09Z",
"articles": [
{
"views": 1517128,
"rank": 2,
"view_history": [
{
"date": "2020-11-05Z",
"views": 514880
},
{
"date": "2020-11-06Z",
"views": 551685
},
{
"date": "2020-11-07Z",
"views": 3501236
},
{
"date": "2020-11-08Z",
"views": 6591413
},
{
"date": "2020-11-09Z",
"views": 1517128
}
],
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "988036474",
"tid": "1fa6d210-237e-11eb-9c6a-2b4e797d58c2",
"timestamp": "2020-11-10T17:56:32Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female U.S. vice president, the first African American, the first Asian American and the first Caribbean American to hold the post in U.S. history. She will also be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female U.S. vice president, the first African American, the first Asian American and the first Caribbean American to hold the post in U.S. history. She will also be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
},
{
"documentation_note": "Additional objects have been omitted for readability."
}
]
},
"image": {
"title": "File:Perchtoldsdorf Pfarrkirche Innenraum 01.jpg",
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/Perchtoldsdorf_Pfarrkirche_Innenraum_01.jpg/640px-Perchtoldsdorf_Pfarrkirche_Innenraum_01.jpg",
"width": 640,
"height": 664
},
"image": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/8d/Perchtoldsdorf_Pfarrkirche_Innenraum_01.jpg",
"width": 9940,
"height": 10313
},
"file_page": "https://commons.wikimedia.org/wiki/File:Perchtoldsdorf_Pfarrkirche_Innenraum_01.jpg",
"artist": {
"html": "<a href=\"//commons.wikimedia.org/wiki/User:Uoaei1\" title=\"User:Uoaei1\">Uoaei1</a>",
"text": "Uoaei1",
"name": "Uoaei1",
"user_page": "https://commons.wikimedia.org/wiki/User:Uoaei1"
},
"credit": {
"html": "<span class=\"int-own-work\" lang=\"en\">Own work</span>",
"text": "Own work"
},
"license": {
"type": "CC BY-SA 4.0",
"code": "cc-by-sa-4.0",
"url": "https://creativecommons.org/licenses/by-sa/4.0"
},
"description": {
"html": "Interior of the parish church <a rel=\"mw:WikiLink/Interwiki\" href=\"https://en.wikipedia.org/wiki/Perchtoldsdorf\" title=\"w:Perchtoldsdorf\">Perchtoldsdorf</a>, Lower Austria",
"text": "Interior of the parish church Perchtoldsdorf, Lower Austria",
"lang": "en"
},
"wb_entity_id": "M74447152",
"structured": {
"captions": {}
}
},
"news": [
{
"links": [
{
"type": "standard",
"title": "2020_United_States_presidential_election",
"displaytitle": "2020 United States presidential election",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q22923830",
"titles": {
"canonical": "2020_United_States_presidential_election",
"normalized": "2020 United States presidential election",
"display": "2020 United States presidential election"
},
"pageid": 48410011,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/320px-ElectoralCollege2020_with_results.svg.png",
"width": 320,
"height": 186
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/ElectoralCollege2020_with_results.svg/1020px-ElectoralCollege2020_with_results.svg.png",
"width": 1020,
"height": 593
},
"lang": "en",
"dir": "ltr",
"revision": "988030609",
"tid": "7536deb0-2378-11eb-98a1-c9d872f21b58",
"timestamp": "2020-11-10T17:15:33Z",
"description": "59th United States presidential election",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=history",
"edit": "https://en.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/2020_United_States_presidential_election",
"edit": "https://en.m.wikipedia.org/wiki/2020_United_States_presidential_election?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:2020_United_States_presidential_election"
}
},
"extract": "The 2020 United States presidential election was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters chose a joint ticket for president and vice president, which determines the presidential electors of the Electoral College, who in turn will vote for the candidates on December 14, 2020. This election was the first since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008. With more than 75 million votes, Biden received the most votes ever cast for a U.S. presidential candidate. This election was also the first since 1960 in which a candidate won the election without winning Ohio.",
"extract_html": "<p>The <b>2020 United States presidential election</b> was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. The Democratic ticket of former vice president Joe Biden and U.S. senator from California Kamala Harris defeated the Republican ticket of incumbent president Donald Trump and vice president Mike Pence. Voters chose a joint ticket for president and vice president, which determines the presidential electors of the Electoral College, who in turn will vote for the candidates on December 14, 2020. This election was the first since 1992 in which an incumbent president failed to win re-election to a second term. Both Biden and Trump received more than 70 million votes, beating Barack Obama's record of 69.5 million votes from 2008. With more than 75 million votes, Biden received the most votes ever cast for a U.S. presidential candidate. This election was also the first since 1960 in which a candidate won the election without winning Ohio.</p>",
"normalizedtitle": "2020 United States presidential election"
},
{
"type": "standard",
"title": "Joe_Biden",
"displaytitle": "Joe Biden",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q6279",
"titles": {
"canonical": "Joe_Biden",
"normalized": "Joe Biden",
"display": "Joe Biden"
},
"pageid": 145422,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Joe_Biden_official_portrait_2013.jpg/256px-Joe_Biden_official_portrait_2013.jpg",
"width": 256,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/f/f4/Joe_Biden_official_portrait_2013.jpg",
"width": 3277,
"height": 4096
},
"lang": "en",
"dir": "ltr",
"revision": "988025443",
"tid": "15021a90-2374-11eb-988b-8f3592ed6322",
"timestamp": "2020-11-10T16:44:40Z",
"description": "President-elect of the United States",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.wikipedia.org/wiki/Joe_Biden?action=history",
"edit": "https://en.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Joe_Biden"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Joe_Biden",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Joe_Biden",
"edit": "https://en.m.wikipedia.org/wiki/Joe_Biden?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Joe_Biden"
}
},
"extract": "Joseph Robinette Biden Jr. is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and a United States senator for Delaware from 1973 to 2009.",
"extract_html": "<p><b>Joseph Robinette Biden Jr.</b> is an American politician and the president-elect of the United States. Having defeated incumbent Donald Trump in the 2020 United States presidential election, he will be inaugurated as the 46th president on January 20, 2021. A member of the Democratic Party, Biden served as the 47th vice president from 2009 to 2017 and a United States senator for Delaware from 1973 to 2009.</p>",
"normalizedtitle": "Joe Biden"
},
{
"type": "standard",
"title": "Kamala_Harris",
"displaytitle": "Kamala Harris",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q10853588",
"titles": {
"canonical": "Kamala_Harris",
"normalized": "Kamala Harris",
"display": "Kamala Harris"
},
"pageid": 3120522,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg/240px-Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 240,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Kamala_Harris_official_photo_%28cropped2%29.jpg",
"width": 3747,
"height": 4990
},
"lang": "en",
"dir": "ltr",
"revision": "988036474",
"tid": "1fa6d210-237e-11eb-9c6a-2b4e797d58c2",
"timestamp": "2020-11-10T17:56:32Z",
"description": "Vice President-elect of the United States; United States Senator",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.wikipedia.org/wiki/Kamala_Harris?action=history",
"edit": "https://en.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Kamala_Harris"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Kamala_Harris",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Kamala_Harris",
"edit": "https://en.m.wikipedia.org/wiki/Kamala_Harris?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Kamala_Harris"
}
},
"extract": "Kamala Devi Harris is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female U.S. vice president, the first African American, the first Asian American and the first Caribbean American to hold the post in U.S. history. She will also be the highest-ranking female elected official in United States history.",
"extract_html": "<p><b>Kamala Devi Harris</b> is an American politician and attorney who is the vice president-elect of the United States. A member of the Democratic Party, she is set to assume office on January 20, 2021, alongside President-elect Joe Biden, having defeated incumbent President Donald Trump and Vice President Mike Pence in the 2020 presidential election. Harris has served as the junior United States senator from California since 2017. Being of both Indian Tamil and Afro-Jamaican ancestry, Harris is a multiracial American. Harris will be the first female U.S. vice president, the first African American, the first Asian American and the first Caribbean American to hold the post in U.S. history. She will also be the highest-ranking female elected official in United States history.</p>",
"normalizedtitle": "Kamala Harris"
}
],
"story": "<!--Nov 07--><a rel=\"mw:WikiLink\" href=\"./Joe_Biden\" title=\"Joe Biden\" id=\"mwBw\">Joe Biden</a> and his running mate <a rel=\"mw:WikiLink\" href=\"./Kamala_Harris\" title=\"Kamala Harris\" id=\"mwCA\">Kamala Harris</a> <i id=\"mwCQ\">(both pictured)</i> win <b id=\"mwCg\"><a rel=\"mw:WikiLink\" href=\"./2020_United_States_presidential_election\" title=\"2020 United States presidential election\" id=\"mwCw\">the United States presidential election</a></b>.<!--and the [[Democratic Party (United States)|Democrats]] retain control of '''[[2020 United States House of Representatives elections|the House]]''', while control of '''[[2020 United States Senate elections|the Senate]]''' will be determined in a run-off election.-->"
},
{
"documentation_note": "Additional objects have been omitted for readability."
}
],
"onthisday": [
{
"text": "Ships of the South Korean and North Korean navies skirmished off Daecheong Island in the Yellow Sea.",
"pages": [
{
"type": "standard",
"title": "Battle_of_Daecheong",
"displaytitle": "Battle of Daecheong",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q491188",
"titles": {
"canonical": "Battle_of_Daecheong",
"normalized": "Battle of Daecheong",
"display": "Battle of Daecheong"
},
"pageid": 25031296,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Inchon_islands_2.svg/320px-Inchon_islands_2.svg.png",
"width": 320,
"height": 229
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Inchon_islands_2.svg/912px-Inchon_islands_2.svg.png",
"width": 912,
"height": 653
},
"lang": "en",
"dir": "ltr",
"revision": "984828749",
"tid": "6dfb3be0-1451-11eb-a79d-75d0177f06f7",
"timestamp": "2020-10-22T10:29:08Z",
"description": "Skirmish between the South Korean and North Korean navies",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Battle_of_Daecheong",
"revisions": "https://en.wikipedia.org/wiki/Battle_of_Daecheong?action=history",
"edit": "https://en.wikipedia.org/wiki/Battle_of_Daecheong?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Battle_of_Daecheong"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Battle_of_Daecheong",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Battle_of_Daecheong",
"edit": "https://en.m.wikipedia.org/wiki/Battle_of_Daecheong?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Battle_of_Daecheong"
}
},
"extract": "The Battle of Daecheong was a skirmish between the South Korean and North Korean navies near the Northern Limit Line (NLL) on 10 November 2009 off Daecheong Island. The incident began around 11:27 am when a North Korean navy patrol boat crossed down through the NLL, which is not recognized by North Korea (DPRK). Following two warnings from South Korean naval units, one of the South Korean patrol boats fired a warning shot. In response, the North Korean boat began firing upon the South Korean ship. A patrol boat from the DPRK was seriously damaged suffering eight casualties while the navy of South Korea (ROK) sustained no casualties.",
"extract_html": "<p>The <b>Battle of Daecheong</b> was a skirmish between the South Korean and North Korean navies near the Northern Limit Line (NLL) on 10 November 2009 off Daecheong Island. The incident began around 11:27 am when a North Korean navy patrol boat crossed down through the NLL, which is not recognized by North Korea (DPRK). Following two warnings from South Korean naval units, one of the South Korean patrol boats fired a warning shot. In response, the North Korean boat began firing upon the South Korean ship. A patrol boat from the DPRK was seriously damaged suffering eight casualties while the navy of South Korea (ROK) sustained no casualties.</p>",
"normalizedtitle": "Battle of Daecheong"
},
{
"type": "standard",
"title": "Daecheongdo",
"displaytitle": "Daecheongdo",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q484894",
"titles": {
"canonical": "Daecheongdo",
"normalized": "Daecheongdo",
"display": "Daecheongdo"
},
"pageid": 29753277,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Daecheong_Island_landsat_%282%29.jpg/320px-Daecheong_Island_landsat_%282%29.jpg",
"width": 320,
"height": 241
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/5/5a/Daecheong_Island_landsat_%282%29.jpg",
"width": 375,
"height": 282
},
"lang": "en",
"dir": "ltr",
"revision": "934114458",
"tid": "189ce1c0-1835-11eb-ba0f-5ff2e6d6d8df",
"timestamp": "2020-01-04T21:01:57Z",
"coordinates": {
"lat": 37.825,
"lon": 124.7
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Daecheongdo",
"revisions": "https://en.wikipedia.org/wiki/Daecheongdo?action=history",
"edit": "https://en.wikipedia.org/wiki/Daecheongdo?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Daecheongdo"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Daecheongdo",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Daecheongdo",
"edit": "https://en.m.wikipedia.org/wiki/Daecheongdo?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Daecheongdo"
}
},
"extract": "Daecheong Island or Daecheongdo is a 12.63 km2 (4.88 sq mi), 7 km (4.3 mi) long and 6.3 km (3.9 mi) wide island in Ongjin County, Incheon, South Korea, near the Northern Limit Line. The 1953 Korean Armistice Agreement which ended the Korean War specified that the five islands including Daecheong Island would remain under U.N. and South Korea control. This agreement was signed by both DPRK and United Nations Command. Since then, it serves as a maritime demarcation between North and South Korea in the Yellow Sea.",
"extract_html": "<p><b>Daecheong Island</b> or <b>Daecheongdo</b> is a 12.63 km<sup>2</sup> (4.88 sq mi), 7 km (4.3 mi) long and 6.3 km (3.9 mi) wide island in Ongjin County, Incheon, South Korea, near the Northern Limit Line. The 1953 Korean Armistice Agreement which ended the Korean War specified that the five islands including Daecheong Island would remain under U.N. and South Korea control. This agreement was signed by both DPRK and United Nations Command. Since then, it serves as a maritime demarcation between North and South Korea in the Yellow Sea.</p>",
"normalizedtitle": "Daecheongdo"
},
{
"type": "standard",
"title": "Yellow_Sea",
"displaytitle": "Yellow Sea",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q37960",
"titles": {
"canonical": "Yellow_Sea",
"normalized": "Yellow Sea",
"display": "Yellow Sea"
},
"pageid": 50820,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Bohaiseamap2.png/320px-Bohaiseamap2.png",
"width": 320,
"height": 274
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/0/03/Bohaiseamap2.png",
"width": 583,
"height": 500
},
"lang": "en",
"dir": "ltr",
"revision": "982762961",
"tid": "6a1a2aa0-1d24-11eb-8f4b-b3ec0c2aa2d1",
"timestamp": "2020-10-10T05:44:51Z",
"description": "Sea in Northeast Asia between China and Korea",
"description_source": "local",
"coordinates": {
"lat": 35,
"lon": 123
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Yellow_Sea",
"revisions": "https://en.wikipedia.org/wiki/Yellow_Sea?action=history",
"edit": "https://en.wikipedia.org/wiki/Yellow_Sea?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Yellow_Sea"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Yellow_Sea",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Yellow_Sea",
"edit": "https://en.m.wikipedia.org/wiki/Yellow_Sea?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Yellow_Sea"
}
},
"extract": "The Yellow Sea is a marginal sea of the Western Pacific Ocean located between mainland China and the Korean Peninsula, and can be considered the northwestern part of the East China Sea. It is one of four seas named after common colour terms, and its name is descriptive of the phenomenon whereby fine sand grains from the Gobi Desert sand storms, that descend annually from the north, turn the surface of its waters a golden yellow.",
"extract_html": "<p>The <b>Yellow Sea</b> is a marginal sea of the Western Pacific Ocean located between mainland China and the Korean Peninsula, and can be considered the northwestern part of the East China Sea. It is one of four seas named after common colour terms, and its name is descriptive of the phenomenon whereby fine sand grains from the Gobi Desert sand storms, that descend annually from the north, turn the surface of its waters a golden yellow.</p>",
"normalizedtitle": "Yellow Sea"
}
],
"year": 2009
},
{
"documentation_note": "Additional objects have been omitted for readability."
}
]
}
</syntaxhighlight>
ergpt6xcs62zg4rs3gponob34lamkuh
Template:Deprecated
10
113
539
2020-11-10T19:26:09Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">deprecated</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">deprecated</span></p>
fl7v211m8his2mxalw6cbfbwhkqwqrr
Feed article object
0
114
540
2020-11-10T20:20:46Z
APaskulin (WMF)
20
Created page with "|<code>thumbnail</code> {{Object}} | Preview-sized image {{Child properties start}} {| class="wikitable properties" | <code>source</code> {{String}} | Image URL |- | <code>wid..."
wikitext
text/x-wiki
|<code>thumbnail</code>
{{Object}}
| Preview-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>image</code>
{{Object}}
| Full-sized image
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>file_page</code>
{{String}}
| Attribution page URL
|-
|<code>artist</code>
{{Object}}
|Author
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|Author name in HTML
|-
|<code>text</code>
{{String}}
|Author name in plain text
|}
{{Child properties end}}
|-
|<code>credit</code>
{{Object}}
|Credit information for the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
|HTML text and link to credit for the image
|-
|<code>text</code>
{{String}}
|Credit in plain text
|}
{{Child properties end}}
|-
|<code>license</code>
{{Object}}
|Image license
{{Child properties start}}
{| class="wikitable properties"
|<code>type</code>
{{String}}
|License type
|-
|<code>code</code>
{{String}}
|License code
|-
|<code>url</code>
{{String}}
|License URL
|}
{{Child properties end}}
|-
|<code>description</code>
{{Object}}
|Description of the image
{{Child properties start}}
{| class="wikitable properties"
|<code>html</code>
{{String}}
| Description of the article in HTML
|-
|<code>text</code>
{{String}}
| Description of the article in plain text
|-
|<code>lang</code>
{{String}}
|Language code for the article's language
|}
{{Child properties end}}
|-
|<code>title</code>
{{String}}
| Image page title
|-
|<code>wb_entity_id</code>
{{String}}
|Wikibase identifier
|-
|<code>structured</code>
{{Object}}
|Image captions and tags
{{Child properties start}}
{| class="wikitable properties"
|<code>captions</code>
{{Object}}
| Captions
j89hfeoxy84o0rct2lo1v45lnetw1re
541
540
2020-11-10T20:22:48Z
APaskulin (WMF)
20
wikitext
text/x-wiki
|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
hmyy88ukmd3rfeul8tzqbf3dryb8pmu
612
541
2020-11-20T21:56:48Z
APaskulin (WMF)
20
Increase column width
wikitext
text/x-wiki
| style="width: 30%"|<code>titles</code>
{{Object}}
| Article titles
{{Child properties start}}
{| class="wikitable properties"
|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>type</code>
{{String}}
|
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
egy3yoxxtgfu1f8rt55ljioqspm38aa
613
612
2020-11-20T22:20:33Z
APaskulin (WMF)
20
Re-order to match response
wikitext
text/x-wiki
| style="width: 30%;"|<code>type</code>
{{String}}
| Type of page summary:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Namespace text
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Article image thumbnail
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
|
{{Child properties start}}
{| class="wikitable properties"
| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| Language code for the language of the article
|-
|<code>dir</code>
{{String}}
| <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Parsed content identifier
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in the [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| <code>local</code> for descriptions maintained with the page or <code>central</code> for descriptions imported from [[wikidata|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the discussion article
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML format
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
jrl0jnc5d7ue3sn2w6nk0mjinvqsz4e
614
613
2020-11-20T22:45:52Z
APaskulin (WMF)
20
Update descriptions
wikitext
text/x-wiki
| style="width: 30%;"|<code>type</code>
{{String}}
| Type of article:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Localized name of the namespace
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:|Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
| Original-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| [[Special:SiteMatrix|Language code]] for the language of the article
|-
|<code>dir</code>
{{String}}
| Language direction: <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Time-based [[w:Universally_unique_identifier|UUID]] used for rendering content changes
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| Source of the description: <code>local</code> for descriptions maintained within the page or <code>central</code> for descriptions imported from [[wikidata:|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
5vuu0h4xtrl4200wwgkk4y0fx70ckuc
616
614
2020-11-20T22:58:02Z
APaskulin (WMF)
20
Try narrower width for triple-nested properties
wikitext
text/x-wiki
| style="width: 30%;"|<code>type</code>
{{String}}
| Type of article:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Localized name of the namespace
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:|Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
| Original-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| [[Special:SiteMatrix|Language code]] for the language of the article
|-
|<code>dir</code>
{{String}}
| Language direction: <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Time-based [[w:Universally_unique_identifier|UUID]] used for rendering content changes
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| Source of the description: <code>local</code> for descriptions maintained within the page or <code>central</code> for descriptions imported from [[wikidata:|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
| style="width: 20%;"|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
1ck5qrnlxsfl8pd441ytd0c0vtwozwn
617
616
2020-11-20T22:59:01Z
APaskulin (WMF)
20
Try slightly wider
wikitext
text/x-wiki
| style="width: 30%;"|<code>type</code>
{{String}}
| Type of article:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Localized name of the namespace
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:|Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
| Original-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| [[Special:SiteMatrix|Language code]] for the language of the article
|-
|<code>dir</code>
{{String}}
| Language direction: <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Time-based [[w:Universally_unique_identifier|UUID]] used for rendering content changes
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| Source of the description: <code>local</code> for descriptions maintained within the page or <code>central</code> for descriptions imported from [[wikidata:|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
| style="width: 30%;"|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
6fm0pycgzwp3dhmgkclv0m00mwxwj1x
1241
617
2022-03-07T19:09:44Z
Stang
4123
fix syntax
wikitext
text/x-wiki
{|style="width: 100%;"
|<code>type</code>
{{String}}
| Type of article:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Localized name of the namespace
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:|Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
| Original-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| [[Special:SiteMatrix|Language code]] for the language of the article
|-
|<code>dir</code>
{{String}}
| Language direction: <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Time-based [[w:Universally_unique_identifier|UUID]] used for rendering content changes
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| Source of the description: <code>local</code> for descriptions maintained within the page or <code>central</code> for descriptions imported from [[wikidata:|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
| style="width: 30%;"|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
|}
s1cohaw0cp3qdsec729vcm846smbd1v
1246
1241
2022-03-09T16:58:28Z
APaskulin (WMF)
20
Undo revision 1241 by [[Special:Contributions/Stang|Stang]] ([[User talk:Stang|talk]]). Sorry for the confusion here! Although this looks like a mess on this page, it is designed to be transcluded within tables on other pages, so the syntax is intended to be incomplete. I've added a note with some details.
wikitext
text/x-wiki
<noinclude>'''''Transcluded page fragment:''' This page contains a partial table that is transcluded within the response schema table in the Feed API reference docs ([[API reference/Feed/Featured content]] and [[API reference/Feed/On this day]]). It uses table opening and closing syntax and table styles from those pages.''
</noinclude>
| style="width: 30%;"|<code>type</code>
{{String}}
| Type of article:
* <code>standard</code>: Encyclopedia article
* <code>disambiguation</code>: Page that links to articles covering topics with similar titles
* <code>no-extract</code>: Article without an extract
* <code>mainpage</code>: A wiki's homepage
|-
|<code>title</code>
{{Deprecated}}
| Deprecated. Use <code>titles.canonical</code> instead.
|-
|<code>displaytitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.display</code> instead.
|-
|<code>namespace</code>
{{Object}}
| Article namespace
{{Child properties start}}
{| class="wikitable properties"
|<code>id</code>
{{Integer}}
| Namespace identifier
|-
|<code>text</code>
{{String}}
| Localized name of the namespace
|}
{{Child properties end}}
|-
|<code>wikibase_item</code>
{{String}}
| [[wikidata:|Wikidata]] identifier
|-
|<code>titles</code>
{{Object}}
| Article title in multiple formats
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"|<code>canonical</code>
{{String}}
| Article title in URL-friendly format
|-
|<code>normalized</code>
{{String}}
| Article title with underscores replaced with spaces
|-
|<code>display</code>
{{String}}
| Article title in reading-friendly format
|}
{{Child properties end}}
|-
|<code>pageid</code>
{{Integer}}
| Article identifier
|-
|<code>thumbnail</code>
{{Object}}
| Reduced-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>originalimage</code>
{{Object}}
| Original-size version of the article's lead image
{{Child properties start}}
{| class="wikitable properties"
| style="width: 40%;"| <code>source</code>
{{String}}
| Image URL
|-
| <code>width</code>
{{Integer}}
| Image width in pixels
|-
| <code>height</code>
{{Integer}}
| Image height in pixels
|}
{{Child properties end}}
|-
|<code>lang</code>
{{String}}
| [[Special:SiteMatrix|Language code]] for the language of the article
|-
|<code>dir</code>
{{String}}
| Language direction: <code>ltr</code> for left-to-right languages or <code>rtl</code> for right-to-left languages
|-
|<code>revision</code>
{{String}}
| Revision identifier for the latest revision
|-
| <code>tid</code>
{{String}}
| Time-based [[w:Universally_unique_identifier|UUID]] used for rendering content changes
|-
|<code>timestamp</code>
{{String}}
| Time when the article was last edited in [[w:ISO_8601|ISO 8601]] format
|-
|<code>description</code>
{{String}}
| Short summary of the article
|-
|<code>description_source</code>
{{String}}
| Source of the description: <code>local</code> for descriptions maintained within the page or <code>central</code> for descriptions imported from [[wikidata:|Wikidata]]
|-
|<code>content_urls</code>
{{Object}}
| Article URLs
{{Child properties start}}
{| class="wikitable properties"
| style="width: 30%;"|<code>desktop</code>
{{Object}}
| Article URLs for desktop viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|-
|<code>mobile</code>
{{Object}}
| Article URLs for mobile viewing
{{Child properties start}}
{| class="wikitable properties"
| style="width: 50%;"|<code>page</code>
{{String}}
| URL for the article
|-
|<code>revisions</code>
{{String}}
| URL for the article's revision history
|-
|<code>edit</code>
{{String}}
| URL to edit the article
|-
|<code>talk</code>
{{String}}
| URL for the article's discussion page
|}
{{Child properties end}}
|}
{{Child properties end}}
|-
|<code>extract</code>
{{String}}
| First several sentences of the article in plain text
|-
|<code>extract_html</code>
{{String}}
| First several sentences of the article in simplified HTML
|-
|<code>normalizedtitle</code>
{{Deprecated}}
| Deprecated. Use <code>titles.normalized</code> instead.
3wgiiaspri7jga2txyjn33w5q12shhc
On this day response
0
115
546
2020-11-10T22:17:29Z
APaskulin (WMF)
20
Created page with "<syntaxhighlight lang="json"> { "selected": [ { "text": "Evo Morales (pictured) was inaugurated as President of Bolivia, becoming the country's first democraticall..."
wikitext
text/x-wiki
<syntaxhighlight lang="json">
{
"selected": [
{
"text": "Evo Morales (pictured) was inaugurated as President of Bolivia, becoming the country's first democratically elected indigenous leader.",
"pages": [
{
"type": "standard",
"title": "Evo_Morales",
"displaytitle": "Evo Morales",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q42410",
"titles": {
"canonical": "Evo_Morales",
"normalized": "Evo Morales",
"display": "Evo Morales"
},
"pageid": 284163,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Evo_Morales_Ayma_%28cropped_2%29.jpg/254px-Evo_Morales_Ayma_%28cropped_2%29.jpg",
"width": 254,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/a/a5/Evo_Morales_Ayma_%28cropped_2%29.jpg",
"width": 1831,
"height": 2304
},
"lang": "en",
"dir": "ltr",
"revision": "987990861",
"tid": "78b43050-2351-11eb-a76e-2fe5f0ccb7f5",
"timestamp": "2020-11-10T12:37:04Z",
"description": "Former Bolivian President and politician",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Evo_Morales",
"revisions": "https://en.wikipedia.org/wiki/Evo_Morales?action=history",
"edit": "https://en.wikipedia.org/wiki/Evo_Morales?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Evo_Morales"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Evo_Morales",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Evo_Morales",
"edit": "https://en.m.wikipedia.org/wiki/Evo_Morales?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Evo_Morales"
}
},
"extract": "Juan Evo Morales Ayma is a Bolivian politician and former cocalero activist who served as the President of Bolivia from 2006 to 2019. Widely regarded as the country's first president to come from its indigenous population, his administration focused on the implementation of leftist policies, social programs, and combating the influence of the United States and multinational corporations. Ideologically a socialist, he is the head of the Movement for Socialism (MAS) party.",
"extract_html": "<p><b>Juan Evo Morales Ayma</b> is a Bolivian politician and former cocalero activist who served as the President of Bolivia from 2006 to 2019. Widely regarded as the country's first president to come from its indigenous population, his administration focused on the implementation of leftist policies, social programs, and combating the influence of the United States and multinational corporations. Ideologically a socialist, he is the head of the Movement for Socialism (MAS) party.</p>",
"normalizedtitle": "Evo Morales"
},
{
"type": "standard",
"title": "President_of_Bolivia",
"displaytitle": "President of Bolivia",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q373548",
"titles": {
"canonical": "President_of_Bolivia",
"normalized": "President of Bolivia",
"display": "President of Bolivia"
},
"pageid": 188806,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Coat_of_arms_of_Bolivia.svg/320px-Coat_of_arms_of_Bolivia.svg.png",
"width": 320,
"height": 289
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Coat_of_arms_of_Bolivia.svg/1907px-Coat_of_arms_of_Bolivia.svg.png",
"width": 1907,
"height": 1723
},
"lang": "en",
"dir": "ltr",
"revision": "988022036",
"tid": "29d9fa80-2371-11eb-900a-47f5e7f60369",
"timestamp": "2020-11-10T16:24:04Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/President_of_Bolivia",
"revisions": "https://en.wikipedia.org/wiki/President_of_Bolivia?action=history",
"edit": "https://en.wikipedia.org/wiki/President_of_Bolivia?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:President_of_Bolivia"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/President_of_Bolivia",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/President_of_Bolivia",
"edit": "https://en.m.wikipedia.org/wiki/President_of_Bolivia?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:President_of_Bolivia"
}
},
"extract": "The President of Bolivia, officially known as the President of the Plurinational State of Bolivia, is head of state and head of government of Bolivia. According to the Bolivian Constitution, the president is elected by popular vote to a five-year term with a two-term limit. If no candidate wins a majority, the top two candidates advance to a runoff election.",
"extract_html": "<p>The <b>President of Bolivia</b>, officially known as the <b>President of the Plurinational State of Bolivia</b>, is head of state and head of government of Bolivia. According to the Bolivian Constitution, the president is elected by popular vote to a five-year term with a two-term limit. If no candidate wins a majority, the top two candidates advance to a runoff election.</p>",
"normalizedtitle": "President of Bolivia"
},
{
"type": "standard",
"title": "Indigenous_peoples_of_the_Americas",
"displaytitle": "Indigenous peoples of the Americas",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q36747",
"titles": {
"canonical": "Indigenous_peoples_of_the_Americas",
"normalized": "Indigenous peoples of the Americas",
"display": "Indigenous peoples of the Americas"
},
"pageid": 2402376,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/Indigenous_peoples_americas_1535.png/231px-Indigenous_peoples_americas_1535.png",
"width": 231,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/28/Indigenous_peoples_americas_1535.png",
"width": 849,
"height": 1176
},
"lang": "en",
"dir": "ltr",
"revision": "987234446",
"tid": "6910b840-21b6-11eb-80d2-0fe08405a1bf",
"timestamp": "2020-11-05T19:28:44Z",
"description": "Pre-Columbian inhabitants of the Americas and their descendants",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Indigenous_peoples_of_the_Americas",
"revisions": "https://en.wikipedia.org/wiki/Indigenous_peoples_of_the_Americas?action=history",
"edit": "https://en.wikipedia.org/wiki/Indigenous_peoples_of_the_Americas?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Indigenous_peoples_of_the_Americas"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Indigenous_peoples_of_the_Americas",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Indigenous_peoples_of_the_Americas",
"edit": "https://en.m.wikipedia.org/wiki/Indigenous_peoples_of_the_Americas?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Indigenous_peoples_of_the_Americas"
}
},
"extract": "The indigenous peoples of the Americas are the pre-Columbian peoples of North, Central and South America and their descendants.",
"extract_html": "<p>The <b>indigenous peoples of the Americas</b> are the pre-Columbian peoples of North, Central and South America and their descendants.</p>",
"normalizedtitle": "Indigenous peoples of the Americas"
}
],
"year": 2006
}
],
"births": [
{
"text": "Silento, American rapper, singer and songwriter",
"pages": [
{
"type": "standard",
"title": "Silentó",
"displaytitle": "Silentó",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q20354248",
"titles": {
"canonical": "Silentó",
"normalized": "Silentó",
"display": "Silentó"
},
"pageid": 47849978,
"lang": "en",
"dir": "ltr",
"revision": "985587583",
"tid": "ceb76550-2183-11eb-9cba-a592a35487b8",
"timestamp": "2020-10-26T19:50:16Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Silent%C3%B3",
"revisions": "https://en.wikipedia.org/wiki/Silent%C3%B3?action=history",
"edit": "https://en.wikipedia.org/wiki/Silent%C3%B3?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Silent%C3%B3"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Silent%C3%B3",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Silent%C3%B3",
"edit": "https://en.m.wikipedia.org/wiki/Silent%C3%B3?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Silent%C3%B3"
}
},
"extract": "Richard Lamar \"Ricky\" Hawk, better known as Silentó or Prince Silentó, is an American rapper and singer. He is best known for his debut single \"Watch Me \", which charted at number three on the US Billboard Hot 100. He later released a project titled Fresh Outta High School in August 2018 after some delay. He is a native of Stone Mountain, Georgia.",
"extract_html": "<p><b>Richard Lamar \"Ricky\" Hawk</b>, better known as <b>Silentó</b> or<b> Prince Silentó</b>, is an American rapper and singer. He is best known for his debut single \"Watch Me \", which charted at number three on the US <span><i>Billboard</i> Hot 100</span>. He later released a project titled <i>Fresh Outta High School</i> in August 2018 after some delay. He is a native of Stone Mountain, Georgia.</p>",
"normalizedtitle": "Silentó"
},
{
"type": "standard",
"title": "January_22",
"displaytitle": "January 22",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2275",
"titles": {
"canonical": "January_22",
"normalized": "January 22",
"display": "January 22"
},
"pageid": 15940,
"lang": "en",
"dir": "ltr",
"revision": "987893224",
"tid": "8d497450-22d2-11eb-b447-e5b00b0a9c1a",
"timestamp": "2020-11-09T21:28:39Z",
"description": "Date",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/January_22",
"revisions": "https://en.wikipedia.org/wiki/January_22?action=history",
"edit": "https://en.wikipedia.org/wiki/January_22?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:January_22"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/January_22",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/January_22",
"edit": "https://en.m.wikipedia.org/wiki/January_22?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:January_22"
}
},
"extract": "January 22 is the 22nd day of the year in the Gregorian calendar. 343 days remain until the end of the year.",
"extract_html": "<p><b>January 22</b> is the 22nd day of the year in the Gregorian calendar. 343 days remain until the end of the year.</p>",
"normalizedtitle": "January 22"
}
],
"year": 1998
}
],
"deaths": [
{
"text": "Ursula K. Le Guin, American sci-fi and fantasy novelist (b. 1929)",
"pages": [
{
"type": "standard",
"title": "Ursula_K._Le_Guin",
"displaytitle": "Ursula K. Le Guin",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q181659",
"titles": {
"canonical": "Ursula_K._Le_Guin",
"normalized": "Ursula K. Le Guin",
"display": "Ursula K. Le Guin"
},
"pageid": 32037,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Ursula_Le_Guin_%283551195631%29_%28cropped%29.jpg/269px-Ursula_Le_Guin_%283551195631%29_%28cropped%29.jpg",
"width": 269,
"height": 320
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/2/25/Ursula_Le_Guin_%283551195631%29_%28cropped%29.jpg",
"width": 3185,
"height": 3791
},
"lang": "en",
"dir": "ltr",
"revision": "987944939",
"tid": "7ce35680-230e-11eb-94a4-3bf52e3c9cc9",
"timestamp": "2020-11-10T04:27:14Z",
"description": "American fantasy and science fiction author (1929-2018)",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Ursula_K._Le_Guin",
"revisions": "https://en.wikipedia.org/wiki/Ursula_K._Le_Guin?action=history",
"edit": "https://en.wikipedia.org/wiki/Ursula_K._Le_Guin?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Ursula_K._Le_Guin"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Ursula_K._Le_Guin",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Ursula_K._Le_Guin",
"edit": "https://en.m.wikipedia.org/wiki/Ursula_K._Le_Guin?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Ursula_K._Le_Guin"
}
},
"extract": "Ursula Kroeber Le Guin was an American author best known for her works of speculative fiction, including science fiction works set in her Hainish universe, and the Earthsea fantasy series. She was first published in 1959, and her literary career spanned nearly sixty years, yielding more than twenty novels and over a hundred short stories, in addition to poetry, literary criticism, translations, and children's books. Frequently described as an author of science fiction, Le Guin has also been called a \"major voice in American Letters.\" Le Guin herself said she would prefer to be known as an \"American novelist\".",
"extract_html": "<p><b>Ursula Kroeber Le Guin</b> was an American author best known for her works of speculative fiction, including science fiction works set in her Hainish universe, and the <i>Earthsea</i> fantasy series. She was first published in 1959, and her literary career spanned nearly sixty years, yielding more than twenty novels and over a hundred short stories, in addition to poetry, literary criticism, translations, and children's books. Frequently described as an author of science fiction, Le Guin has also been called a \"major voice in American Letters.\" Le Guin herself said she would prefer to be known as an \"American novelist\".</p>",
"normalizedtitle": "Ursula K. Le Guin"
},
{
"type": "standard",
"title": "January_22",
"displaytitle": "January 22",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q2275",
"titles": {
"canonical": "January_22",
"normalized": "January 22",
"display": "January 22"
},
"pageid": 15940,
"lang": "en",
"dir": "ltr",
"revision": "987893224",
"tid": "8d497450-22d2-11eb-b447-e5b00b0a9c1a",
"timestamp": "2020-11-09T21:28:39Z",
"description": "Date",
"description_source": "local",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/January_22",
"revisions": "https://en.wikipedia.org/wiki/January_22?action=history",
"edit": "https://en.wikipedia.org/wiki/January_22?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:January_22"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/January_22",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/January_22",
"edit": "https://en.m.wikipedia.org/wiki/January_22?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:January_22"
}
},
"extract": "January 22 is the 22nd day of the year in the Gregorian calendar. 343 days remain until the end of the year.",
"extract_html": "<p><b>January 22</b> is the 22nd day of the year in the Gregorian calendar. 343 days remain until the end of the year.</p>",
"normalizedtitle": "January 22"
}
],
"year": 2018
}
],
"events": [
{
"text": "An explosion near a civilian trolley-bus in Donetsk kills at least thirteen people.",
"pages": [
{
"type": "standard",
"title": "Donetsk",
"displaytitle": "Donetsk",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q43070",
"titles": {
"canonical": "Donetsk",
"normalized": "Donetsk",
"display": "Donetsk"
},
"pageid": 562951,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/%D0%A1%D0%B0%D0%BC%D1%8B%D0%B9_%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%BE%D0%B9_%D1%85%D1%80%D0%B0%D0%BC_%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B0._-_panoramio.jpg/320px-%D0%A1%D0%B0%D0%BC%D1%8B%D0%B9_%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%BE%D0%B9_%D1%85%D1%80%D0%B0%D0%BC_%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B0._-_panoramio.jpg",
"width": 320,
"height": 248
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/1/1c/%D0%A1%D0%B0%D0%BC%D1%8B%D0%B9_%D0%B1%D0%BE%D0%BB%D1%8C%D1%88%D0%BE%D0%B9_%D1%85%D1%80%D0%B0%D0%BC_%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%B0._-_panoramio.jpg",
"width": 1300,
"height": 1008
},
"lang": "en",
"dir": "ltr",
"revision": "986824575",
"tid": "400d07a0-2300-11eb-81c1-59d3b9ea4aed",
"timestamp": "2020-11-03T06:30:39Z",
"description": "City of regional significance in Donetsk People's Republic, Ukraine",
"description_source": "local",
"coordinates": {
"lat": 48.00277778,
"lon": 37.80527778
},
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Donetsk",
"revisions": "https://en.wikipedia.org/wiki/Donetsk?action=history",
"edit": "https://en.wikipedia.org/wiki/Donetsk?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Donetsk"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Donetsk",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Donetsk",
"edit": "https://en.m.wikipedia.org/wiki/Donetsk?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Donetsk"
}
},
"extract": "Donetsk, formerly known as Aleksandrovka, Hughesovka, Yuzovka, Stalin and Stalino, is an industrial city in eastern Ukraine located on the Kalmius River in the disputed Donetsk region. While internationally recognized as in Ukraine, the city is under the de facto administration of the unrecognized Donetsk People's Republic, which claims it as its capital city. The population was estimated at 929,063 (2016 est.)\n in the city core, with over 2,000,000 in the metropolitan area (2011). According to the 2001 Ukrainian Census, Donetsk was the fifth-largest city in Ukraine.",
"extract_html": "<p><b>Donetsk</b>, formerly known as <b>Aleksandrovka</b>, <b>Hughesovka</b>, <b>Yuzovka</b>, <b>Stalin</b> and <b>Stalino</b>, is an industrial city in eastern Ukraine located on the Kalmius River in the disputed Donetsk region. While internationally recognized as in Ukraine, the city is under the de facto administration of the unrecognized Donetsk People's Republic, which claims it as its capital city. The population was estimated at <span class=\"nowrap\">929,063 (2016 est.)</span>\n in the city core, with over 2,000,000 in the metropolitan area (2011). According to the 2001 Ukrainian Census, Donetsk was the fifth-largest city in Ukraine.</p>",
"normalizedtitle": "Donetsk"
}
],
"year": 2015
}
],
"holidays": [
{
"text": "Christian feast day:\nAnastasius of Persia",
"pages": [
{
"type": "standard",
"title": "Anastasius_of_Persia",
"displaytitle": "Anastasius of Persia",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q254896",
"titles": {
"canonical": "Anastasius_of_Persia",
"normalized": "Anastasius of Persia",
"display": "Anastasius of Persia"
},
"pageid": 8199021,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Anastasius_of_Persia_%28Menologion_of_Basil_II%29.jpg/320px-Anastasius_of_Persia_%28Menologion_of_Basil_II%29.jpg",
"width": 320,
"height": 196
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/8/87/Anastasius_of_Persia_%28Menologion_of_Basil_II%29.jpg",
"width": 1751,
"height": 1071
},
"lang": "en",
"dir": "ltr",
"revision": "985613742",
"tid": "3207df00-17dd-11eb-8e5a-5f4f300231db",
"timestamp": "2020-10-26T22:47:09Z",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/Anastasius_of_Persia",
"revisions": "https://en.wikipedia.org/wiki/Anastasius_of_Persia?action=history",
"edit": "https://en.wikipedia.org/wiki/Anastasius_of_Persia?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:Anastasius_of_Persia"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/Anastasius_of_Persia",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/Anastasius_of_Persia",
"edit": "https://en.m.wikipedia.org/wiki/Anastasius_of_Persia?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:Anastasius_of_Persia"
}
},
"extract": "Saint Anastasius of Persia, was originally a Zoroastrian soldier in the Sasanian army. He later became a convert to Christianity and was martyred in 628.",
"extract_html": "<p><b>Saint Anastasius of Persia</b>, was originally a Zoroastrian soldier in the Sasanian army. He later became a convert to Christianity and was martyred in 628.</p>",
"normalizedtitle": "Anastasius of Persia"
}
]
}
]
}
</syntaxhighlight>
6zcsit4frgd2f64fu6829jjgae3q2bv
Community/Contributing
0
116
574
2020-11-16T18:47:04Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:1}}
98kd3unqfeczitju89v7cspd2b4leiv
796
574
2020-12-10T05:27:19Z
APaskulin (WMF)
20
wikitext
text/x-wiki
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[talk page]].
Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
__NOTOC__
{{DEFAULTSORT:1}}
c1u0kb1g16o3hfbp2xicw0qrtz1cjbv
797
796
2020-12-10T05:28:29Z
APaskulin (WMF)
20
Add recent changes button
wikitext
text/x-wiki
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[talk page]].
Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
{{Clickable button 2|Show recent changes|url=https://api.wikimedia.org/wiki/Special:RecentChanges}}
__NOTOC__
{{DEFAULTSORT:1}}
bjo0edg914dt9et2fwwrvnn57pv8hxa
800
797
2020-12-10T05:33:35Z
APaskulin (WMF)
20
Add max-width
wikitext
text/x-wiki
<div style="max-width:775px;">
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[talk page]].
Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
{{Clickable button 2|Show recent changes|url=https://api.wikimedia.org/wiki/Special:RecentChanges}}
</div>
__NOTOC__
{{DEFAULTSORT:1}}
c86ql8ufmzaj7wudxks5x3ag7139kuo
847
800
2020-12-10T16:12:58Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
<div style="max-width:775px;">
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|talk page]].
Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
{{Clickable button 2|Show recent changes|url=https://api.wikimedia.org/wiki/Special:RecentChanges}}
</div>
__NOTOC__
{{DEFAULTSORT:1}}
f4o0vnn2q2bz3jwgam3o0vth8qt829j
983
847
2021-01-11T19:34:28Z
APaskulin (WMF)
20
Add contributing process
wikitext
text/x-wiki
<div style="max-width:775px;">
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|talk page]].
Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
{{Clickable button 2|Show recent changes|url=https://api.wikimedia.org/wiki/Special:RecentChanges}}
== Contribute to docs ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|discussion page]] to be added to the documentation editors group.
== Contribute to code ==
Work related to the API Portal is managed through the [https://phabricator.wikimedia.org/project/profile/5046/ API Portal workboard] in [[mw:Phabricator|Phabricator]]. Any unassigned tasks are free for anyone to pick up and work on. To start working on a task, leave a comment and assign yourself. You can use the comments to ask questions and get feedback on your work.
</div>
__NOTOC__
{{DEFAULTSORT:1}}
4867wkc1gkf1w6mfvriqk1aibpe835f
Community/About
0
117
575
2020-11-16T18:47:19Z
APaskulin (WMF)
20
Created page with "__NOTOC__ {{DEFAULTSORT:2}}"
wikitext
text/x-wiki
__NOTOC__
{{DEFAULTSORT:2}}
d47dqb4kxfqgpcdswsecxrbfhzctr9j
795
575
2020-12-10T05:26:24Z
APaskulin (WMF)
20
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[contributing talk page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in January 2021. Following the official launch, we'll be looking in enabling wider editing and translation, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [[Phabricator]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
f64ti3f1wku4k0jvwv3eyeutzpk0vbm
849
795
2020-12-10T16:14:07Z
APaskulin (WMF)
20
/* Contributing */ Fix link
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in January 2021. Following the official launch, we'll be looking in enabling wider editing and translation, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [[Phabricator]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
a64t10nvx61i07d8emjg0d2hsj1n1tx
850
849
2020-12-10T16:15:01Z
APaskulin (WMF)
20
/* Roadmap */ Fix link
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in January 2021. Following the official launch, we'll be looking in enabling wider editing and translation, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [https://phabricator.wikimedia.org/project/profile/5046/ Phabricator].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
nvtl50jliyidnyd2kzwkgo9mchd3ht0
893
850
2020-12-10T18:28:44Z
APaskulin (WMF)
20
/* Roadmap */ Fix typo
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in January 2021. Following the official launch, we'll be looking into enabling editing and translation for all editors, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [https://phabricator.wikimedia.org/project/profile/5046/ Phabricator].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
dkfnbe3384xevbx6ppdoyaaguuypo52
915
893
2020-12-17T02:10:18Z
DannyS712
72
wikilink syntax
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in January 2021. Following the official launch, we'll be looking into enabling editing and translation for all editors, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [[phab:project/profile/5046|Phabricator]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
aockraqqmwz8xvijfildgsf4mh3ms0p
1103
915
2021-05-07T23:48:07Z
APaskulin (WMF)
20
/* Roadmap */ Push back public announcement date ([[phab:T268288]])
wikitext
text/x-wiki
<div style="max-width:775px;">
The API Portal is a central place to interact with the Wikimedia API served through api.wikimedia.org. You can explore APIs, read documentation, and manage API keys. The API Portal is maintained by the Wikimedia Foundation.
== Contributing ==
We welcome contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]]. Currently, editing pages in the API Portal is restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future.
== Roadmap ==
The API Portal will be announced to the wider Wikimedia movement in 2021. Following the official launch, we'll be looking into enabling editing and translation for all editors, developing an API sandbox, and exploring strategies for documentation automation. To learn more, visit us on our task management system, [[phab:project/profile/5046|Phabricator]].
</div>
__NOTOC__
{{DEFAULTSORT:2}}
ldarfo923lwcf9k2ucs06ofoy8ng398
Template:Required
10
118
672
2020-11-23T23:08:34Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span></p>
sz3ccc1a88yi5a3zgaqhtlr62xx2xyo
User:MSchottlender-WMF/Common.js
2
119
782
2020-12-03T00:11:18Z
MSchottlender-WMF
30
Created page with "$('.oo-ui-processDialog .oo-ui-labelElement-label a').attr('target', '_blank' )"
javascript
text/javascript
$('.oo-ui-processDialog .oo-ui-labelElement-label a').attr('target', '_blank' )
l3cp16t8vre80uorvffb7ybun6efuka
Template:Clickable button 2
10
120
783
2020-12-07T21:58:19Z
DannyS712
72
Add a wrapper template to avoid needing to use the module directly
wikitext
text/x-wiki
{{#invoke:Clickable button 2|main}}<noinclude>
Wrapper for [[Module:Clickable button 2]]
</noinclude>
mcz2xw8j42pveer9rdojm38kknnx20u
Community/FAQ
0
121
801
2020-12-10T05:41:02Z
APaskulin (WMF)
20
Created page with "=== Why can't I edit pages on the API Portal? === Currently, editing on talk pages is open to all logged-in users. Editing on content pages and user pages is currently restri..."
wikitext
text/x-wiki
=== Why can't I edit pages on the API Portal? ===
Currently, editing on talk pages is open to all logged-in users. Editing on content pages and user pages is currently restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future. To become a documentation editor, add a comment to the [[contributing talk page]]. To create a global user page, visit [[meta:Global_user_pages|Meta Wiki]].
=== Does the API Portal show OAuth 1.0 clients? ===
No, the API Portal displays OAuth 2.0 clients only. To view your OAuth 1.0 clients, visit your [[meta:Special:OAuthConsumerRegistration/list|client list on Meta]].
=== Can I use the API Portal with a different skin? ===
The API Portal is designed to be used with the WikimediaApiPortal skin only. The site may not function correctly if used with another skin. If you're experiencing issues navigating the site with a global skin preference enabled, we recommend setting an exception to use the WikimediaApiPortal skin with the API Portal.
=== When will the API Portal be available in other languages? ===
We're looking forward to enabling translation for the API Portal in 2021. If you're interesting in helping with translation, please leave a comment on the [[talk page]].
{{DEFAULTSORT:3}}
ppkbac942uedws64tlc08attp2qd0s1
852
801
2020-12-10T16:16:04Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
=== Why can't I edit pages on the API Portal? ===
Currently, editing on talk pages is open to all logged-in users. Editing on content pages and user pages is currently restricted to the documentation editors group. This is due to limited resources for patrolling during the 2020-2021 experimental phase of the API Portal. We look forward to opening the API Portal to traditional editing in the future. To become a documentation editor, add a comment to the [[Talk:Community/Contributing|Contributing discussion page]]. To create a global user page, visit [[meta:Global_user_pages|Meta Wiki]].
=== Does the API Portal show OAuth 1.0 clients? ===
No, the API Portal displays OAuth 2.0 clients only. To view your OAuth 1.0 clients, visit your [[meta:Special:OAuthConsumerRegistration/list|client list on Meta]].
=== Can I use the API Portal with a different skin? ===
The API Portal is designed to be used with the WikimediaApiPortal skin only. The site may not function correctly if used with another skin. If you're experiencing issues navigating the site with a global skin preference enabled, we recommend setting an exception to use the WikimediaApiPortal skin with the API Portal.
=== When will the API Portal be available in other languages? ===
We're looking forward to enabling translation for the API Portal in 2021. If you're interesting in helping with translation, please leave a comment on the [[Talk:Community/Contributing|Contributing discussion page]].
{{DEFAULTSORT:3}}
tqctetso3ff8b49p721ewhcuh92ibrm
Use cases/Education
0
122
804
2020-12-10T05:54:31Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> Wikimedia projects include several great resources for teachers and learners. * Look up millions of words in thousands of languages with multi..."
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia projects include several great resources for teachers and learners.
* Look up millions of words in thousands of languages with multilingual dictionaries on [[wiktionary:|Wiktionary]].
* Set learning free with 27,786 learning resources on [[wikiversity:|Wikiversity]].
* Explore thousands of free library texts with [[wikisource:|Wikisource]].
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
okjb29kxvhix9o92pttvutz5eom71ah
805
804
2020-12-10T05:56:45Z
APaskulin (WMF)
20
Add link
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia projects include several great resources for teachers and learners.
* Look up millions of words in thousands of languages with multilingual dictionaries on [[wiktionary:|Wiktionary]].
* Set learning free with 27,786 learning resources on [[wikiversity:|Wikiversity]].
* Explore thousands of free library texts with [[wikisource:|Wikisource]].
* Learn about [[meta:Education|Wikimedia Education]] initiatives.
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
ckwmqde8raob7fkuaz604n616290k41
988
805
2021-01-21T20:22:35Z
APaskulin (WMF)
20
Add documentation section
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia projects include several great resources for teachers and students.
* Look up millions of words in thousands of languages with multilingual dictionaries on [[wiktionary:|Wiktionary]].
* Set learning free with 27,786 learning resources on [[wikiversity:|Wikiversity]].
* Explore thousands of free library texts with [[wikisource:|Wikisource]].
* Learn about [[meta:Education|Wikimedia Education]] initiatives.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search Wikimedia projects for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
8kx0qygjzwrf0xzmmmq6swb9wuos6ju
989
988
2021-01-21T20:27:38Z
APaskulin (WMF)
20
Better intro language
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia projects offer a variety of open knowledge resources for teachers and students.
* Look up millions of words in thousands of languages with multilingual dictionaries on [[wiktionary:|Wiktionary]].
* Set learning free with 27,786 learning resources on [[wikiversity:|Wikiversity]].
* Explore thousands of free library texts with [[wikisource:|Wikisource]].
* Learn about [[meta:Education|Wikimedia Education]] initiatives.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search Wikimedia projects for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:1}}
i08hek9cdacc9373fhlcqxsvg316o8y
1000
989
2021-01-22T00:04:08Z
APaskulin (WMF)
20
Reorder use case pages
wikitext
text/x-wiki
<div style="max-width:775px;">
Wikimedia projects offer a variety of open knowledge resources for teachers and students.
* Look up millions of words in thousands of languages with multilingual dictionaries on [[wiktionary:|Wiktionary]].
* Set learning free with 27,786 learning resources on [[wikiversity:|Wikiversity]].
* Explore thousands of free library texts with [[wikisource:|Wikisource]].
* Learn about [[meta:Education|Wikimedia Education]] initiatives.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Dictionary entries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiquote.org Wikiquote]
|icon=Wikiquote-logo.svg
|content=
<span style="font-size:14px;">Collections of quotations<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wq 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikisource.org Wikisource]
|icon=Wikisource-logo.svg
|content=
<span style="font-size:14px;">Library books and documents<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=ws 50 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikiversity.org Wikiversity]
|icon=Wikiversity logo 2017.svg
|content=
<span style="font-size:14px;">Learning resources<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wv 15 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search Wikimedia projects for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
dstztgq1uo2ohjwtya1gwbkvsinmpar
Use cases/Travel
0
123
806
2020-12-10T06:03:11Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> Explore the world with free travel resources from [[wikivoyage:|Wikivoyage]]. * Learn about sightseeing, activities, cuisine and accommodation..."
wikitext
text/x-wiki
<div style="max-width:775px;">
Explore the world with free travel resources from [[wikivoyage:|Wikivoyage]].
* Learn about sightseeing, activities, cuisine and accommodation in [[wikivoyage:Destinations|destinations]] around the world.
* Browse [[wikivoyage:Itineraries|itineraries]] for any length trip.
* Get helpful [[wikivoyage:Phrasebooks|phrasebooks]] for local languages.
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
__NOTOC__
{{DEFAULTSORT:1}}
k04sn48ccvzh51yucywz7i27syluvaz
807
806
2020-12-10T06:03:41Z
APaskulin (WMF)
20
Fix typo
wikitext
text/x-wiki
<div style="max-width:775px;">
Explore the world with free travel resources from [[wikivoyage:|Wikivoyage]].
* Learn about sightseeing, activities, cuisine and accommodation in [[wikivoyage:Destinations|destinations]] around the world.
* Browse [[wikivoyage:Itineraries|itineraries]] for any length trip.
* Get helpful [[wikivoyage:Phrasebooks|phrasebooks]] for local languages.
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
__NOTOC__
{{DEFAULTSORT:2}}
bsocevdwhut6tdv64bftw24hlnezxks
990
807
2021-01-21T20:37:12Z
APaskulin (WMF)
20
Add documentation section
wikitext
text/x-wiki
<div style="max-width:775px;">
Explore the world with free travel resources from [[wikivoyage:|Wikivoyage]].
* Learn about sightseeing, activities, cuisine and accommodation in [[wikivoyage:Destinations|destinations]] around the world.
* Browse [[wikivoyage:Itineraries|itineraries]] for any length trip.
* Get helpful [[wikivoyage:Phrasebooks|phrasebooks]] for local languages.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Multilingual dictionaries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
0x2sxn6jsms9xgj24md572lozskspw4
993
990
2021-01-21T23:01:32Z
APaskulin (WMF)
20
Remove specific links to English Wikivoyage
wikitext
text/x-wiki
<div style="max-width:775px;">
Explore the world with free travel resources from [https://www.wikivoyage.org Wikivoyage].
* Learn about sightseeing, activities, cuisine and accommodation in destinations around the world.
* Browse itineraries for any length trip.
* Get helpful phrasebooks for local languages.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Multilingual dictionaries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
6s8n9k7rgkc4ydxsgssbkkoqs9ogx7r
1001
993
2021-01-22T00:04:21Z
APaskulin (WMF)
20
Reorder use case pages
wikitext
text/x-wiki
<div style="max-width:775px;">
Explore the world with free travel resources from [https://www.wikivoyage.org Wikivoyage].
* Learn about sightseeing, activities, cuisine and accommodation in destinations around the world.
* Browse itineraries for any length trip.
* Get helpful phrasebooks for local languages.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikivoyage.org Wikivoyage]
|icon=Wikivoyage-Logo-v3-icon.svg
|content=
<span style="font-size:14px;">Travel guides and phrase books<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wr 20 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wiktionary.org Wiktionary]
|icon=Wiktionary small.svg
|content=
<span style="font-size:14px;">Multilingual dictionaries<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wt 150 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search for relevant pages.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:5}}
qd95f1cdsm9tzpo3zwa8hc2kxsprr82
Talk:Documentation
1
124
827
2020-12-10T15:24:10Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation]] page! To leave a comment..."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation]] page! To leave a comment...
ngicqojkuct6hskjxnjj94glafjs6mz
828
827
2020-12-10T15:25:27Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation]] page! To leave a comment, select '''Edit'''.
o8sl5uvvxu6wayzon5mqxc42fkza5um
Talk:Documentation/Getting started
1
125
829
2020-12-10T15:35:04Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started|Getting started]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started|Getting started]] page! To leave a comment, select '''Edit'''.
kpv5096quotpyok35r1eg9ekkc4rj0o
Talk:Documentation/Getting started/Wikimedia projects
1
126
830
2020-12-10T15:35:43Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started/Wikimedia projects|Wikimedia projects]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Wikimedia projects|Wikimedia projects]] page! To leave a comment, select '''Edit'''.
138zfkwa24lnscj4tyrmb1fnolh2lds
Talk:Documentation/Getting started/Reusing free content
1
127
831
2020-12-10T15:42:48Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started/Reusing free content|Reusing free content]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Reusing free content|Reusing free content]] page! To leave a comment, select '''Edit'''.
prkpme46q123fqlxdpjpzkbwdtun0de
Talk:Documentation/Getting started/Managing API keys
1
128
832
2020-12-10T15:43:55Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started/Managing clients|Managing clients]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Managing clients|Managing clients]] page! To leave a comment, select '''Edit'''.
37pffp8rpevxsi5n9p8ih4kkde9h59j
921
832
2020-12-17T19:57:01Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Talk:Documentation/Getting started/Managing clients]] to [[Talk:Documentation/Getting started/Managing API keys]] without leaving a redirect: Updating for new language on user interface
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Managing clients|Managing clients]] page! To leave a comment, select '''Edit'''.
37pffp8rpevxsi5n9p8ih4kkde9h59j
1048
921
2021-02-12T16:55:52Z
Ameisenigel
14
linkfix
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Managing API keys|Managing API keys]] page! To leave a comment, select '''Edit'''.
6efm6rluj5cpzr9zc6mmdo0ivqwtaga
Talk:Documentation/Getting started/Authentication
1
129
833
2020-12-10T15:44:26Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started/Authentication|Authentication]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Authentication|Authentication]] page! To leave a comment, select '''Edit'''.
kltnlp9y3sxdeo3opdrmzh6izym1zsb
Talk:Documentation/Getting started/Rate limits
1
130
834
2020-12-10T15:45:01Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Getting started/Rate limits|Rate limits]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Getting started/Rate limits|Rate limits]] page! To leave a comment, select '''Edit'''.
as1cfurhp49b87ovo7lte1lyhjzex6a
Talk:Documentation/Code samples
1
131
835
2020-12-10T15:45:33Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Code samples|Code samples]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples|Code samples]] page! To leave a comment, select '''Edit'''.
19ei566bu1z5f0j296dd7dfcu6j919d
Talk:Documentation/Code samples/Featured content
1
132
836
2020-12-10T15:48:30Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Code samples/Featured content|Featured content]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples/Featured content|Featured content]] page! To leave a comment, select '''Edit'''.
mhx6uep6noctg5pvhyqxqknh7xxcceg
851
836
2020-12-10T16:15:25Z
Majavah
6
Wrong comment on code sample
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples/Featured content|Featured content]] page! To leave a comment, select '''Edit'''.
== Wrong comment on code sample ==
A comment on the python code sample claims that it will <code>[g]et today's date in YYYY-MM-DD format</code>, but the code itself uses the format <code>'%Y/%m/%d'</code> (YYYY/MM/DD), could the comment be corrected? Thanks! [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:15, 10 December 2020 (UTC)
3y66js6jdh1nypcz9dfe6fun8etjea6
857
851
2020-12-10T16:24:22Z
APaskulin (WMF)
20
Added response to comment
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples/Featured content|Featured content]] page! To leave a comment, select '''Edit'''.
== Wrong comment on code sample ==
A comment on the python code sample claims that it will <code>[g]et today's date in YYYY-MM-DD format</code>, but the code itself uses the format <code>'%Y/%m/%d'</code> (YYYY/MM/DD), could the comment be corrected? Thanks! [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:15, 10 December 2020 (UTC)
: Great catch! Thank you! I've fixed the format in the comment. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 16:24, 10 December 2020 (UTC)
c2ljs9hivl9h4t5o92tvivbg5whvwr2
Talk:Documentation/Code samples/Search Wikipedia
1
133
837
2020-12-10T15:48:50Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Code samples/Search Wikipedia|Search Wikipedia]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples/Search Wikipedia|Search Wikipedia]] page! To leave a comment, select '''Edit'''.
k17deei7etaj4n52wmabkskccach4na
Talk:Documentation/Code samples/Images and media
1
134
838
2020-12-10T15:49:30Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Code samples/Images and media|Images and media]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Code samples/Images and media|Images and media]] page! To leave a comment, select '''Edit'''.
bfiw4swpla4zu4hhc8q4exmr8mjbd8w
Talk:Documentation/Best practices
1
135
839
2020-12-10T15:49:50Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Best practices|Best practices]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices|Best practices]] page! To leave a comment, select '''Edit'''.
d1obvft7vytov06lvp99mwvzxn35c70
Talk:Documentation/Best practices/Stability policy
1
136
840
2020-12-10T15:50:39Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Best practices/Stability policy|Stability policy]] page! To leave a comment, select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices/Stability policy|Stability policy]] page! To leave a comment, select '''Edit'''.
1mezfzwtlb54wk99jyv98msbtlggf5e
841
840
2020-12-10T16:00:33Z
APaskulin (WMF)
20
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices/Stability policy|Stability policy]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
ml5wzy63u3f8fgv6u5dh641g9m1yia9
Talk:Documentation/Best practices/Security
1
137
842
2020-12-10T16:01:00Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Best practices/Security|Security]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices/Security|Security]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
8rlqqwjk25arndgqx6ljeledgjqw1n8
Talk:Community/FAQ
1
138
843
2020-12-10T16:01:07Z
Majavah
6
wrong link
wikitext
text/x-wiki
== Invalid talk page link ==
The section about translating has a link to <code><nowiki>[[talk page]]</nowiki></code> (the main namespace page called "Talk page"), maybe it was meant to point to this page or some other talk page? [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:00, 10 December 2020 (UTC)
guo164x74n7ur7doh24bsv0tvbmaxo8
853
843
2020-12-10T16:20:33Z
APaskulin (WMF)
20
Add comment response
wikitext
text/x-wiki
== Invalid talk page link ==
The section about translating has a link to <code><nowiki>[[talk page]]</nowiki></code> (the main namespace page called "Talk page"), maybe it was meant to point to this page or some other talk page? [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:00, 10 December 2020 (UTC)
: Good catch! You're correct. That link should have gone to [[Talk:Community/Contributing]]. It should be fixed now! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 16:20, 10 December 2020 (UTC)
8xmh8jpd7nobfbt4q7tiqychg9w4yky
854
853
2020-12-10T16:21:09Z
APaskulin (WMF)
20
Add page intro
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/FAQ|FAQ]]! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Invalid talk page link ==
The section about translating has a link to <code><nowiki>[[talk page]]</nowiki></code> (the main namespace page called "Talk page"), maybe it was meant to point to this page or some other talk page? [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:00, 10 December 2020 (UTC)
: Good catch! You're correct. That link should have gone to [[Talk:Community/Contributing]]. It should be fixed now! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 16:20, 10 December 2020 (UTC)
dtw4gse30puuapsy3js5oy7fcpbqjt6
1059
854
2021-03-03T10:56:18Z
Liuxinyu970226
1960
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/FAQ|FAQ]]! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Invalid talk page link ==
The section about translating has a link to <code><nowiki>[[talk page]]</nowiki></code> (the main namespace page called "Talk page"), maybe it was meant to point to this page or some other talk page? [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:00, 10 December 2020 (UTC)
: Good catch! You're correct. That link should have gone to [[Talk:Community/Contributing]]. It should be fixed now! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 16:20, 10 December 2020 (UTC)
== Will Wikidata support here or not? ==
--[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 10:56, 3 March 2021 (UTC)
0gf9r3ku8jlhtg1uy9tfsscogkcwemn
1060
1059
2021-03-03T17:03:16Z
APaskulin (WMF)
20
Add response to Wikidata question
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/FAQ|FAQ]]! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Invalid talk page link ==
The section about translating has a link to <code><nowiki>[[talk page]]</nowiki></code> (the main namespace page called "Talk page"), maybe it was meant to point to this page or some other talk page? [[User:Majavah|Majavah]] ([[User talk:Majavah|talk!]]) 16:00, 10 December 2020 (UTC)
: Good catch! You're correct. That link should have gone to [[Talk:Community/Contributing]]. It should be fixed now! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 16:20, 10 December 2020 (UTC)
== Will Wikidata support here or not? ==
--[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 10:56, 3 March 2021 (UTC)
: Great question! The API Portal does not currently support Wikidata, but we're hoping to include some Wikidata APIs in the future. You can check the [[API_reference/Changelog|Changelog]] for updates on new APIs. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 17:02, 3 March 2021 (UTC)
i06fcednqvaktgxo1bpamnfq6qwi0j7
Talk:Documentation/Best practices/Conditional requests
1
139
844
2020-12-10T16:11:25Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Best practices/Conditional requests|Conditional requests]] page! To leave a comment, [[Special:UserLogin|log in]] and select..."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices/Conditional requests|Conditional requests]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
bajo2fo5ykbfx7xvftcbcxmpab4gekv
Talk:Documentation/Best practices/Tools and bots
1
140
845
2020-12-10T16:11:43Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Documentation/Best practices/Tools and bots|Tools and bots]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Documentation/Best practices/Tools and bots|Tools and bots]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
tvx4m3mxe1dg0xrj80w1zqd6lpud69e
Talk:Community/Contributing
1
141
846
2020-12-10T16:12:35Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
qf2fz3fguyiycm3yy32gefxkbljdgvj
984
846
2021-01-17T17:07:16Z
Ameisenigel
14
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
ma4qo6vmsqurphay2vywit3bgjui1l9
985
984
2021-01-19T14:49:53Z
Ameisenigel
14
/* Contributing and Translation */ ping
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
nl45xhrwwimfc8ooo6q706ngqkamnw9
986
985
2021-01-19T18:28:52Z
APaskulin (WMF)
20
/* Contributing and Translation */ Add response
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions!
6fyb91gqsxutn6vmclz1rum2ui1ps2w
987
986
2021-01-19T18:29:20Z
APaskulin (WMF)
20
/* Contributing and Translation */ Add signature
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
nwul57x1cxfn8kbwasivaj38jo8grdu
1025
987
2021-02-11T12:22:26Z
Base
800
/* Contributing and Translation */ +
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
: I am interested in helping with translation too. That being said I hope that Extension:Translate will be employed to do that as is the current practice on other multilingual Wikimedia wikis. --[[User:Base|Base]] ([[User talk:Base|talk]]) 12:22, 11 February 2021 (UTC)
acrn7f6sazwla5jmhxdzboutxp1usls
1042
1025
2021-02-12T03:01:52Z
APaskulin (WMF)
20
Reply
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
: I am interested in helping with translation too. That being said I hope that Extension:Translate will be employed to do that as is the current practice on other multilingual Wikimedia wikis. --[[User:Base|Base]] ([[User talk:Base|talk]]) 12:22, 11 February 2021 (UTC)
::Thanks, @[[User:Base|Base]]! I'll let you know when the Translate extension is available to start using on this wiki. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 03:01, 12 February 2021 (UTC)
qrksbgr620x2os18mdfurtcyckgkt49
1238
1042
2022-03-06T21:07:29Z
Stang
4123
/* Contributing */ new section
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
: I am interested in helping with translation too. That being said I hope that Extension:Translate will be employed to do that as is the current practice on other multilingual Wikimedia wikis. --[[User:Base|Base]] ([[User talk:Base|talk]]) 12:22, 11 February 2021 (UTC)
::Thanks, @[[User:Base|Base]]! I'll let you know when the Translate extension is available to start using on this wiki. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 03:01, 12 February 2021 (UTC)
== Contributing ==
Hi there, I would like to be added to editor group, as I found some syntax error on page [[Feed article object]], [[Project and language]] and somewhere else. I also want to be notified when translate extension is available. Thanks a lot! [[User_talk:Stang|'''<span style="font-family:Cursive; color:#F50" lang="en">Stang</span>''']] 21:07, 6 March 2022 (UTC)
727tgx4pxv2oxuldkuo2k5sqesgdie9
1239
1238
2022-03-06T21:09:11Z
Stang
4123
/* Contributing */ cmt
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
: I am interested in helping with translation too. That being said I hope that Extension:Translate will be employed to do that as is the current practice on other multilingual Wikimedia wikis. --[[User:Base|Base]] ([[User talk:Base|talk]]) 12:22, 11 February 2021 (UTC)
::Thanks, @[[User:Base|Base]]! I'll let you know when the Translate extension is available to start using on this wiki. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 03:01, 12 February 2021 (UTC)
== Contributing ==
Hi there, I would like to be added to editor group, as I found some syntax error on page [[Feed article object]], [[Project and language]] and somewhere else. I also want to be notified when translate extension is available. Thanks a lot! [[User_talk:Stang|'''<span style="font-family:Cursive; color:#F50" lang="en">Stang</span>''']] 21:07, 6 March 2022 (UTC)
:ping @[[User:APaskulin (WMF)|APaskulin (WMF)]]. [[User_talk:Stang|'''<span style="font-family:Cursive; color:#F50" lang="en">Stang</span>''']] 21:09, 6 March 2022 (UTC)
l7ehzkw50hkwbyo64kxdm0a1z9y3mf4
1240
1239
2022-03-07T19:01:16Z
APaskulin (WMF)
20
Reply
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Contributing|Contributing]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
== Contributing and Translation ==
Hello. [[Community/Contributing]] says that I should write here, if I would like to contribute to this wiki. As I would like to do so I would be happy if I can be added to the documentation writers group. [[Community/FAQ]] says that I should leave a comment here, if I am interested in helping with translations. As a translation admin on Meta, Wikidata and Wikimedia Commons I would be happy to offer my help for translation of the API Portal as well. Best regards --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 17:06, 17 January 2021 (UTC)
:@[[User:APaskulin (WMF)|APaskulin (WMF)]]: FYI --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 14:49, 19 January 2021 (UTC)
:Hi, @[[User:Ameisenigel|Ameisenigel]]! Thanks for your interest! I've added you to the documentation editors group. Translation is not yet enabled on the API Portal, but I'll let you know when it is, hopefully later this year. Let me know if you have any questions! --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 18:29, 19 January 2021 (UTC)
: I am interested in helping with translation too. That being said I hope that Extension:Translate will be employed to do that as is the current practice on other multilingual Wikimedia wikis. --[[User:Base|Base]] ([[User talk:Base|talk]]) 12:22, 11 February 2021 (UTC)
::Thanks, @[[User:Base|Base]]! I'll let you know when the Translate extension is available to start using on this wiki. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 03:01, 12 February 2021 (UTC)
== Contributing ==
Hi there, I would like to be added to editor group, as I found some syntax error on page [[Feed article object]], [[Project and language]] and somewhere else. I also want to be notified when translate extension is available. Thanks a lot! [[User_talk:Stang|'''<span style="font-family:Cursive; color:#F50" lang="en">Stang</span>''']] 21:07, 6 March 2022 (UTC)
:ping @[[User:APaskulin (WMF)|APaskulin (WMF)]]. [[User_talk:Stang|'''<span style="font-family:Cursive; color:#F50" lang="en">Stang</span>''']] 21:09, 6 March 2022 (UTC)
::Hi, @[[User:Stang|Stang]], Thanks for your interest! I've added you to the documentation editors group. [[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 19:01, 7 March 2022 (UTC)
nanl7ilngqebovwgq0l2pl5gaqtxg5d
Talk:Community/About
1
142
855
2020-12-10T16:21:51Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Community/About|About]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/About|About]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
f3apoi63xvvo92v2e4l34vz8skmkg5d
Talk:Community
1
143
858
2020-12-10T17:13:37Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Community]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Community]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
im2ua4qqy588r8bgmnt24lye7wtn2vc
Talk:Use cases
1
144
859
2020-12-10T17:13:56Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Use cases]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Use cases]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
9f2v9mfppe000v6hvfxz0yic9x51lli
Talk:Use cases/Education
1
145
860
2020-12-10T17:36:00Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Use cases/Education|Education]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Use cases/Education|Education]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
rdom6p5ht8knz12kos7ttuthc937gai
Talk:Use cases/Travel
1
146
861
2020-12-10T17:37:08Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Use cases/Travel|Travel]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Use cases/Travel|Travel]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
6jpopl6eyupy0w4p7ryi6p3tehwqf0d
Talk:API reference
1
147
862
2020-12-10T17:37:31Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
3y5xu2iamuhvrkx2tuqgkwh2ooum1jh
Talk:API reference/Changelog
1
148
863
2020-12-10T17:43:11Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Changelog|Changelog]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Changelog|Changelog]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
ocg0th8wisd4ha302murva8vpagrxvj
Talk:API reference/Feed
1
149
864
2020-12-10T17:43:50Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Feed|Feed]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Feed|Feed]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
3lk8g6c599cp2id9d7ma5jzk07zcwdn
Talk:API reference/Feed/Featured content
1
150
865
2020-12-10T17:45:16Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Feed/Featured content|Featured content]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Feed/Featured content|Featured content]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
nxeuecmjzusslzx40kykvpgr4dphzd0
Talk:API reference/Feed/On this day
1
151
866
2020-12-10T17:46:13Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Feed/On this day|On this day]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Feed/On this day|On this day]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
nc3k2i5ma25e865461mtsorq1cyn79h
Talk:API reference/Core
1
152
867
2020-12-10T17:47:59Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core|Core]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core|Core]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
903zq925xno6dpj20w39tcxespewrcz
Talk:API reference/Core/Search
1
153
868
2020-12-10T17:49:59Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Search|Search]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Search|Search]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
dd268sf7fiz36ydj0zdaxfzco7efkf9
Talk:API reference/Core/Search/Search result object
1
154
869
2020-12-10T17:51:00Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Search/Search result object|Search result object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''..."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Search/Search result object|Search result object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
f2lqi5c0w3tnknl4f6jpd7mswkj8e5v
Talk:API reference/Core/Search/Search content
1
155
870
2020-12-10T17:51:22Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Search/Search content|Search content]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Search/Search content|Search content]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
ck89l7p57dcnouonw8ndmfd9sp6psxv
Talk:API reference/Core/Search/Search titles
1
156
871
2020-12-10T18:02:11Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Search/Search titles|Search titles]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Search/Search titles|Search titles]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
kir7z6ptvyi2ywacvw7oixjpuliww4n
Talk:API reference/Core/Pages
1
157
872
2020-12-10T18:02:42Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages|Pages]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages|Pages]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
av05imtw1wkquds3z7mqf1uh85iilwp
Talk:API reference/Core/Pages/Page object
1
158
873
2020-12-10T18:03:05Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Page object|Page object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Page object|Page object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
5oz8l23fve194uvrd5z2bgzvnrj91xi
Talk:API reference/Core/Pages/Language object
1
159
874
2020-12-10T18:04:58Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Language object|Language object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Language object|Language object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
o0m7yzlsi7bpgfptctdp539nutn9hs7
Talk:API reference/Core/Pages/Create page
1
160
875
2020-12-10T18:05:34Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Create page|Create page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Create page|Create page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
rm4icf4zy33674pnbz97cld77l33o4v
Talk:API reference/Core/Pages/Edit page
1
161
876
2020-12-10T18:05:51Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Edit page|Edit page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Edit page|Edit page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
itu73a9mofcm61sjiwcxyditthlb70i
Talk:API reference/Core/Pages/Get page
1
162
877
2020-12-10T18:08:42Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get page|Get page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get page|Get page]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
olhcjnt9q2j7ofkuf8b104rea7zksmt
Talk:API reference/Core/Pages/Get page offline
1
163
878
2020-12-10T18:09:24Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get page offline|Get page offline]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get page offline|Get page offline]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
ksld6cma927jf00sdqdzavfqqply2e6
Talk:API reference/Core/Pages/Get page source
1
164
879
2020-12-10T18:09:38Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get page source|Get page source]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get page source|Get page source]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
9c21qs7kyfm1i9o4wp73oo0esykpv6z
Talk:API reference/Core/Pages/Get HTML
1
165
880
2020-12-10T18:10:11Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get HTML|Get HTML]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get HTML|Get HTML]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
5nku20mlezqoif4e63asmog3mswjfiv
Talk:API reference/Core/Pages/Get languages
1
166
881
2020-12-10T18:10:34Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get languages|Get languages]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get languages|Get languages]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
hdsnnjmfnq5ui8lq8ij3wnv7jrihsri
Talk:API reference/Core/Pages/Get files
1
167
882
2020-12-10T18:10:50Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Pages/Get files|Get files]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Pages/Get files|Get files]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
2r7ikaq9ofalc8rxlgblzez2ldoy97t
Talk:API reference/Core/Media files
1
168
883
2020-12-10T18:15:09Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Media files|Media files]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Media files|Media files]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
1ay3var3hgaiew401m21mk9d8tubrry
Talk:API reference/Core/Media files/File object
1
169
884
2020-12-10T18:15:35Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Media files/File object|File object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Media files/File object|File object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
9auwxa2vead1azpq9uorxul9an8jfl0
Talk:API reference/Core/Media files/Get file
1
170
885
2020-12-10T18:16:02Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Media files/Get file|Get file]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Media files/Get file|Get file]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
q24ccoxu07i1la230l3gy2eyheygste
Talk:API reference/Core/Revisions
1
171
886
2020-12-10T18:16:29Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions|Revisions]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions|Revisions]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
8s1pdx83w88sz6wnwfzatbesmflsvtc
Talk:API reference/Core/Revisions/Revision object
1
172
887
2020-12-10T18:17:07Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions/Revision object|Revision object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Revision object|Revision object]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
qoh7jareygvon3595bxwh5xj99aolx4
Talk:API reference/Core/Revisions/Get page history
1
173
888
2020-12-10T18:17:33Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions/Get page history|Get page history]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''E..."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Get page history|Get page history]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
ntkdonr160fxz852uf3tchs4wcpvpq9
Talk:API reference/Core/Revisions/Get revision stats
1
174
889
2020-12-10T18:17:51Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions/Get revisions stats|Get revision stats]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select..."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Get revisions stats|Get revision stats]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
gj15iqvyfco736d478kk9ruo4qvtx1w
890
889
2020-12-10T18:18:13Z
APaskulin (WMF)
20
Fix link
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Get revision stats|Get revision stats]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
l2gd2ytvi2dppeavrxqzu5e4mo1sl5q
Talk:API reference/Core/Revisions/Get revision
1
175
891
2020-12-10T18:18:30Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions/Get revision|Get revision]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Get revision|Get revision]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
bi5g824kgsljmaoln5f9ookv0mfi0w8
Talk:API reference/Core/Revisions/Compare revisions
1
176
892
2020-12-10T18:19:18Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[API reference/Core/Revisions/Compare revisions|Compare revisions]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select ''..."
wikitext
text/x-wiki
Welcome to the discussion for the [[API reference/Core/Revisions/Compare revisions|Compare revisions]] endpoint! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
49jzdyuil92s3i69bxi39dpyjqkubby
User talk:Majavah
3
178
904
2020-12-16T13:20:00Z
Majavah
6
Redirected page to [[meta:User talk:Majavah]]
wikitext
text/x-wiki
#REDIRECT [[meta:User talk:Majavah]]
Please use my Meta-Wiki talk page instead of this page. Thank you.
lct3v2bcpq945wi9bkmezhgh7ws531l
Talk:Main Page
1
179
907
2020-12-16T19:25:07Z
1234qwer1234qwer4
166
Created page with "== Purpose? == Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes..."
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
b08bvtu63pjctz171ngktnhi8mqlv1t
910
907
2020-12-17T01:53:20Z
APaskulin (WMF)
20
Add response to comment
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
: Hi, @[[User:1234qwer1234qwer4|1234qwer1234qwer4]]! I've added a redirect to [[Community/About]], which provides some information about the site. The primary reason for a separate wiki was to use a design that resembles popular API documentation sites. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 01:52, 17 December 2020 (UTC)
jrt3t4iv2qy1wb93rtiei2n676zmf6v
918
910
2020-12-17T11:18:43Z
1234qwer1234qwer4
166
/* Purpose? */ re
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
: Hi, @[[User:1234qwer1234qwer4|1234qwer1234qwer4]]! I've added a redirect to [[Community/About]], which provides some information about the site. The primary reason for a separate wiki was to use a design that resembles popular API documentation sites. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 01:52, 17 December 2020 (UTC)
:: Thanks, I only found out now that it only looks like any other WMF wiki for logged in users. [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 11:18, 17 December 2020 (UTC)
nh7hugv229y7zqfrgsiwi50jdr6tjbe
1056
918
2021-03-02T02:34:58Z
Liuxinyu970226
1960
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
: Hi, @[[User:1234qwer1234qwer4|1234qwer1234qwer4]]! I've added a redirect to [[Community/About]], which provides some information about the site. The primary reason for a separate wiki was to use a design that resembles popular API documentation sites. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 01:52, 17 December 2020 (UTC)
:: Thanks, I only found out now that it only looks like any other WMF wiki for logged in users. [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 11:18, 17 December 2020 (UTC)
== Can we please install and enable [[mw:Extension:Translate|Translate extension]] here? ==
--[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 02:34, 2 March 2021 (UTC)
g2covpgi263f0afd4axtldbzwsuyspl
1057
1056
2021-03-02T21:40:19Z
Ameisenigel
14
/* Can we please install and enable Translate extension here? */ re
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
: Hi, @[[User:1234qwer1234qwer4|1234qwer1234qwer4]]! I've added a redirect to [[Community/About]], which provides some information about the site. The primary reason for a separate wiki was to use a design that resembles popular API documentation sites. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 01:52, 17 December 2020 (UTC)
:: Thanks, I only found out now that it only looks like any other WMF wiki for logged in users. [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 11:18, 17 December 2020 (UTC)
== Can we please install and enable [[mw:Extension:Translate|Translate extension]] here? ==
--[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 02:34, 2 March 2021 (UTC)
:According to [[Community/About]] this is planned for later this year. --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 21:40, 2 March 2021 (UTC)
2pqufivbpedipwl1gv33xa1nub5r4lw
1058
1057
2021-03-03T10:53:43Z
Liuxinyu970226
1960
/* Can we please install and enable Translate extension here? */
wikitext
text/x-wiki
== Purpose? ==
Is there any information on the purpose of a separate wiki for the Wikimedia API when mediawiki.org exists? The link to [[API Portal:About]] in the footer goes to a page that does not exist (which might tell ''something''). [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 19:25, 16 December 2020 (UTC)
: Hi, @[[User:1234qwer1234qwer4|1234qwer1234qwer4]]! I've added a redirect to [[Community/About]], which provides some information about the site. The primary reason for a separate wiki was to use a design that resembles popular API documentation sites. --[[User:APaskulin (WMF)|APaskulin (WMF)]] ([[User talk:APaskulin (WMF)|talk]]) 01:52, 17 December 2020 (UTC)
:: Thanks, I only found out now that it only looks like any other WMF wiki for logged in users. [[User:1234qwer1234qwer4|1234qwer1234qwer4]] ([[User talk:1234qwer1234qwer4|talk]]) 11:18, 17 December 2020 (UTC)
== Can we please install and enable [[mw:Extension:Translate|Translate extension]] here? ==
--[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 02:34, 2 March 2021 (UTC)
:According to [[Community/About]] this is planned for later this year. --[[User:Ameisenigel|Ameisenigel]] ([[User talk:Ameisenigel|talk]]) 21:40, 2 March 2021 (UTC)
::Got it, thx. --[[User:Liuxinyu970226|Liuxinyu970226]] ([[User talk:Liuxinyu970226|talk]]) 10:53, 3 March 2021 (UTC)
n700ob86k4n1sxgabs7rg9o4a3y963y
API Portal:About
4
180
909
2020-12-17T01:45:48Z
APaskulin (WMF)
20
Add redirect
wikitext
text/x-wiki
#REDIRECT [[Community/About]]
5b24nfe830zdakhrv6pwzscryxu1kg9
User:DannyS712/common.js
2
181
914
2020-12-17T02:09:21Z
DannyS712
72
until the one in the sidebar is added back, add it manually...
javascript
text/javascript
mw.loader.using(
[ 'mediawiki.util' ],
function () {
mw.util.addPortletLink( 'p-Community', '/wiki/Special:RecentChanges', 'Recent changes' );
}
);
3h4taar0dbewbh7uppon1c461vgznk5
API reference/Core/Pages/Get description
0
182
925
2020-12-18T03:30:26Z
APaskulin (WMF)
20
Created page with "{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}} Returns a short description of a page. == Examples == <div class="mw-gadget-tabbedwindow"> ===..."
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a short description of a page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
kaublvm5krdr5m8utkhs470jdbr1chx
926
925
2020-12-18T16:40:06Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Core/Pages/Get page description]] to [[API reference/Core/Pages/Get description]] without leaving a redirect: Shortening page title
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a short description of a page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:10}}
kaublvm5krdr5m8utkhs470jdbr1chx
927
926
2020-12-18T16:41:27Z
APaskulin (WMF)
20
Fix default sort
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a short description of a page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
25vin0t4h6gpkgkg0rho4hehslrws8d
948
927
2020-12-21T17:06:44Z
APaskulin (WMF)
20
Add header
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a short description of a page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Title not found
{{Response start}}
<syntaxhighlight lang="json">
{
"messageTranslations": {
"en": "The specified title does not exist"
},
"httpCode": 404,
"httpReason": "Not Found"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
q6pq88bo8lv7tyu8x3hc9cv733ao5jf
951
948
2020-12-21T17:16:38Z
APaskulin (WMF)
20
/* Responses */ Update 404 response example
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a short description of a page.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
fb6d7zn4q838r7yn6hlp6pwgq2m83dh
952
951
2020-12-21T19:00:15Z
APaskulin (WMF)
20
Add description, license information, and project support note
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a page description. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain] (CC0 1.0).
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, so all page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License] (CC BY-SA 3.0).</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
dioft1pkxfly4k8ihhgpzlqq4oif8ew
957
952
2020-12-22T02:12:34Z
APaskulin (WMF)
20
Remove acronyms
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a page description. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, so all page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description'
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
i34rzt8wboxxspxi05t9l9155dprcvb
970
957
2021-01-05T23:53:44Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a page description. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, so all page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
bmazo4k3yjrlcomiq8ic2ety2owy75p
1033
970
2021-02-11T23:17:34Z
APaskulin (WMF)
20
Adjust language for clarity
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a description of a page. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
2xuejc0cdcpzyq7s9wbzekjdod6bo8y
1133
1033
2021-05-29T12:30:20Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a description of a page. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
entoalxta66iinzsyg742nhtiqjjwuv
1150
1133
2021-06-09T03:02:06Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description}}
Returns a description of a page. A page description is a short, plain-text phrase summarizing the page’s topic. While descriptions are available for most pages, some pages may not have a description. In case of a missing description, the API returns a 404 error.
Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. Page descriptions from Wikidata are licensed under [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions from English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description|comment=Get a short description of the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get a short description of the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/' + page + '/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get a short description of the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
$authorization = 'Authorization: Bearer YOUR_ACCESS_TOKEN';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get a short description of the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/Earth/description';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required path}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Article found. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "Third planet from the Sun in the Solar System"
}
</syntaxhighlight>
{{Response end}}
|-
!404
| Error: Description not found
{{Response start}}
<syntaxhighlight lang="json">
{
"status": 404,
"type": "not_found",
"title": "Short description not found",
"detail": "404: not_found",
"method": "GET",
"uri": "REQUEST_URL"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:11}}
ltfemle69jz5k9zqjehc1pnlmludduv
API reference/Core/Pages/Edit description
0
183
929
2020-12-18T17:43:09Z
APaskulin (WMF)
20
Created page with "{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}} Edits or creates a page description. In general, a page..."
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: TEST" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description created. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
b3r31d9jz1joifxppa2kesjdq4ihrku
930
929
2020-12-18T17:43:50Z
APaskulin (WMF)
20
/* Responses */ Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: TEST" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
39jdsoddjgrx4dqwck5zilhjb1g31br
931
930
2020-12-18T17:55:43Z
APaskulin (WMF)
20
/* Examples */ Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
1rp4cruhyp5l92znso2nrxdwi1leuva
932
931
2020-12-18T17:55:59Z
APaskulin (WMF)
20
/* Parameters */ Add note about spaces
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
gmblixyzewp990wm48123t6ebd09u3o
949
932
2020-12-21T17:07:32Z
APaskulin (WMF)
20
/* Headers */ Add Accept-Language
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
msg11eztlzf31jc9mby8ht9eo6xg09a
953
949
2020-12-21T19:09:06Z
APaskulin (WMF)
20
/* Parameters */ Add note about project support
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. In general, a page description should be a short phrase describing the topic covered by the article in plain text. Visit individual projects for specific guidelines on writing short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
m87gjz5z2qz9b0zc05g3xf9lcklc6o0
956
953
2020-12-22T02:12:23Z
APaskulin (WMF)
20
Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. A page description is a short, plain-text phrase summarizing the page’s topic. Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. By editing or creating page descriptions via the API, you agree to license your contributions under the Wikidata license, [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, so all page descriptions contributed to English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
n4hj3xhkehnigna62v1a790nptqbf2s
971
956
2021-01-05T23:54:02Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. A page description is a short, plain-text phrase summarizing the page’s topic. Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. By editing or creating page descriptions via the API, you agree to license your contributions under the Wikidata license, [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, so all page descriptions contributed to English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for creating the page
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
km9ue7prdg0xq2wo1vsgtx11wm069q6
1035
971
2021-02-11T23:23:53Z
APaskulin (WMF)
20
Adjust language for clarity
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. A page description is a short, plain-text phrase summarizing the page’s topic. Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. By editing or creating page descriptions via the API, you agree to license your contributions under the Wikidata license, [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions contributed to English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for editing the description
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
inb3du3xl0hhabyb5g0xqlq4qjkb54n
1136
1035
2021-05-29T12:31:39Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. A page description is a short, plain-text phrase summarizing the page’s topic. Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. By editing or creating page descriptions via the API, you agree to license your contributions under the Wikidata license, [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions contributed to English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for editing the description
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
hwm1inpbfbg8czjfbp6q1jitmlkpunx
1151
1136
2021-06-09T03:02:22Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=PUT|color=#ac6600|color2=#fef6e7}}
Edits or creates a page description. A page description is a short, plain-text phrase summarizing the page’s topic. Most Wikimedia projects get page descriptions from the corresponding topic on [[:wikidata:|Wikidata]], a free repository of structured knowledge. By editing or creating page descriptions via the API, you agree to license your contributions under the Wikidata license, [https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain].
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' Since [[:en:|English Wikipedia]] maintains page descriptions locally instead of getting them from Wikidata, page descriptions contributed to English Wikipedia are licensed under [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported License].</div>
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Update the description for a user sandbox page on English Wikipedia
$ curl -X PUT https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"description": "User sandbox page for YOUR_USERNAME", "comment": "Testing out the Wikimedia API"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Update the description for a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
request_data = {
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API',
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Update the description for a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$fields = [
'description' => 'User sandbox page for YOUR_USERNAME',
'comment' => 'Testing out the Wikimedia API'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PUT' );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Update the description for a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'description': 'User sandbox page for YOUR_USERNAME',
'comment': 'Testing out the Wikimedia API'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Request schema ==
{| class="wikitable properties"
| <code>description</code>
{{Required string}}
| Short page description in plain text
|-
| <code>comment</code>
{{Optional string}}
| Reason for editing the description
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!201
| Success: Description updated. Returns the <code>description</code> property.
{{Response start}}
<syntaxhighlight lang="json">
{
"description": "User sandbox page for YOUR_USERNAME"
}
</syntaxhighlight>
{{Response end}}
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:12}}
nuzwvgoa3hs6goaml30opkowfa390fi
API reference/Core/Pages/Delete description
0
184
933
2020-12-18T18:02:03Z
APaskulin (WMF)
20
Created page with "{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}} Deletes a page description. Visit individual projects..."
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. Visit individual projects for specific guidelines on short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
b1u8iqju1nnnwnzi9f2p4hlmuklsxtg
950
933
2020-12-21T17:08:16Z
APaskulin (WMF)
20
/* Headers */ Add Accept-Language header
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. Visit individual projects for specific guidelines on short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
cbh6rr9vtnur69ztfrf2y6ztbiel7iy
954
950
2020-12-21T19:09:35Z
APaskulin (WMF)
20
/* Parameters */ Add note about project support
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. Visit individual projects for specific guidelines on short descriptions.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
b6boxznnd7065n2a6agnox85eymqgwm
955
954
2020-12-22T02:12:08Z
APaskulin (WMF)
20
Update description
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. A page description is a short, plain-text phrase summarizing the page’s topic.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error)
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
ceg3yw44v01cehdhj3cef0u6alpjs2f
972
955
2021-01-05T23:54:17Z
APaskulin (WMF)
20
/* Examples */ Add final semicolons for javascript
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. A page description is a short, plain-text phrase summarizing the page’s topic.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
i0q17wfu20myqfmisinnw81hkrin6i3
1131
972
2021-05-29T12:29:29Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. A page description is a short, plain-text phrase summarizing the page’s topic.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
bcgibjwt5ywsccf7v07pazlz9jft0pc
1152
1131
2021-06-09T03:02:38Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/core/v1/{project}/{language}/page/{title}/description |method=DELETE|color=#b32424|color2=#fee7e6}}
Deletes a page description. A page description is a short, plain-text phrase summarizing the page’s topic.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Delete the description of a user sandbox page on English Wikipedia
$ curl -X DELETE https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Delete the description of a user sandbox page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description'
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.put( url, headers=headers )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Delete the description of a user sandbox page on English Wikipedia
$url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'DELETE' );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Delete the description of a user sandbox page on English Wikipedia
let url = 'https://api.wikimedia.org/core/v1/wikipedia/en/page/User%3AYOUR_USERNAME%2Fsandbox/description';
let response = await fetch( url,
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>project</code>
{{Required path}}
| Project name. For example: <code>wikipedia</code> (encyclopedia articles), <code>commons</code> (images, audio, and video), <code>wiktionary</code> (dictionary entries). [[Documentation/Getting_started/Wikimedia_projects|List all projects.]]
|-
|<code>language</code>
{{Required path}}
| Language code. For example: <code>ar</code> (Arabic), <code>en</code> (English), <code>es</code> (Spanish). [[Special:SiteMatrix|List supported languages.]]
<div style="background-color: #fef6e7; border: 1px solid; border-color: #fc3; padding: 8px 10px; margin-top:10px;">
'''Note:''' This endpoint does not support <code>commons</code> or [[Documentation/Getting_started/Wikimedia_projects#Multilingual_projects|other multilingual projects]].</div>
|-
|<code>title</code>
{{Required string}}
| Wiki page title with spaces replaced with underscores
|}
== Headers ==
{| class="wikitable properties"
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|-
{{:Accept language}}
|}
== Responses ==
{| class="wikitable responses"
!204
| Success: Description deleted. Returns no response data.
|-
!401
| Error: Missing token. Include an access token in an Authorization request header using the Bearer authentication scheme.
{{Response start}}
<syntaxhighlight lang="json">
{
"httpCode": 401,
"httpReason": "Jwt is missing"
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:13}}
7oy9urlw38xms9r2ve2mftn1quwy9sn
Template:Optional
10
185
936
2020-12-20T03:24:47Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span></p>"
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #d5fdf4; padding:.2em .6em; border-radius: 3px;">optional</span></p>
3b6l4zglu5quhnrmb9i1edr3s75dv2k
Language varient support
0
186
937
2020-12-20T03:40:57Z
APaskulin (WMF)
20
Created page with "{| class="wikitable" <!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 --> ! Language (local) ! Language (Englis..."
wikitext
text/x-wiki
{| class="wikitable"
<!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 -->
! Language (local)
! Language (English)
! Code
! Variant
! Code
|-
|rowspan="2" style="vertical-align: top;"|[[:crh:|Qırımtatarca]]
|rowspan="2" style="vertical-align: top;"| Crimean Tatar
|rowspan="2" style="vertical-align: top;"| <code>crh</code>
|Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:gan:|贛語]]
|rowspan="2" style="vertical-align: top;"| Gan
|rowspan="2" style="vertical-align: top;"| <code>gan</code>
| Simplified
| <code>hans</code>
|-
| Traditional
| <code>hant</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:iu:|ᐃᓄᒃᑎᑐᑦ]]
|rowspan="2" style="vertical-align: top;"| Inuktitut
|rowspan="2" style="vertical-align: top;"| <code>iu</code>
| Latin
| <code>latn</code>
|-
| Syllabics
| <code>cans</code>
|-
|rowspan="3" style="vertical-align: top;"|[[:kk:|Қазақша]]
|rowspan="3" style="vertical-align: top;"| Kazakh
|rowspan="3" style="vertical-align: top;"| <code>kk</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:ku:|Kurdî / كوردی]]
|rowspan="2" style="vertical-align: top;"| Kurdish
|rowspan="2" style="vertical-align: top;"| <code>ku</code>
| Latin
| <code>latn</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:sr:|Српски / Srpski]]
|rowspan="2" style="vertical-align: top;"| Serbian
|rowspan="2" style="vertical-align: top;"| <code>sr</code>
| Latin
| <code>el</code>
|-
| Cyrillic
| <code>ec</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:tg:|Тоҷикӣ]]
|rowspan="2" style="vertical-align: top;"| Tajik
|rowspan="2" style="vertical-align: top;"| <code>tg</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:uz:|O‘zbek]]
|rowspan="2" style="vertical-align: top;"| Uzbek
|rowspan="2" style="vertical-align: top;"| <code>uz</code>
| Latin
| <code>latin</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="8" style="vertical-align: top;"|[[:zh:|中文]]
|rowspan="8" style="vertical-align: top;"| Chinese
|rowspan="8" style="vertical-align: top;"| <code>zh</code>
| Simplified
| <code>zh-hans</code>
|-
| Simplified, China
| <code>zh-cn</code>
|-
| Simplified, Singapore
| <code>zh-sg</code>
|-
| Simplified, Malaysia
| <code>zh-my</code>
|-
| Traditional
| <code>hant</code>
|-
| Traditional, Taiwan
| <code>zh-tw</code>
|-
| Traditional, Hong Kong
| <code>zh-hk</code>
|-
| Traditional, Macau
| <code>zh-mo</code>
|}
f0pwcai8wiiznqwdfmff5fsysh95uim
939
937
2020-12-21T16:55:35Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Language varient support]] to [[Language varient support]] without leaving a redirect: Testing whether regular transclusion overrides local styles
wikitext
text/x-wiki
{| class="wikitable"
<!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 -->
! Language (local)
! Language (English)
! Code
! Variant
! Code
|-
|rowspan="2" style="vertical-align: top;"|[[:crh:|Qırımtatarca]]
|rowspan="2" style="vertical-align: top;"| Crimean Tatar
|rowspan="2" style="vertical-align: top;"| <code>crh</code>
|Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:gan:|贛語]]
|rowspan="2" style="vertical-align: top;"| Gan
|rowspan="2" style="vertical-align: top;"| <code>gan</code>
| Simplified
| <code>hans</code>
|-
| Traditional
| <code>hant</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:iu:|ᐃᓄᒃᑎᑐᑦ]]
|rowspan="2" style="vertical-align: top;"| Inuktitut
|rowspan="2" style="vertical-align: top;"| <code>iu</code>
| Latin
| <code>latn</code>
|-
| Syllabics
| <code>cans</code>
|-
|rowspan="3" style="vertical-align: top;"|[[:kk:|Қазақша]]
|rowspan="3" style="vertical-align: top;"| Kazakh
|rowspan="3" style="vertical-align: top;"| <code>kk</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:ku:|Kurdî / كوردی]]
|rowspan="2" style="vertical-align: top;"| Kurdish
|rowspan="2" style="vertical-align: top;"| <code>ku</code>
| Latin
| <code>latn</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:sr:|Српски / Srpski]]
|rowspan="2" style="vertical-align: top;"| Serbian
|rowspan="2" style="vertical-align: top;"| <code>sr</code>
| Latin
| <code>el</code>
|-
| Cyrillic
| <code>ec</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:tg:|Тоҷикӣ]]
|rowspan="2" style="vertical-align: top;"| Tajik
|rowspan="2" style="vertical-align: top;"| <code>tg</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:uz:|O‘zbek]]
|rowspan="2" style="vertical-align: top;"| Uzbek
|rowspan="2" style="vertical-align: top;"| <code>uz</code>
| Latin
| <code>latin</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="8" style="vertical-align: top;"|[[:zh:|中文]]
|rowspan="8" style="vertical-align: top;"| Chinese
|rowspan="8" style="vertical-align: top;"| <code>zh</code>
| Simplified
| <code>zh-hans</code>
|-
| Simplified, China
| <code>zh-cn</code>
|-
| Simplified, Singapore
| <code>zh-sg</code>
|-
| Simplified, Malaysia
| <code>zh-my</code>
|-
| Traditional
| <code>hant</code>
|-
| Traditional, Taiwan
| <code>zh-tw</code>
|-
| Traditional, Hong Kong
| <code>zh-hk</code>
|-
| Traditional, Macau
| <code>zh-mo</code>
|}
f0pwcai8wiiznqwdfmff5fsysh95uim
942
939
2020-12-21T16:57:03Z
APaskulin (WMF)
20
Add style
wikitext
text/x-wiki
{| class="language"
<!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 -->
! Language (local)
! Language (English)
! Code
! Variant
! Code
|-
|rowspan="2" style="vertical-align: top;"|[[:crh:|Qırımtatarca]]
|rowspan="2" style="vertical-align: top;"| Crimean Tatar
|rowspan="2" style="vertical-align: top;"| <code>crh</code>
|Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:gan:|贛語]]
|rowspan="2" style="vertical-align: top;"| Gan
|rowspan="2" style="vertical-align: top;"| <code>gan</code>
| Simplified
| <code>hans</code>
|-
| Traditional
| <code>hant</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:iu:|ᐃᓄᒃᑎᑐᑦ]]
|rowspan="2" style="vertical-align: top;"| Inuktitut
|rowspan="2" style="vertical-align: top;"| <code>iu</code>
| Latin
| <code>latn</code>
|-
| Syllabics
| <code>cans</code>
|-
|rowspan="3" style="vertical-align: top;"|[[:kk:|Қазақша]]
|rowspan="3" style="vertical-align: top;"| Kazakh
|rowspan="3" style="vertical-align: top;"| <code>kk</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:ku:|Kurdî / كوردی]]
|rowspan="2" style="vertical-align: top;"| Kurdish
|rowspan="2" style="vertical-align: top;"| <code>ku</code>
| Latin
| <code>latn</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:sr:|Српски / Srpski]]
|rowspan="2" style="vertical-align: top;"| Serbian
|rowspan="2" style="vertical-align: top;"| <code>sr</code>
| Latin
| <code>el</code>
|-
| Cyrillic
| <code>ec</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:tg:|Тоҷикӣ]]
|rowspan="2" style="vertical-align: top;"| Tajik
|rowspan="2" style="vertical-align: top;"| <code>tg</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:uz:|O‘zbek]]
|rowspan="2" style="vertical-align: top;"| Uzbek
|rowspan="2" style="vertical-align: top;"| <code>uz</code>
| Latin
| <code>latin</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="8" style="vertical-align: top;"|[[:zh:|中文]]
|rowspan="8" style="vertical-align: top;"| Chinese
|rowspan="8" style="vertical-align: top;"| <code>zh</code>
| Simplified
| <code>zh-hans</code>
|-
| Simplified, China
| <code>zh-cn</code>
|-
| Simplified, Singapore
| <code>zh-sg</code>
|-
| Simplified, Malaysia
| <code>zh-my</code>
|-
| Traditional
| <code>hant</code>
|-
| Traditional, Taiwan
| <code>zh-tw</code>
|-
| Traditional, Hong Kong
| <code>zh-hk</code>
|-
| Traditional, Macau
| <code>zh-mo</code>
|}
fzar6tzp5ricygzwh2l737sgoqy7exy
944
942
2020-12-21T17:01:26Z
APaskulin (WMF)
20
Add wikitable class and try decreased width
wikitext
text/x-wiki
{| class="wikitable language"
<!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 -->
! Language (local)
! Language (English)
! Code
! Variant
! Code
|-
|rowspan="2" style="vertical-align: top;"|[[:crh:|Qırımtatarca]]
|rowspan="2" style="vertical-align: top;"| Crimean Tatar
|rowspan="2" style="vertical-align: top; width: 10%;"| <code>crh</code>
|Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:gan:|贛語]]
|rowspan="2" style="vertical-align: top;"| Gan
|rowspan="2" style="vertical-align: top;"| <code>gan</code>
| Simplified
| <code>hans</code>
|-
| Traditional
| <code>hant</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:iu:|ᐃᓄᒃᑎᑐᑦ]]
|rowspan="2" style="vertical-align: top;"| Inuktitut
|rowspan="2" style="vertical-align: top;"| <code>iu</code>
| Latin
| <code>latn</code>
|-
| Syllabics
| <code>cans</code>
|-
|rowspan="3" style="vertical-align: top;"|[[:kk:|Қазақша]]
|rowspan="3" style="vertical-align: top;"| Kazakh
|rowspan="3" style="vertical-align: top;"| <code>kk</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:ku:|Kurdî / كوردی]]
|rowspan="2" style="vertical-align: top;"| Kurdish
|rowspan="2" style="vertical-align: top;"| <code>ku</code>
| Latin
| <code>latn</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:sr:|Српски / Srpski]]
|rowspan="2" style="vertical-align: top;"| Serbian
|rowspan="2" style="vertical-align: top;"| <code>sr</code>
| Latin
| <code>el</code>
|-
| Cyrillic
| <code>ec</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:tg:|Тоҷикӣ]]
|rowspan="2" style="vertical-align: top;"| Tajik
|rowspan="2" style="vertical-align: top;"| <code>tg</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:uz:|O‘zbek]]
|rowspan="2" style="vertical-align: top;"| Uzbek
|rowspan="2" style="vertical-align: top;"| <code>uz</code>
| Latin
| <code>latin</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="8" style="vertical-align: top;"|[[:zh:|中文]]
|rowspan="8" style="vertical-align: top;"| Chinese
|rowspan="8" style="vertical-align: top;"| <code>zh</code>
| Simplified
| <code>zh-hans</code>
|-
| Simplified, China
| <code>zh-cn</code>
|-
| Simplified, Singapore
| <code>zh-sg</code>
|-
| Simplified, Malaysia
| <code>zh-my</code>
|-
| Traditional
| <code>hant</code>
|-
| Traditional, Taiwan
| <code>zh-tw</code>
|-
| Traditional, Hong Kong
| <code>zh-hk</code>
|-
| Traditional, Macau
| <code>zh-mo</code>
|}
c5bjmospqn9c0sjysw465vzrykqinuv
945
944
2020-12-21T17:02:25Z
APaskulin (WMF)
20
Remove style with no effect
wikitext
text/x-wiki
{| class="wikitable language"
<!-- Source: https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/LanguageConverter.php$43 -->
! Language (local)
! Language (English)
! Code
! Variant
! Code
|-
|rowspan="2" style="vertical-align: top;"|[[:crh:|Qırımtatarca]]
|rowspan="2" style="vertical-align: top;"| Crimean Tatar
|rowspan="2" style="vertical-align: top;"| <code>crh</code>
|Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:gan:|贛語]]
|rowspan="2" style="vertical-align: top;"| Gan
|rowspan="2" style="vertical-align: top;"| <code>gan</code>
| Simplified
| <code>hans</code>
|-
| Traditional
| <code>hant</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:iu:|ᐃᓄᒃᑎᑐᑦ]]
|rowspan="2" style="vertical-align: top;"| Inuktitut
|rowspan="2" style="vertical-align: top;"| <code>iu</code>
| Latin
| <code>latn</code>
|-
| Syllabics
| <code>cans</code>
|-
|rowspan="3" style="vertical-align: top;"|[[:kk:|Қазақша]]
|rowspan="3" style="vertical-align: top;"| Kazakh
|rowspan="3" style="vertical-align: top;"| <code>kk</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:ku:|Kurdî / كوردی]]
|rowspan="2" style="vertical-align: top;"| Kurdish
|rowspan="2" style="vertical-align: top;"| <code>ku</code>
| Latin
| <code>latn</code>
|-
| Arabic
| <code>arab</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:sr:|Српски / Srpski]]
|rowspan="2" style="vertical-align: top;"| Serbian
|rowspan="2" style="vertical-align: top;"| <code>sr</code>
| Latin
| <code>el</code>
|-
| Cyrillic
| <code>ec</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:tg:|Тоҷикӣ]]
|rowspan="2" style="vertical-align: top;"| Tajik
|rowspan="2" style="vertical-align: top;"| <code>tg</code>
| Latin
| <code>latn</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="2" style="vertical-align: top;"|[[:uz:|O‘zbek]]
|rowspan="2" style="vertical-align: top;"| Uzbek
|rowspan="2" style="vertical-align: top;"| <code>uz</code>
| Latin
| <code>latin</code>
|-
| Cyrillic
| <code>cyrl</code>
|-
|rowspan="8" style="vertical-align: top;"|[[:zh:|中文]]
|rowspan="8" style="vertical-align: top;"| Chinese
|rowspan="8" style="vertical-align: top;"| <code>zh</code>
| Simplified
| <code>zh-hans</code>
|-
| Simplified, China
| <code>zh-cn</code>
|-
| Simplified, Singapore
| <code>zh-sg</code>
|-
| Simplified, Malaysia
| <code>zh-my</code>
|-
| Traditional
| <code>hant</code>
|-
| Traditional, Taiwan
| <code>zh-tw</code>
|-
| Traditional, Hong Kong
| <code>zh-hk</code>
|-
| Traditional, Macau
| <code>zh-mo</code>
|}
g5amhkqeel1lcpzjik1kmbca4j3udl4
Accept language
0
187
938
2020-12-20T03:45:20Z
APaskulin (WMF)
20
Created page with "== Headers == {| class="wikitable properties" | <code>Accept-Language</code> {{Optional}} | Some Wikimedia projects include content in more than one script. For example, Kurd..."
wikitext
text/x-wiki
== Headers ==
{| class="wikitable properties"
| <code>Accept-Language</code>
{{Optional}}
| Some Wikimedia projects include content in more than one script. For example, Kurdish Wikipedia includes content in both Latin and Arabic scripts. For languages that support multiple scripts, use this header to specify the script. For example, <code>Accept-Language: ku-arab</code> to request the Kurdish language in Arabic script. Defaults to the wiki's primary script.
<div class="mw-collapsible mw-collapsed">
<div class="example">Supported languages</div>
<div class="mw-collapsible-content">
{{Language varient support}}
</div>
</div>
</div>
|}
9v6w3bfkq1dyb5u0tqvtz8k6eot4wde
940
938
2020-12-21T16:56:29Z
APaskulin (WMF)
20
Update for change in subpage
wikitext
text/x-wiki
== Headers ==
{| class="wikitable properties"
| <code>Accept-Language</code>
{{Optional}}
| Some Wikimedia projects include content in more than one script. For example, Kurdish Wikipedia includes content in both Latin and Arabic scripts. For languages that support multiple scripts, use this header to specify the script. For example, <code>Accept-Language: ku-arab</code> to request the Kurdish language in Arabic script. Defaults to the wiki's primary script.
<div class="mw-collapsible mw-collapsed">
<div class="example">Supported languages</div>
<div class="mw-collapsible-content">
{{:Language varient support}}
</div>
</div>
</div>
|}
q6f6ifbkyy3if41mcepbcc071wie1ud
946
940
2020-12-21T17:04:17Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Template:Accept language]] to [[Accept language]] without leaving a redirect: Moving to a subpage since it's more accurate than a template
wikitext
text/x-wiki
== Headers ==
{| class="wikitable properties"
| <code>Accept-Language</code>
{{Optional}}
| Some Wikimedia projects include content in more than one script. For example, Kurdish Wikipedia includes content in both Latin and Arabic scripts. For languages that support multiple scripts, use this header to specify the script. For example, <code>Accept-Language: ku-arab</code> to request the Kurdish language in Arabic script. Defaults to the wiki's primary script.
<div class="mw-collapsible mw-collapsed">
<div class="example">Supported languages</div>
<div class="mw-collapsible-content">
{{:Language varient support}}
</div>
</div>
</div>
|}
q6f6ifbkyy3if41mcepbcc071wie1ud
947
946
2020-12-21T17:06:01Z
APaskulin (WMF)
20
Remove header for easier transclusion
wikitext
text/x-wiki
| <code>Accept-Language</code>
{{Optional}}
| Some Wikimedia projects include content in more than one script. For example, Kurdish Wikipedia includes content in both Latin and Arabic scripts. For languages that support multiple scripts, use this header to specify the script. For example, <code>Accept-Language: ku-arab</code> to request the Kurdish language in Arabic script. Defaults to the wiki's primary script.
<div class="mw-collapsible mw-collapsed">
<div class="example">Supported languages</div>
<div class="mw-collapsible-content">
{{:Language varient support}}
</div>
</div>
</div>
ryvr3z2f8fxlbr2wpey3041701b99e3
Contributing
0
188
982
2021-01-11T19:31:12Z
APaskulin (WMF)
20
Add redirect to Contributing page
wikitext
text/x-wiki
#REDIRECT [[Community/Contributing]]
58xw598g3ve7pm9uqul0tjfm7ljhzny
Use cases/Daily featured content
0
189
992
2021-01-21T22:58:46Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> Many [https://www.wikipedia.org/ Wikipedias] include a daily featured article and other curated content on their homepages. You can see an examp..."
wikitext
text/x-wiki
<div style="max-width:775px;">
Many [https://www.wikipedia.org/ Wikipedias] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The Wikimedia API lets you access this featured content programmatically and add high-quality, multilingual knowledge to your apps.
* Get the daily featured article from [https://www.wikipedia.org/ Wikipedia] in [[API_reference/Feed#Daily_featured_article|more than 10 languages]].
* Display the daily featured image from [[commons:|Wikimedia Commons]] with descriptions in English.
* Explore events from this day in history, including holidays, births, and deaths.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Tutorial</p>
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia with Python.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code_samples/Featured_content|Read the tutorial]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">See supported languages for different types of featured content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed#Language_support|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the daily featured article and image.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day endpoint</p>
<p class="card-text" style="font-size: 14px;">Get events that occurred on a given date in history.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/On_this_day|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:3}}
qbmp7llmop3a62ykw7hfbtwz51enms0
997
992
2021-01-22T00:03:31Z
APaskulin (WMF)
20
Re-order use case pages
wikitext
text/x-wiki
<div style="max-width:775px;">
Many [https://www.wikipedia.org/ Wikipedias] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The Wikimedia API lets you access this featured content programmatically and add high-quality, multilingual knowledge to your apps.
* Get the daily featured article from [https://www.wikipedia.org/ Wikipedia] in [[API_reference/Feed#Daily_featured_article|more than 10 languages]].
* Display the daily featured image from [[commons:|Wikimedia Commons]] with descriptions in English.
* Explore events from this day in history, including holidays, births, and deaths.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://commons.wikimedia.org Commons]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Tutorial</p>
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia with Python.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code_samples/Featured_content|Read the tutorial]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">See supported languages for different types of featured content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed#Language_support|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the daily featured article and image.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day endpoint</p>
<p class="card-text" style="font-size: 14px;">Get events that occurred on a given date in history.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/On_this_day|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:1}}
qkmnlffbko85d94vtfa4mv6pct3itxv
1026
997
2021-02-11T17:09:07Z
Ameisenigel
14
make external to internal link
wikitext
text/x-wiki
<div style="max-width:775px;">
Many [https://www.wikipedia.org/ Wikipedias] include a daily featured article and other curated content on their homepages. You can see an example of this on [[:en:|English Wikipedia]] and [[:he:|Hebrew Wikipedia]]. The Wikimedia API lets you access this featured content programmatically and add high-quality, multilingual knowledge to your apps.
* Get the daily featured article from [https://www.wikipedia.org/ Wikipedia] in [[API_reference/Feed#Daily_featured_article|more than 10 languages]].
* Display the daily featured image from [[commons:|Wikimedia Commons]] with descriptions in English.
* Explore events from this day in history, including holidays, births, and deaths.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[[c:|Commons]]
|icon=Commons-logo.svg
|content=
<span style="font-size:14px;">Images and media files<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Multilingual<br>[[File:OOjs UI icon logo-cc.svg|16px]] Individual file licenses</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Tutorial</p>
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia with Python.</p>
<p class="card-text" style="font-size: 14px;">› [[Documentation/Code_samples/Featured_content|Read the tutorial]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">See supported languages for different types of featured content.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed#Language_support|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the daily featured article and image.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">On this day endpoint</p>
<p class="card-text" style="font-size: 14px;">Get events that occurred on a given date in history.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/On_this_day|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:1}}
sku44uzfti86gq3utumtr1p4buxsys7
Use cases/Most read articles
0
190
994
2021-01-21T23:07:59Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> [https://www.wikipedia.org/ Wikipedia] gets millions of page views every day across hundreds of languages. The Wikimedia API offers a list of th..."
wikitext
text/x-wiki
<div style="max-width:775px;">
[https://www.wikipedia.org/ Wikipedia] gets millions of page views every day across hundreds of languages. The Wikimedia API offers a list of the 50 most read articles per day for each Wikipedia language.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">List the most read articles per day.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">List available languages for Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [https://wikistats.wmcloud.org/display.php?t=wp Read the docs]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:4}}
jk5y1liv0cizxqeh0esuehv9u6jg9nb
999
994
2021-01-22T00:03:59Z
APaskulin (WMF)
20
Reorder use case pages
wikitext
text/x-wiki
<div style="max-width:775px;">
[https://www.wikipedia.org/ Wikipedia] gets millions of page views every day across hundreds of languages. The Wikimedia API offers a list of the 50 most read articles per day for each Wikipedia language.
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">List the most read articles per day.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">List available languages for Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [https://wikistats.wmcloud.org/display.php?t=wp Read the docs]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:3}}
3f5rnaj3mo712cvzpzu8k85q6g441o0
Use cases/Current events
0
191
995
2021-01-21T23:22:33Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> Many [https://www.wikipedia.org/ Wikipedias] maintain a list of topics in today’s news with links to relevant Wikipedia articles. The Wikimedi..."
wikitext
text/x-wiki
<div style="max-width:775px;">
Many [https://www.wikipedia.org/ Wikipedias] maintain a list of topics in today’s news with links to relevant Wikipedia articles. The Wikimedia API lets you access these topics in more than [[API_reference/Feed#In_the_news|15 languages]]. You can also use the API to explore freely-licensed news articles from [https://www.wikinews.org Wikinews].
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">List topics in today's news.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">See supported languages for current events from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed#In_the_news|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search for relevant articles on Wikinews.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content from Wikinews.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:5}}
1f7ljt1d4n4vqkzohu8phglxfw3l75g
998
995
2021-01-22T00:03:43Z
APaskulin (WMF)
20
Reorder use case pages
wikitext
text/x-wiki
<div style="max-width:775px;">
Many [https://www.wikipedia.org/ Wikipedias] maintain a list of topics in today’s news with links to relevant Wikipedia articles. The Wikimedia API lets you access these topics in more than [[API_reference/Feed#In_the_news|15 languages]]. You can also use the API to explore freely-licensed news articles from [https://www.wikinews.org Wikinews].
== Projects ==
<div class="container">
<div class="row">
<div class="col-sm">
{{Colored box|title=[https://www.wikipedia.org Wikipedia]
|icon=Wikipedia-logo-v2.svg
|content=
<span style="font-size:14px;">Encyclopedia articles<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wp 300 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0]</span>
}}
</div>
<div class="col-sm">
{{Colored box|title=[https://www.wikinews.org Wikinews]
|icon=Wikinews-logo.svg
|content=
<span style="font-size:14px;">News stories<br>[[File:OOjs_UI_icon_language-ltr.svg|16px]] Over [https://wikistats.wmcloud.org/display.php?t=wn 30 languages]<br>[[File:OOjs UI icon logo-cc.svg|16px]] [https://creativecommons.org/licenses/by/2.5/ CC BY 2.5]</span>
}}
</div>
</div>
</div>
== Documentation ==
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Featured content endpoint</p>
<p class="card-text" style="font-size: 14px;">List topics in today's news.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed/Featured_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Language support</p>
<p class="card-text" style="font-size: 14px;">See supported languages for current events from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Feed#In_the_news|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Search content endpoint</p>
<p class="card-text" style="font-size: 14px;">Search for relevant articles on Wikinews.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Search/Search_content|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Get page endpoint</p>
<p class="card-text" style="font-size: 14px;">Get the latest page content from Wikinews.</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Core/Pages/Get_page|Read the docs]]</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{DEFAULTSORT:2}}
4mooqx9l5jdlbssy6o7g028poi0wr4g
Category:Pages with syntax highlighting errors
14
192
1016
2021-02-11T03:56:05Z
APaskulin (WMF)
20
Created page with "Tracking category for pages with syntax highlighting errors"
wikitext
text/x-wiki
Tracking category for pages with syntax highlighting errors
8q8rs3nd0c4riu91tocvw9qnsbuwjwh
Searching for Wikipedia articles using Python
0
193
1043
2021-02-12T03:45:08Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> == Searching for Wikipedia articles using Python == The Wikimedia API lets you build apps and scripts that access content from w:Wikipedia|Wi..."
wikitext
text/x-wiki
<div style="max-width:775px;">
== Searching for Wikipedia articles using Python ==
The Wikimedia API lets you build apps and scripts that access content from [[w:Wikipedia|Wikipedia]] and other Wikimedia projects. In this tutorial, we'll use the search endpoints to find encyclopedia articles about the Solar System.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-search-wikipedia.ipynb downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
Wikipedia is available in [https://wikistats.wmcloud.org/display.php?t=wp over 300 languages]. You can request content in your language by specifying the language code in the URL. Language codes are usually two or three letters, such as en for English, he for Hebrew, and fa for Persian. To get the language code for your language, visit the [https://wikistats.wmcloud.org/display.php?t=wp list of Wikipedias]. In this example, we'll request one search result from [[:en:|English Wikipedia]], but you can change the language by setting the language code.
<syntaxhighlight lang="python">
# Python 3
# Choose your language, and search for articles.
import requests
language_code = 'en'
search_query = 'solar system'
number_of_results = 1
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/core/v1/wikipedia/'
endpoint = '/search/page'
url = base_url + language_code + endpoint
parameters = {'q': search_query, 'limit': number_of_results}
response = requests.get(url, headers=headers, params=parameters)
</syntaxhighlight>
The [[API_reference/Core/Search/Search_content|search content endpoint]] returns an array of page objects, giving you information about each article in the search results. The <code>title</code> property provides the article title as it appears on the page, while the <code>key</code> property gives you the title in URL-friendly format. You can use the <code>key</code> to construct the URL for the article using the language code and article path (/wiki). <code>description</code> provides a short summary of the topic. If a description isn't available, <code>description</code> will be null.
To add images to the search results, you can use the <code>thumbnail</code> object's <code>url</code> property. Like <code>description</code>, <code>thumbnail</code> is null if no thumbnail is available. To account for this, we'll use a <code>try</code> statement that substitutes a default image of the Wikipedia globe in case of an exception.
<syntaxhighlight lang="python">
# Get article title, description, and URL from the search results
import json
response = json.loads(response.text)
for page in response['pages']:
display_title = page['title']
article_url = 'https://' + language_code + '.wikipedia.org/wiki/' + page['key']
try:
article_description = page['description']
except:
article_description = 'a Wikipedia article'
try:
thumbnail_url = 'https:' + page['thumbnail']['url']
except:
thumbnail_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/200px-Wikipedia-logo-v2.svg.png'
</syntaxhighlight>
To get more information about how the article relates to the search query, you can use the <code>excerpt</code> property, which gives you a few lines from the article in HTML. In the excerpt, search terms are highlighted with span tags with <code>class="searchmatch"</code> to make them easy to style in your app.
=== Search languages ===
Once you have a page title, you can search for pages with the same topic in different languages using the [[API_reference/Core/Pages/Get_languages|get languages endpoint]].
<syntaxhighlight lang="python">
# Set the article title and get related articles in other languages.
title = 'Solar System'
endpoint = '/page/' + title + '/links/language'
url = base_url + language_code + endpoint
response = requests.get(url, headers=headers)
response = json.loads(response.text)
language_links = []
for language in response:
link = '{name}: https://{code}.wikipedia.org/wiki/{title}'.format(
name=language['name'], code=language['code'], title=language['key'])
language_links.append(link)
</syntaxhighlight>
You should now be able to use the Wikimedia API to search for article on Wikipedia. You can also use these endpoints with any Wikimedia projects; try searching for [https://www.wiktionary.org dictionary entries], [https://www.wikiquote.org/ famous quotes], and [https://wikimediafoundation.org/our-work/wikimedia-projects/ more]. For more information about these endpoints, see the [[API reference]].
</div>
__NOTOC__
q6kmuh6n2tbi3rw73mmxt8qrj21l869
1045
1043
2021-02-12T03:49:37Z
APaskulin (WMF)
20
Add code samples category
wikitext
text/x-wiki
<div style="max-width:775px;">
== Searching for Wikipedia articles using Python ==
The Wikimedia API lets you build apps and scripts that access content from [[w:Wikipedia|Wikipedia]] and other Wikimedia projects. In this tutorial, we'll use the search endpoints to find encyclopedia articles about the Solar System.
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body" style="padding: 1rem;"> Run this sample code yourself by [https://public.paws.wmcloud.org/User:APaskulin_(WMF)/API-Portal/wikimedia-api-portal-search-wikipedia.ipynb downloading it as a Jupyter Notebook]. To get started with Jupyter Notebooks, visit [[wikitech:PAWS/Getting_started_with_PAWS|PAWS]].
</div>
</div>
Wikipedia is available in [https://wikistats.wmcloud.org/display.php?t=wp over 300 languages]. You can request content in your language by specifying the language code in the URL. Language codes are usually two or three letters, such as en for English, he for Hebrew, and fa for Persian. To get the language code for your language, visit the [https://wikistats.wmcloud.org/display.php?t=wp list of Wikipedias]. In this example, we'll request one search result from [[:en:|English Wikipedia]], but you can change the language by setting the language code.
<syntaxhighlight lang="python">
# Python 3
# Choose your language, and search for articles.
import requests
language_code = 'en'
search_query = 'solar system'
number_of_results = 1
headers = {
# 'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
base_url = 'https://api.wikimedia.org/core/v1/wikipedia/'
endpoint = '/search/page'
url = base_url + language_code + endpoint
parameters = {'q': search_query, 'limit': number_of_results}
response = requests.get(url, headers=headers, params=parameters)
</syntaxhighlight>
The [[API_reference/Core/Search/Search_content|search content endpoint]] returns an array of page objects, giving you information about each article in the search results. The <code>title</code> property provides the article title as it appears on the page, while the <code>key</code> property gives you the title in URL-friendly format. You can use the <code>key</code> to construct the URL for the article using the language code and article path (/wiki). <code>description</code> provides a short summary of the topic. If a description isn't available, <code>description</code> will be null.
To add images to the search results, you can use the <code>thumbnail</code> object's <code>url</code> property. Like <code>description</code>, <code>thumbnail</code> is null if no thumbnail is available. To account for this, we'll use a <code>try</code> statement that substitutes a default image of the Wikipedia globe in case of an exception.
<syntaxhighlight lang="python">
# Get article title, description, and URL from the search results
import json
response = json.loads(response.text)
for page in response['pages']:
display_title = page['title']
article_url = 'https://' + language_code + '.wikipedia.org/wiki/' + page['key']
try:
article_description = page['description']
except:
article_description = 'a Wikipedia article'
try:
thumbnail_url = 'https:' + page['thumbnail']['url']
except:
thumbnail_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/200px-Wikipedia-logo-v2.svg.png'
</syntaxhighlight>
To get more information about how the article relates to the search query, you can use the <code>excerpt</code> property, which gives you a few lines from the article in HTML. In the excerpt, search terms are highlighted with span tags with <code>class="searchmatch"</code> to make them easy to style in your app.
=== Search languages ===
Once you have a page title, you can search for pages with the same topic in different languages using the [[API_reference/Core/Pages/Get_languages|get languages endpoint]].
<syntaxhighlight lang="python">
# Set the article title and get related articles in other languages.
title = 'Solar System'
endpoint = '/page/' + title + '/links/language'
url = base_url + language_code + endpoint
response = requests.get(url, headers=headers)
response = json.loads(response.text)
language_links = []
for language in response:
link = '{name}: https://{code}.wikipedia.org/wiki/{title}'.format(
name=language['name'], code=language['code'], title=language['key'])
language_links.append(link)
</syntaxhighlight>
You should now be able to use the Wikimedia API to search for article on Wikipedia. You can also use these endpoints with any Wikimedia projects; try searching for [https://www.wiktionary.org dictionary entries], [https://www.wikiquote.org/ famous quotes], and [https://wikimediafoundation.org/our-work/wikimedia-projects/ more]. For more information about these endpoints, see the [[API reference]].
</div>
__NOTOC__
[[Category:Code samples]]
bnatzto2vl56qvm7n4fs3dskb8f18o1
Category:Code samples
14
194
1046
2021-02-12T03:54:43Z
APaskulin (WMF)
20
Created page with "This category contains pages with Wikimedia API code samples. Code samples are listed on [[Documentation/Code_samples]]. We welcome code sample contributions to the API Porta..."
wikitext
text/x-wiki
This category contains pages with Wikimedia API code samples. Code samples are listed on [[Documentation/Code_samples]].
We welcome code sample contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|discussion page]] to be added to the documentation editors group.
After writing your code sample page, add <code>[[Category:Code samples]]</code> to the page, and it will be included in the list of code samples. To request that a code sample be added as a featured sample, leave a comment on the [[Talk:Documentation/Code_samples|code samples discussion page]].
odoa77ln4gka1oqc29cbzj4hwu5l3ht
1047
1046
2021-02-12T03:55:42Z
APaskulin (WMF)
20
Add nowiki
wikitext
text/x-wiki
This category contains pages with Wikimedia API code samples. Code samples are listed on [[Documentation/Code_samples]].
We welcome code sample contributions to the API Portal. If you're a developer or documentation writer and would like to contribute a code sample or tutorial, please leave a comment on the [[Talk:Community/Contributing|discussion page]] to be added to the documentation editors group.
After writing your code sample page, add <code><nowiki>[[Category:Code samples]]</nowiki></code> to the page, and it will be included in the list of code samples. To request that a code sample be added as a featured sample, leave a comment on the [[Talk:Documentation/Code_samples|code samples discussion page]].
dgwrp62ddzdrecof4vh1amz5ik2i6l5
Talk:Searching for Wikipedia articles using Python
1
195
1049
2021-02-12T16:56:47Z
Ameisenigel
14
Created page with "Welcome to the discussion for the [[Searching for Wikipedia articles using Python]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Searching for Wikipedia articles using Python]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
9xnth54htvo9m9xubpbj43j2mmpfnva
User:Ameisenigel/common.js
2
196
1050
2021-02-12T16:59:00Z
Ameisenigel
14
Created page with "mw.loader.using( [ 'mediawiki.util' ], function () { mw.util.addPortletLink( 'p-Community', '/wiki/Special:RecentChanges', 'Letzte Änderungen' ); } );"
javascript
text/javascript
mw.loader.using(
[ 'mediawiki.util' ],
function () {
mw.util.addPortletLink( 'p-Community', '/wiki/Special:RecentChanges', 'Letzte Änderungen' );
}
);
dzpeofpfzyt2x5gtqarxkkbzfsxzhne
API reference/Service/Link recommendation
0
197
1061
2021-03-25T12:17:58Z
KHarlan (WMF)
613
Created page with "Obtain link recommendations for articles on [https://www.wikipedia.org Wikipedia] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using the l..."
wikitext
text/x-wiki
Obtain link recommendations for articles on [https://www.wikipedia.org Wikipedia] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using the link recommendation service.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]]<br>› [[API_reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link Recommendation/Get link recommendations|Get link recommendations]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
qgc3mzdvoepfrq9a6s27az5xa0qn2q8
1071
1061
2021-03-25T17:42:01Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link Recommendation]] to [[API reference/Service/Link recommendation]]: Use sentence case
wikitext
text/x-wiki
Obtain link recommendations for articles on [https://www.wikipedia.org Wikipedia] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using the link recommendation service.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]]<br>› [[API_reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link Recommendation/Get link recommendations|Get link recommendations]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
qgc3mzdvoepfrq9a6s27az5xa0qn2q8
1087
1071
2021-03-25T20:48:06Z
APaskulin (WMF)
20
Fix links
wikitext
text/x-wiki
Obtain link recommendations for articles on [https://www.wikipedia.org Wikipedia] and other [[Documentation/Getting_started/Wikimedia_projects|Wikimedia projects]] using the link recommendation service.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Link object|Link object]]<br>› [[API_reference/Service/Link recommendation/Link set object|Link set object]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Get link recommendations|Get link recommendations]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
1xocmcb7355hfugia0w90unvkcmcr19
1092
1087
2021-03-25T21:12:55Z
APaskulin (WMF)
20
Link recommendations supports Wikipedia only
wikitext
text/x-wiki
Obtain link recommendations for articles on [https://www.wikipedia.org Wikipedia].
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Link object|Link object]]<br>› [[API_reference/Service/Link recommendation/Link set object|Link set object]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Get link recommendations|Get link recommendations]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
fao4jun0xsv28un22dlbjy42adfnl47
1095
1092
2021-03-26T18:24:22Z
APaskulin (WMF)
20
Add longer description
wikitext
text/x-wiki
Linking between [https://www.wikipedia.org Wikipedia] articles is an important way to create connections between topics. Link recommendation endpoints help guide editors by suggesting places in an article where a link could be added.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Link object|Link object]]<br>› [[API_reference/Service/Link recommendation/Link set object|Link set object]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Get link recommendations|Get link recommendations]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
073tipzqucunvzjx2gqpd03nk3ay05o
1098
1095
2021-03-31T17:03:26Z
APaskulin (WMF)
20
Add POST endpoint
wikitext
text/x-wiki
Linking between [https://www.wikipedia.org Wikipedia] articles is an important way to create connections between topics. Link recommendation endpoints help guide editors by suggesting places in an article where a link could be added.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Resources</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Link object|Link object]]<br>› [[API_reference/Service/Link recommendation/Link set object|Link set object]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:250px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Endpoints</p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link recommendation/Get link recommendations|Get link recommendations]]<br></p>
<p class="card-text" style="font-size: 14px;">› [[API_reference/Service/Link_recommendation/Get_link_recommendations_for_revision|Get link recommendations for revision]]<br></p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
{{DEFAULTSORT:2}}
5kks4ycp6vpwyelc8o92pcdvuavu1fg
API reference/Service/Link recommendation/Get link recommendations
0
198
1062
2021-03-25T12:34:10Z
KHarlan (WMF)
613
Created page with "{{Endpoint|endpoint=/service/linkrecommendation/v1/{project}/{domain}/{title} }} Returns a API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendatio..."
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/{project}/{domain}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/wikipedia/en/page/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
b7qysisvrmqh22yw3t4691ac7i291pb
1063
1062
2021-03-25T12:36:10Z
KHarlan (WMF)
613
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{domain}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/page/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
g9wp1za7t0nuos4o1ol1lspf70gb0yr
1064
1063
2021-03-25T12:36:50Z
KHarlan (WMF)
613
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{domain}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
774wa00e2jiswgqwnf5t6g0vt5j6zm9
1065
1064
2021-03-25T12:37:23Z
KHarlan (WMF)
613
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{domain|language}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
dxzbsi87max19xb79bew35x9zj3f9w2
1068
1065
2021-03-25T12:45:52Z
KHarlan (WMF)
613
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{domain|language}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
7rminzv1yh7ypxwjvku6n4h9zlhbh03
1069
1068
2021-03-25T13:18:44Z
KHarlan (WMF)
613
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{language}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
rehfe30q97u1ed9azyekpb8k67ls1p2
1073
1069
2021-03-25T17:42:02Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link Recommendation/Get link recommendations]] to [[API reference/Service/Link recommendation/Get link recommendations]]: Use sentence case
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{language}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
__NOTOC__
{{DEFAULTSORT:5}}
rehfe30q97u1ed9azyekpb8k67ls1p2
1088
1073
2021-03-25T20:56:21Z
APaskulin (WMF)
20
/* Responses */ Add 200 response example
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{language}/{title} }}
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
b3mi7y19n4xkyzy840e6tg0hsbpm2o4
1089
1088
2021-03-25T20:57:56Z
APaskulin (WMF)
20
Adjust intro
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
Returns a [[API reference/Service/Link Recommendation/LinkRecommendationSet|LinkRecommendationSet]] for an article.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
a9pygn2mvfdk34pq6pkfbz3e7ib7jda
1090
1089
2021-03-25T20:58:10Z
APaskulin (WMF)
20
Fix typo
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/{project}/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
{{:Project_and_language}}
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
b5oghf9y8vhmx24mh4upioz85dzzzhm
1091
1090
2021-03-25T21:09:30Z
APaskulin (WMF)
20
Add supported languages
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>en</code> (English), <code>fr</code> (French), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
stvntanepwvhqm7knf7k3dup7ud0llx
1094
1091
2021-03-25T21:25:06Z
APaskulin (WMF)
20
/* Parameters */ Increase column width
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>en</code> (English), <code>fr</code> (French), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
qr3q575kx2pujg4jf4k4eq3els6h6s6
1100
1094
2021-04-02T21:49:22Z
APaskulin (WMF)
20
Link to sandbox
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/service/linkrecommendation/apidocs/#}}
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>en</code> (English), <code>fr</code> (French), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
obh0v6kungkq62b2ns0s9b6uesc1d0n
1101
1100
2021-04-19T10:04:29Z
KHarlan (WMF)
613
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/service/linkrecommendation/apidocs/#}}
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
sj189u9kohkgjaofpvipcy6sgq3947b
1122
1101
2021-05-29T12:24:16Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/service/linkrecommendation/apidocs/#}}
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
0h6lpo66dgys7xui2azwitts3qrbwub
1158
1122
2021-06-09T03:05:22Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/service/linkrecommendation/apidocs/#}}
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
ra99goc3u6uqzy02d2ydw50e948f98p
1161
1158
2021-06-24T10:20:43Z
KHarlan (WMF)
613
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title} }}
Get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
{{Curl|url=https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth|comment=Get link recommendations for the Earth article on English Wikipedia}}
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for the Earth article on English Wikipedia
import requests
page = 'Earth'
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/' + page
headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for the Earth article on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for the Earth article on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Earth';
let response = await fetch( url,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
{{Clickable button 2|Try it out|class=mw-ui-progressive|url=https://api.wikimedia.org/service/linkrecommendation/apidocs/#}}
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>es</code> (Spanish), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fa></code> (Farsi), <code>fr</code> (French), <code>hu</code> (Hungarian), <code>pl</code> (Polish), <code>pt</code> (Portuguese), <code>ro</code> (Romanian), <code>ru</code> (Russian), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:3}}
gx6v12u6zvxyc5bt0pbjxscmoq18250
API reference/Service/Link recommendation/Link set object
0
199
1066
2021-03-25T12:39:19Z
KHarlan (WMF)
613
Created page with "An array of [[API reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]] objects. __NOTOC__ {{DEFAULTSORT:1}}"
wikitext
text/x-wiki
An array of [[API reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]] objects.
__NOTOC__
{{DEFAULTSORT:1}}
8ozzbtjq4vlch1iqhd89klqd3l2w8e3
1077
1066
2021-03-25T17:42:02Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link Recommendation/LinkRecommendationSet]] to [[API reference/Service/Link recommendation/LinkRecommendationSet]]: Use sentence case
wikitext
text/x-wiki
An array of [[API reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]] objects.
__NOTOC__
{{DEFAULTSORT:1}}
8ozzbtjq4vlch1iqhd89klqd3l2w8e3
1083
1077
2021-03-25T20:38:42Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link recommendation/LinkRecommendationSet]] to [[API reference/Service/Link recommendation/Link set object]]: Change title to use a phrase
wikitext
text/x-wiki
An array of [[API reference/Service/Link Recommendation/LinkRecommendation|LinkRecommendation]] objects.
__NOTOC__
{{DEFAULTSORT:1}}
8ozzbtjq4vlch1iqhd89klqd3l2w8e3
1086
1083
2021-03-25T20:44:55Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The link set object represents a set of link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>links</code>
{{Required array}}
| Array of [[API reference/Service/Link recommendation/Link object|link]] objects
|-
|<code>links_count</code>
{{Required integer}}
| Number of link recommendations
|-
|<code>page_title</code>
{{Required string}}
| Article title
|-
|<code>pageid</code>
{{Required integer}}
| Article identifier
|-
|<code>revid</code>
{{Required integer}}
| Revision identifer
|}
__NOTOC__
{{DEFAULTSORT:2}}
0ljgs8vt0iv8bhal4q7o4zjjk9wiz8p
API reference/Service/Link recommendation/Link object
0
200
1067
2021-03-25T12:41:08Z
KHarlan (WMF)
613
Created page with "The LinkRecommendation object represents a single link recommendation for a particular wiki article. == Example == <syntaxhighlight lang="json"> { "links": [ { "c..."
wikitext
text/x-wiki
The LinkRecommendation object represents a single link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
64a7f9u1sxin3ncum8keosmszo2qpb8
1075
1067
2021-03-25T17:42:02Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link Recommendation/LinkRecommendation]] to [[API reference/Service/Link recommendation/LinkRecommendation]]: Use sentence case
wikitext
text/x-wiki
The LinkRecommendation object represents a single link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
64a7f9u1sxin3ncum8keosmszo2qpb8
1079
1075
2021-03-25T17:45:34Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[API reference/Service/Link recommendation/LinkRecommendation]] to [[API reference/Service/Link recommendation/Link object]]: Change title
wikitext
text/x-wiki
The LinkRecommendation object represents a single link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
64a7f9u1sxin3ncum8keosmszo2qpb8
1082
1079
2021-03-25T20:36:30Z
APaskulin (WMF)
20
wikitext
text/x-wiki
The link object represents a single link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>context_after</code>
{{Required string}}
| Characters immediately succeeding the link text, may include space, punctuation, and partial words
|-
|<code>context_before</code>
{{Required string}}
| Characters immediately preceding the link text, may include space, punctuation, and partial words
|-
|<code>link_index</code>
{{Required integer}}
| 0-based index of the link recommendation within all link recommendations, sorted by wikitext offset
|-
|<code>link_target</code>
{{Required string}}
| Article title that should be linked to
|-
|<code>link_text</code>
{{Required string}}
| Phrase to link in the article text
|-
|<code>match_index</code>
{{Required integer}}
| 0-based index of the link anchor within the list of matches when searching for the phrase to link within simple wikitext (top-level wikitext that's not part of any kind of wikitext construct)
|-
|<code>score</code>
{{Required number}}
| Probability score that the link should be added
|-
|<code>wikitext_offset</code>
{{Required integer}}
| Character offset describing where the anchor begins
|}
f0vfzgpebjvqnq6rsyvnw4tm9w5kc9f
1085
1082
2021-03-25T20:39:35Z
APaskulin (WMF)
20
Add notoc and sort
wikitext
text/x-wiki
The link object represents a single link recommendation for a particular wiki article.
== Example ==
<syntaxhighlight lang="json">
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
</syntaxhighlight>
== Schema ==
{| class="wikitable properties"
|<code>context_after</code>
{{Required string}}
| Characters immediately succeeding the link text, may include space, punctuation, and partial words
|-
|<code>context_before</code>
{{Required string}}
| Characters immediately preceding the link text, may include space, punctuation, and partial words
|-
|<code>link_index</code>
{{Required integer}}
| 0-based index of the link recommendation within all link recommendations, sorted by wikitext offset
|-
|<code>link_target</code>
{{Required string}}
| Article title that should be linked to
|-
|<code>link_text</code>
{{Required string}}
| Phrase to link in the article text
|-
|<code>match_index</code>
{{Required integer}}
| 0-based index of the link anchor within the list of matches when searching for the phrase to link within simple wikitext (top-level wikitext that's not part of any kind of wikitext construct)
|-
|<code>score</code>
{{Required number}}
| Probability score that the link should be added
|-
|<code>wikitext_offset</code>
{{Required integer}}
| Character offset describing where the anchor begins
|}
__NOTOC__
{{DEFAULTSORT:1}}
satc37n92q2pjwp433gy3qujjuzu78i
API reference/Service
0
201
1070
2021-03-25T17:41:18Z
APaskulin (WMF)
20
Created page with "Service endpoints provide functionality used by Wikimedia Foundation apps and tools. <div class="container"> <div class="row" style="padding-top:20px; padding-bottom:30px;">..."
wikitext
text/x-wiki
Service endpoints provide functionality used by Wikimedia Foundation apps and tools.
<div class="container">
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations</p>
<p class="card-text" style="font-size: 14px;">Improve wiki pages by adding links.</p>
<p class="card-text" style="font-size: 14px;">› [[API reference/Service/Link recommendation|Link recommendation endpoints]]</p>
</div>
</div>
</div>
<div class="col-sm">
</div>
</div>
__NOTOC__
{{DEFAULTSORT:4}}
cbqd6tf9at9yxqhraxfzj0y7peecbz1
Template:Required number
10
207
1081
2021-03-25T20:35:38Z
APaskulin (WMF)
20
Created page with "<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="backgro..."
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: #fee7e6; padding:.2em .6em; border-radius: 3px;">required</span> <span style="background-color: #eaecf0; padding:.2em .6em; border-radius: 3px;">number</span></p>
td3qq4ybkl6dkulze4ip5tznj3uxtno
API reference/Service/Link recommendation/Get link recommendations for revision
0
210
1097
2021-03-31T16:54:56Z
APaskulin (WMF)
20
Add POST endpoint
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title}|method=POST|color=#14866d|color2=#d5fdf4}}
Given a specific page source, get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Get link recommendations for a page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"pageid": 5555, "revid": 5555, "wikitext": "ADD_WIKITEXT_SOURCE"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for a page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE'
request_data = {
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for a page on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
$fields = [
'pageid' => 5555,
'revid' => 5555,
'wikitext' => 'ADD_WIKITEXT_SOURCE'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for a page on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>en</code> (English), <code>fr</code> (French), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Request schema ==
{| class="wikitable properties"
| <code>pageid</code>
{{Required integer}}
| Page identifier
|-
| <code>revid</code>
{{Required integer}}
| Revision identifier
|-
| <code>wikitext</code>
{{Required string}}
| Page source in [[w:Help:Wikitext|MediaWiki-flavored markup]]
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
9t5nqxc9pfup3mmquot6qg1oecv57mi
1102
1097
2021-04-19T10:04:42Z
KHarlan (WMF)
613
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title}|method=POST|color=#14866d|color2=#d5fdf4}}
Given a specific page source, get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Get link recommendations for a page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"pageid": 5555, "revid": 5555, "wikitext": "ADD_WIKITEXT_SOURCE"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for a page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE'
request_data = {
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for a page on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
$fields = [
'pageid' => 5555,
'revid' => 5555,
'wikitext' => 'ADD_WIKITEXT_SOURCE'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for a page on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
body: JSON.stringify({
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Request schema ==
{| class="wikitable properties"
| <code>pageid</code>
{{Required integer}}
| Page identifier
|-
| <code>revid</code>
{{Required integer}}
| Revision identifier
|-
| <code>wikitext</code>
{{Required string}}
| Page source in [[w:Help:Wikitext|MediaWiki-flavored markup]]
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
i7tkkb877w075a6gyhxv2xwhqba22qw
1135
1102
2021-05-29T12:31:10Z
Ameisenigel
14
Adding Api-User-Agent for JavaScript per [[phab:T283899]]
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title}|method=POST|color=#14866d|color2=#d5fdf4}}
Given a specific page source, get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Get link recommendations for a page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"pageid": 5555, "revid": 5555, "wikitext": "ADD_WIKITEXT_SOURCE"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for a page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE'
request_data = {
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for a page on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
$fields = [
'pageid' => 5555,
'revid' => 5555,
'wikitext' => 'ADD_WIKITEXT_SOURCE'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for a page on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Request schema ==
{| class="wikitable properties"
| <code>pageid</code>
{{Required integer}}
| Page identifier
|-
| <code>revid</code>
{{Required integer}}
| Revision identifier
|-
| <code>wikitext</code>
{{Required string}}
| Page source in [[w:Help:Wikitext|MediaWiki-flavored markup]]
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
thdadxtrf8fusqsd2ze3u1vtewoia5s
1159
1135
2021-06-09T03:05:49Z
APaskulin (WMF)
20
/* Examples */ Add comma
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title}|method=POST|color=#14866d|color2=#d5fdf4}}
Given a specific page source, get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Get link recommendations for a page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"pageid": 5555, "revid": 5555, "wikitext": "ADD_WIKITEXT_SOURCE"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for a page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE'
request_data = {
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for a page on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
$fields = [
'pageid' => 5555,
'revid' => 5555,
'wikitext' => 'ADD_WIKITEXT_SOURCE'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for a page on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fr</code> (French), <code>pt</code> (Portuguese), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Request schema ==
{| class="wikitable properties"
| <code>pageid</code>
{{Required integer}}
| Page identifier
|-
| <code>revid</code>
{{Required integer}}
| Revision identifier
|-
| <code>wikitext</code>
{{Required string}}
| Page source in [[w:Help:Wikitext|MediaWiki-flavored markup]]
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
j0p7yg8sl8qwil1d7b4w0iv629eez1m
1162
1159
2021-06-24T10:21:33Z
KHarlan (WMF)
613
/* Parameters */
wikitext
text/x-wiki
{{Endpoint|endpoint=/service/linkrecommendation/v1/linkrecommendations/wikipedia/{language}/{title}|method=POST|color=#14866d|color2=#d5fdf4}}
Given a specific page source, get a set of possible links that can be added to improve an article on Wikipedia.
== Examples ==
<div class="mw-gadget-tabbedwindow">
=== curl ===
<syntaxhighlight lang="bash">
# Get link recommendations for a page on English Wikipedia
$ curl -X POST https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE \
-H "Content-Type: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
--data '{"pageid": 5555, "revid": 5555, "wikitext": "ADD_WIKITEXT_SOURCE"}'
</syntaxhighlight>
=== Python ===
<syntaxhighlight lang="python">
# Python 3
# Get link recommendations for a page on English Wikipedia
import requests
import json
url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE'
request_data = {
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
}
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
}
response = requests.post( url, headers=headers, data=json.dumps(request_data) )
output = response.json()
print(output)
</syntaxhighlight>
=== PHP ===
<syntaxhighlight lang="php">
<?php
// Get link recommendations for a page on English Wikipedia
$url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
$fields = [
'pageid' => 5555,
'revid' => 5555,
'wikitext' => 'ADD_WIKITEXT_SOURCE'
];
$json = json_encode( $fields );
$token = 'YOUR_ACCESS_TOKEN';
$authorization = 'Authorization: Bearer ' . $token;
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url );
curl_setopt( $ch, CURLOPT_POST, true );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $json );
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' , $authorization ));
curl_setopt( $ch, CURLOPT_USERAGENT, 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
$output = curl_exec( $ch );
curl_close( $ch );
echo( $output );
?>
</syntaxhighlight>
=== JavaScript ===
<syntaxhighlight lang="javascript">
// Get link recommendations for a page on English Wikipedia
let url = 'https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/ADD_PAGE_TITLE';
let response = await fetch( url,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Api-User-Agent': 'YOUR_APP_NAME (YOUR_EMAIL_OR_CONTACT_PAGE)'
},
body: JSON.stringify({
'pageid': 5555,
'revid': 5555,
'wikitext': 'ADD_WIKITEXT_SOURCE'
})
}
);
response.json()
.then(console.log).catch(console.error);
</syntaxhighlight>
</div>
== Parameters ==
{| class="wikitable properties"
|<code>language</code>
{{Required path}}
| Language code: <code>ar</code> (Arabic), <code>bn</code> (Bangla), <code>cs</code> (Czech), <code>es</code> (Spanish), <code>de</code> (German), <code>el</code> (Greek), <code>en</code> (English), <code>fa></code> (Farsi), <code>fr</code> (French), <code>hu</code> (Hungarian), <code>pl</code> (Polish), <code>pt</code> (Portuguese), <code>ro</code> (Romanian), <code>ru</code> (Russian), <code>simple</code> (Simple English), or <code>vi</code> (Vietnamese)
|-
|<code>title</code>
{{Required path}}
| Wiki page title
|-
| style="width: 25%;"|<code>max_recommendations</code>
{{Optional query}}
| Maximum number of recommendations to return. Default value is 15.
|-
|<code>threshold</code>
{{Optional query}}
| Number between 0 and 1 for the threshold to use. Default value is 0.5.
|}
== Request schema ==
{| class="wikitable properties"
| <code>pageid</code>
{{Required integer}}
| Page identifier
|-
| <code>revid</code>
{{Required integer}}
| Revision identifier
|-
| <code>wikitext</code>
{{Required string}}
| Page source in [[w:Help:Wikitext|MediaWiki-flavored markup]]
|}
== Headers ==
{| class="wikitable properties"
| <code>Content-Type</code>
{{Required}}
| Specify <code>application/json</code> as the content type.
|-
| <code> Authorization </code>
{{Required}}
| Include an access token using the Bearer authentication scheme. For more information about obtaining an access token, visit [[Documentation/Getting started/Authentication|Authentication]].
|}
== Responses ==
{| class="wikitable responses"
|-
!200
| Success: Page found. Returns a [[API reference/Service/Link recommendation/Link set object|link set object]].
{{Response start}}
<syntaxhighlight lang="json">
{
"links": [
{
"context_after": " to distin",
"context_before": "cially in ",
"link_index": 0,
"link_target": "Science fiction",
"link_text": "science fiction",
"match_index": 0,
"score": 0.5104129910469055,
"wikitext_offset": 13852
}
],
"links_count": 1,
"page_title": "Earth",
"pageid": 9228,
"revid": 1013965654
}
</syntaxhighlight>
{{Response end}}
|}
__NOTOC__
{{DEFAULTSORT:4}}
6fb4pz5n9zp4mv889jrpxz1unqkbr5y
Community/Add an API
0
211
1104
2021-05-17T20:37:22Z
APaskulin (WMF)
20
Created page with "<div style="max-width:775px;"> Thanks for your interest in the API Portal! The API Portal is a work-in-progress project to provide a set of consistent, Wikimedia-related APIs..."
wikitext
text/x-wiki
<div style="max-width:775px;">
Thanks for your interest in the API Portal! The API Portal is a work-in-progress project to provide a set of consistent, Wikimedia-related APIs through a central domain: api.wikimedia.org. This page provides an introduction to what you can expect when adding your API to the Portal at this stage.
=== Authentication and authorization ===
The API Portal is designed to use OAuth 2.0 for authentication and authorization. Write requests to api.wikimedia.org (POST, PUT, and DELETE methods) require an OAuth 2.0 token. Developers can [[Documentation/Getting_started/Managing_API_keys|register an OAuth 2.0 key]] and learn about [[Documentation/Getting_started/Authentication|OAuth workflows]] through the API Portal.
=== Rate limits ===
Requests to api.wikimedia.org are subject to centrally defined rate limits. Rate limits are based on the type of OAuth 2.0 workflow used by the consumer. Requests without an OAuth 2.0 token are subject to a significantly lower rate limit. Visit the [[Documentation/Getting_started/Rate_limits|documentation]] for specific rate limits.
=== Status and documentation ===
The API Portal is currently under construction and has not been announced to the public. Although the Portal is publicly available, links to documentation in the API Portal should not be shared publicly due to its work-in-progress status.
=== Feedback and next steps ===
To learn more about how to add your API to the Portal, visit the [[wikitech:API gateway|API gateway on Wikitech]]. We’d love to hear your feedback on this process; reach out to us on the [[Talk:Community/Add your API|discussion page]].
</div>
{{DEFAULTSORT:4}}
__NOTOC__
6u2v6dn0afxmjc51q0m5sj2912s06bp
1106
1104
2021-05-19T06:35:37Z
Ameisenigel
14
/* Feedback and next steps */ linkfix
wikitext
text/x-wiki
<div style="max-width:775px;">
Thanks for your interest in the API Portal! The API Portal is a work-in-progress project to provide a set of consistent, Wikimedia-related APIs through a central domain: api.wikimedia.org. This page provides an introduction to what you can expect when adding your API to the Portal at this stage.
=== Authentication and authorization ===
The API Portal is designed to use OAuth 2.0 for authentication and authorization. Write requests to api.wikimedia.org (POST, PUT, and DELETE methods) require an OAuth 2.0 token. Developers can [[Documentation/Getting_started/Managing_API_keys|register an OAuth 2.0 key]] and learn about [[Documentation/Getting_started/Authentication|OAuth workflows]] through the API Portal.
=== Rate limits ===
Requests to api.wikimedia.org are subject to centrally defined rate limits. Rate limits are based on the type of OAuth 2.0 workflow used by the consumer. Requests without an OAuth 2.0 token are subject to a significantly lower rate limit. Visit the [[Documentation/Getting_started/Rate_limits|documentation]] for specific rate limits.
=== Status and documentation ===
The API Portal is currently under construction and has not been announced to the public. Although the Portal is publicly available, links to documentation in the API Portal should not be shared publicly due to its work-in-progress status.
=== Feedback and next steps ===
To learn more about how to add your API to the Portal, visit the [[wikitech:API Gateway|API gateway on Wikitech]]. We’d love to hear your feedback on this process; reach out to us on the [[Talk:Community/Add your API|discussion page]].
</div>
{{DEFAULTSORT:4}}
__NOTOC__
5l8ywugmab920b2ckfemev7a57wruic
1199
1106
2021-12-17T20:06:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Community/Add your API]] to [[Community/Add an API]]
wikitext
text/x-wiki
<div style="max-width:775px;">
Thanks for your interest in the API Portal! The API Portal is a work-in-progress project to provide a set of consistent, Wikimedia-related APIs through a central domain: api.wikimedia.org. This page provides an introduction to what you can expect when adding your API to the Portal at this stage.
=== Authentication and authorization ===
The API Portal is designed to use OAuth 2.0 for authentication and authorization. Write requests to api.wikimedia.org (POST, PUT, and DELETE methods) require an OAuth 2.0 token. Developers can [[Documentation/Getting_started/Managing_API_keys|register an OAuth 2.0 key]] and learn about [[Documentation/Getting_started/Authentication|OAuth workflows]] through the API Portal.
=== Rate limits ===
Requests to api.wikimedia.org are subject to centrally defined rate limits. Rate limits are based on the type of OAuth 2.0 workflow used by the consumer. Requests without an OAuth 2.0 token are subject to a significantly lower rate limit. Visit the [[Documentation/Getting_started/Rate_limits|documentation]] for specific rate limits.
=== Status and documentation ===
The API Portal is currently under construction and has not been announced to the public. Although the Portal is publicly available, links to documentation in the API Portal should not be shared publicly due to its work-in-progress status.
=== Feedback and next steps ===
To learn more about how to add your API to the Portal, visit the [[wikitech:API Gateway|API gateway on Wikitech]]. We’d love to hear your feedback on this process; reach out to us on the [[Talk:Community/Add your API|discussion page]].
</div>
{{DEFAULTSORT:4}}
__NOTOC__
5l8ywugmab920b2ckfemev7a57wruic
Talk:Community/Add an API
1
212
1105
2021-05-17T20:37:55Z
APaskulin (WMF)
20
Created page with "Welcome to the discussion for the [[Community/Add your API|Add your API]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''."
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Add your API|Add your API]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
h879hl1jef1mksp0z413ozye7apipbx
1201
1105
2021-12-17T20:06:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Talk:Community/Add your API]] to [[Talk:Community/Add an API]]
wikitext
text/x-wiki
Welcome to the discussion for the [[Community/Add your API|Add your API]] page! To leave a comment, [[Special:UserLogin|log in]] and select '''Edit'''.
h879hl1jef1mksp0z413ozye7apipbx
MediaWiki:Sitenotice
8
213
1111
2021-05-27T23:57:14Z
APaskulin (WMF)
20
Add under construction banner
wikitext
text/x-wiki
<h3 style="text-align: center;">🚧 Under construction 🚧</h3>
Welcome to the API Portal! This site is currently in development. To receive updates about our official launch, email apaskulin@wikimedia.org.
8qfnbje5kcfm4ssub9ooxkr0k3cko71
1112
1111
2021-05-27T23:57:57Z
APaskulin (WMF)
20
Remove site notice in favor of notice on homepage
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
1113
1112
2021-05-28T00:01:56Z
APaskulin (WMF)
20
Try smaller site notice
wikitext
text/x-wiki
🚧 Under construction 🚧
lrefb523rxigpmd9yncl7gt86u85x05
User talk:Hamdikhalid43
3
214
1163
2021-08-02T10:22:08Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
5o1813hx4b2jm31agkd7s7e4zm97m70
1164
1163
2021-08-10T10:25:32Z
MediaWiki message delivery
130
/* إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
fsuvk4h17hk5qfgs6c1qidgm7qzcsaw
1165
1164
2021-08-10T10:39:39Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
5strf645ek191gy3h87xe7k5zk9ogix
1166
1165
2021-08-10T22:21:24Z
MediaWiki message delivery
130
/* إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
etj7fwf8yuu1bsasex33j43vumbb8yz
1169
1166
2021-09-06T19:04:33Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
pg0os1ycky17vb7ltx0oerrjcymbowj
1170
1169
2021-09-13T16:09:30Z
MediaWiki message delivery
130
/* إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
bj1prd295h3zdyvhbtdjkadauc69iqv
1171
1170
2021-09-18T10:34:26Z
MediaWiki message delivery
130
/* إشعار ترجمة: Lingua LibreLingua Libre */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
77wmxvdl3v14ugg2rr6jp41vyvm0p04
1173
1171
2021-10-06T14:04:24Z
MediaWiki message delivery
130
/* إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
a8f6vttawn2ohb7nmqe8mlthbfiurc6
1175
1173
2021-10-08T17:50:22Z
MediaWiki message delivery
130
/* إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
64hkbymn83j3hg9qxcczd9d36y9b1jb
1185
1175
2021-10-21T14:24:45Z
MediaWiki message delivery
130
/* إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
tgks22orgzwcr7d5h7pifqwbt6vxeq2
1189
1185
2021-10-29T13:31:56Z
MediaWiki message delivery
130
/* إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
evycknvbu8o5brb0qy5ozz8alm4d5pc
1209
1189
2022-01-07T17:25:06Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
nkcgzw33dzf64n3kf7c28vda4sbu1g5
1210
1209
2022-01-11T21:02:24Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
n5evfxwoerg6ffc58au8z5fxzn56r0l
1214
1210
2022-01-22T08:48:05Z
MediaWiki message delivery
130
/* إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
inihfdyhu29ls0hkl972f8bub1w383g
1215
1214
2022-01-22T09:00:22Z
MediaWiki message delivery
130
/* إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
gd3jt11qk69dpsas385k4aecbup2a86
1216
1215
2022-01-22T14:33:43Z
MediaWiki message delivery
130
/* إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
m45rjvfsvsr65t76xz3mxczs1hl8jdb
1217
1216
2022-01-22T17:26:28Z
MediaWiki message delivery
130
/* إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
4hvupfja4mxfeuur4wrzyk3ghr2xa6y
1218
1217
2022-01-22T17:29:42Z
MediaWiki message delivery
130
/* إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
dv7na0db041yoq75p102ouay4fa31yu
1228
1218
2022-02-04T10:13:25Z
MediaWiki message delivery
130
/* إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
3a90ww2bcdw5gdienignvq93zmdbc6i
1229
1228
2022-02-12T12:05:08Z
MediaWiki message delivery
130
/* إشعار ترجمة: ContribuLing 2022ContribuLing 2022 */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
6srl49dq3m2tgot2fcmv9g6c9yndem7
1231
1229
2022-02-22T15:18:58Z
MediaWiki message delivery
130
/* إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
hq70epshlw7r5tlu69kf7rzpu116wts
1235
1231
2022-03-02T01:50:59Z
MediaWiki message delivery
130
/* إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
3zihi9ij566uen73qtu4y619wlnek8t
1236
1235
2022-03-04T13:51:53Z
MediaWiki message delivery
130
/* إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines/Voting/Translations|Universal Code of Conduct/Enforcement guidelines/Voting/Translations]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines%2FVoting%2FTranslations&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-06.
<div lang="en" class="mw-content-ltr">Next Monday the ratification for the UCoC Enforcement Guidelines starts, an important step concerning an important document. We would like to invite people from all the global communities to take part in this process.
To make the voting available in as many native languages as possible, we would appreciate your help in translations!
'''This is 189 words only''', just a few minutes of simple work and it is an important contribution to strengthen your community's voice.
Thank you very much for your help, [[User:DBarthel (WMF)|DBarthel (WMF)]]
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:51, 4 March 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
lytmkzcyk3gd14o86ct5fauv6ntwhrj
1254
1236
2022-03-26T15:49:49Z
MediaWiki message delivery
130
/* إشعار ترجمة: ContribuLing 2022/ProgramContribuLing 2022/Program */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines/Voting/Translations|Universal Code of Conduct/Enforcement guidelines/Voting/Translations]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines%2FVoting%2FTranslations&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-06.
<div lang="en" class="mw-content-ltr">Next Monday the ratification for the UCoC Enforcement Guidelines starts, an important step concerning an important document. We would like to invite people from all the global communities to take part in this process.
To make the voting available in as many native languages as possible, we would appreciate your help in translations!
'''This is 189 words only''', just a few minutes of simple work and it is an important contribution to strengthen your community's voice.
Thank you very much for your help, [[User:DBarthel (WMF)|DBarthel (WMF)]]
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:51, 4 March 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022/ProgramContribuLing 2022/Program ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022/Program|ContribuLing 2022/Program]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022%2FProgram&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-31.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:49, 26 March 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
2hljn4eneu9d60amold8e6qngv1xmpy
1256
1254
2022-04-21T13:46:17Z
MediaWiki message delivery
130
/* إشعار ترجمة: Wikimedia chapters/Creation guide/Bylaw GuidelinesWikimedia chapters/Creation guide/Bylaw Guidelines */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines/Voting/Translations|Universal Code of Conduct/Enforcement guidelines/Voting/Translations]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines%2FVoting%2FTranslations&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-06.
<div lang="en" class="mw-content-ltr">Next Monday the ratification for the UCoC Enforcement Guidelines starts, an important step concerning an important document. We would like to invite people from all the global communities to take part in this process.
To make the voting available in as many native languages as possible, we would appreciate your help in translations!
'''This is 189 words only''', just a few minutes of simple work and it is an important contribution to strengthen your community's voice.
Thank you very much for your help, [[User:DBarthel (WMF)|DBarthel (WMF)]]
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:51, 4 March 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022/ProgramContribuLing 2022/Program ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022/Program|ContribuLing 2022/Program]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022%2FProgram&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-31.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:49, 26 March 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia chapters/Creation guide/Bylaw GuidelinesWikimedia chapters/Creation guide/Bylaw Guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia chapters/Creation guide/Bylaw Guidelines|Wikimedia chapters/Creation guide/Bylaw Guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+chapters%2FCreation+guide%2FBylaw+Guidelines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr">Hello translators.
We have created a new resource to help affiliates draft their by-laws and we need your help to translate these.
Best regards </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:46, 21 April 2022 (UTC)
<!-- Message sent by User:DNdubane (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
t9mcr2y3qk4j0mtoj5z1pg4sovfokmm
1257
1256
2022-04-26T08:53:05Z
MediaWiki message delivery
130
/* إشعار ترجمة: GLAM School/QuestionsGLAM School/Questions */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines/Voting/Translations|Universal Code of Conduct/Enforcement guidelines/Voting/Translations]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines%2FVoting%2FTranslations&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-06.
<div lang="en" class="mw-content-ltr">Next Monday the ratification for the UCoC Enforcement Guidelines starts, an important step concerning an important document. We would like to invite people from all the global communities to take part in this process.
To make the voting available in as many native languages as possible, we would appreciate your help in translations!
'''This is 189 words only''', just a few minutes of simple work and it is an important contribution to strengthen your community's voice.
Thank you very much for your help, [[User:DBarthel (WMF)|DBarthel (WMF)]]
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:51, 4 March 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022/ProgramContribuLing 2022/Program ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022/Program|ContribuLing 2022/Program]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022%2FProgram&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-31.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:49, 26 March 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia chapters/Creation guide/Bylaw GuidelinesWikimedia chapters/Creation guide/Bylaw Guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia chapters/Creation guide/Bylaw Guidelines|Wikimedia chapters/Creation guide/Bylaw Guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+chapters%2FCreation+guide%2FBylaw+Guidelines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr">Hello translators.
We have created a new resource to help affiliates draft their by-laws and we need your help to translate these.
Best regards </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:46, 21 April 2022 (UTC)
<!-- Message sent by User:DNdubane (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: GLAM School/QuestionsGLAM School/Questions ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:GLAM School/Questions|GLAM School/Questions]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-GLAM+School%2FQuestions&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-12-31.
<div lang="en" class="mw-content-ltr">GLAM School is a project by AvoinGLAM to chart out, uncover, and support practices that help GLAM professionals, GLAM-Wiki volunteers, Open GLAM advocates and others to be more empowered to contribute to Wikimedia and other open projects. In 2022 we are conducting surveys, chats, and interviews across organizations and networks involved in providing Open Access to cultural heritage. This page lists the questions that are used in the survey and the interviews.</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:53, 26 April 2022 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
dl5llhb8tdk51rde2vcprh7jljl2v29
1261
1257
2022-04-29T07:07:09Z
MediaWiki message delivery
130
/* إشعار ترجمة: GLAM School/QuestionsGLAM School/Questions */ new section
wikitext
text/x-wiki
== إشعار ترجمة: Wikimedia Foundation elections/2021/VotingWikimedia Foundation elections/2021/Voting ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/Voting|Wikimedia Foundation elections/2021/Voting]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2FVoting&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:22, 2 August 2021 (UTC)
<!-- Message sent by User:KCVelaga (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAMHack4OpenGLAM ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM|Hack4OpenGLAM]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">Welcome to translate the messages of the Hack4OpenGLAM hackathon, taking place at the Creative Commons Summit 20–24 September! Your work is appreciated!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:25, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wiki Loves ChildrenWiki Loves Children ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wiki Loves Children|Wiki Loves Children]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wiki+Loves+Children&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:39, 10 August 2021 (UTC)
<!-- Message sent by User:MdsShakil@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Hack4OpenGLAM/MessagesHack4OpenGLAM/Messages ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Hack4OpenGLAM/Messages|Hack4OpenGLAM/Messages]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Hack4OpenGLAM%2FMessages&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-20.
<div lang="en" class="mw-content-ltr">This is an additional set of messages for Hack4OpenGLAM: instructions (the contents of the newsletter) and latest tweets that can be used in several languages.
Thank you for your work, it has already been amazing!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 22:21, 10 August 2021 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/ShortWikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short|Wikimedia Foundation elections/2021/2021-09-07/2021 Election Results/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2021%2F2021-09-07%2F2021+Election+Results%2FShort&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-07.
<div lang="en" class="mw-content-ltr">This short text (125 words) is meant to announce the results of the board elections on September, 7 to as much communities and volunteers as possible on such short notice in their native tongue. Please help us to make that happen! </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 19:04, 6 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Set Up ProcessMovement Charter/Drafting Committee/Set Up Process ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Set Up Process|Movement Charter/Drafting Committee/Set Up Process]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FSet+Up+Process&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2021-09-17.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee election is coming soon. We have just put out a page to inform as many communities on the election. This requires many translations as we want to reach out to as many people as possible in their respective language. So we ask kindly for your support.
Any questions? Please contact [[User:DBarthel (WMF)]]. Thanks for your help!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 16:09, 13 September 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Lingua LibreLingua Libre ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Lingua Libre|Lingua Libre]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Lingua+Libre&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2021-11-30.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:34, 18 September 2021 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Election translationMovement Charter/Drafting Committee/Election translation ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Election translation|Movement Charter/Drafting Committee/Election translation]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElection+translation&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-08.
<div lang="en" class="mw-content-ltr">2 sentences, 21 words!
Movement Charter Drafting Committee Elections are coming. Translating the voting tool SecurePoll in as many native tongues is crucial for this. But: there are two sentences we need to be translated for this. Please support the effort to make this a global experience. Thank you for helping out!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:04, 6 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FMCDC+Voter+Email+short+12-10-2021&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-11.
<div lang="en" class="mw-content-ltr">The Movement Charter Drafting Committee Election starts next Monday. We would like to send eligible voters an email, letting them know that now is the time to vote. Of course this should happen in the respective language of the voter. It is only 195 words, a few minutes of work with a great impact! Any language is highly appreciated, we appreciate your help a lot. Thank you and have a great weekend! :)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:50, 8 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Grants:MSIG/Announcements/2021/Global messageGrants:MSIG/Announcements/2021/Global message ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Grants:MSIG/Announcements/2021/Global message|Grants:MSIG/Announcements/2021/Global message]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Grants%3AMSIG%2FAnnouncements%2F2021%2FGlobal+message&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-26.
<div lang="en" class="mw-content-ltr">Hi everbody! The [[Movement Strategy and Governance|Movement Strategy and Governance team]] is announcing a Movement Strategy Implementation Grants program to the communities.
We want to reach out to as many communities as possible, calling out volunteers globally. Please support us and help translating the announcement in all the languages you speak, '''it is only 50 words'''. We will send it out as a mass message later.
Beyond this: if you would like to, please check out the program and spread the word. We would appreciate your help in sharing this news in social media channels of your community.
We are grateful for all your support, you are awesome!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:24, 21 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Movement Charter/Drafting Committee/Elections/Results/AnnouncementMovement Charter/Drafting Committee/Elections/Results/Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Movement Charter/Drafting Committee/Elections/Results/Announcement|Movement Charter/Drafting Committee/Elections/Results/Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Movement+Charter%2FDrafting+Committee%2FElections%2FResults%2FAnnouncement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2021-10-31.
<div lang="en" class="mw-content-ltr">The announcement of the members of the Movement Charter Drafting Committee is coming close. We would like to announce the results in as many languages as possible and kindly ask for your support. It is '''less than 100 words''', we would appreciate your help a lot and it is just a few minutes.
Thank you for your continuous support!
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:31, 29 October 2021 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees electionsWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-10.
<div lang="en" class="mw-content-ltr">''This year four seats of the WMF Board of Trustees are to be newly filled and there will be a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.''
''The [[Movement Strategy and Governance]] team is supporting this Call for Feedback. For widest outreach across the Wikiverse we kindly ask you to support this by helping us out with additional translations.''
'''Postscriptum: During the last year many of you have helped us a lot to reach out to many different communities by translating
in dozens of languages. We are utterly grateful for this - thanks to all of you for your ongoing support! You are the best!'''
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:25, 7 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/ShortWikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+Board+of+Trustees%2FCall+for+feedback%3A+Board+of+Trustees+elections%2FCall+for+Feedback+about+the+Board+of+Trustees+elections+is+now+open%2FShort&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-13.
<div lang="en" class="mw-content-ltr">Hi all,
the [[Movement Strategy and Governance]] team is asking you for your help. We want to invite communities globally to a Call for Feedback about the Board of Trustees selection processes from 10 January to 7 February 2022.
We want to send out a message next Friday to all communities in as many languages as possible. It is '''only 130 words'''! Your help is very much appreciated!
Thank you for your time!</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 21:02, 11 January 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/ContentsTemplate:Education/News/Contents ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Contents|Template:Education/News/Contents]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FContents&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:48, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 09:00, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Template:Education/News/DraftsTemplate:Education/News/Drafts ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Template:Education/News/Drafts|Template:Education/News/Drafts]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Template%3AEducation%2FNews%2FDrafts&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 14:33, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022/HeadlinesEducation/Newsletter/January 2022/Headlines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022/Headlines|Education/Newsletter/January 2022/Headlines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022%2FHeadlines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي عالية.
الموعد النهائي لترجمة هذه الصفحة هو 2022-01-24.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:26, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Education/Newsletter/January 2022Education/Newsletter/January 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Education/Newsletter/January 2022|Education/Newsletter/January 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Education%2FNewsletter%2FJanuary+2022&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 17:29, 22 January 2022 (UTC)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Leadership Development Task Force/Call for Feedback AnnouncementLeadership Development Task Force/Call for Feedback Announcement ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Leadership Development Task Force/Call for Feedback Announcement|Leadership Development Task Force/Call for Feedback Announcement]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Leadership+Development+Task+Force%2FCall+for+Feedback+Announcement&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-02-07.
<div lang="en" class="mw-content-ltr">Good day to you from [[Movement Strategy and Governance]]! The coming weeks see a Call for Feedback concerning the creation of a movementwide [[Leadership_Development_Task_Force]]. We are announcing it by a short message of '''only 60 words''' to be distributed globally on Tuesday. Global distribution asks for native language support, so we kindly ask for your help to have as many translations as possible available. It should be a few minutes of work only. Thank you very much for your help, [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 10:13, 4 February 2022 (UTC)</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 10:13, 4 February 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022ContribuLing 2022 ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022|ContribuLing 2022]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 12:05, 12 February 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelinesUniversal Code of Conduct/Enforcement guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct/Enforcement guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:18, 22 February 2022 (UTC)
<!-- Message sent by User:Ericliu1912@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Ukraine's Cultural Diplomacy MonthUkraine's Cultural Diplomacy Month ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Ukraine's Cultural Diplomacy Month|Ukraine's Cultural Diplomacy Month]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Ukraine%27s+Cultural+Diplomacy+Month&language=ar&action=page ترجم إلى العربية]
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 01:50, 2 March 2022 (UTC)
<!-- Message sent by User:Juan90264@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Universal Code of Conduct/Enforcement guidelines/Voting/TranslationsUniversal Code of Conduct/Enforcement guidelines/Voting/Translations ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Universal Code of Conduct/Enforcement guidelines/Voting/Translations|Universal Code of Conduct/Enforcement guidelines/Voting/Translations]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct%2FEnforcement+guidelines%2FVoting%2FTranslations&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-06.
<div lang="en" class="mw-content-ltr">Next Monday the ratification for the UCoC Enforcement Guidelines starts, an important step concerning an important document. We would like to invite people from all the global communities to take part in this process.
To make the voting available in as many native languages as possible, we would appreciate your help in translations!
'''This is 189 words only''', just a few minutes of simple work and it is an important contribution to strengthen your community's voice.
Thank you very much for your help, [[User:DBarthel (WMF)|DBarthel (WMF)]]
</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:51, 4 March 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: ContribuLing 2022/ProgramContribuLing 2022/Program ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:ContribuLing 2022/Program|ContribuLing 2022/Program]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-ContribuLing+2022%2FProgram&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
الموعد النهائي لترجمة هذه الصفحة هو 2022-03-31.
<div lang="en" class="mw-content-ltr"></div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 15:49, 26 March 2022 (UTC)
<!-- Message sent by User:WikiLucas00@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: Wikimedia chapters/Creation guide/Bylaw GuidelinesWikimedia chapters/Creation guide/Bylaw Guidelines ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:Wikimedia chapters/Creation guide/Bylaw Guidelines|Wikimedia chapters/Creation guide/Bylaw Guidelines]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+chapters%2FCreation+guide%2FBylaw+Guidelines&language=ar&action=page ترجم إلى العربية]
أولوية هذه الصفحة هي متوسطة.
<div lang="en" class="mw-content-ltr">Hello translators.
We have created a new resource to help affiliates draft their by-laws and we need your help to translate these.
Best regards </div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 13:46, 21 April 2022 (UTC)
<!-- Message sent by User:DNdubane (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: GLAM School/QuestionsGLAM School/Questions ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:GLAM School/Questions|GLAM School/Questions]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-GLAM+School%2FQuestions&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-12-31.
<div lang="en" class="mw-content-ltr">GLAM School is a project by AvoinGLAM to chart out, uncover, and support practices that help GLAM professionals, GLAM-Wiki volunteers, Open GLAM advocates and others to be more empowered to contribute to Wikimedia and other open projects. In 2022 we are conducting surveys, chats, and interviews across organizations and networks involved in providing Open Access to cultural heritage. This page lists the questions that are used in the survey and the interviews.</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 08:53, 26 April 2022 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== إشعار ترجمة: GLAM School/QuestionsGLAM School/Questions ==
مرحبا Hamdikhalid43،
أنت تتلقى هذا البريد الإلكتروني لأنك اشتركت كمترجم إلى العربية في Meta.
الصفحة [[:metawikipedia:GLAM School/Questions|GLAM School/Questions]] متاحة للترجمة; يمكنك ترجمتها هنا:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-GLAM+School%2FQuestions&language=ar&action=page ترجم إلى العربية]
الموعد النهائي لترجمة هذه الصفحة هو 2022-12-31.
<div lang="en" class="mw-content-ltr">Thank you for the wonderful work you are doing!
I have made a couple of small modifications to the existing text and added one new section. I hope you would be willing to have a look at those.
Thank you again!
Cheers, Susanna</div>
مساعدتك موضع تقدير كبير; يساعدك المترجمون مثلك Meta على العمل
كمجتمع متعدد اللغات حقا.
يمكنك [https://meta.wikimedia.org/wiki/Special:TranslatorSignup تغيير تفضيلات الإشعارات].
شكرا لك!
إداريو ترجمة Meta‏, 07:07, 29 April 2022 (UTC)
<!-- Message sent by User:Susannaanas@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
fh10nhq3k2cnridi9y0ez5vu8rif363
User talk:Killarnee
3
216
1174
2021-10-06T20:38:14Z
Killarnee
4088
Created page with "[[w:User talk:Killarnee]]"
wikitext
text/x-wiki
[[w:User talk:Killarnee]]
jrq8meesf6dc3bgtjyvcngqnpmrvxxt
Community/API guidelines
0
217
1176
2021-10-12T02:14:54Z
BPirkle (WMF)
562
initial outline
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
* General
** Introduction
*** What these guidelines are
*** What these guidelines are not
** Terms Used
** Design Principles
** Hosting and Infrastructure
*** this section will mostly be for WMF-hosted services
*** but maybe there are things to say about externally hosted things working with our infra?
*** caching
*** rate limiting
*** long running tasks
*** large data sets, either in request or response
*** etc
** API Lifecycle
*** stuff like experimental phase
*** prod vs beta gateway
*** deprecation
*** etc
* REST API Guidelines
** HTTP
*** Methods
*** Headers
*** Status Codes
** Naming
*** we should pick singular vs plural but mention it is just a recommendation
** OpenAPI
*** explain what it is good for in our infrastructure
*** service runner / x-amples?
*** API Catalog?
*** mention auto-generation via code annotations
*** use as communications/contract across teams
** Errors
*** general recommendations on error handling
** Logging/Monitoring
*** does this get its own section or can it go under errors?
*** are these related enough to be one section, or should they be separate?
* Other API Types
** Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
* References
** links to all our other docs that prolly contradict this one...
f6cj0bgvz9jc12tlzoln3dpsq1l34ex
1177
1176
2021-10-12T15:52:28Z
BPirkle (WMF)
562
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
==== What these guidelines are ====
==== What these guidelines are not ====
=== Terms Used ===
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
=== API Lifecycle ===
stuff like
==== experimental phase ====
==== prod vs beta gateway ====
==== deprecation ====
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
nzy7npkk12o5y2lq3ns0796ap0w33aq
1178
1177
2021-10-12T21:10:50Z
BPirkle (WMF)
562
/* Introduction */
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
=== API Lifecycle ===
stuff like
==== experimental phase ====
==== prod vs beta gateway ====
==== deprecation ====
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
1qg05ezdc7dqwx738ncy38nkgjgjcdh
1179
1178
2021-10-13T18:28:53Z
SKim (WMF)
281
/* Terms Used */ Transferred terms defined
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
=== API Lifecycle ===
stuff like
==== experimental phase ====
==== prod vs beta gateway ====
==== deprecation ====
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
jagulg4obv07xu0ogf0udnvf8tr7pu1
1180
1179
2021-10-13T18:32:46Z
SKim (WMF)
281
/* API Lifecycle */
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
bss6w6rikfia550158e4y8o2kl4f5g5
1181
1180
2021-10-15T14:08:43Z
BPirkle (WMF)
562
/* OpenAPI */
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
4lm6p1jn69d3k1o0orffhp2qukh5i3s
1182
1181
2021-10-15T14:55:34Z
BPirkle (WMF)
562
/* OpenAPI */
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
3l7oaebxow6bxj55cknnqq1x5utlr7n
1183
1182
2021-10-19T17:12:27Z
SKim (WMF)
281
/* 1. Check API catalog* */ Added link to list of APIs
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
r8tmcepcck5bgrmveht1qymj4w0csku
1184
1183
2021-10-19T19:47:48Z
SKim (WMF)
281
/* Terms Used */
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specifications are GraphQL and AsyncAPI.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
=== Hosting and Infrastructure ===
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
rpx4zclb45mwml2gj2eh61cl43bhwwr
1192
1184
2021-11-11T17:48:43Z
SKim (WMF)
281
Added section on authZN
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specifications are GraphQL and AsyncAPI.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
==== Hosting and Infrastructure ====
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== Authentication and Authorization ====
The API Gateway does not currently support authenticating requests nor does it support authorizing users and permissions.
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
fpufymi64o1ftqteeygjh5sx2g6f3io
1193
1192
2021-11-23T21:10:33Z
SKim (WMF)
281
/* 8. Add API route to the API gateway */ Suggesting to add to staging first
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specifications are GraphQL and AsyncAPI.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
==== Hosting and Infrastructure ====
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== Authentication and Authorization ====
The API Gateway does not currently support authenticating requests nor does it support authorizing users and permissions.
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
*[[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]*
***We recommend you start off with first adding your API to the [[wikitech:API_Gateway#Staging|staging]] instance of the API gateway before production.
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
dzvw4y6npehtz87b1bvjjjkaogq8h0t
1195
1193
2021-12-01T04:34:42Z
BPirkle (WMF)
562
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specifications are GraphQL and AsyncAPI.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
==== Hosting and Infrastructure ====
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== Authentication and Authorization ====
The API Gateway does not currently support authenticating requests nor does it support authorizing users and permissions.
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
* [[m:User:BPirkle_(WMF)/Stuff/Designing_APIs|Some thoughts on designing APIs]]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
*[[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]*
***We recommend you start off with first adding your API to the [[wikitech:API_Gateway#Staging|staging]] instance of the API gateway before production.
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
trvorj23ja482vsbbkvb48pmfyaqf9w
1197
1195
2021-12-16T18:15:51Z
NNikkhoui (WMF)
570
/* 6. Develop against API description */ add blurb about using npm servicelib-node-spec pkg to generate spec file
wikitext
text/x-wiki
THIS PAGE IS IN PROGRESS AND IS NOT YET READY TO BE RELIED UPON
== General ==
=== Introduction ===
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
==== What these guidelines are ====
These guidelines are an attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
==== What these guidelines are not ====
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every non-trivial WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you find something you disagree with herein, or find something missing for which you have a suggestion, please suggest improvements.
=== Terms Used ===
* '''API (disambiguation)'''
** API (Offering): The branded offering for data access in the global context.
** API (SaaS): A web service that provides a capability in the context within Wikimedia.
** API (Interface): The client-facing component that interprets HTTP requests
* '''API Specification (API Spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specifications are GraphQL and AsyncAPI.
* '''API Description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification.
* '''API Documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API Description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined SLO nor are able to accept public requests higher than a certain threshold rate-limit. They have an API status of "experimental" and could change at anytime with no notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified ratelimit through the API Gateway
* '''End-User'''
** The human on their phone pushing buttons on the their respective application
* '''Client Web App'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization Server'''
** For API web services at the foundation, metawiki is the entity that handles authorization requests from clients
=== Design Principles ===
==== Hosting and Infrastructure ====
this section will mostly be for WMF-hosted services
but maybe there are things to say about externally hosted things working with our infra?
==== Authentication and Authorization ====
The API Gateway does not currently support authenticating requests nor does it support authorizing users and permissions.
==== caching ====
==== rate limiting ====
==== long running tasks ====
==== large data sets, either in request or response ====
==== etc ====
== API Lifecycle ==
=== Design Phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend from.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
* [[m:User:BPirkle_(WMF)/Stuff/Designing_APIs|Some thoughts on designing APIs]]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
*To generate your API OpenAPI specification file as you are developing, you can install the npm package [https://www.npmjs.com/package/@wikimedia/servicelib-node-spec servicelib-node-spec] to your project and follow its instructions to first annotate your routes, allowing you to automatically generate your API specification file.
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
*[[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]*
***We recommend you start off with first adding your API to the [[wikitech:API_Gateway#Staging|staging]] instance of the API gateway before production.
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
we should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
explain what it is good for in our infrastructure
maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== service runner / x-amples? ====
==== API Catalog ====
==== auto-generation via code annotations ====
==== use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/Monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API Types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related Links ==
links to all our other docs that prolly contradict this one...
cc707vvtwihxjdsc78dc535c262qumq
1203
1197
2021-12-17T20:31:19Z
APaskulin (WMF)
20
General cleanup and edits
wikitext
text/x-wiki
<div style="background-color: #eaf3ff; padding: 8px 10px; margin-top:10px;">
<p style="margin-bottom:0;">
🚧 <span style="font-weight:600;">Work in progress</span><br>
<span>This page is a draft. The information on this page is currently in development.</span>
</p>
</div>
This document describes guidelines and recommendations for creating APIs at and for use with the Wikimedia Foundation and its associated data, infrastructure, applications, and services.
== About the API guidelines==
These guidelines attempt to create consistency and encourage secure, efficient, and maintainable APIs. They draw upon previous guidelines and design principles at WMF, as well as common practice across the broader technical community.
These guidelines are not absolute requirements. Not all existing WMF APIs comply with these guidelines. In fact, it is likely that every WMF API differs from these guidelines in some respect. It is equally likely that future WMF APIs will deviate from them. However, any such deviations should be purposeful. In other words, WMF APIs should follow these guidelines unless they have good reason not to.
These guidelines are not comprehensive. There are many aspects to creating real-world APIs, and it is not reasonable for any one document to cover every situation that may arise.
These guidelines are not permanent or unchangeable. If you questions or feedback, please leave a comment on the [[Talk:Community/API_guidelines|discussion page]].
== Terminology ==
* '''API (disambiguation)'''
** API (offering): The branded offering for data access in the global context
** API (SaaS): A web service that provides a capability in the context of Wikimedia
** API (interface): The client-facing component that interprets HTTP requests
* '''API specification (API spec)'''
** A technical standard, like OpenAPI 3.0, that defines how to describe an API’s interface in a general, broadly applicable way that is both machine-parsable and human-readable. Other API specification standards include GraphQL and AsyncAPI.
* '''API description'''
** A file articulating a single API’s interface that fulfills the requirements and expectations of an API specification
* '''API documentation'''
** The collection of things necessary to convey sufficient meaning so that clients can successfully use the deployed API through the interface. This includes, but is not limited to, the API description.
* '''Prototype API'''
** A deployed web service with the purpose of being tested as an experiment. These APIs do not have a defined service-level objective (SLO) nor are able to accept public requests higher than a certain threshold rate limit. They have an API status of "experimental" and could change at anytime without notice. +Included in using the API Gateway
* '''Production API'''
** A deployed web service that has been validated as a prototype and ready for wider use. Has a specified rate limit through the API Gateway
* '''End-user'''
** The human on their phone pushing buttons on the their respective application
* '''Client web app'''
** The web application that serves as an interface for the end-user and is the entity making requests to API web service(s)
* '''Authorization server'''
** For API web services at the Foundation, Meta-Wiki is the entity that handles authorization requests from clients
== Design principles ==
=== Hosting and infrastructure ===
This section describes hosting and infrastructure guidelines for WMF-hosted services as well as externally hosted services integrated with WMF infrastructure.
=== Authentication and authorization ===
While write requests to api.wikimedia.org (POST, PUT, and DELETE methods) require an OAuth 2.0 token, the API Gateway does not currently support authorizing users and permissions.
=== Caching ===
=== Rate limiting ===
=== Long-running tasks ===
=== Large datasets ===
This section describes guidelines for large datasets, both in request and response.
== API lifecycle ==
=== Design phase ===
==== 1. Check API catalog* ====
To ensure we are consistent and [[:en:Don't_repeat_yourself|DRY]], exploring through the existing catalog of APIs will help find reusable patterns or APIs you can extend.
''*This currently does not exist yet, please see our [[mw:Core_Platform_Team/Initiatives/API_Platform/API_list|List of APIs]] which is not guaranteed to be up to date''
==== 2. Check API guidelines ====
The evolving set of API guidelines provides the standards and rules we suggest for all API producers to follow.
* Wikimedia API Guidelines
* [[wikitech:API_Gateway#How_to_design_your_API|How to design your API (wikitech - wikimedia.org)]]
* [[mw:API:Etiquette|Action API: Etiquette]]
==== 3. Create API description ====
Before doing any coding, ensure you have a clear idea and agreement on what your API is supposed to look like. Using the template below will also allow for others to leave comments as well as keep a change log.
* [https://docs.google.com/document/d/1G4T_5p2oT3dwVaLu8DvmWoyBgcoDO0kerq3gyd6LiJY/edit?usp=sharing API Description Google Doc Template]
* Example: [https://docs.google.com/document/d/1hvLD8kbo5omekPPrUbXP7kFKCozahRmdvR-ehQJMvM4/edit?usp=sharing Topic Curation API Description]
* [[m:User:BPirkle_(WMF)/Stuff/Designing_APIs|Some thoughts on designing APIs]]
==== 4. Generate reference documentation ====
Based on your API description that you’ve drafted, you can now generate your reference documentation.
==== 5. Get feedback ====
Whether you’re designing an API for internal operations or for external partners to leverage, you should get feedback from your users before starting any development on your API.
=== Develop ===
==== 6. Develop against API description ====
* [https://github.com/wikimedia/service-template-node Service Template Node]
* To generate your API OpenAPI specification file as you are developing, you can install the npm package [https://www.npmjs.com/package/@wikimedia/servicelib-node-spec servicelib-node-spec] to your project and follow its instructions to first annotate your routes, allowing you to automatically generate your API specification file.
==== 7. Deploy your web service ====
==== 8. Add API route to the API gateway ====
* [[wikitech:API_Gateway#How_to_add_an_API_route|How to add an API route (wikitech - wikimedia.org)]]
We recommend you start off with first adding your API to the [[wikitech:API_Gateway#Staging|staging]] instance of the API gateway before production.
=== Deploy ===
Experimental
=== Promote ===
prod vs beta gateway
=== Evaluate ===
=== Sunset ===
== REST API Guidelines ==
=== HTTP ===
==== Methods ====
==== Headers ====
==== Status Codes ====
=== Naming ===
We should pick singular vs plural but mention it is just a recommendation
=== OpenAPI ===
Explain what it is good for in our infrastructure
Maybe include some lessons from RESTBase and how Kask avoided those issues. See [[mw:User_talk:EEvans_(WMF)/Opinions/OpenAPI | Eric's OpenAPI thoughts]] (and its talk page) for more.
==== Service runner / x-amples? ====
==== API catalog ====
==== Auto-generation via code annotations ====
==== Use as communications/contract across teams ====
=== Errors ===
general recommendations on error handling
=== Logging/monitoring ===
does this get its own section or can it go under errors?
are these related enough to be one section, or should they be separate?
== Other API types ==
Explain that we haven't done that yet, but included this just to make it clear that other API types are not prohibited and we'll fill this in when we get there
== Related links ==
{{DEFAULTSORT:5}}
1ttois094duv245xdqf9dvtainxjivm
Template:Tag
10
218
1187
2021-10-28T21:59:44Z
APaskulin (WMF)
20
Created generic tag template
wikitext
text/x-wiki
<p style="margin:0; font-size:0.8rem; padding-bottom:5px;"><span style="background-color: {{{2|#eaecf0}}}; padding:.2em .6em; border-radius: 3px;">{{{1|Sample text}}}</span></p>
6o11f8nr8fxfw9gu2ygaiv030ji4tqf
API catalog
0
219
1188
2021-10-28T22:14:05Z
APaskulin (WMF)
20
Create a wikitext mockup of an API catalog
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[wikidata:Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[commons:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Special:RunJobs Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Manual:$wgAjaxExportList Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px; padding-bottom:30px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:150px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[meta:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
hsz5siqtbf93r1igsxeg0p83xt6bdx1
1190
1188
2021-10-29T16:49:50Z
APaskulin (WMF)
20
Make grid more uniform
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[wikidata:Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[commons:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Special:RunJobs Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Manual:$wgAjaxExportList Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[meta:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
dxysiepnz06vigyg1r072vte50b66c0
1191
1190
2021-10-29T21:28:09Z
Ameisenigel
14
Linkfix, MyLanguage
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
__NOTOC__
aza5l6kj3beijqb8xja63w1lp4hekt6
1211
1191
2022-01-21T17:26:08Z
BPirkle (WMF)
562
Testing automatic updates via bot. This is experimental.
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
bt092na37cgmtil2r3v513uu07h7guk
1212
1211
2022-01-21T22:30:25Z
BPirkle (WMF)
562
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikife...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml<br>Owner:: product-infrastructure<br></li><br><li>Name: restbase-api<br>Description: Mobile-friendly content, featured article feeds, pageview data, and more.<br>Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example,<br>visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API.<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: api-gateway<br>Description: APIs routed through api.wikimedia.org<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: example-api<br>Description: an example node api<br>Link: https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml<br>Owner:: platform engineering team<br></li><br><li>Name: ores-api<br>Description: Article and edit quality scores<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml<br>Owner:: machine-learning<br></li><br><li>Name: recommendation-api<br>Description: Suggests editing tasks such as articles to be translated and<br>sections to be added<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml<br>Owner:: research<br></li><br><li>Name: image-suggestion-api<br>Description: Suggests images to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: link-recommendations-api<br>Description: Suggests links to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml<br>Owner:: growth<br></li><br><li>Name: mediawiki-rest-api<br>Description: MediaWiki Core REST API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-ajax<br>Description: AJAX interface for MediaWiki<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-action-api<br>Description: Full-featured MediaWiki Core API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml<br>Owner:: platform-engineering<br></li><br></ul><!-- END API LIST -->
__NOTOC__
og1150y2iwtlqyfk3h0xpfrw4jt8vxy
1213
1212
2022-01-21T22:33:21Z
BPirkle (WMF)
562
Undo revision 1212 by [[Special:Contributions/BPirkle (WMF)|BPirkle (WMF)]] ([[User talk:BPirkle (WMF)|talk]])
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
bt092na37cgmtil2r3v513uu07h7guk
1219
1213
2022-01-25T17:24:43Z
BPirkle (WMF)
562
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikife...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml<br>Owner:: product-infrastructure<br></li><br><li>Name: restbase-api<br>Description: Mobile-friendly content, featured article feeds, pageview data, and more.<br>Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example,<br>visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API.<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: api-gateway<br>Description: APIs routed through api.wikimedia.org<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: example-api<br>Description: an example node api<br>Link: https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml<br>Owner:: platform engineering team<br></li><br><li>Name: ores-api<br>Description: Article and edit quality scores<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml<br>Owner:: machine-learning<br></li><br><li>Name: recommendation-api<br>Description: Suggests editing tasks such as articles to be translated and<br>sections to be added<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml<br>Owner:: research<br></li><br><li>Name: image-suggestion-api<br>Description: Suggests images to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: link-recommendations-api<br>Description: Suggests links to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml<br>Owner:: growth<br></li><br><li>Name: mediawiki-rest-api<br>Description: MediaWiki Core REST API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-ajax<br>Description: AJAX interface for MediaWiki<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-action-api<br>Description: Full-featured MediaWiki Core API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml<br>Owner:: platform-engineering<br></li><br></ul><!-- END API LIST -->
__NOTOC__
og1150y2iwtlqyfk3h0xpfrw4jt8vxy
1220
1219
2022-01-28T15:24:18Z
TChin (WMF)
3738
Removed autogenerated portion
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
bt092na37cgmtil2r3v513uu07h7guk
1221
1220
2022-01-28T17:19:14Z
TChin (WMF)
3738
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikife...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><ul><li>Name: event-streams-api<br>Description: Streams of recent changes to Wikimedia projects<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml<br>Owner:: data-engineering<br></li><br><li>Name: wikifeeds-api<br>Description: Featured content from Wikipedia<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml<br>Owner:: product-infrastructure<br></li><br><li>Name: restbase-api<br>Description: Mobile-friendly content, featured article feeds, pageview data, and more.<br>Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example,<br>visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API.<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: api-gateway<br>Description: APIs routed through api.wikimedia.org<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: example-api<br>Description: an example node api<br>Link: https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml<br>Owner:: platform engineering team<br></li><br><li>Name: ores-api<br>Description: Article and edit quality scores<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml<br>Owner:: machine-learning<br></li><br><li>Name: recommendation-api<br>Description: Suggests editing tasks such as articles to be translated and<br>sections to be added<br><br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml<br>Owner:: research<br></li><br><li>Name: image-suggestion-api<br>Description: Suggests images to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: link-recommendations-api<br>Description: Suggests links to add to an article<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml<br>Owner:: growth<br></li><br><li>Name: mediawiki-rest-api<br>Description: MediaWiki Core REST API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-ajax<br>Description: AJAX interface for MediaWiki<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml<br>Owner:: platform-engineering<br></li><br><li>Name: mediawiki-action-api<br>Description: Full-featured MediaWiki Core API<br>Link: https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml<br>Owner:: platform-engineering<br></li><br></ul><!-- END API LIST -->
__NOTOC__
og1150y2iwtlqyfk3h0xpfrw4jt8vxy
1222
1221
2022-01-31T21:55:56Z
TChin (WMF)
3738
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">wikifeeds-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">restbase-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">api-gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">example-api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px;">an example node api</p> <p class="card-text" style="font-size: 14px;">[https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">ores-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">recommendation-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">image-suggestion-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">link-recommendations-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-rest-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px;">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-action-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
l5p7r67o9755hg1vd01rxszk5a1oq4y
1223
1222
2022-01-31T22:07:21Z
TChin (WMF)
3738
Added a separator so we can see the bot generated portion easier
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">wikifeeds-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">restbase-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">api-gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">example-api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px;">an example node api</p> <p class="card-text" style="font-size: 14px;">[https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">ores-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">recommendation-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">image-suggestion-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">link-recommendations-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-rest-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px;">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-action-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
8cmfi5kai30z93tcvs90jpjuterw4wh
1224
1223
2022-02-01T20:23:39Z
TChin (WMF)
3738
Removed autogenerated portion
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
ls4spoqth400qyqv4v9jyduvn9y9yv7
1225
1224
2022-02-01T20:32:26Z
TChin (WMF)
3738
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">wikifeeds-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">restbase-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">api-gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">example-api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px;">an example node api</p> <p class="card-text" style="font-size: 14px;">[https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">ores-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">recommendation-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">image-suggestion-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">link-recommendations-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-rest-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px;">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-action-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
8cmfi5kai30z93tcvs90jpjuterw4wh
1226
1225
2022-02-01T20:40:50Z
TChin (WMF)
3738
Another Bot Revert
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
ls4spoqth400qyqv4v9jyduvn9y9yv7
1227
1226
2022-02-01T20:46:48Z
TChin (WMF)
3738
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">event-streams-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/event-streams-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">wikifeeds-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/wikifeeds-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">restbase-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/restbase-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">api-gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/api-gateway.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">example-api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px;">an example node api</p> <p class="card-text" style="font-size: 14px;">[https://github.com/wikimedia/mediawiki-services-example-node-api/blob/master/catalog-info.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">ores-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/ores-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">recommendation-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/recommendation-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">image-suggestion-api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px;">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/image-suggestion-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">link-recommendations-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/link-recommendations-api.yaml Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-rest-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-rest-api.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px;">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-ajax.yaml Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;"> <div class="card-body"> <p class="card-title" style="font-weight:600;">mediawiki-action-api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px;">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://gitlab.wikimedia.org/nikkin/backstage/-/blob/main/data/apis/mediawiki-action-api.yaml Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
8cmfi5kai30z93tcvs90jpjuterw4wh
1230
1227
2022-02-22T08:42:24Z
CatalogToWikiBot
4770
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
ls4spoqth400qyqv4v9jyduvn9y9yv7
1237
1230
2022-03-05T23:04:08Z
Ameisenigel
14
MyLanguage
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Special:MyLanguage/Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Special:MyLanguage/Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><!-- END API LIST -->
__NOTOC__
res0jk9qdk2m2474n0m6k7pfv2s52t5
1245
1237
2022-03-07T20:34:42Z
CatalogToWikiBot
4770
Bot: Automated text replacement (-<!-- BEGIN API LIST -->.*<!-- END API LIST --> +<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Event Streams Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-...
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<div class="container">
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Unified API to fetch and edit content from a consistent domain.</p>
<p class="card-text" style="font-size: 14px;">[[API reference|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get mobile-friendly content, featured article feeds, pageview data, and more.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikimedia_REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki Action API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Powerful content and wiki management API</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:Main page|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki REST API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Simplified read-write API for Wikimedia projects</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/API:REST_API|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Event Streams API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get the most recent changes to Wikimedia projects.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Event_Platform/EventStreams|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata Query Service
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data from Wikidata.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Wikidata_Query_Service/User_Manual#SPARQL_endpoint|Read the docs on mediawiki.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">ORES API
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Analyze edit and page quality.</p>
<p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Link recommendations
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Suggest links to add to an article.</p>
<p class="card-text" style="font-size: 14px;">[[wikitech:Add_Link|Read the docs on Wikitech]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data interface
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Get JSON representations of Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[[d:Special:MyLanguage/Wikidata:Data_access#Linked_Data_interface|Read the docs on wikidata.org]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata linked data fragments
{{Tag|stable}}
<p class="card-text" style="font-size: 14px;">Access data, metadata, and controls for Wikidata entities.</p>
<p class="card-text" style="font-size: 14px;">[https://query.wikidata.org/bigdata/ldf Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikimedia Commons query service
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get structured data for media files on Wikimedia Commons.</p>
<p class="card-text" style="font-size: 14px;">[[c:Special:MyLanguage/Commons:SPARQL_query_service|Read the docs on Wikimedia Commons]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Run jobs API
{{Tag|restricted}}
<p class="card-text" style="font-size: 14px;">Execute jobs from the job queue.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:RunJobs|Read the docs]]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">MediaWiki AJAX interface
{{Tag|deprecated}}
<p class="card-text" style="font-size: 14px;">Interact with MediaWiki using AJAX.</p>
<p class="card-text" style="font-size: 14px;">[[mw:Special:MyLanguage/Manual:$wgAjaxExportList|Read the docs]]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Mobile apps REST API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get page content formatted for mobile apps.</p>
<p class="card-text" style="font-size: 14px;">[https://mobileapps.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikifeeds API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get featured content from Wikipedia.</p>
<p class="card-text" style="font-size: 14px;">[https://wikifeeds.wmflabs.org/?doc#/ Read the docs]</p>
</div>
</div>
</div>
</div>
<div class="row" style="padding-top:20px;">
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Image recommendations API
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Suggest images to add to articles.</p>
<p class="card-text" style="font-size: 14px;">[https://image-suggestion-api.wmcloud.org/?doc Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Wikidata GraphQL API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Access Wikidata through a GraphQL interface.</p>
<p class="card-text" style="font-size: 14px;">[https://tptools.toolforge.org/wdql.html Read the docs]</p>
</div>
</div>
</div>
<div class="col-sm">
<div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px;">
<div class="card-body">
<p class="card-title" style="font-weight:600;">Recommendation API</p>
{{Tag|experimental}}
<p class="card-text" style="font-size: 14px;">Get personalized editing recommendations.</p>
<p class="card-text" style="font-size: 14px;">[[m:Special:MyLanguage/Recommendation_API|Read the docs on Meta-Wiki]]</p>
</div>
</div>
</div>
</div>
</div>
=== Content below is bot generated ===
<!-- Automatically updated portion of the page follows -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Event Streams Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Wikifeeds Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Wikifeeds Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Restbase Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Wikimedia_REST_API Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Api Gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://api.wikimedia.org/wiki/API_reference Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Example Api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">an example node api</p> <p class="card-text" style="font-size: 14px;">[ Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Ores Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Recommendation Api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://meta.wikimedia.org/wiki/Recommendation_API Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Image Suggestion Api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Core_Platform_Team/Initiatives/Image_Suggestion_API Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Link Recommendations Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://api.wikimedia.org/wiki/API_reference/Service/Link_recommendation Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Rest Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/API:REST_API/Reference Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Manual:Ajax Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Action Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/w/api.php?action=help&modules=main Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
7fn1lvox7168nlyymeavsceofo2nrx3
1248
1245
2022-03-09T17:15:09Z
APaskulin (WMF)
20
Remove manually created catalog in favor of bot-populated catalog. See https://gitlab.wikimedia.org/repos/api-platform/catalog-to-wiki catalog-to-wiki
wikitext
text/x-wiki
Browse all Wikimedia APIs.
<!-- Do not edit this page! The content on this page is updated automatically by CatalogToWikiBot. -->
<!-- BEGIN API LIST --><div class="container"><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Event Streams Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Streams of recent changes to Wikimedia projects</p> <p class="card-text" style="font-size: 14px;">[https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Wikifeeds Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Featured content from Wikipedia</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Wikifeeds Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Restbase Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Mobile-friendly content, featured article feeds, pageview data, and more. Project-specific APIs available at PROJECT_URL/api/rest_v1/. For example, visit https://en.wikipedia.org/api/rest_v1/ for the English Wikipedia REST API. </p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Wikimedia_REST_API Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Api Gateway</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">APIs routed through api.wikimedia.org</p> <p class="card-text" style="font-size: 14px;">[https://api.wikimedia.org/wiki/API_reference Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Example Api</p> {{Tag|production}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">an example node api</p> <p class="card-text" style="font-size: 14px;">[ Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Ores Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Article and edit quality scores</p> <p class="card-text" style="font-size: 14px;">[https://ores.wikimedia.org/ Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Recommendation Api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests editing tasks such as articles to be translated and sections to be added </p> <p class="card-text" style="font-size: 14px;">[https://meta.wikimedia.org/wiki/Recommendation_API Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Image Suggestion Api</p> {{Tag|experimental}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests images to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Core_Platform_Team/Initiatives/Image_Suggestion_API Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Link Recommendations Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Suggests links to add to an article</p> <p class="card-text" style="font-size: 14px;">[https://api.wikimedia.org/wiki/API_reference/Service/Link_recommendation Read the docs]</p> </div> </div> </div> </div><div class="row" style="padding-top:20px;"> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Rest Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">MediaWiki Core REST API</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/API:REST_API/Reference Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Ajax</p> {{Tag|deprecated}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">AJAX interface for MediaWiki</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/wiki/Manual:Ajax Read the docs]</p> </div> </div> </div> <div class="col-sm"> <div class="card" style="background: #f8f9fa; border: 1px solid #eaecf0; min-height:180px; height: 100%"> <div class="card-body"> <p class="card-title" style="font-weight:600;">Mediawiki Action Api</p> {{Tag|stable}} <p class="card-text" style="font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; ">Full-featured MediaWiki Core API</p> <p class="card-text" style="font-size: 14px;">[https://www.mediawiki.org/w/api.php?action=help&modules=main Read the docs]</p> </div> </div> </div> </div></div><!-- END API LIST -->
__NOTOC__
64xs3t41ppqqbqelpk2do0n29r3co5b
User talk:TheresNoTime
3
220
1194
2021-11-30T17:21:00Z
TheresNoTime
4404
Created blank page
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Talk:Community/Add your API
1
222
1202
2021-12-17T20:06:54Z
APaskulin (WMF)
20
APaskulin (WMF) moved page [[Talk:Community/Add your API]] to [[Talk:Community/Add an API]]
wikitext
text/x-wiki
#REDIRECT [[Talk:Community/Add an API]]
hc7attmlftz94oalnwardjebcxis5bd
User talk:CCicalese (WMF)
3
223
1204
2022-01-04T18:10:12Z
MediaWiki message delivery
130
/* How we will see unregistered users */ new section
wikitext
text/x-wiki
== How we will see unregistered users ==
<section begin=content/>
Hi!
You get this message because you are an admin on a Wikimedia wiki.
When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.
Instead of the IP we will show a masked identity. You as an admin '''will still be able to access the IP'''. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on [[m:IP Editing: Privacy Enhancement and Abuse Mitigation/Improving tools|better tools]] to help.
If you have not seen it before, you can [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|read more on Meta]]. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can [[m:Global message delivery/Targets/Tech ambassadors|subscribe]] to [[m:Tech/News|the weekly technical newsletter]].
We have [[m:IP Editing: Privacy Enhancement and Abuse Mitigation#IP Masking Implementation Approaches (FAQ)|two suggested ways]] this identity could work. '''We would appreciate your feedback''' on which way you think would work best for you and your wiki, now and in the future. You can [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|let us know on the talk page]]. You can write in your language. The suggestions were posted in October and we will decide after 17 January.
Thank you.
/[[m:User:Johan (WMF)|Johan (WMF)]]<section end=content/>
18:10, 4 January 2022 (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Target_lists/Admins2022(1)&oldid=22532492 -->
tu6pn02hfc2rhcchz5caq1cqw29o3lc
User talk:Abuse filter
3
224
1205
2022-01-04T18:10:12Z
MediaWiki message delivery
130
/* How we will see unregistered users */ new section
wikitext
text/x-wiki
== How we will see unregistered users ==
<section begin=content/>
Hi!
You get this message because you are an admin on a Wikimedia wiki.
When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.
Instead of the IP we will show a masked identity. You as an admin '''will still be able to access the IP'''. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on [[m:IP Editing: Privacy Enhancement and Abuse Mitigation/Improving tools|better tools]] to help.
If you have not seen it before, you can [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|read more on Meta]]. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can [[m:Global message delivery/Targets/Tech ambassadors|subscribe]] to [[m:Tech/News|the weekly technical newsletter]].
We have [[m:IP Editing: Privacy Enhancement and Abuse Mitigation#IP Masking Implementation Approaches (FAQ)|two suggested ways]] this identity could work. '''We would appreciate your feedback''' on which way you think would work best for you and your wiki, now and in the future. You can [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|let us know on the talk page]]. You can write in your language. The suggestions were posted in October and we will decide after 17 January.
Thank you.
/[[m:User:Johan (WMF)|Johan (WMF)]]<section end=content/>
18:10, 4 January 2022 (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Target_lists/Admins2022(1)&oldid=22532492 -->
tu6pn02hfc2rhcchz5caq1cqw29o3lc
User talk:DKinzler (WMF)
3
225
1206
2022-01-04T18:10:12Z
MediaWiki message delivery
130
/* How we will see unregistered users */ new section
wikitext
text/x-wiki
== How we will see unregistered users ==
<section begin=content/>
Hi!
You get this message because you are an admin on a Wikimedia wiki.
When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.
Instead of the IP we will show a masked identity. You as an admin '''will still be able to access the IP'''. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on [[m:IP Editing: Privacy Enhancement and Abuse Mitigation/Improving tools|better tools]] to help.
If you have not seen it before, you can [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|read more on Meta]]. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can [[m:Global message delivery/Targets/Tech ambassadors|subscribe]] to [[m:Tech/News|the weekly technical newsletter]].
We have [[m:IP Editing: Privacy Enhancement and Abuse Mitigation#IP Masking Implementation Approaches (FAQ)|two suggested ways]] this identity could work. '''We would appreciate your feedback''' on which way you think would work best for you and your wiki, now and in the future. You can [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|let us know on the talk page]]. You can write in your language. The suggestions were posted in October and we will decide after 17 January.
Thank you.
/[[m:User:Johan (WMF)|Johan (WMF)]]<section end=content/>
18:10, 4 January 2022 (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Target_lists/Admins2022(1)&oldid=22532492 -->
tu6pn02hfc2rhcchz5caq1cqw29o3lc
User talk:APaskulin (WMF)
3
226
1207
2022-01-04T18:10:13Z
MediaWiki message delivery
130
/* How we will see unregistered users */ new section
wikitext
text/x-wiki
== How we will see unregistered users ==
<section begin=content/>
Hi!
You get this message because you are an admin on a Wikimedia wiki.
When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.
Instead of the IP we will show a masked identity. You as an admin '''will still be able to access the IP'''. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on [[m:IP Editing: Privacy Enhancement and Abuse Mitigation/Improving tools|better tools]] to help.
If you have not seen it before, you can [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|read more on Meta]]. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can [[m:Global message delivery/Targets/Tech ambassadors|subscribe]] to [[m:Tech/News|the weekly technical newsletter]].
We have [[m:IP Editing: Privacy Enhancement and Abuse Mitigation#IP Masking Implementation Approaches (FAQ)|two suggested ways]] this identity could work. '''We would appreciate your feedback''' on which way you think would work best for you and your wiki, now and in the future. You can [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|let us know on the talk page]]. You can write in your language. The suggestions were posted in October and we will decide after 17 January.
Thank you.
/[[m:User:Johan (WMF)|Johan (WMF)]]<section end=content/>
18:10, 4 January 2022 (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Target_lists/Admins2022(1)&oldid=22532492 -->
tu6pn02hfc2rhcchz5caq1cqw29o3lc
User talk:TheresNoTime/Sandbox
3
227
1208
2022-01-05T21:53:55Z
TheresNoTime
4404
/
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
MediaWiki talk:Gadget-tabbedwindow
9
228
1232
2022-02-22T22:31:34Z
EthanGaming7640
4080
/* Edit request */ new section
wikitext
text/x-wiki
== Edit request ==
Please change Javascript to JavaScript. [[User:EthanGaming7640|EthanGaming7640]] ([[User talk:EthanGaming7640|talk]]) 22:31, 22 February 2022 (UTC)
dcohjh676g4054k9qktdwoq1mrrga11
User talk:Mapotakes API
3
229
1233
2022-02-26T23:25:37Z
Mapotakes API
4859
Created page with "S"
wikitext
text/x-wiki
S
0b7j6n7rv6s0gu5yrfbi56h07k2z1vm
1234
1233
2022-02-27T00:16:05Z
Mapotakes API
4859
wikitext
text/x-wiki
Sgh
13uinpo8eglerkxpcbtb5ou4ygn50ct
User:Stang/common.js
2
230
1243
2022-03-07T19:14:29Z
Stang
4123
+RC, +Random
javascript
text/javascript
$.when(mw.loader.using(['mediawiki.util']), $.ready).then(function () {
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:RecentChanges'), 'Recent changes', 'n-recentchanges');
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:Random'), 'Random page', 'n-randompage');
});
fvxefov27i0wga7b385d0tsf8g0kdn7
1244
1243
2022-03-07T19:35:41Z
Stang
4123
accesskey
javascript
text/javascript
$.when(mw.loader.using(['mediawiki.util']), $.ready).then(function () {
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:RecentChanges'), 'Recent changes', 'n-recentchanges', 'A list of recent changes in the wiki', 'r', null);
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:Random'), 'Random page', 'n-randompage', 'Load a random page', 'x', null);
});
5mqdtdujbo7boexv3kbahm3j46b54vc
User talk:Xaosflux
3
231
1255
2022-03-28T20:04:53Z
Xaosflux
2467
redir
wikitext
text/x-wiki
#REDIRECT [[meta:User talk:Xaosflux]]
2b2b50q82h6d8dvqwcdy1ztas8lm1an