Template:TOCright
<languages /> <translate> This page is a partial list of the parameters to <tvar|index>Template:Ll</>, the main script of the MediaWiki software. Most of these arguments are usually given as GET parameters in the URL, but can also be passed as POST data. POST is actually required in some cases, such as the purge action for anonymous users. </translate>
Template:TNT <translate> The information on this page is not complete.</translate><ref name="clients"><translate> Clients submitting forms should submit all form parameters present in the HTML; relying on any kind of static list may lead to future breakage.
To register new parameters with an installation of MediaWiki, see <tvar|hook-uaction>Template:Ll</>.</translate></ref>
Template:Anchor <translate>
Contents
Page revision or version
Parameters to index.php usually apply and have a meaning related to the page they apply to. The page (or a version of it) can be specified by typing one or more of the following parameters:</translate> https://en.wikipedia.org/w/index.php?title=Ferengi&curid=177126&diff=304901009&oldid=304764764
<translate>
Name</translate> |
<translate>
Description</translate> |
---|---|
title | <translate>
The title of the page.</translate> <translate> It can be a wiki page or a [[<tvar|specialpg>Special:MyLanguage/Help:Special pages</>|special page]], depending on the other parameters.</translate> <translate> To disable a special page in your wiki configuration, you can use the [[<tvar|hook-initList>Special:MyLanguage/Manual:Hooks/SpecialPage initList</>|SpecialPage_initList hook]].</translate> |
curid | <translate>
The id of the wiki page; overrides the value of title.</translate> |
<translate> Some actions (such as view and edit) also work on a particular revision of a page. Such a revision is identified by the two following parameters, allowing the omission of the title and the id of the page.</translate>
<translate>
Name</translate> |
<translate>
Description</translate> |
---|---|
oldid | <translate>
The id of a revision</translate> |
direction | <translate>
Instead of the revision given by oldid, use:</translate>
the one preceding it</translate>
the one following it</translate> |
Template:Anchor <translate>
Actions
The following is a list of action
parameters.
Some of these actions can be enabled/disabled by using a dedicated [[<tvar|confset>Special:MyLanguage/Manual:Configuration settings</>|configuration setting]] in [[<tvar|localset>Special:MyLanguage/Manual:LocalSettings.php</>|LocalSettings.php]]
. Where available, these local settings are listed.</translate><ref name="local"><translate>
Additionally, any action except 'view' may be disabled by using the [[<tvar|actions>Special:MyLanguage/Manual:$wgActions</>|$wgActions]] variable.</translate> <translate>
Additionally, [[<tvar|actions>Special:MyLanguage/Manual:$wgActions</>|$wgActions]] is available now for all actions.
Additionally, if searches are enabled and the search
parameter is supplied (and non-blank) then all actions are ignored and the search is performed.</translate></ref>
Name | <translate>
Function</translate> |
<translate>
Example</translate> |
---|---|---|
view Template:Anchor | <translate>
View is the default action; view is the one action that is used when no action is explicitly given</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=view |
print Template:Anchor | Template:TNT <translate>
Was same as <tvar|view>view</></translate> |
|
watch Template:Anchor | <translate>
Adds the page to the user's watchlist</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=watch |
unwatch Template:Anchor | <translate>
Removes the page from the user's watchlist</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=unwatch |
delete Template:Anchor | <translate>
Deletes a page</translate> <translate>
By default, delete returns a form for the user to confirm deletion and specify a reason.</translate><Ref name="deletion"><translate>
Deletion is performed upon a POST request, if a valid [[<tvar|token>Special:MyLanguage/Manual:Edit token</>|edit token]] is passed as the value of <translate>
The delete reason is passed as the value of argument <translate>
Deletion is also performed when deleting a single version of an image; this requires the version id to be passed in the parameter |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=delete |
revert Template:Anchor | <translate>
Reverts to a previous version of an image. The following two other parameters are required:</translate>
|
|
rollback Template:Anchor | <translate>
Rollbacks the last edits made by the last editor of the page; in other words, it restores the last version of the article whose editor is not the last one. The edit is marked as minor and a default edit summary is used.</translate><ref name="rollback>
if the optional
if the optional
the
if the optional
|
ipivs.info/wiki/index.php?title=Project:Sandbox&action=rollback&from=John&token=d7aaa6c\ |
protect Template:Anchor | <translate>
Shows or changes the protection levels of a page:</translate>
By default, this script returns a form showing the current protection levels of the page, allowing the user to change the protection levels of the page.</translate><ref name="protect"><translate>
These levels are changed to the values of
more generally, the actions that can be limited are those listed in the [[<tvar|restrictyp>Special:MyLanguage/Manual:$wgRestrictionTypes</>|$wgRestrictionTypes]] array; this array is initialized to |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=protect |
unprotect Template:Anchor | Same page as protect (unprotect and protect are the same page, and do the same thing). | ipivs.info/wiki/index.php?title=Project:Sandbox&action=unprotect |
markpatrolled Template:Anchor | <translate>
Marks an edit as patrolled; see [[<tvar|mPatrol>meta:Help:Patrolled edit</>|Help:Patrolled edit]] on Meta.</translate> <translate>
|
|
render Template:Anchor | <translate>
Outputs the HTML rendering of the entire page content; similar to the |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=render |
deletetrackback Template:Anchor | <translate>
(removed in 1.19)</translate> <translate> Related to [<tvar|trackback>http://www.sixapart.com/pronet/docs/trackback_spec</> TrackBack].</translate> <translate>
This action was disabled by default in |
|
Template:Ll Template:Anchor | <translate>
Clears the page's cache, forcing the page to be redisplayed from its source.</translate>
This action is automatically performed for logged-in users. For non logged-in users, the action is performed only if requested via a POST request; otherwise, a form to confirm purging is shown (pressing the OK button posts the purge request, which is then executed).</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=purge |
submit Template:Anchor | <translate>
Performs various actions related to changing the page (see below for more details):</translate>
By default, shows the page in edit form, with edit box.</translate>
Various other arguments can be used to:</translate>
Change a page,</translate>
preview a new version of the page, or</translate>
show the difference with a new version (see [[<tvar|1>#Edit and submit</>|edit and submit section]] below for details);</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=submit |
edit Template:Anchor | <translate>
Shows the page in edit form, "edit" does almost the same thing as <tvar|submit>submit</></translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=edit |
editredlink Template:Anchor | <translate>
Same as <tvar|edit>edit</>.</translate><ref name="redlink"><translate> Before [<tvar|svn>//svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=31291</> revision 31291], Editredlink did the same thing that is now achieved by action=edit&redlink=1 (see below for an explanation of the redlink parameter)</translate></ref> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=editredlink |
history Template:AnchorTemplate:Anchor | <translate>
Shows the history of the page. ([[<tvar|history>#History</>|See history, below]])</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=history |
historysubmit Template:Anchor | <translate>
When viewing the difference between revisions, after clicking "compare selected revisions" on the history page. This requires a "diff" and/or "oldid" parameter, otherwise it just shows the page itself.</translate> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=historysubmit&diff=456290&oldid=456270 |
raw Template:Anchor | <translate>
Shows the raw content of the page. ([[<tvar|raw>#Raw</>|See Raw, below]]) A pop up window will open up, asking whether you would like to save the page in index.php.</translate><ref name="raw"><translate> For security reasons, in some versions of MediaWiki Raw is only allowed when using the "primary script access point", that is, when using the "ugly" URL form with index.php?title=...</translate></ref> |
ipivs.info/wiki/index.php?title=Project:Sandbox&action=raw |
ajax Template:Anchor | <translate>
If enabled, calls a php function registered via [[<tvar|ajax-explist>Special:MyLanguage/Manual:$wgAjaxExportList</>|$wgAjaxExportList]]; see [[<tvar|ajax>Manual:Ajax</>|Manual:Ajax]].</translate><ref name="ajax">
requires [[<tvar|useajax>Special:MyLanguage/Manual:$wgUseAjax</>|$wgUseAjax]] to be true; the only callable functions are those in the array [[<tvar|ajax-explist>Special:MyLanguage/Manual:$wgAjaxExportList</>|$wgAjaxExportList]] (implicit if [[<tvar|ajaxsearch>Special:MyLanguage/Manual:$wgAjaxSearch</>|$wgAjaxSearch]] or [[<tvar|ajaxwatch>Special:MyLanguage/Manual:$wgAjaxWatch</>|$wgAjaxWatch]] is set)</translate>
additional parameters:
the JavaScript function sajax_do_call for calling Ajax functions is defined in [[<tvar|ajaxjs>Special:MyLanguage/Manual:ajax.js</>|ajax.js]].</translate></ref> |
|
creativecommons Template:Anchor | <translate>
DISABLED Disabled by default via [[<tvar|enable-ccrdf>Special:MyLanguage/Manual:$wgEnableCreativeCommonsRdf</>|$wgEnableCreativeCommonsRdf]]</translate> |
|
credits Template:Anchor | <translate>
Shows a list of people who contributed to the page in question using the real name specified in the user's preferences. Currently disabled on Wikimedia wikis, but is enabled by default on vanilla MediaWiki.</translate> |
translatewiki.net/w/i.php?title=Translating:MediaWiki&action=credits |
dublincore Template:Anchor | <translate>
DISABLED Disabled by default via [[<tvar|dublinrdf>Special:MyLanguage/Manual:$wgEnableDublinCoreRdf</>|$wgEnableDublinCoreRdf]]</translate> |
|
info Template:Anchor | <translate>
Shows information about the page, such as the number of users having it in their watchlist, the number of edits, the number of authors. See the [[<tvar|rfc>Special:MyLanguage/Requests for comment/Reimplement info action</>|Reimplement info action RfC]] for context.</translate> | |
Template:Ll Template:Anchor | <translate>
Set visibility restrictions on revision text, edit summary, and editor's username/IP address (requires deleterevision user right)</translate> |
Template:Anchor <translate>
User preference overriding
The following parameters override some of the user's preferences. Other parameters explained in other sections are "diffonly", "internaledit", and "externaledit". The below parameters affect all actions but "render" and "raw".</translate>
<translate>
Name</translate> |
<translate>
Function</translate> |
<translate>
Example</translate> |
---|---|---|
Template:Anchor useskin | <translate>
Specify a [[<tvar|man-skins>Special:MyLanguage/Manual:Skins</>|skin]]</translate> |
ipivs.info/wiki/index.php?useskin=modern |
Template:Anchor uselang | <translate>
Specify a language for the UI elements (such as the "my talk" link, etc.), i.e. the [[<tvar|uil>Special:MyLanguage/user interface language</>|user interface language]]; this is especially useful for creating an account, because at that stage no preference settings apply.</translate> <translate> The special language code "qqx" can be used to display the ids of all [[<tvar|sysmsg>Special:MyLanguage/Help:System message</>|system messages]] used on a page.</translate> |
ipivs.info/wiki/index.php?title=Special:Userlogin&type=signup&uselang=de |
Template:Anchor variant | <translate>
Specify a language variant for the UI elements (this is used for example in the Chinese Wikipedia, as the Chinese language has variants);</translate> |
|
Template:Anchor printable | <translate>
When set to |
|
Template:Anchor debug | <translate>
When set to true (e.g. |
ipivs.info/wiki/index.php?title=Project:Sandbox&debug=true |
<translate>
View and render
View is the default action. If no other action is added to the URL, action=view
is used. This action shows a page, a revision, or the difference between two revisions of the same or two different pages. Below is a (partial) list.</translate>
- diff
- <translate>
the value of this parameter identifies a revision; the difference between another revision and this one is returned:</translate>
- <translate>
if oldid
is not passed, the difference between this revision and the previous one on the same article is shown;</translate>
- <translate>
otherwise, the difference between the revision given by oldid/direction
and this one is shown; the value of this parameter can be a revision id, the values prev
or next
to identify a revision relative to the one given by oldid/direction
, and the value cur
to identify the latest revision of the page;</translate>
- <translate>
Note that oldid
and diff
needs not to be two revisions of the same article, allowing two revisions of two different pages to be compared</translate>
- redirect
- <translate>
if the value of this parameter is 'no' and the page is a redirect, the page itself is shown and not the target of the redirect; this parameter has effect only on action=view
and action=render
and only if neither oldid
nor diff
is given, as this is the only case where the target article is shown instead of the redirect;</translate>
- rdfrom
- <translate>
when the page is the result of following a redirect from an external wiki, this parameter tells which wiki that was, so that the "Redirected from ..." line can be shown</translate>
- diffonly
- <translate>
override the user's preference on whether to render the page when a diff is requested, eg. diffonly=yes
</translate>
- search
- <translate>
if non-blank (and if searches are enabled), override all other parameters and perform a search
The following parameters apply only to categories.</translate>
- from
- <translate>
if the page is a category, only list entries whose sortkey are equal or follows the value of this parameter;</translate>
- <translate>
Example:</translate> https://en.wikipedia.org/w/index.php?title=Special:Log&type=upload&from=20070814233520&until=20070814233525
- <translate>
Links to a log of all the images uploaded on August 14, 2007 from 23:35:20 until 23:36:25</translate>
- until
- <translate>
if the page is a category, only list entries whose sortkey precedes the value of this parameter; only used if from
is not passed;
The following parameter apply only to images.</translate>
- page
- <translate>
a page number in a multi-page media; it currently only applies to DjVu files; first page is numbered 1;</translate>
Template:Anchor <translate>
History
</translate>
- limit
- <translate>
The number of page edits to list, the maximum is 5000 edits.</translate>
- <translate>
Example:</translate> https://en.wikipedia.org/w/index.php?title=Special:Contributions&limit=13&contribs=user&target=Atlgirl052005 - <translate> lists 13 edits per page.</translate>
- dir
- <translate>
the relative order of edit history pages.</translate>
- <translate>
page edits are sorted in decreasing timestamp.</translate>
- offset
- <translate>
uses a timestamp to specify which part of the history is displayed;</translate>
- <translate>
Returns the edits which occurred before the timestamp;</translate>
- <translate>
Example:</translate> https://en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20090815195334&contribs=user&target=Atlgirl052005
- <translate>
Shows the edits which occurred immediately before the timestamp 20090815195334 (20090815195334 is not shown).</translate>
- <translate>
Parameter format is yyyymmddhhmmss. So 20090815195334 was created on August 15, 2009 [20090815] at 19:53 (UTC) and 34 seconds [195334].</translate>
- <translate>
See Wikipedia:Complete diff and link guide.</translate>
- <translate>
if dir=prev
is added, it works the other way around, listing all edits after the timestamp</translate><ref name="per"><translate>
For performance reasons, the value of this field is not actually an offset (the index of the first entry to show)</translate></ref>
- <translate>
Example:</translate> https://en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&offset=20090815195334&dir=prev&contribs=user&target=Atlgirl052005
- <translate>
Shows the edits which occurred immediately after the timestamp 20090815195334 (20090815195334 is not shown).</translate>
- <translate>
Example to show only the very first edit on a page:</translate> https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&action=history&dir=prev&limit=1
- feed
- <translate>
a feed for the changes in the history is returned; allowed values are atom
and rss
.</translate> <translate>
Can be disabled with <tvar|Feed>Template:Ll</>.</translate>
- go
- <translate>
(deprecated - should be avoided, because it has been superseded) go=first
the first (earliest) page of history is shown</translate>
Template:Anchor <translate>
Raw
Passing action=raw
returns the source code of a page or revision. For security reasons, in some versions of MediaWiki this is only allowed when using the "primary script access point", that is, when using the [[<tvar|vsurl>Special:MyLanguage/Manual:Very_short_URL#Introduction</>|"ugly" URL form with index.php?title=...]]</translate>
- templates
- <translate>
if passed with value expand
, templates within the page are expanded;</translate>
- ctype
- <translate>
the content-type value to be used in the HTTP header when returning the raw content, instead of the default text/x-wiki
; this can only be one of the allowed types, which currently are text/x-wiki
, text/javascript
, text/css
, and application/x-zope-edit
</translate>
- maxage
- <translate>
the value of max-age in the Cache-Control HTTP header field to be used when returning the raw page (client cache)</translate>
- smaxage
- <translate>
the value of s-maxage in the Cache-Control HTTP header field to be used when returning the raw page (cache-server cache)</translate>
- usemsgcache
- <translate>
only applies to pages in the MediaWiki namespace; if this argument is present, the content of the message is returned from the message cache and not from the database</translate>
- oldid
- <translate>
the id of a specific revision to return</translate>
- direction
- <translate>
either next
, prev
, or cur
; instead of the revision specified by oldid, returns the one following it, the one preceding it, or the current (last) one;</translate>
- section
- <translate>
Limits output to a particular section or subsections of the document. Sections are specified with non-negative integers : section 0 being the section before any named sections, section one being the first named section or subsection and so on. The numbering scheme treats sections and subsections as identical. A list of the sections and subsections can be obtained via [[<tvar|api>Special:MyLanguage/API</>|API]] with <tvar|url>api.php?action=parse&text={{:My_page}}__TOC__&prop=sections</>.</translate>
example</translate>]
Template:Anchor <translate>
Edit and submit
The edit and submit actions perform almost the same action. By default, they return an "edit page" form for the page. Different results can be obtained by passing other arguments; some results (such as saving the new version of a page) can only be obtained using POST. This action takes the standard arguments for specifying a page or a page revision.
Options affecting the edit form
The following three options produce an effect on the edit form (the first one also affects how the page is saved.)</translate>
- section
- <translate>
specifies the index of a section within a document to preload and edit; sections are numbered sequentially from 0 on; section 0 is the part of the article before the first section header; value new
is used to append a new section to the document;</translate>
- preload
- <translate>
specifies a page, of which the wikitext is used as the initial value of the textarea in the edit form if the page or section to be edited does not exist; if it exists the preload command is ignored (bug 5210 since 2006-03-09: this will preload almost the full wikitext of the source page, including the noinclude parts and tags, but not the includeonly tags.); also see [[<tvar|preload>Manual:Creating pages with preloaded text</>|Manual:Creating pages with preloaded text]];</translate>
- <translate>
Example: <tvar|foo>https://en.wikipedia.org/wiki/Talk:Main_Page?action=edit§ion=new&preload=Project:Sandbox</></translate>
- <translate>
preloadparams[] (or preloadparams%5B%5D): Replace $1 style parameters in preload text. For example <tvar|preload2>https://mediawiki.org/wiki/Project:Sandbox?action=edit§ion=new&preload=Manual:Creating_pages_with_preloaded_text/param_demo&preloadparams%5b%5d=first%20value&preloadparams%5b%5d=second%20value</> would cause [[<tvar|param>Manual:Creating pages with_preloaded text/param demo</>|Manual:Creating pages with_preloaded text/param demo]] to be preloaded into the edit form, but with $1 replaced by first value and $2 replaced by second value.</translate> <translate> (Added in 1.23)</translate>
- editintro
- <translate>
title of an existing article or template to be rendered above the edit form;</translate>
- preloadtitle
- <translate>
in the case of section=new, provides initial content of the "Subject/headline" box; it can be edited before saving;</translate>
- <translate>
Example:</translate> https://en.wikipedia.org/w/index.php?title=User_talk:5dsddddd&action=edit§ion=new&preloadtitle=The+%5B%5BWP%3AARS%7CArticle+Rescue+Squadron%5D%5D
- <translate>
Example with both preloadtitle and preload:</translate> https://en.wikipedia.org/wiki/User_Talk:Ikip?action=edit§ion=new&preload=Template:Article_Rescue_Squadron_ invite&preloadtitle=Invitation
- nosummary
- <translate>
Do not show the "headline" box when doing section=new.</translate>
- summary
- <translate>
its value is used as the edit summary in place of the default one.</translate>
- preview
- <translate>
if set to <tvar|yes>yes
</>, overrides user preference "Show preview on first edit" (bug 9936);</translate>
- internaledit/externaledit
- <translate>
overrides user preference on external editors;</translate>
- mode
- <translate>
this parameter affects the result page if passed with value file and using an external editor;</translate>
- undo
- <translate>
attempts to undo an edit or a sequence of edits; technically, this is done by trying to merge the inverse of these edits with the sequence of all subsequent edits; the value of this parameter is an id of an old revision of a page; if merge is not possible, a regular edit form for that revision is returned</translate>
- <translate>
by default, undone is attempted on the edit preceeding the given revision id;</translate>
- <translate>
if undoafter is also given, the changes between the revisions undoafter
and undo
are attempted to be undone;</translate>
<translate>
What to do
The following options tell the software what to do when submitting: saving, showing a preview, or showing the difference with the current version.</translate>
- wpSave
- <translate>
this argument is generated when saving the content of an edit form returned by the server, but is not actually used nor required when submitting (see below for required arguments to save);</translate>
- wpPreview
- <translate>
set in a POST request to request a preview of the page or section as if the value of wpTextbox1 were saved;</translate>
- <translate>
by default, returns an edit form with a preview of the value of wpTextbox1;</translate>
- <translate>
if the additional live
argument is passed, only the rendering of the value of wpTextbox1 is shown, not the form and the other GUI element; this is similar to the result of saving and then viewing with action=render
; see Manual:Live preview for more info;</translate>
- <translate>
the argument wpLivePreview
is identical to wpPreview; therefore, a regular preview is returned if live
is not passed;</translate>
- wpDiff
- <translate>
set in a POST request to request a table showing the changes between the current version of the page or section and the version as if value of wpTextbox1 were saved;
Parameters that are needed to save
The following parameters are required when a user saves a page. The edit summary field may also be required if so configured (see below).</translate>
- wpTextbox1
- <translate>
the new page/section content;</translate>
- wpStarttime
- <translate>
the timestamp of when the user started editing the page; used to check whether the page has been deleted between this moment and the submission time (in this case, the user is asked to confirm saving);</translate>
- wpRecreate
- <translate>
in case the page was deleted after wpStarttime, this field confirms that the page is to be saved;</translate>
- wpEdittime
- <translate>
for new pages, it is equal to wpStarttime; otherwise, it is the timestamp of the last revision of the page; used to check edit conflicts;</translate>
- wpEditToken
- <translate>
an edit token; this is used to avoid users from being tricked into saving a page by following a link or pressing a button in an external site. For non-logged-in users, wpEditToken is required since [<tvar|svn>https://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=18112</> revision 18112]; it currently contains only the characters +\
rather than a random string (see [[<tvar|suffix>Special:MyLanguage/Manual:Edit token#The edit token suffix</>|edit token suffix]]).
For the page to be saved, wpStarttime
, wpEdittime
, wpTextbox1
and wpEditToken
are required in a POST request, and neither wpPreview
nor wpDiff
are passed. If the page was deleted after wpStarttime
, the boolean option wpRecreate
is also required.
Optional additional data
The edit summary or the "ignore blank" parameter may be mandatory if "warn on blank summaries" is configured.</translate>
- wpSummary
- <translate>
the edit summary;</translate>
- wpMinoredit
- <translate>
if set in a save request, the edit is marked as minor; for preview and diff, it is the initial value of "this is a minor edit" checkbox in the edit form;</translate>
- wpWatchthis
- <translate>
if passed on a save request, the page is added to the user's watchlist; if it is not passed in a save request, the page is removed from the user's watchlist; for preview or diff, this is the initial value of the "watch this page" checkbox of the edit form;</translate>
- wpSection
- <translate>
specify the index of a section within a document to submit to; sections are numbered sequentially from 0 on; section 0 is the part of the article before the first section header; value new
is used to append a new section to the document;</translate>
- wpChangeTags
- <translate>
an optional comma-separated list of [[<tvar|tags>Special:MyLanguage/Help:Tags</>|tags]] to be added to the edit.</translate> <translate> If any of the provided tags are not activated for manual use, the edit will be rejected.</translate>
- wpAutoSummary
- <translate>
contains the MD5-hashing of the edit summary field as initially presented to the user in the edit form; this field is used to check if the user has modified that field before submitting: if the MD5 hashing of the value of wpEditSummary
is the same as this field, the edit summary has not been modified;</translate>
- wpIgnoreBlankSummary
- <translate>
save page even if user has not modified the edit summary, while they were supposed to;</translate>
- wpTextbox2
- <translate>
in case of an edit conflict, it contains the value of wpTextbox1 of the save request that generated the conflict;</translate>
- safemode
- <translate>
some browsers are known to have problems with editing text containing Unicode characters; when a request for an edit form come from one such browser, the non-ascii characters in the initial content of the textarea are converted into the form &#xxxx;
and the value safemode=1
is hidden in the form; when submitting, the safemode
field indicate that the the inverse translation is to be performed; a browser is considered non-Unicode-compliant if the User-Agent HTTP header matches a regular expressions in the variable [[<tvar|bbl>Special:MyLanguage/Manual:$wgBrowserBlackList</>|$wgBrowserBlackList]];
Template:TNT this has nothing to do with PHP's [[<tvar|safe>Special:MyLanguage/safe_mode</>|safe_mode]] setting.</translate>
- wpScrolltop
- <translate>
used to preserve the scrollbar position in the edit textbox when loading a preview.</translate>
- redlink
- <translate>
if the user does not have permission to edit the page, redirect to the empty article page (e.g., "Wikipedia does not have an article with this exact name") instead of showing the permission error notice; this parameter is used on red links.</translate>
- wpExtraQueryRedirect
- <translate>
hidden input to modify after save URL and is not used by actual edit form. Intended to be used by gadgets and such.
Special pages
Most special pages have additional parameters, specific to the function they perform. As an example, the parameters for Special:Export are outlined in Parameters to Special:Export
The following URL parameters provide initial values for some input fields; they can be edited before submitting the form.</translate>
- wpReason
- <translate>
on Special:MovePage and action=delete: text field with reason.</translate>
- wpBlockReason
- <translate>
on Special:BlockIP: text field with reason.</translate>
- wpBlockReasonList
- <translate>
on Special:BlockIP: initially selected item in the drop-down box, value should match a row in the MediaWiki:Ipbreason-dropdown.</translate>
- mwProtect-reason
- <translate>
on action=protect: text field with reason.</translate> <translate>
Extension-specific parameters
<tvar|FlaggedRevisions>Template:Ll</> extension
</translate>
- stable
- <translate>
if set to <tvar|1>1
</>, last stable version is shown.</translate>
- stableid
- <translate>
like oldid except with stable image/template inclusion. Setting stableid=best
will give the best version (pristine > quality > sighted > last).</translate>
- filetimestamp
- <translate>
view the file version created at a certain date (applies only to viewing file pages)</translate> <translate>
Userscript parameters and Autoedit extension
Userspace JavaScript scripts and gadgets may interpret arbitrary parameters passed via GET or POST. If the user's or global JavaScript script include Lupin's Autoedit Script, the following parameters are used for automated editing: autoedit, autosummary, autoclick, and autominor. Some more details are given in [[<tvar|ext-autoedit>Special:MyLanguage/Extension:Autoedit</>|Autoedit]] extension.
Maxlag parameter
</translate> Template:TNT <translate> The maxlag parameter is used only if the software is running on a replicated database cluster.
The maxlag parameter makes it so a request is not served if there is high server traffic. maxlag parameter applies to all actions. maxlag parameter value is a number; the lower this value, the lower the traffic that causes the request not to be served. Zero is not allowed.
Notes
</translate> <references/>
<translate>
See also
</translate>
[[Category:Customization techniquesTemplate:Translation|TOCright]] [[Category:Wiki page URLsTemplate:Translation|TOCright]] [[Category:MediaWiki developmentTemplate:Translation]]