Extension:InputBox/sv: Difference between revisions
Content deleted Content added
Updating to match new version of source page |
Updating to match new version of source page |
||
(7 intermediate revisions by the same user not shown) | |||
Line 17:
|version = Continuous updates
|update =
|download = {{WikimediaDownload|phab=EINB}}
|needs-updatephp = No
Line 26 ⟶ 25:
|rights =
|example =
<inputbox>
type=search2
buttonlabel=Search
width=24
placeholder=Type to search...
labeltext=Search For:
</inputbox>
|compatibility =
|phabricator = MediaWiki-extensions-InputBox
Line 43 ⟶ 49:
|registration=required
}}
<span id="Example"></span>
Line 76 ⟶ 81:
Inmatningsrutor är uppbyggda så här:
<syntaxhighlight lang="html">
type=
bgcolor=
Line 107 ⟶ 112:
</inputbox>
</syntaxhighlight>
<span class="mw-translate-fuzzy">Parametern
Alla andra parametrar är valfria.
<span id="Box_types"></span>
Line 160 ⟶ 164:
page={{TALKPAGENAME}}
</inputbox>
| Lägger till ett nytt avsnitt med avsnittsrubriken som skrivits in i textrutan. Titeln kan anges med parametern <code>default=</code>. Sidan har angivits med parametern <code>page=</code>. For some reason this does NOT work when using the extension by invoking it with <nowiki>{{#tag}}</nowiki>, only when using {{tag|inputbox|open}}. {{introduced-inline|[[rev:47203]]}}
|-
| fulltext
Line 175 ⟶ 179:
page={{PAGENAME}}
</inputbox>
| Flytta en sida till ett annat namn. This also doesn't work when creating it by invoking a tag. {{introduced-inline|[[gerrit:97559]]}}
|}
Line 301 ⟶ 305:
| <span lang="en" dir="ltr" class="mw-content-ltr">This specifies that there is no InputBox.</span>
<span lang="en" dir="ltr" class="mw-content-ltr">It is used with parameter
<span lang="en" dir="ltr" class="mw-content-ltr">Any value means ''yes/true''.</span>
|create, comment
|''?''
Line 420 ⟶ 425:
</inputbox>
<span lang="en" dir="ltr" class="mw-content-ltr">The button below prefixes the name with
<inputbox>
type=create
Line 520 ⟶ 526:
|-
|'''inline='''
| <span lang="en" dir="ltr" class="mw-content-ltr">Make the InputBox be an inline element (no line break at beginning).</span> <span lang="en" dir="ltr" class="mw-content-ltr">Any value means ''yes/true''.</span>
| search2
|
Line 570 ⟶ 576:
|'''searchfilter='''
|<span lang="en" dir="ltr" class="mw-content-ltr">Specify parameters to append to the search</span>
|search, fulltext
|{{MW version|version=1.30|comment=and later|gerrit change=|compact=1}}
|<syntaxhighlight lang="html"><inputbox>
Line 582 ⟶ 588:
|-
|'''useve='''
| <span lang="en" dir="ltr" class="mw-content-ltr">When creating a page the input box will use the new visual editor, if the extension is installed, and this parameter is set to
| create, comment
|
Line 597 ⟶ 603:
|-
|'''usedt='''
|<span lang="en" dir="ltr" class="mw-content-ltr">When adding a new section, the input box will open the [[Special:MyLanguage/Help:DiscussionTools#New topic tool|DiscussionTools new topic tool]], if the extension is installed, and this parameter is set to
|comment, commenttitle
|
Line 618 ⟶ 624:
<span lang="en" dir="ltr" class="mw-content-ltr">The texts taken from the <code>MediaWiki:</code> namespace are of course only examples, any existing page can be used for <code>editintro</code> or <code>preload</code>.</span>
<span lang="en" dir="ltr" class="mw-content-ltr">Unfortunately <code>preload</code> does not yet work for the [[Special:Upload|Upload]] summary.</span>
<div lang="en" dir="ltr" class="mw-content-ltr">
|