(Translated by https://www.hiragana.jp/)
Module:GetShortDescription - Wikipedia Jump to content

Module:GetShortDescription

Page template-protected
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Fred Gandt (talk | contribs) at 04:21, 20 January 2023 (trying to do Lua after some years; my brian hertz and this just suddenly stopped working). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

  1. ^ a b c d e Cite error: The named reference autogenerated1 was invoked but never defined (see the help page).
  2. ^ a b c d e Chapman, Roger (September 6, 2011). "Top 40 Website Programming Languages". rogchap.com. Archived from the original on September 22, 2013. Retrieved September 6, 2011.
  3. ^ a b c d e f g h i j "Wikipedia is 20, and its reputation has never been higher". The Economist. January 9, 2021. Archived from the original on January 7, 2021. Retrieved February 25, 2021.
  4. ^ a b c d e Anderson, Chris (May 8, 2006). "Jimmy Wales – The 2006 Time 100". Time. Archived from the original on October 12, 2022. Retrieved November 11, 2017.
  5. ^ "Most Visited Websites in Worldwide 2024". Semrush. Retrieved 19 June 2024.
  6. ^ "Most viewed website". Similarweb. Retrieved 19 June 2024.
  7. ^ a b c d e Seitz-Gruwell, Lisa (October 23, 2023). "7 reasons you should donate to Wikipedia". Wikimedia Foundation. Archived from the original on December 27, 2023. Retrieved December 27, 2023.
  8. ^ "wikipedia.org". similarweb.com. Archived from the original on June 5, 2020. Retrieved November 8, 2023.
  9. ^ Noor, Poppy (29 July 2018). "Wikipedia biases". The Guardian. Retrieved 31 May 2024.
  10. ^ Hern, Alex (15 September 2015). "Wikipedia's view of the world is written by the west". The Guardian. Retrieved 31 May 2024.
  11. ^ a b c d e "Happy Birthday, Wikipedia". The Economist. January 9, 2021. Archived from the original on January 1, 2023. Retrieved January 22, 2023.
  12. ^ a b c d e Cooke, Richard (February 17, 2020). "Wikipedia Is the Last Best Place on the Internet". Wired. Archived from the original on December 17, 2022. Retrieved October 13, 2020.
  13. ^ a b c d e Hughes, Taylor; Smith, Jeff; Leavitt, Alex (April 3, 2018). "Helping People Better Assess the Stories They See in News Feed with the Context Button". Meta. Archived from the original on January 11, 2023. Retrieved January 23, 2023.
  14. ^ a b c d e Cite error: The named reference auto was invoked but never defined (see the help page).
  15. ^ Treisman, Rachel (April 1, 2022). "Russia threatens to fine Wikipedia if it doesn't remove some details about the war". NPR. Archived from the original on December 2, 2022. Retrieved January 22, 2023.
  16. ^ a b c d e Cite error: The named reference :1 was invoked but never defined (see the help page).
  17. ^ Kelly, Samantha Murphy (May 20, 2022). "Meet the Wikipedia editor who published the Buffalo shooting entry minutes after it started". CNN. Archived from the original on October 12, 2022. Retrieved May 24, 2022.
  18. ^ McNamee, Kai (September 15, 2022). "Fastest 'was' in the West: Inside Wikipedia's race to cover the queen's death". NPR. Archived from the original on January 15, 2023. Retrieved January 22, 2023.
  19. ^ "Most Visited Websites in Worldwide 2024". Semrush. Retrieved 19 June 2024.
  20. ^ "Most viewed website". Similarweb. Retrieved 19 June 2024.
  21. ^ "wikipedia.org". similarweb.com. Archived from the original on June 5, 2020. Retrieved November 8, 2023.
  22. ^ Noor, Poppy (29 July 2018). "Wikipedia biases". The Guardian. Retrieved 31 May 2024.
  23. ^ Hern, Alex (15 September 2015). "Wikipedia's view of the world is written by the west". The Guardian. Retrieved 31 May 2024.
  24. ^ Treisman, Rachel (April 1, 2022). "Russia threatens to fine Wikipedia if it doesn't remove some details about the war". NPR. Archived from the original on December 2, 2022. Retrieved January 22, 2023.
  25. ^ Kelly, Samantha Murphy (May 20, 2022). "Meet the Wikipedia editor who published the Buffalo shooting entry minutes after it started". CNN. Archived from the original on October 12, 2022. Retrieved May 24, 2022.
  26. ^ McNamee, Kai (September 15, 2022). "Fastest 'was' in the West: Inside Wikipedia's race to cover the queen's death". NPR. Archived from the original on January 15, 2023. Retrieved January 22, 2023.
  27. ^ "Most Visited Websites in Worldwide 2024". Semrush. Retrieved 19 June 2024.
  28. ^ "Most viewed website". Similarweb. Retrieved 19 June 2024.
  29. ^ "wikipedia.org". similarweb.com. Archived from the original on June 5, 2020. Retrieved November 8, 2023.
  30. ^ Noor, Poppy (29 July 2018). "Wikipedia biases". The Guardian. Retrieved 31 May 2024.
  31. ^ Hern, Alex (15 September 2015). "Wikipedia's view of the world is written by the west". The Guardian. Retrieved 31 May 2024.
  32. ^ Treisman, Rachel (April 1, 2022). "Russia threatens to fine Wikipedia if it doesn't remove some details about the war". NPR. Archived from the original on December 2, 2022. Retrieved January 22, 2023.
  33. ^ Kelly, Samantha Murphy (May 20, 2022). "Meet the Wikipedia editor who published the Buffalo shooting entry minutes after it started". CNN. Archived from the original on October 12, 2022. Retrieved May 24, 2022.
  34. ^ McNamee, Kai (September 15, 2022). "Fastest 'was' in the West: Inside Wikipedia's race to cover the queen's death". NPR. Archived from the original on January 15, 2023. Retrieved January 22, 2023.
  35. ^ "Most Visited Websites in Worldwide 2024". Semrush. Retrieved 19 June 2024.
  36. ^ "Most viewed website". Similarweb. Retrieved 19 June 2024.
  37. ^ "wikipedia.org". similarweb.com. Archived from the original on June 5, 2020. Retrieved November 8, 2023.
  38. ^ Noor, Poppy (29 July 2018). "Wikipedia biases". The Guardian. Retrieved 31 May 2024.
  39. ^ Hern, Alex (15 September 2015). "Wikipedia's view of the world is written by the west". The Guardian. Retrieved 31 May 2024.
  40. ^ Treisman, Rachel (April 1, 2022). "Russia threatens to fine Wikipedia if it doesn't remove some details about the war". NPR. Archived from the original on December 2, 2022. Retrieved January 22, 2023.
  41. ^ Kelly, Samantha Murphy (May 20, 2022). "Meet the Wikipedia editor who published the Buffalo shooting entry minutes after it started". CNN. Archived from the original on October 12, 2022. Retrieved May 24, 2022.
  42. ^ McNamee, Kai (September 15, 2022). "Fastest 'was' in the West: Inside Wikipedia's race to cover the queen's death". NPR. Archived from the original on January 15, 2023. Retrieved January 22, 2023.
  43. ^ "Most Visited Websites in Worldwide 2024". Semrush. Retrieved 19 June 2024.
  44. ^ "Most viewed website". Similarweb. Retrieved 19 June 2024.
  45. ^ "wikipedia.org". similarweb.com. Archived from the original on June 5, 2020. Retrieved November 8, 2023.
  46. ^ Noor, Poppy (29 July 2018). "Wikipedia biases". The Guardian. Retrieved 31 May 2024.
  47. ^ Hern, Alex (15 September 2015). "Wikipedia's view of the world is written by the west". The Guardian. Retrieved 31 May 2024.
  48. ^ Treisman, Rachel (April 1, 2022). "Russia threatens to fine Wikipedia if it doesn't remove some details about the war". NPR. Archived from the original on December 2, 2022. Retrieved January 22, 2023.
  49. ^ Kelly, Samantha Murphy (May 20, 2022). "Meet the Wikipedia editor who published the Buffalo shooting entry minutes after it started". CNN. Archived from the original on October 12, 2022. Retrieved May 24, 2022.
  50. ^ McNamee, Kai (September 15, 2022). "Fastest 'was' in the West: Inside Wikipedia's race to cover the queen's death". NPR. Archived from the original on January 15, 2023. Retrieved January 22, 2023.


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).
Cite error: There are <ref group=W> tags on this page, but the references will not show without a {{reflist|group=W}} template (see the help page).

local p = {}

local getArgs = require( 'Module:Arguments' ).getArgs

local getLead = require( 'Module:Transcluder' ).get

local function _main( args )
	local name = args.name
	if name then
		local lead = getLead( name .. "#" )
		mw.log( lead )
		if lead then
			local current_frame = mw.getCurrentFrame()
			--check it
			local child_frame = current_frame:newChild{ title = name }--why are you not working?

--<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-0">Lua error in Module:Infobox_television_episode at line 672: bad argument #1 to 'find' (string expected, got nil).</span></strong>
--because (I think) the infobox Module doesn't know the article it's supposedly on
--I need to convince it that it's being processed in the args.name article

			--check it
			local preprocessed_lead = child_frame:preprocess( lead )
			--check it
			mw.log( "preprocessed_lead" )
			mw.log( preprocessed_lead )
			--if no short desc then
			local wikidata_id = mw.wikibase.getEntityIdForTitle( name )
			--check it
			mw.log( "wikidata_id" )
			mw.log( wikidata_id )
			local wikidata_description =  mw.wikibase.getDescription( wikidata_id )
			--check it
			mw.log( "wikidata_description" )
			mw.log( wikidata_description )
			
		end
	end
	return "to sender"
end

function p.main( frame )
	local args =  getArgs( frame.args )
	return _main( args )
end

return p

--p.main{args={name="Author, Author (Star Trek: Voyager)"}}

--p.main{args={name="The Partisan"}}