Canonical page name: URL-decoded, using normalized spaces (not underscores), first letter uppercase.
Namespace used to be optional, but that leads to mistakes
Language used to be optional, but that leads to mistakes
if set to false the given title will not be capitalized but left as it is
if set to false the given title will not be capitalized but left as it is
Canonical page name: URL-decoded, using normalized spaces (not underscores), first letter uppercase.
Canonical page name with namespace e.g.
Canonical page name with namespace e.g. "Template talk:Automobile generation"
Wiki-encoded page name (without namespace) e.g.
Wiki-encoded page name (without namespace) e.g. Automobile_generation
Wiki-encoded page name with namespace e.g.
Wiki-encoded page name with namespace e.g. "Template_talk:Automobile_generation"
TODO: also use fragment?
TODO: also use fragment?
TODO: do as Josh says in Effective Java, chapter 3.
TODO: do as Josh says in Effective Java, chapter 3. TODO: also use fragment?
Language used to be optional, but that leads to mistakes
Namespace used to be optional, but that leads to mistakes
If somehow a different namespace is also given for this title, store it here.
If somehow a different namespace is also given for this title, store it here. Otherwise, this field is null.
Why do we need this nonsense? http://gd.wikipedia.org/?curid=4184 and http://gd.wikipedia.org/?curid=4185&redirect=no have the same title "Teamplaid:Gàidhlig", but they are in different namespaces: 4184 is in the template namespace, 4185 is in the main namespace. It looks like MediaWiki can handle this somehow, but when we try to import both pages from the XML dump file into the database, MySQL rightly complains about the duplicate title. As a workaround, we simply reject pages for which the <ns> namespace doesn't fit the <title> namespace.
page IRI for this page title
resource IRI for this page title
Returns useful info.
Returns useful info.
Represents a page title. Or a link to a page.
FIXME: a link is different from a title and should be represented by a different class.