- # wfMsg( unprotectedarticle, $text )
- # wfMsg( 'protectedarticle', $text )
- # wfMsg( 'deletedarticle', $text )
- # wfMsg( 'uploadedimage', $text )
- # wfMsg( "blocklogentry", $this->BlockAddress, $this->BlockExpiry );
- # wfMsg( "bureaucratlogentry", $this->mUser, implode( " ", $rightsNotation ) );
- # wfMsg( "undeletedarticle", $this->mTarget ),
+ /**
+ * Output just the list of entries given by the linked LogReader,
+ * with extraneous UI elements. Use for displaying log fragments in
+ * another page (eg at Special:Undelete)
+ * @param OutputPage $out where to send output
+ */
+ function showList( &$out ) {
+ $html = "\n<ul>\n";
+ $result = $this->reader->getRows();
+ while( $s = $result->fetchObject() ) {
+ $html .= $this->logLine( $s );
+ }
+ $result->free();
+ $html .= "\n</ul>\n";
+ $out->addHTML( $html );
+ }
+
+ /**
+ * @param Object $s a single row from the result set
+ * @return string Formatted HTML list item
+ * @private
+ */