Wikipedia
suwiki
https://su.wikipedia.org/wiki/Tepas
MediaWiki 1.47.0-wmf.15
first-letter
Média
Husus
Obrolan
Pamaké
Obrolan pamaké
Wikipedia
Obrolan Wikipedia
Gambar
Obrolan gambar
MédiaWiki
Obrolan MédiaWiki
Citakan
Obrolan citakan
Pitulung
Obrolan pitulung
Kategori
Obrolan kategori
Portal
Obrolan portal
TimedText
TimedText talk
Modul
Pembicaraan Modul
Acara
Pembicaraan Acara
Muse
0
34058
712097
654172
2026-08-16T19:31:27Z
Niegodzisie
21631
/* Diskografi */
712097
wikitext
text/x-wiki
{{Infobox musical artist
|name = Muse
|image = Muse melbourne28012010.jpg
|caption = Penampilan Muse pada UK Psycho Tour, Maret 2015. Konsér Muse di [[Melbourne]], [[Australia]] (ti kénca ka katuhu Dominic Howard, Matthew Bellamy, Chris Wostenholme)
|image_size = 250
|landscape = yes
|background = group_or_band
|origin = Teignmouth, [[Devon]], [[Inggris]]
|genre = {{flatlist|
* [[Rock alternatif]]
* ''[[space rock]]''
* [[rock progresif]]
* [[rock simfoni]]
}}
|years_active = 1994–ayeuna|
|label = {{flatlist|
* [[Warner Bros. Records|Warner Bros.]]
* [[Helium 3 (perusahaan rekaman)|Helium 3]]
* [[Taste Media|Taste]]
* [[Mushroom Records|Mushroom]]
* [[Sawmills Studio|Dangerous]]
}}
|website = {{URL|http://www.muse.mu/}}
|current_members = [[Matthew Bellamy]]<br />[[Chris Wolstenholme]]<br />[[Dominic Howard]]
}}
'''Muse''' nyaéta grup musik rock alternatip asal [[Inggris]]<ref name="ferlanda">[http://ferlanda.org/2009/10/10/profil-band-muse/ Profil band Muse] {{Webarchive|url=https://web.archive.org/web/20111029224611/http://ferlanda.org/2009/10/10/profil-band-muse/ |date=2011-10-29 }}(diaksés tanggal 25 Oktober 2011)</ref>. Ieu grup musik dibentuk di Devon taun [[1994]] ku [[Matthew Bellamy]] (vokalis, gitaris, pianis), [[Dominic Howard]] (drummer), jeung [[Chris Wolstenholme]] (bassis)<ref name="ferlanda" />. Muse miboga gaya musik anu nyampurkeun ''genre'' musik ''rock, rock progesif, musik klasik, jeung elektronika''<ref name="ferlanda" />. Muse ogé kasohor ku aksi panggungna anu bdéa ti grup musik séjénna anu miboga ciri aksi anu pinuh énergi jeung tata lampu anu alus<ref name="ferlanda" />.
Suksés anu diraih nalika awal rilis nimbulkeun wacana di kalangan industri musik anu nyebutkeun yén Muse téh sarua jiga [[Radiohead (grup musik)|Radiohead]]<ref name="kapanlagi">[http://selebriti.kapanlagi.com/hollywood/m/muse/ Biografi Muse-Kapanlagi.com](diaksés tanggal 25 Oktober 2011)</ref>. Tapi perusahaan [[Amerika]], ''Maverick Records'' ngontrak Muse taun ([[1998]]), sanggeus sababaraha kali minton di [[Amerika Serikat]]<ref name="kapanlagi" />.
==Kabentukna Muse (1992-1997)==
Taun [[1990]]-an para personil boga grup musik sorangan-sorangan di sakolana<ref name="ferlanda" />. Kabentukna Muse dimaulai nalika Matthew Bellamy (14 taun) lulus audisi pikeun asup ka grup musikna Dominic Howard, disusul ku Chris Wostenholme anu ngagantikeun bassis grup musikna Dominic<ref name="ferlanda" />. Saacan panceg dingaranan Muse, ieu grup musik pernah sababaraha kali ganti ngaran di antarana: ''Gothic Plague, Carnage Mayhem, Fixed Penalty, jeung Rocket Baby Dolls''. Urutan kronologis ngeunaan gunta-gantina ngaran ieu grup musik teu pati jelas, sabab méré inpormasi anu henteu konsistén dina unggal wawancarana<ref name="ferlanda" />. Dina taun [[1994]], nalika masih maké ngaran ''Rocket Baby Dolls'', Matthew spk meunangkeun kompetisi ''Battle of The Bands'' lokal, terus ngaganti ngaran grup musikna jadi Muse<ref name="ferlanda" />.
== Anggota Band ==
* [[Matthew Bellamy]] – vokalis, gitaris, ''keyboard'', piano
* [[Dominic Howard]] – drum, perkusi
* [[Chris Wolstenholme]] – bass, ''backing vocal''
== Diskografi ==
* ''Showbiz'' (1999)
* ''Origin of Symmetry'' (2001)
* ''Absolution'' (2003)
* ''Black Holes and Revelations'' (2006)
* ''The Resistance'' (2009)
* ''The 2nd Law'' (2012)
* ''Drones'' (2015)
* ''Simulation Theory'' (2018)
* ''Will of the People'' (2022)
* ''The Wow! Signal'' (2026)
==Référénsi==
{{reflist}}
{{pondok}}
[[Kategori:Grup musik]]
[[Kategori:Grup musik ti Inggris]]
[[Kategori:Grup musik rock]]
9gxlty7ejekswbu2blyiurawbzbicyo
Wikipedia:Lua
4
41001
712098
438760
2026-08-16T21:00:14Z
Nimmzo
37272
/* Wikitext */ +[[Wikipedia:Pitulung]]
712098
wikitext
text/x-wiki
{{tarjamahkeun|Inggris}}
{{WikiProject Lua/header}}
{{Information page|WP:Lua}}
{{Namespaces}}
[[Lua (programming language)|Lua]] is a programming language that is now available, via the [[mw:Extension:Scribunto|Scribunto]] MediaWiki extension, on the English Wikipedia. Lua code can now be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of the Scribunto MediaWiki extension.
The Lua [[source code]] is stored in pages called modules (e.g., [[Module:Bananas]]). These individual modules are then invoked (by code <code><nowiki>{{#invoke:}}</nowiki></code>) on template pages (e.g., [[Module:Bananas/doc]] uses the code <code><nowiki>{{#invoke:Bananas|hello}}</nowiki></code> to print the text "Hello, world!").
== Running a module ==
Modules are run on normal wiki pages using the #invoke parser function. The syntax of #invoke is similar to template syntax, but with some differences. The most important difference is that you need to specify a ''function name''. A function is a set of instructions that takes input values, processes them, and returns an output value.<ref>You can also have multiple output values, but functions that do this are not normally meant to be accessed from wiki pages.</ref> This is much like what a template does: you give it arguments, it processes them, and you get a result. However, you can define many functions in one Lua module, whereas you can only define one template on one page.
Furthermore, you can't just run a Lua module directly - you can only run one of the module's functions. The module is just a container for the functions, and doesn't do anything by itself. So there are two reasons that we need to input a function name: we can't run a module by itself, and without specifying a function name, Lua will not know which function it is we want to run.
The simplest way to run a module from a wiki page is like this:
{{#invoke:''module name''|''function name''}}
For example, we can run [[Module:Bananas]] in this way, which has one function named "hello".
* <code><nowiki>{{#invoke:Bananas|hello}}</nowiki></code> → {{#invoke:Bananas|hello}}
=== Using arguments ===
Arguments are passed to modules in the same way that they are passed to templates. Note, however, that the text after the first pipe character is always the function name; the first positional argument is the text after the ''second'' pipe.
{{#invoke:''module name''|''function name''|''first positional argument''|''second positional argument''|''named argument'' = ''value''}}
For example, in [[Module:BananasArgs]], the "hello" function greets different people depending on the first positional argument. It works like this:
* <code><nowiki>{{#invoke:BananasArgs|hello|Kate}}</nowiki></code> → {{#invoke:BananasArgs|hello|Kate}}
* <code><nowiki>{{#invoke:BananasArgs|hello|Fred}}</nowiki></code> → {{#invoke:BananasArgs|hello|Fred}}
BananasArgs also has a function named "count_fruit" which uses the named arguments <code>bananas</code> and <code>apples</code> to count the number of bananas and apples we have. It can be run like this:
* <code><nowiki>{{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}</nowiki></code> → {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
* <code><nowiki>{{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}</nowiki></code> → {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
Most modules will have a documentation page explaining what arguments can be used and what their effects will be.
== Example modules ==
* [[Module:Bananas]]: The simplest possible script, providing a single function with no arguments.
* [[Module:BananasArgs]]: Demonstrates how to access and use parameters.
== Request a script ==
Visit '''[[Wikipedia:Lua requests]]''' to request help in writing a Lua script to perform a specific task on Wikipedia or another Wikimedia Foundation project.
== History ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|Sordid history]]. {{tl|qif}}, [[mw:Help:Extension:ParserFunctions|ParserFunctions]], [[mw:Extension:Lua|Lua extension]], wiki scripting language debated (JavaScript v. Lua), [[mw:Extension:WikiScripts]], Tim writes [[mw:Extension:Scribunto|Scribunto]] with initial support for Lua.
Discussed for years, Lua was installed in 2012 for testing on [[test2wiki:|test2.wikipedia.org]], with open invitation to all editors to experiment with developing Lua modules. Lua was installed on the English Wikipedia in February 2013, after testing on mediawiki.org and Wikimedia test wikis.
== About Lua ==
:''See also [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|Brad Jorsch's short presentation for a basic example of how to convert a wikitext template into a Lua module.]]''
Lua is a [[scripting language]] which can be used to analyze data, calculate expressions, and format results using functions or [[object-oriented programming]]. Although some Lua scripts can be kept simple, for easy understanding, Lua allows complex structures including tables, dynamic functions, and [[associative array]]s where index [[subscript]]s can be words as well as index numbers. Lua also supports [[recursion]] of re-nested functions, so care should be taken to avoid excessive complexity where other users would not understand how to maintain a Lua module. The following is an example of Lua [[source code]] for a [[hello world]] function contained in [[Module:HelloWorld]]:
<syntaxhighlight lang="lua">
-- All Lua modules on Wikipedia must begin by defining a variable that will hold their
-- externally accessible functions. They can have any name and may also hold data.
my_object = {}
-- Add a function to the variable. These are callable in Wikipedia via the #invoke command.
-- "frame" will contain the data that Wikipedia sends this function when it is called.
my_object.hello = function( frame )
-- Declare a local variable and assign data to it.
local str = "Hello World!"
-- Quit this function and send the information in "str" back to Wikipedia.
-- The "print" function is not allowed, so all output is accomplished via
-- returning strings in this fashion.
return str
-- End the function.
end
-- All modules end by returning the variable containing its functions to Wikipedia.
return my_object
-- We can now use this module by calling {{#invoke: HelloWorld | hello }}.
-- The #invoke command begins with the module's name, in this case "HelloWorld",
-- then takes the name of one of its functions as an argument, in this case "hello".
</syntaxhighlight>
A sample of Lua is highlighted by tag "<source lang="lua">...</source>" placed around the Lua source code. To view some more complex examples of Lua, see article: "[[Lua (programming language)]]".
For instructions on how to use Lua within MediaWiki (and hence Wikipedia), see [[mw:Extension:Scribunto/Lua reference manual]].
== Unit testing ==
A unit testing framework for Lua scripts on Wikipedia is available at [[Module:UnitTests]]. It allows you to execute your script on a given set of inputs and verify that the expected outputs are produced. Unit tests are especially useful for rapidly detecting regressions, where modifications to a script introduce new problems.
By convention, unit tests for a module like [[Module:Bananas]] are placed in [[Module:Bananas/testcases]], and are executed on [[Module talk:Bananas/testcases]] with e.g. <code><nowiki>{{#invoke: Bananas/testcases | run_tests}}</nowiki></code>. Test methods must begin with "test". A simple example from [[Module:Bananas/testcases]] is below.
<syntaxhighlight lang="lua">
-- Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_hello()
self:preprocess_equals('{{#invoke:Bananas | hello}}', 'Hello, world!')
end
return p
</syntaxhighlight>
For a list of all modules using unit tests, see [[Special:Whatlinkshere/Module:UnitTests]].
There's also an alternative unit testing framework [[Special:Whatlinkshere/Module:ScribuntoUnit|in use]] called [[Module:ScribuntoUnit]], that originates from Hungarian Wikipedia. Feature-wise it's very similar to [[Module:UnitTests]], but it has a different coding style, and throws real errors that are trapped using protected calls. It also has a method to compare floats within a given precision.
== Wikipedia-specific features ==
Overall: Lua can only get input as text strings passed to the <code><nowiki>{{#invoke:}}</nowiki></code> and what can be fetched via mw.title.new(...):getContent() and frame:expandTemplate(). Lua output will not be preprocessed unless frame:preprocess() is explicitly called, meaning that template calls, parser functions, etc. in the output will not work correctly. Also, all Lua in the page is limited to 10 seconds CPU time (you can look in the source code of a rendered page to see how long a template or module took to parse). And relative to standard Lua, Scribunto's Lua lacks all sorts of functions (see [[mw:Extension:Scribunto/Lua reference manual#Differences from standard Lua]]).
=== Lua input limitations ===
Lua code in Scribunto is only run when the page is being parsed. Therefore, the only user input that Lua can receive is by ''page editing'' - it cannot create a box that calculates the square root of a number you type in, or recalculate a piece of the Mandelbrot set depending on which part of the parent set you click on. The input Lua can receive includes any transcludeable text page on Wikipedia. This does ''not'' include graphics files (not even [[Wikipedia:SVG help|.SVG]] files, although they are actually text, unless you cut and paste it onto a Wiki text page), the list of pages listed in a [[Help:Category|category]], nor the contents of [[Wikipedia:Transclusion#Special pages|non-transcludeable]] [[Help:Special|special pages]].
=== Wikitext ===
Transcluded Wikipedia headers frequently contain a hidden code such as "UNIQ5ae8f2aa414ff233-h-3--QINU" which may need to be stripped out in order for them to be parsed effectively.
Wikilinks of the type <code><nowiki>[[Wikipedia:Pitulung</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> won't work if returned as output - they need to be written explicitly as '''<nowiki>[[Wikipedia:Help|Help]]</nowiki>'''. Other pre-save transforms, such as replacing <code>~~<nowiki/>~~</code> with signatures, will also fail to be processed. Template transclusions, parser function calls, and variable substitutions (i.e. anything with a <code><nowiki>{{...}}</nowiki></code>) will not be processed, nor will tags such as {{tag|ref|o}} or {{tag|nowiki|o}}.
== Labeling converted templates ==
{{lua|Module:Bananas}}
Please place the {{tl|lua}} template on the documentation subpage of all templates that use Lua. It will help to better communicate Lua usage and template conversions.
{{clear}}
== See also ==
; English Wikipedia-specific resources
* [[Wikipedia:Lua style guide]] – standards to improve the readability of code through consistency
* [[Special:PrefixIndex/Module:]] – tracking of Lua modules can be done by using [[Special:PrefixIndex]]
* [[Help:Lua debugging]] – a how-to guide about [[debugging]] Lua modules
* [[:Category:Lua-based templates]] – groups of Lua-based templates
* [[Module:Sandbox]] provides a pseudo-namespace for experimenting with Lua modules
* [[WP:Lua requests]] – requests for Lua-based templates or tasks
== Notes ==
{{reflist}}
{{WikiProject Lua/header}}
[[Category:Wikipedia modules]]
1whsovh8jxsvkai5ntii3hash7e8we6