Wikipedia Extension Documentation

Seamless Wikipedia Integration for Project Development

Overview

The Wikipedia Extension allows Scratch users to easily retrieve information from Wikipedia directly within their projects.

Blocks

Wikipedia Summary

Retrieves a summary of a Wikipedia article for a given topic.

Wikipedia summary of [TOPIC]

Returns a brief summary of the Wikipedia article.

Wikipedia Page URL

Gets the direct URL for a Wikipedia article.

Wikipedia page URL for [TOPIC]

Returns the full Wikipedia URL for the specified topic.

Check Article Existence

Checks if a Wikipedia article exists for a given topic.

Does Wikipedia have an article for [TOPIC]?

Returns true or false based on article availability.

Wikipedia Article Title

Retrieves the official title of a Wikipedia article.

Wikipedia title for [TOPIC]

Returns the exact title of the Wikipedia article.

Example Usage


// Get a summary about cats
set [catInfo] to (Wikipedia summary of [cat])

// Check if an article exists
if (Wikipedia has an article for [quantum physics]) then
    broadcast [article found v]
end
                

Limitations

  • Requires an active internet connection
  • Currently supports English Wikipedia
  • Summary length may vary