public String getWikipediaId ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( this . getDatabaseConfiguration ( ) . getHost ( ) ) ; sb . append ( "_" ) ; sb . append ( this . getDatabaseConfiguration ( ) . getDatabase ( ) ) ; sb . append ( "_" ) ; sb . append ( this . getDatabaseConfiguration ( ) . getLanguage ( ) ) ; return sb . toString ( ) ; }
The ID consists of the host the database and the language . This should be unique in most cases .