Wikipedia:Tip of the day/September 19, 2006

From Wikipedia, the free encyclopedia
Link tricks

Here are a couple tricks to reduce the amount of typing needed to create links:

1. The pipe trick: A pipe (|) at the end of the link to a page will hide disambiguations (the part of a page name in parentheses) and namespace prefixes ("Talk:", "Wikipedia:" etc.) from the visible link. For example: [[Lord of the Rings (movie)|]] becomes [[Lord of the Rings (movie)|Lord of the Rings]], which is shown as Lord of the Rings (the part in parentheses is hidden). And now a namespace example: [[Wikipedia:About|]] is converted to [[Wikipedia:About|About]], which is shown as About.

2. Plural trick: Often, you'll be editing an article and need to make a link to a plural. For example, suppose you wanted to link "Fred Foo was famous for his study of puddles" to puddle, you could link it like so: [[puddle|puddles]]. However, you can save time instead by writing [[puddle]]s. This also works for adjectives ([[Japan]]ese), verbs ([[dance]]d) and any other suffixes or prefixes. It does not, however, work for some irregular verbs ([[try]]ied does not work; you have to do [[try|tried]]).

Prior tip - Next tip