GetLinksTo ( $options=, $table='pagelinks', $prefix='pl') Get an array of Title objects linked from this Title Also stores the IDs in the link cache. GetLinksFrom ( $options=, $table='pagelinks', $prefix='pl') What is the length of this page? Uses link cache, adding it if necessary. What is the page_latest field for this page? More. ![]() GetInternalURL ( $query='', $query2=false) Get a url appropriate for making redirects based on an untrusted url arg. GetFullUrlForRedirect ( $query='', $proto= PROTO_CURRENT) Get a real URL referring to this title, with interwiki link and fragment. GetFullURL ( $query='', $query2=false, $proto= PROTO_RELATIVE) Get the prefixed title with spaces, plus any fragment (part beginning with '#') More. Get the fragment in URL form, including the "#" character if there is one. Get a list of rendered edit notices for this page. Is there a version of this page in the deletion archive? More. Get the default (plain) message contents for an page that overrides an interface message key. Get the page's content model id, see the CONTENT_MODEL_XXX constants. Get a list of URLs to purge from the CDN cache when this page changes. Returns the raw sort key to be used for categories, with the specified prefix. GetCascadeProtectionSources ( $getPages= true)Ĭascading protection: Get the source of any cascading restrictions on this page. Get the URL for a canonical link, for use in things like IRC and e-mail notifications. GetCanonicalURL ( $query='', $query2=false) Get an array of Title objects referring to non-existent articles linked from this page. Get the base page name without a namespace, i.e. Get the article ID for this Title from the link cache, adding it if necessary. More.Īccessor/initialisation for mRestrictions. More.įlush the protection cache in this object and force reload from the database. If the Title refers to a special page alias which is not the local default, resolve the alias, and localise the name as necessary. Get the approximate revision count of this page. Remove any title protection due to page existing. More.Ĭreates a new Title for a different fragment of the same page. ![]() Whether the magic words INDEX and NOINDEX function for this page. More.Ĭan this title represent a page in the wiki's database? More.Ĭan this title have a corresponding talk page? More. Returns cascading restrictions for the current article. More.ĭetermines whether cascading protection sources have already been loaded from the database. Return a string representation of this title.
0 Comments
Leave a Reply. |