Difference between revisions of "Template:API-editnotice/pl"
Jump to navigation
Jump to search
Template documentation
Mediawiki>FuzzyBot (Updating to match new version of source page) |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|(.*)>" to "") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | + | ||
− | + | {{#switch: | |
| = | | = | ||
− | + | ||
− | + | ||
; Wersja MW | ; Wersja MW | ||
: Od jakiej wersji MediaWiki ten (pod)moduł jest dostępny? ([[Release notes]]) | : Od jakiej wersji MediaWiki ten (pod)moduł jest dostępny? ([[Release notes]]) | ||
Line 15: | Line 15: | ||
; Przykład(y): | ; Przykład(y): | ||
; Kategorie: | ; Kategorie: | ||
− | + | ||
{{Note|1=Powinieneś rozważyć wykorzystanie szablonu {{tl|Api help}} do wstawienia dokumentacji API wygenerowanej z Special:ApiHelp/''nazwa-modułu'' zamiast pisać od nowa dokumentację z parametrami, przykładami, itp., które są już opracowane. ([[phab:T89318]])}} | {{Note|1=Powinieneś rozważyć wykorzystanie szablonu {{tl|Api help}} do wstawienia dokumentacji API wygenerowanej z Special:ApiHelp/''nazwa-modułu'' zamiast pisać od nowa dokumentację z parametrami, przykładami, itp., które są już opracowane. ([[phab:T89318]])}} | ||
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:API-editnotice|noshift=1|uselang={{int:lang}}}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:API-editnotice|noshift=1|uselang={{int:lang}}}} | ||
− | + | ||
{{Documentation|content= | {{Documentation|content= | ||
Line 26: | Line 26: | ||
}} | }} | ||
[[Category:API templates|{{PAGENAME}}]] | [[Category:API templates|{{PAGENAME}}]] | ||
− |
Latest revision as of 15:18, 21 December 2019
{{#switch:
| =
- Wersja MW
- Od jakiej wersji MediaWiki ten (pod)moduł jest dostępny? (Release notes)
- API-head
- Jaki jest prefiks? Czy ten moduł wymaga konkretnych uprawnień lub czy jest dostępny dla niezalogowanych użytkowników? Czy wymaga wysłania żądania metodą POST?
- Opis
- Opisz krótko moduł w jednym lub dwóch zdaniach.
- Parametry
- Kody błędów
- Przykład(y)
- Kategorie
Powinieneś rozważyć wykorzystanie szablonu {{Api help}} do wstawienia dokumentacji API wygenerowanej z Special:ApiHelp/nazwa-modułu zamiast pisać od nowa dokumentację z parametrami, przykładami, itp., które są już opracowane. (phab:T89318)
| #default=
Creating a new API documentation page
- MW version
- Since which MediaWiki version is this api (sub)module available? (Release notes)
- API-head
- What's the prefix? Does this module require any rights or is it available to all anonymous users? Does it have to be POST'ed?
- Description
- Describe the module briefly in one or two sentences.
- Parameters
- Error Codes
- Example(s)
- Categories
You should consider using {{Api help}} to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc. (phab:T89318)

Template:API-addnew uses this to guide a wiki editor creating a new API page.