Tujian

Linking pages

Contents
  1. Double brackets
  2. When the page does not exist yet
  3. Two pages with the same title
  4. Your own words
  5. A heading on a page
  6. Renames
  7. What links here
  8. Grouping pages with links

Double brackets

To link to another page on this site, write its title in double brackets:

See [[China Airlines]] for the fleet.

The link is drawn as the title you typed, and it goes to the page with that title. Capitals and spacing do not matter โ€” [[china airlines]] finds the same page.

When the page does not exist yet

A link to a page nobody has made shows as the plain words you typed, not as a link. The moment somebody creates a page with that title, your link starts working โ€” you do not have to come back and edit anything. The same happens if the page exists but is not published yet: your link waits for it.

Two pages with the same title

Two pages may share a title, since the number in the address is what tells them apart. If a [[title]] could mean either of two published pages, the link stays as text and the editor tells you so, naming both pages with their numbers. Point at the one you mean by its number, written the way its address reads:

[[p:47]]

A number link always goes to exactly that page, whatever it is called now. It is drawn with the page's current title. A page's number is the one in its address โ€” open the page and read it off the address bar: /p/47/โ€ฆ is page p:47.

Your own words

To make the link read differently from the page's title, put your words after a |:

[[China Airlines|the Taiwanese carrier]] and [[p:47|the Chinese one]]

The link still follows the page through a rename; only the words are yours.

A heading on a page

Every heading on a page has an address: the page's address, a #, h- and the heading in small letters with hyphens โ€” /p/9/worldline#h-history for a heading History on page 9. To link to a heading, write it after a #:

See [[WorldLine#History]] for how it began, or [[WorldLine#History|the early years]].

Without your own words the link reads WorldLine ยง History. To link to a heading on the page you are writing, leave the page out: [[#History]] reads as History. A heading that is not there lands the reader at the top of the page, and a heading that is re-worded gets a new address, so links written to the old words land at the top too. A page whose title holds a # or a | is linked by its number.

Renames

Links follow the page, not the words. Once a link has resolved to a page, renaming that page does not break the link: the site remembers which page you meant and draws the new title. A link that had not yet found its page keeps waiting for a page with the words you wrote.

Every page shows which pages link to it. When somebody deletes a page, they are told how many pages point at it, because those links go back to being plain words.

Pages that belong together are grouped with a tag (#group:china-northern on each โ€” see tags), and What links here is the other half: a page that links to its members, and members that link back, is a group a reader can walk in either direction without any structure beyond the links.