r41662 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41661‎ | r41662 | r41663 >
Date:18:13, 4 October 2008
Author:dale
Status:old
Tags:
Comment:
minor skin updates
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_Index.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php (modified) (history)
  • /trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.inc.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.inc.php
@@ -790,9 +790,9 @@
791791 }
792792 }
793793 if ( !isset( $this->govTrack_cache[$govID] ) ) {
794 - $wgTitle = Title::newFromText( 'Archive:Missing_People' );
 794+ //$wgTitle = Title::newFromText( 'Archive:Missing_People' );
795795 print $govID . ' not found ' . "\n";
796 - append_to_wiki_page( $wgTitle, "Missing GovTrack person: [[Missing GovTrackId:=$govID]][http://www.govtrack.us/congress/person.xpd?id=$govID] " );
 796+ //append_to_wiki_page( $wgTitle, "Missing GovTrack person: [[Missing GovTrackId:=$govID]][http://www.govtrack.us/congress/person.xpd?id=$govID] " );
797797 return false;
798798 }
799799 return str_replace( '_', ' ', $this->govTrack_cache[$govID] );
Index: trunk/extensions/MetavidWiki/includes/MV_Index.php
@@ -520,8 +520,8 @@
521521 __METHOD__,
522522 $options );
523523
524 - // echo "SQL:".$dbr->lastQuery($result)." \n";
525 - // die;
 524+ //echo "SQL:".$dbr->lastQuery($result)." \n";
 525+ //die;
526526 // $result = $dbr->query($sql, 'MV_Index:doFiltersQuery_base');
527527
528528 $this->numResults = $dbr->numRows( $result );
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php
@@ -490,10 +490,10 @@
491491 $plink = htmlspecialchars( seconds2ntp( $mvd_page->start_time ) ) . ' to ' . htmlspecialchars( seconds2ntp( $mvd_page->end_time ) );
492492 // @@TODO set up conditional display: (view source if not logged on, protect, remove if given permission)
493493 $out .= $plink;
494 - $out .= "( $elink - $hlink - $dlink ";
 494+ $out .= "( $elink $hlink $dlink";
495495 if ( $wgUser->isAllowed( 'mv_delete_mvd' ) ) {
496496 $rlink = '<a title="' . htmlspecialchars( wfMsg( 'mv_remove_title' ) ) . '" href="javascript:mv_disp_remove_mvd(\'' . htmlspecialchars( $mvd_page->wiki_title ) . '\', \'' . htmlspecialchars( $mvd_page->id ) . '\')">' . wfMsg( 'mv_remove' ) . '</a>';
497 - $out .= ' - ' . $rlink;
 497+ $out .= ' ' . $rlink;
498498 }
499499 $out .= " )<br> ";
500500 return $out;

Status & tagging log