Jump to content

User:APaskulin (WMF)/Sandbox

From mediawiki.org

Template:Test123

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/06/17

# Get today's featured content on Persian Wikipedia
https://fa.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

# Get today's featured content on Bengali Wikipedia
https://bn.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

# Get today's featured content on Japanese Wikipedia
https://ja.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

# Get today's featured content on German Wikipedia
https://de.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

Feed endpoints language support[edit]

https://wikimedia.org/api/rest_v1/feed/availability

Language support for daily featured article[edit]

Language Code URL
Bulgarian bg https://bg.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Bengali bn https://bn.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Bosnian bs https://bs.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Czech cs https://cs.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
German* de https://de.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Greek el https://el.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
English en https://en.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Persian fa https://fa.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Hebrew he https://he.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Hungarian hu https://hu.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Japanese ja https://ja.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Latin la https://la.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Norwegian (Bokmål) no https://no.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Scots sco https://sco.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Sindhi sd https://sd.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Urdu ur https://ur.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Vietnamese vi https://vi.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

Language support for news feed[edit]

Language Code URL
Bosnian bs https://bs.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Danish da https://da.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
German de https://de.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Greek el https://el.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
English en https://en.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Spanish es https://es.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Finnish fi https://fi.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
French fr https://fr.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Hebrew he https://he.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Korean ko https://ko.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Norwegian (Bokmål) no https://no.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Polish pl https://pl.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Portuguese pt https://pt.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Russian ru https://ru.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Scots sco https://sco.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Swedish sv https://sv.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Vietnamese vi https://vi.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

Language support for on this day content[edit]

Language Code URL
Arabic ar https://ar.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Bosnian bs https://bs.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
German de https://de.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
English en https://en.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Spanish es https://es.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
French fr https://fr.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Portuguese pt https://pt.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Russian ru https://ru.wikipedia.org/api/rest_v1/feed/featured/2024/06/17
Swedish sv https://sv.wikipedia.org/api/rest_v1/feed/featured/2024/06/17

Label testing[edit]

Abc Label

Practice collective reasoning

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]

PAWS logo

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]

PAWS logo

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.