Was this page helpful?

Page

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Result
    3. 3. Samples
    page : map
    

    Access the current page object (Note: if page property is used inside a template, it refers to the nearest non-template page this is including the template).

    Usage Restrictions

    1.8.2 or later

    Result

    A map of the page object's properties.

    Samples

        Output

    To get a map of the page:

    {{page }} 

       

    { 
        "api": "http://developer.mindtouch.com/@api/deki/pages/11124", 
        "author": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$user#%5B+1089+%5D", 
        "comments": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pagecomments#%5B+11124+%5D", 
        "contents": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pagecontents#%5B+%22en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page%22+%5D", 
        "date": "Mon, 24 May 2010 23:50:29 GMT", 
        "editsummary": "9 words added", 
        "feed": "http://developer.mindtouch.com/@api/deki/pages/11124/feed", 
        "files": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$files#%5B+11124+%5D", 
        "fronturi": "http://developer.mindtouch.com/en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page", 
        "id": 11124, 
        "ishidden": false, 
        "language": null, 
        "mime": "application/x.deki0805+xml", 
        "name": "Page", 
        "namespace": "", 
        "parent": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$page#%5B+10432,+True+%5D", 
        "parents": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$parents#%5B+11124,+True+%5D", 
        "path": "en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page", 
        "properties": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pageprops#%5B+11124+%5D", 
        "rating": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$rating#%5B+11124+%5D", 
        "redirect": null, 
        "revision": 3, 
        "revisions": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$revisions#%5B+11124+%5D", 
        "subpages": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$subpages#%5B+11124+%5D", 
        "tags": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pagetags#%5B+11124+%5D", 
        "talkuri": "http://developer.mindtouch.com/Talk:en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page", 
        "text": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pagetext#%5B+%22en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page%22+%5D", 
        "title": "Page", 
        "toc": "<html><body><span id=\"page.toc\" /></body></html>", 
        "unprefixedpath": "en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page", 
        "uri": "http://developer.mindtouch.com/en/docs/DekiScript/Reference/Wiki_Functions_and_Variables/Page", 
        "viewcount": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pageviewcount#%5B+11124+%5D", 
        "xml": "local://8be0fa3289404f99a6b6f218cc6cbaba/deki/$pagexml#%5B+11124+%5D"
    }
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by