-<?
-
-# Rebuild interwiki table using the file on meta and the language list
-# Wikimedia specific!
+<?php
+/**
+ * Rebuild interwiki table using the file on meta and the language list
+ * Wikimedia specific!
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
+
+/** */
$oldCwd = getcwd();
$optionsWithArgs = array( "o" );
include_once( "commandLine.inc" );
+/**
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
class Site {
var $suffix, $lateral, $url;
# Extract the intermap from meta
$dbr =& wfGetDB( DB_WRITE );
- $row = $dbr->getArray( "metawiki.cur", array( "cur_text" ),
+ $row = $dbr->selectRow( "metawiki.cur", array( "cur_text" ),
array( "cur_namespace" => 0, "cur_title" => "Interwiki_map" ) );
if ( !$row ) {