User:APaskulin (WMF)/Sandbox
Last updated: 2022-12-16 by APaskulin (WMF)
Last updated: 2022-12-16 by APaskulin (WMF) | Discuss
Example of double replacement on a string
editMy DOG CAT
Example of a wikifeeds API call with today's date
edit
# Get today's featured content on English Wikipedia
https://en.wikipedia.org/api/rest_v1/feed/featured/2024/11/22
# Get today's featured content on Persian Wikipedia
https://fa.wikipedia.org/api/rest_v1/feed/featured/2024/11/22
# Get today's featured content on Bengali Wikipedia
https://bn.wikipedia.org/api/rest_v1/feed/featured/2024/11/22
# Get today's featured content on Japanese Wikipedia
https://ja.wikipedia.org/api/rest_v1/feed/featured/2024/11/22
# Get today's featured content on German Wikipedia
https://de.wikipedia.org/api/rest_v1/feed/featured/2024/11/22
Feed endpoints language support
edithttps://wikimedia.org/api/rest_v1/feed/availability
Language support for daily featured article
editLanguage support for news feed
editLanguage support for on this day content
editLabel testing
editSyntaxhighlight test
edit{
"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"
}
}
Create page experiment
editExcerpt
editInterconnecting system components to the least extent practicable
Testing my language section links
editSpecial:MyLanguage/Manual:Messages_API#Using_messages_in_PHP
Image test: align opposite title
editLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Image test: align center
editLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.