Yardım:Bağlantı
Vikipedi, özgür ansiklopedi
![]() |
Bu sayfa başka bir dilden çevrilmektedir.
|
Bağlantılar kullanıcıların sayfalar arasında gezinmelerine olanak verir. Vikipedi'de CSS ile tanımlı üç çeşit bağlantı varır.
[değiştir] Wiki Bağlantıları
A wikilink veya internal link aynı proje üzerindeki bir sayfayı diğer bir sayfaya bağlanmasına olanak tanır.
- [[a]] gives a.
- [[a|b]] gives b (link to a, labelled b).
- [[a]]b gives ab, just like [[a|ab]] does: ab.
- [[a|b]]c gives bc, just like [[a|bc]] does: bc.
- a[[b]] gives ab.
- [[a]]<nowiki>b</nowiki> gives ab.
- [[a]]''b'' gives ab.
- ''[[a]]''b gives ab.
- [[a|b]]c<nowiki>d</nowiki> gives bcd.
- [[a]][[b]] gives ab (two links, but looking equal to the single link ab), even if the links are underlined (a b and a b look the same only if links are not underlined).
Parametre içeren bağlantılar (bağlantı isimleri) "piped" olarak adlandırılır, bunun nedeni kullanılan pipe ( | ) sembolüdür.
MediaWiki automatically checks if the target of a wikilink exists ("existence detection"). If the page doesn't exist, the link leads to the editing screen, and it is assigned the class "new". Such wikilinks are nicknamed "red links" because they are colored red in the default stylesheet on a default installation of MediaWiki. Red links are useful in determining the current status of the page (created or not created), create incoming links to a future page, facilitates and incites page creation.
Note that the image, category, and interlanguage syntax are the same as the wikilink syntax. Attempting to link normally will place the image on the page, add the page to the category and create an interlanguage link at the edge of the page. This can be prevented by prefixing a colon, which escapes the specific syntax. For example, [[:Category:Help]], [[:fr:Help:Link]], and [[:Image:Mediawiki.png]].
[değiştir] Stub feature
A wikilink to an existing page will be in class 'stub' if the page is in the main namespace, it is not a redirect, and the number of bytes of the wikitext is less than the "threshold for stub display" set in the user's preferences.
This allows users to immediately identify links to very short pages that probably need to be expanded. Alternately, a user may set a very high threshold to achieve any of the following:
- Identify links to very large pages. However, the criterion is the size of the wikitext; possible inclusion of templates and images can make the rendered page large, even if the amount of wikitext is small.
- Determine at a glance whether a link leads to the main namespace or not. However, this does not take into account redirects to the main namespace (even if the redirect itself is in the main namespace).
- Identify links to redirects, for clean-up work such as bypassing redirects.
However, section linking to a "stub" does not work. Although this is normally a minor issue, this may cause problems with users who set a very high threshold.
[değiştir] Interwiki links
An interwiki link links a page to a page on another website. Unlike the name suggests, the target site need not be a wiki, but it has to be on the interwiki map specified for the source wiki. These links have the associated CSS class "extiw". These are in the same form as wikilinks above, but take a prefix which specifies the target site. For example, on Wikimedia projects and many other wikis [[wikipedia:Main Page]] links to Wikipedia's main page. The prefix can be hidden using the same piped syntax as wikilinks.
[değiştir] Interwiki links to the same project
Although interwiki links can be used to point to a wiki from itself, this is not generally recommended. MediaWiki does not detect whether or not the target page of an interwiki list exists, so there is no special formatting and the link is always to the view page. Further, MediaWiki does not check if the page is linking to itself. A self wikilink is bolded (like Yardım:Bağlantı), whereas a self interwiki link is normal (m:Yardım:Bağlantı).
Pros:
- A copy of the wikitext on a sister project may still point to the same page. Sometimes two prefixes are needed for that purpose, e.g. w:de:a.
[değiştir] External links
External links use absolute URLs to link directly to any webpage. These links have the associated CSS class "external". External links are in the form [http://www.example.org link name] (resulting in link name), with the link name separated from the URL by a space. Links without link names will be numbered: [http://www.example.org] becomes [1]. Links with no square brackets will be displayed in their entirety: http://www.example.org .
Unlike in the case of internal links, [http://www.example.org a]s gives as.
See URLs in external links for more detailed information.
Special:Linksearch finds all pages linking to a given site.
[değiştir] External links to the same project
External links are often used to use special URL parameters in links. This allows links directly to the edit history of a page, to a page in edit view, a diff of two versions, et cetera. They can also be used to create a navigational image.
However, the use of external links to link to a normal page on the same project is not recommended. These links benefit from none of the features of a wikilink, and may break the web of links when the content is exported to another domain.
[değiştir] Arrow icon
Monobook skin produces an arrow icon after every external link. This can be suppressed with class="plainlinks":
[değiştir] Section linking (anchors)
Links in the form [[#anchor_name]] will link to any anchor named "anchor_name" on the page. This may be either a heading named "anchor_name", or an arbitrary position. [[#top]] is a reserved name that links to the top of a page. It is possible to create an arbitrary anchor name using the HTML code <span id="anchor_name"></span>.
Anchor links can also be appended to any type of link; for more information, see Help:Section#Section_linking.
[değiştir] Problems with page name conversion
Note that if the page name is automatically converted (for example, from "/wiki/main Page" to "/wiki/Main Page"), the section link will still work but will disappear from the address bar. As a consequence, this will make it more difficult to bookmark the section itself. This is not applicable for wikilinks, because the conversions have already taken place on Preview or Save of the referring page.
For example, consider http://en.wikipedia.org/wiki/Wikipedia:how_to_edit_a_page#Links_and_URLs. In this case, the anchor part of the address will disappear because the "how" will be converted to "How".
[değiştir] Redirects with section links
A redirect to a page section does not go to the section. However, one can add the section anyway as a clarification, and it will work if the redirect is manually clicked from the redirect page. However, links with a section to a redirect will lead to the section on the redirect's page.
[değiştir] Alt sayfa özelliği
MediaWiki altsayfa özelliğine sahiptir, faaliyete geçmesi projeye ve isimalana bağlıdır. Faaliyete geçerse, takip eden şeyler olacaktır (eğer geçmezse "A/b" sadece bir maddenin başlık ismi olarak kalacaktır)
Sayfaların hiyerarşik dallanması (ağaç yapısı) kesme işaretleri kullanılarak oluşturulur: A/b A'nın çocuğudur, A; A/b, A/c nin ebeveynidir; aynı zamanda A/b/c A/b'nin çocuğu; A/a, A/b ve A/c kardeştirler.
Alt sayfanın en üstünde tüm ata sayfalara kısayollar otomatik olarak herhangi bir viki yazıma ihtiyaç duymaksızın yeralır. Bu bağlantılar çocuk sayfa mevcut olmasa bile bulunmaktadır, ama ata silsilesi ata sayfa olmadığından durmaktadır (örneğin eğer büyükbaba ve büyükanne mevcut değilse, ebeveyn sayfası da gözükmeyecektir. Bir sayfa ismindeki tüm harfler gibi, kesme işaretinden sonraki ilk harfin büyük veya küçük harf olması fark yaratır: "/Alt sayfa" ve "/alt sayfa" farklı sayfalardır.
Sayfaya bağlantılar ve İlgili değişiklikler sayfaları bu otomatik oluşan bağlantıları gözardı eder.
[değiştir] Akraba kısayollar
Akraba kısayollar tüm akrabaların isimleri değişse dahi doğru yönlendirmeye devam edecektir.
Alt sayfa hiyerarşisi içerisinde aşağıdaki kısayollar kullanılabilir:
- [[../]] mevcut sayfanın ebeveynine bağlantı oluşturur, örneğin, A/b sayfası üzerinde A'ya bağlantı sağlarken, A/b/c sayfası üzerinde A/b'ye bağlantı oluşturur.
- [[../s]] mevcut sayfadan kardeş sayfaya bağlantı oluşturur, örneğin, A/b sayfasında, A/s sayfasına kısayol oluşturur.
- [[/s]] bir alt sayfaya bağlantı yapar, örneğin A sayfasında (bu kod [[A/s]]) s alt sayfasına bağlantı oluşturacaktır.
Ayrıca bakınız Wikipedia:Alt sayfalar ve örnek sayfalar m:Link/a/b and m:Help:Link/a/b. , and the example pages m:Link/a/b and m:Help:Link/a/b. İsim alanı yüzünden daha sonrası (için eklenecek kesme işareti ile sayfa oluşturmak) işe ayramayacaktır.
[değiştir] Kullanıcı alanı
Kullanıcı sayfasının altsayfaları ([[User:Username/Subpage]]) o kullanıcının "kullanıcı alanı" içerisinde kabul edilir ve kurallar burada oldukça esnektir ancak doğal olarak başka kullanıcıların sayfalarında değişiklik yapılması hoş karşılanmaz.
[değiştir] İstenmeden oluşacak alt sayfa yapısı
Sayfa isminde geçecek kesme işareti alt sayfa yapılanması oluşmasını sağlayacaktır. örneğin sayfası "Subpage demo Season 2006" sayfasının alt sayfasıdır. Ata maddesi olmadığı sürece oluşturulacak bu madde için bir sakınca yoktur, lakin bu sayfa asla bir alt sayfaya sahip olamamak gibi bir dezavantajı taşıyacaktır. Örneğimizde maddesi atalarını yani ebeveynlerinin ve onların ebeveynlarinin bağlantılarını sayfalarında göstermeyecektir, zira ebeveynlarinin ebeveyni yoktur. Sahte bir büyükbaba madde bu sorunu çözecektir.
[değiştir] Alt sayfayı faaliyete geçirmek
Vikipedyada tüm tartışma, isim alanı ve proje isim alanlarını faaliyete geçirme özelliğinin aynısı burada da işlemektedir. Standart ayarlar seçilidir DefaultSettings.php. Revizyon numarası 1.21'e göre şu isim adları standart olarak faaliyete geçmiş olacaktır: Özel, Ana_sayfa, kullanıcı ve kullanıcı_tartışma, Meta_talk, ve Resim_tartışma. Proje başına ayarlar bu kısayoldan LocalSettingsphp değiştirilebilir.
== Miscellaneous == (Diğer)
[değiştir] Bir sayfaya resim araciligiyla bağlantı (link) vermek
Resimleri diğer sayfalara ulaşmak için kullanmak mümkündür. Daha fazla bilgi için , bkz use an image as a link to a page.
[değiştir] "Hover box" on links
On some browsers, holding the cursor over link will show a hover box containing the text of the link's HTML title attribute. MediaWiki sets this to the target page name (without the possible section indication) if it's a wikilink, the page name with prefix if it's an interwiki link, and the URL if it's an external link.
This can be switched off in the user preferences. The browser may also show similar info, but with the possible section indication, in the address bar.
For these effects a piped link is useful even if it not followed; for example, for displaying the meaning of an acronym (e.g. NPOV) or any other remark. It is possible to produce a hover box without a link, see Şablon:Tim.
[değiştir] Disallowed characters
In internal and interwiki link style, a plus sign in a page name is not allowed, the HTML and hence the rendered page just shows the wikitext, e.g. a+b. In external link style a plus sign in the URL is retained. It is often equivalent with a space. See also below.
In accordance with the rules explained in Help:Page name, conversions are automatically made to non-literal characters in wiki and interwiki links. For example, "[[Help:Page%20name]]" becomes "Help:Page name". However, the opposite is true for external links; literal characters are converted into non-literal characters. For example, most browsers will convert ".../wiki/!" to ".../wiki/%21".
A code like %70 in a redirect disables it, although the link works from the redirect page. For a redirect that works, the redirect page shows the canonical form of the target, unlike its preview page, which renders the link in the usual way.
[değiştir] Special pipe syntax
Using an empty pipe syntax on wiki and interwiki links will hide interwiki prefixes and parentheses. For example, [[w:Mercury (planet)|]] becomes Mercury. This pipe syntax should only be used where the unqualified reference is not ambiguous, such as in an article about the solar system. See Help:Piped link.
[değiştir] Additional effects of links
- Related changes
- Backlinks
- Date format
- Using a space after the pipe syntax ([[Main page| ]]) produces (perhaps depending on the browser) a space only, not a link (" "), but it is treated as a link for the "what links here" feature.
[değiştir] Links from a page
With query the links from page pagename, sorted by namespace, and for each namespace alphabetically, are given by {{SERVER}}{{SCRIPTPATH}}/query.php?what=links&titles=pagename , e.g. http://tr.wikipedia.org/w/query.php?what=links&titles=Yardım:Bağlantı .
[değiştir] See also
- Help:Calculation
- Help:Editing#Links, URLs
- Help:Interwiki linking
- Help:Piped link
- Help:Self link
- Help:Template#Restrictions (and the next section)
- Help:URL
- Help:What links here
- m:Parser testing/replaceInternalLinks
- m:Parser testing/replaceExternalLinks
- m:Links table
- m:Brokenlinks table
- Hyperlink
- Wikipedia:Canonicalization
- Linkless
- Red Link
Şablon:H:f


