Followup r87225
[lhc/web/wiklou.git] / maintenance / dumpInterwiki.php
index b5202f8..b4f8e82 100644 (file)
  * @ingroup Wikimedia
  */
 
-/**
- * @todo document
- * @ingroup Maintenance
- */
-class Site {
-       var $suffix, $lateral, $url;
-
-       function __construct( $s, $l, $u ) {
-               $this->suffix = $s;
-               $this->lateral = $l;
-               $this->url = $u;
-       }
-
-       function getURL( $lang ) {
-               $xlang = str_replace( '_', '-', $lang );
-               return "http://$xlang.{$this->url}/wiki/\$1";
-       }
-}
+require_once( dirname( __FILE__ ) . '/Site.php' );
 
 require_once( dirname( __FILE__ ) . '/Maintenance.php' );