diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
commit | 8f416baead93a48e5799e44b8bd2e2c4859f4e04 (patch) | |
tree | cd47ac55eb80a39e3225e8b4f3161b88ea16c2cf /docs/title.txt | |
parent | d7d08bd1a17618c7d77a6b9b2989e9f7293d6ed6 (diff) |
auf Version 1.11 aktualisiert; Login-Bug behoben
Diffstat (limited to 'docs/title.txt')
-rw-r--r-- | docs/title.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/title.txt b/docs/title.txt index 5d9bd417..fd449c54 100644 --- a/docs/title.txt +++ b/docs/title.txt @@ -10,15 +10,15 @@ attributes of the title. This is intended to be an immutable "value" class, so there are no mutator functions. To get a new instance, call one of the static factory -methods WikiTitle::newFromURL(), WikiTitle::newFromDBKey(), -or WikiTitle::newFromText(). Once instantiated, the +methods Title::newFromURL(), Title::newFromDBKey(), +or Title::newFromText(). Once instantiated, the other non-static accessor methods can be used, such as getText(), getDBKey(), getNamespace(), etc. -The prefix rules: a title consists of an optional Interwiki +The prefix rules: a title consists of an optional interwiki prefix (such as "m:" for meta or "de:" for German), followed by an optional namespace, followed by the remainder of the -title. Both Interwiki prefixes and namespace prefixes have +title. Both interwiki prefixes and namespace prefixes have the same rules: they contain only letters, digits, space, and underscore, must start with a letter, are case insensitive, and spaces and underscores are interchangeable. Prefixes end @@ -74,4 +74,3 @@ it returns 0. For all external articles it returns 0. All of the IDs for all instances of Title created during a request are cached, so they can be looked up quickly while rendering wiki text with lots of internal links. - |