Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module talk:Arguments
(section)
Add languages
Page contents not supported in other languages.
Add topic
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
Add topic
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Integrating with Lua == I'm thinking of integrating this module into Scribunto, the same way [[Module:HtmlBuilder]] was, but to do that, it needs to be released under a different license. {{ping|Mr. Stradivarius}} {{ping|Anomie}} Do you both agree to release your contributions to this module under the [[GNU General Public License]] v2 or newer (GPL v2+)? [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 14:58, 3 September 2014 (UTC) : Sure. [[User:Anomie|Anomie]][[User talk:Anomie|β]] 15:07, 3 September 2014 (UTC) : Yes, that's fine with me. β '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|βͺ talk βͺ]]</sup> 21:50, 3 September 2014 (UTC) ::I've submitted [[gerrit:158323]] that will add this to Scribunto. Note the following differences between this module and what I submitted: ::*Instead of taking a frame and an options table, it now takes only an options table, and <code>frame</code> is one of its options. This makes it a standard named-arguments function. ::*When wrappers aren't in use, it behaves as if <code>frameOnly</code> were set by default. Indiscriminate mixing of frame and parent arguments without knowing what the parent is has caused subtle bugs in the past, and it doesn't appear to have any legitimate use cases. ::*If you want just the parent arguments, pass <code>frame:getParent()</code> in place of <code>frame</code> when calling it. The <code>parentOnly</code> option has been removed. ::*When wrappers are in use, if the caller specifically requests frame arguments in addition to parent arguments (via <code>wrappersUseFrame</code>), the parent arguments always have precedence. ::{{ping|Mr. Stradivarius}} ping. [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 21:09, 4 September 2014 (UTC)
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)