code: public static void main(String args[]) {
      Mediawiki wiki;
      try {
        wiki = new Mediawiki();
        int result = wiki.maininstance(args);
        if (!testMode && result != 0)
          System.exit(result);
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }
docs: entry point e.g. for java -jar called provides a command line interface
  
  @param args