Odpre glavni meni

Uporabnik:Vitosmo/PodTelegrafenštango

BiographyUredi

Artists and architectsUredi

Authors, playwrights and poetsUredi

Composers and musiciansUredi

Explorers and travelersUredi

Film directors, screenwriters and actorsUredi

Inventors, scientists and mathematiciansUredi

Philosophers and social scientistsUredi

Political leadersUredi

Religious figures and theologiansUredi

  1. [5]
  2. Thomas
  3. of Hippo
  4. | Buddha
  5. [6]
  6. | Jesus
  7. Martin
  8. | Moses
  9. | Muhammad
  10. [7]

PhilosophyUredi

ReligionUredi

Social sciencesUredi

Language and literatureUredi

MeasurementsUredi

ScienceUredi

  1. | Science
  2. | Nature

AstronomyUredi

BiologyUredi

Biological processesUredi

  1. | Metabolism
    1. [119]
    2. [120]
    3. [121]
  2. | Evolution
  3. | Reproduction
    1. [122]
    2. [123]

OrganismsUredi

AnatomyUredi

Health and medicineUredi

ChemistryUredi

Earth scienceUredi

PhysicsUredi

MathematicsUredi

Food and agricultureUredi

TechnologyUredi

Arts and recreationUredi

HistoryUredi

GeographyUredi

CountriesUredi

Eventually, there should be articles on most or all of the countries listed at [:w:en:List_of_sovereign_states|List of countries]. However, for the smaller Wikipedias, some of the more high-priority countries to have articles on are:

  1. [366]
  2. [367]
  3. [368]
  4. [369]
  5. [370]
  6. [371]
  7. | Brazil
  8. [372]
  9. | China
  10. Republic of the Congo
  11. [373]
  12. [374]
  13. [375]
  14. | France
  15. | Germany
  16. | India
  17. [376]
  18. | Iran
  19. [377]
  20. [378]
  21. | Italy
  22. | Japan
  23. [379]
  24. [380]
  25. Zealand
  26. [381]
  27. [382]
  28. [383]
  29. [384]
  30. | Russia
  31. Arabia
  32. | Singapore
  33. Africa
  34. Korea
  35. | Spain
  36. [385]
  37. [386]
  38. [387]
  39. [388]
  40. [389]
  41. [390]
  42. Kingdom | United Kingdom
  43. States | United States
  44. City
  45. [391]
  46. [392]

CitiesUredi

Bodies of waterUredi

Mountains and desertsUredi

  1. [422]
  2. [423]
  3. | Himalayas
    1. Everest
  4. Kilimanjaro
  5. Mountains
  6. | Sahara

[Category:Proposals] [Category:Multilingualism]

Accessing wikidata programmaticallyUredi

see wikidata:Wikidata:Data_access/''wikiData:Data_Access''

The call ''https://www.wikidata.org/wiki/Special:EntityData/'' + Item ID + ".json" returns a json-deserialized structure of the item querried .

Example: https://www.wikidata.org/wiki/Special:EntityData/Q4724.json returns the instance of Q4724 (i.e. Le Corbusier) in the json form; the structure can then be further parsed, for instance to obtain the URL of the page on the SI wikipedia site.

how to parse the json structureUredi

from json deserialize from wikipedia api with c# (stackoverflow):

var response = client.DownloadString("https://www.wikidata.org/wiki/Special:EntityData/Q4724.json");

var responseJson = JsonConvert.DeserializeObject<RootObject>(response);

var firstKey = responseJson.query.pages.First().Key;

var extract = responseJson.query.pages[firstKey].extract;
/* etc */

code examples LuaUredi

sample code on lua-users.org

snippet - via htmlUredi

https://sl.wikipedia.org/w/index.php?title=<page title> &action=info

Skriptna napaka: določiti morate funkcijo za klic.

function p.main(frame)
								
	-- Use Module:Arguments to access module arguments.
	local getArgs = require('Module:Arguments').getArgs
	-- Get the arguments sent via the template.
	local args = getArgs(frame)
	-- Get the article name.
	local articleName = args["name"]
	-- Check if the article name was entered.
	if (articleName == nil) then
		-- No article name was entered; Call getErrorMsg() to create an error message and return it.
		return getErrorMsg("an article title is required")
	end

	-- Get the optional value.
	local parenthesesPartOfTitle = args["not_disambiguated"]

	-- Get the optional value.
	local formattedLinkOnly = args["link_only"]

	-- Call _main() to perform the actual process.
	return _main(frame, articleName, parenthesesPartOfTitle, formattedLinkOnly)

end

function p.main(frame)

  

 

Hello World in LuaUredi

{{#invoke:VitoSmoCode/hello}} : Skriptna napaka: določiti morate funkcijo za klic.

Q: Kje je "VitoSmoCode"?

A: Modul:VitoSmoCode/modul VitoSmoCode

GitHub usefullsUredi

Wikipedia-SQL-dump-parser