GureWiki > Ezagutza partekatzen / Compartiendo conocimiento
GureWiki: "Ezagutza partekatzen / Compartiendo conocimiento"
Template:@himikel > GetPageSec
    Aurkibidea
    Goibururik ez
    var mPars = {     
      sPageTitle: __request.args.title ?? args.title ?? null,
      nPageId: __request.args.pageid ?? args.pageid ?? null,
      sXPath: __request.args.xpath ?? args.xpath ?? null
    };
    
    var sSelPage=null;
    if (mPars.sPageTitle!=null)
      let sSelPage="="..mPars.sPageTitle;
    else if (mPars.nPageId!=null)
      let sSelPage=Num.Format(mPars.nPageId,"0");
      //let sSelPage=Num.Format(page.id,"0");
      
    var xPageSec=Wiki.Api(Uri.Build(Site.Api, ['pages', sSelPage, 'Security']));
    var xPageSecFilt=null;
    if (mPars.sXPath!=null)
      let xPageSecFilt=xPageSec[mPars.sXPath];
    else
      let xPageSecFilt=xPageSec;
    Web.Xml(Xml.Format(xPageSecFilt));
    

    Webgune hau MindTouch Core "DekiWiki" software askearekin dabil

    Hemengo edukiak Creative Commons BY-NC-SA baimen baten mende daude