code: public Map<String, EntityDocument> getEntityDocuments(List<String> entityIds)
  			throws MediaWikiApiErrorException, IOException {
  		Map<String, EntityDocument> result = new HashMap<>();
  		List<String> newEntityIds = new ArrayList<>();
  		newEntityIds.addAll(entityIds);
  		boolean moreItems = !newEntityIds.isEmpty();
  		while (moreItems) {
  			List<String> subListOfEntityIds;
  			if (newEntityIds.size() <= maxListSize) {
  				subListOfEntityIds = newEntityIds;
  				moreItems = false;
  			} else {
  				subListOfEntityIds = newEntityIds.subList(0, maxListSize);
  			}
  			WbGetEntitiesActionData properties = new WbGetEntitiesActionData();
  			properties.ids = ApiConnection.implodeObjects(subListOfEntityIds);
  			result.putAll(getEntityDocumentMap(entityIds.size(), properties));
  			subListOfEntityIds.clear();
  		}
  		return result;
  	}
docs: Fetches the documents for the entities of the given string IDs. The
  result is a map from entity IDs to {@link EntityDocument} objects. It is
  possible that a requested ID could not be found: then this key is not set
  in the map.
  
  @param entityIds
  list of string IDs (e.g., "P31", "Q42") of requested entities
  @return map from IDs for which data could be found to the documents that
  were retrieved
  @throws MediaWikiApiErrorException
  @throws IOException