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
[edit]My 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/12/22
# Get today's featured content on Persian Wikipedia
https://fa.wikipedia.org/api/rest_v1/feed/featured/2024/12/22
# Get today's featured content on Bengali Wikipedia
https://bn.wikipedia.org/api/rest_v1/feed/featured/2024/12/22
# Get today's featured content on Japanese Wikipedia
https://ja.wikipedia.org/api/rest_v1/feed/featured/2024/12/22
# Get today's featured content on German Wikipedia
https://de.wikipedia.org/api/rest_v1/feed/featured/2024/12/22
Feed endpoints language support
[edit]https://wikimedia.org/api/rest_v1/feed/availability
Language support for daily featured article
[edit]Language support for news feed
[edit]Language support for on this day content
[edit]Label testing
[edit]Heuristic: Component independence
Syntaxhighlight 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
[edit]Excerpt
[edit]Interconnecting system components to the least extent practicable
Testing my language section links
[edit]Special:MyLanguage/Manual:Messages_API#Using_messages_in_PHP
Image test: align opposite title
[edit]Lorem 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
[edit]Lorem 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.