code: public SiteInfo getSiteInfo() throws Exception {
      if (siteinfo == null) {
        Api api = getQueryResult("&meta=siteinfo&siprop=general%7Cnamespaces");
        Query query = api.getQuery();
        setUpSiteInfo(query);
      }
      return siteinfo;
    }
docs: get the siteinfo
  
  @return the siteinfo
  @throws Exception