code: private static Get generateTokenRequest(Intoken intoken, String title) {
      return new ApiRequestBuilder() //
          .action("query") //
          .formatXml() //
          .param("prop", "info") //
          .param("intoken", intoken.toString().toLowerCase()) //
          .param("titles", MediaWiki.urlEncode(title)) //
          .buildGet();
    }
docs: Generates the next MediaWiki API urlEncodedToken and adds it to <code>msgs</code>.
  
  @param intoken type to get the urlEncodedToken for
  @param title title of the article to generate the urlEncodedToken for