Difference between revisions of "Template:Extension/CreateExtensionInputBox"

From WPRDC Wiki
Jump to navigation Jump to search
>ABaso (WMF)
m (transclude Extension/License)
>Shirayuki
(use translation aware transclusion)
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Extension/License}}
<noinclude>
<languages/>
</noinclude><!--
--><inputbox>
type=create
bgcolor=#eeeeff
width=40
placeholder=<translate nowrap><!--T:18--> Enter your extension's name here</translate>
prefix=Extension:
preload=Template:Extension/Sample
buttonlabel={{int|Create}}
</inputbox>
{{#if:{{{notext|}}}||
<translate><!--T:1--> A developer sharing their code in the MediaWiki code repository should expect:</translate>


Alternatively, you may also post your code directly on your extension's page, although that is not the preferred method.
;<translate><!--T:2--> Feedback / Criticism / Code reviews</translate>
:<translate><!--T:3--> Review and comments by other developers on things like [<tvar|url>https://doc.wikimedia.org/</> framework use], security, efficiency and usability.</translate>


A developer sharing their code on the MediaWiki wiki or code repository should expect:
;<translate><!--T:4--> Developer tweaking</translate>
:<translate><!--T:5--> Other developers modifying your submission to improve or clean-up your code to meet new framework classes and methods, [[<tvar|1>Special:MyLanguage/Manual:Coding conventions</>|coding conventions]] and translations.</translate>


;Feedback / Criticism / Code reviews
;<translate><!--T:6--> Improved access for wiki sysadmins</translate>
:Review and comments by other developers on things like [https://doc.wikimedia.org/ framework use], security, efficiency and usability.
:<translate><!--T:7--> If you do decide to put your code on the wiki, another developer may decide to move it to the MediaWiki code repository for easier maintenance.</translate> <translate><!--T:19--> You may then create a <tvar|1>{{ll|developer account}}</> to continue maintaining it.</translate>


;Developer tweaking
;<translate><!--T:9--> Future versions by other developers</translate>
:Other developers modifying your submission to improve or clean-up your code to meet new framework classes and methods, [[Manual:Coding conventions|coding conventions]] and translations.
:<translate><!--T:10--> New branches of your code being created automatically as new versions of MediaWiki are released.</translate> <translate><!--T:11--> You should [[<tvar|1>Special:MyLanguage/Backporting fixes</>|backport]] to these branches if you want to support older versions.</translate>
:<translate><!--T:12--> Incorporation of your code into other extensions with duplicate or similar purposes — incorporating the best features from each extension.</translate>


;Improved access for wiki sysadmins
;<translate><!--T:13--> Credit</translate>
:If you do decide to put your code on the wiki, another developer may decide to move it to the MediaWiki code repository for easier maintenance. You may then [[Commit_access#Requesting_commit_access|request commit access]] to continue maintaining it.
:<translate><!--T:14--> Credit for your work being preserved in future versions — including any merged extensions.</translate>
:<translate><!--T:15--> Similarly, you should credit the developers of any extensions whose code you borrow from — especially when performing a merger.</translate>


;Future versions by other developers
<translate><!--T:16--> Any developer who is uncomfortable with any of these actions occurring should not host in the code repository.</translate>
:New branches of your code being created by other developers as new versions of MediaWiki are released.
<translate><!--T:17--> You are still encouraged to create a summary page for your extension on the wiki to let people know about the extension, and where to download it.</translate>
:Merger of your code into other extensions with duplicate or similar purposes — incorporating the best features from each extension.
}}<noinclude>


;Credit
[[Category:Extension creation{{#translation:}}|{{PAGENAME}}]]
:Credit for your work being preserved in future versions — including any merged extensions.
[[Category:Extension templates{{#translation:}}|{{PAGENAME}}]]
::Similarly, you should credit the developers of any extensions whose code you borrow from — especially when performing a merger.
</noinclude>
 
Any developer who is uncomfortable with any of these actions occurring should not host their code directly on the MediaWiki wiki or code repository. You are still encouraged to create a summary page for your extension on the wiki to let people know about the extension, and where to download it. You may also add the {{tl|Extension exception}} template to your extension requesting other developers refrain from modifying your code, although no guarantees can be made that an update will be made if deemed important for security or compatibility reasons. You may use the [[Project:Current issues|current issues noticeboard]] if you feel another developer has violated the spirit of these expectations in editing your extension.
<noinclude>{{Languages|Template:Extension/Expectations}}[[Category:Extension creation|{{PAGENAME}}]][[Category:Extension templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 05:50, 27 February 2021

<languages/>


<translate> A developer sharing their code in the MediaWiki code repository should expect:</translate>

<translate> Feedback / Criticism / Code reviews</translate>
<translate> Review and comments by other developers on things like [<tvar

[[Category:Extension creation{{#translation:}}|Extension/CreateExtensionInputBox]] [[Category:Extension templates{{#translation:}}|Extension/CreateExtensionInputBox]]