code: private void generateTemplateIndices(WikipediaTemplateInfo info,
  			Set<String> templateNames)
  	{
  		try {
  			for (String name : templateNames) {
  				int id = info.checkTemplateId(name);
  				if (id != -1) {
  					tplNameToTplId.put(name, id);
  				}
  			}
  		}
  		catch (WikiApiException e) {
  
  		}
  	}
docs: Loads existing ids into the map. If no id exists, a template will
  get a new one in the dump writer
  
  @param info Must not be {@code null}.
  @param templateNames
  template names to use