ထႅမ်းပလဵတ်ႉ:Querylink/doc
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Querylink ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ မွၵ်ႈ 189,000 ၼႃႈလိၵ်ႈ. To avoid major disruption and server load, any changes should be tested in the ထႅမ်းပလဵတ်ႉ's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases , ဢမ်ႇၼၼ် တီႈၼႂ်း ၼႃႈလိၵ်ႈၽႄ ၽူႈၸႂ်ႉတိုဝ်း။ The tested changes can be added to this page in a single edit. ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။ ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
ႁုပ်ႈတူၺ်း
မႄးထတ်းThis template creates an internal link to the specified page (1) with the specified query string (qs) of the form qs=name=value&name2=value2
and optionally the specified caption (2) which defaults to the specified page (1). The intended purpose of this template is to provide the ability to create internal links with a query string component, which addresses a limitation of the current wiki software.
Example usage:
1 query string 2 {{Querylink|Special:Allpages|qs=namespace=1|See what people are talking about}}
Produces: See what people are talking about
လွင်ႈတၢင်း
မႄးထတ်းThe MediaWiki software does not support the use of a query string element of an URL as part of the internal wiki link syntax. This means that when wishing to link to a page that requires a query string in order to display the desired view of a page, an external link must be used. This is misleading when linking to a page within the wiki itself. For example, to create a link to this page's edit page, one might use the following wikitext:
[//en.wikipedia.org/w/index.php?title={{FULLPAGENAMEE}}&action=edit edit]
.
This would produce the following link: edit. However, the edit page is not really an external link, so the desired result would be edit, without the external link graphic.
ၶေႃႈၸႂ်ႉလႅင်း တႃႇၸႂ်ႉ
မႄးထတ်းInternal links with a query string URL element may be achieved through the use of this querylink template. This template has been provided as a workaround for the described wiki software limitation. The template has been designed to be usable in a similar manner to creating a normal internal link, and takes two to three parameters depending upon how you wish to use it. To create the example link from before to this page's edit page using the querylink template, the following wikitext markup was used:
{{Querylink|%E1%80%91%E1%82%85%E1%80%99%E1%80%BA%E1%80%B8%E1%80%95%E1%80%9C%E1%80%B5%E1%80%90%E1%80%BA%E1%82%89:Querylink/doc|qs=action=edit|edit}}
All templates are called by enclosing the template name and parameters within a pair of curly braces "{{}}
". All parameters are separated with the pipe character "|
". The first "parameter" is always the name of the template that you wish to use and as such is not formally a parameter at all. In this case, it is Querylink
.
- The first formal parameter passed to the template should be the name of the internal page that you wish to link. In this case,
%E1%80%91%E1%82%85%E1%80%99%E1%80%BA%E1%80%B8%E1%80%95%E1%80%9C%E1%80%B5%E1%80%90%E1%80%BA%E1%82%89:Querylink/doc
. - The second parameter is the query string used to display the desired view of the page. It has the form
qs=
followed by the name and value pairs of the query string of the formname=value&name2=value2
. In this case, just one name and value pair is used:action=edit
. - The third parameter is optional. If included, the text of this parameter will be used as the display name for the link text in the article, similar to piped links. If omitted, the page name will be used instead, similar to ordinary internal links. In this case, we specify a friendly name for the link:
edit
.
In some cases you might prefer to produce a query string without a page name. For that, simply omit the first parameter:
{{Querylink||qs=oldid=10000|10 000th revision}}
This produces the link 10 000th revision, pointing to the location https://en.wikipedia.org/?oldid=10000
လွင်ႈမၵ်းၶၢၼ်း
မႄးထတ်းThe template normally does not work as a target for #REDIRECT
in redirect pages. You can subst: it to achieve that: {{subst:querylink|...}}
တူၺ်းပႃး
မႄးထတ်း- Template:Diff
- Template:Oldid
- Help:Magic words#Paths "fullurl:" is useful for the same purpose.
- Template:Plain link