From: Brion Vibber ");
+ $wgOut->addHTML( $skin->historyLink() ."");
}
$sql="SELECT cur_text FROM cur WHERE cur_namespace=$ns and cur_title='$etitle'";
@@ -915,7 +915,7 @@ class Article {
$text = wfMsg( "deletedtext", $deleted, $loglink );
- $wgOut->addHTML( " " . $text );
+ $wgOut->addHTML( " " . $text . " " . wfMsg( "nolinkstoimage" ) . "\n" );
+ $wgOut->addHtml( " " . wfMsg( "nolinkstoimage" ) . " " . wfMsg( "linkstoimage" ) . "\n " . wfMsg( "linkstoimage" ) . " " . $text );
+ $wgOut->addHTML( " " . $text . " " . wfMsg( $msg ) . "\n" );
+ $this->addHTML( " " . wfMsg( $msg ) . " " . wfMsg( "badquerytext" ) );
+ " " . wfMsg( "badquerytext" ) . " " . wfMsg( "badquerytext" ) );
+ " " . wfMsg( "badquerytext" ) . " {$top}\n" );
+ $wgOut->addHTML( " {$top} " . wfMsg( "nonefound" ) . "\n" );
+ $wgOut->addHTML( " " . wfMsg( "nonefound" ) . " {$sl}\n" );
+ $wgOut->addHTML( " {$sl} " );
+ $wgOut->addHTML( " " . wfMsg("nogomatch", $t->escapeLocalURL( "action=edit" ) ) . " " . wfMsg( "imghistlegend" ) . "\n " . wfMsg( "imghistlegend" ) . " " . wfMsg( "imglegend" ) . "\n" );
+ $wgOut->addHTML( " " . wfMsg( "imglegend" ) . " {$text}\n " );
+ $wgOut->addHTML( " {$text}\n {$text} " );
+ $wgOut->addHTML( "{$text} " );
$res = wfQuery( $sql, DB_READ, "wfSpecialImagelist" );
while ( $s = wfFetchObject( $res ) ) {
@@ -103,8 +102,9 @@ function wfSpecialImagelist()
if ( "" != $s->img_description ) {
$l .= " ({$s->img_description})";
}
- $wgOut->addHTML( "{$l} {$err}\n" );
+ $wgOut->addHTML( " {$err}
+ $wgOut->addHTML( "
";
+ return " ";
}
function contextLine( $line ) {
diff --git a/includes/ImagePage.php b/includes/ImagePage.php
index 4ba864d7ef..437346279c 100644
--- a/includes/ImagePage.php
+++ b/includes/ImagePage.php
@@ -100,10 +100,10 @@ class ImagePage extends Article {
$res = wfQuery( $sql, DB_READ, "Article::imageLinks" );
if ( 0 == wfNumRows( $res ) ) {
- $wgOut->addHtml( "" );
+ $wgOut->addHTML( "
" );
$sk = $wgUser->getSkin();
while ( $s = wfFetchObject( $res ) ) {
@@ -245,7 +245,7 @@ class ImagePage extends Article {
$text = wfMsg( "deletedtext", $deleted, $loglink );
- $wgOut->addHTML( "
\n
\n\n";
if ( isset ( $searchx ) ) {
@@ -167,7 +167,7 @@ class SearchEngine {
$this->parseQuery();
if ( "" == $this->mTitlecond || "" == $this->mTextcond ) {
$wgOut->addHTML( "" . wfMsg( "badquery" ) . "
\n" .
- "" . wfMsg( "badquery" ) . "
\n" .
- "
{$sl}\n" );
+ $wgOut->addHTML( "
{$sl}\n" );
$foundsome = false;
@@ -269,9 +269,9 @@ class SearchEngine {
$wgOut->addHTML( "\n" );
}
if ( ! $foundsome ) {
- $wgOut->addHTML( "
{$lineno}: {$line}\n" );
+ $wgOut->addHTML( "
{$lineno}: {$line}\n" );
}
$wgOut->addHTML( "\n" );
}
@@ -464,7 +464,7 @@ class SearchEngine {
# No match, generate an edit URL
$t = Title::newFromText( $this->mUsertext );
- $wgOut->addHTML( wfMsg("nogomatch", $t->escapeLocalURL( "action=edit" ) ) . "\n" . wfMsg( "imghistory" ) . "
\n" .
- "";
+ "
" );
-
+ "{$cap}: " .
+ "" );
$nums = array( 50, 100, 250, 500 );
$here = $wgLang->specialPage( "Imagelist" );
@@ -68,7 +67,7 @@ function wfSpecialImagelist()
"sort=bysize&limit={$num}" );
}
$text = wfMsg( "showlast", $fill, $bysize );
- $wgOut->addHTML( "{$text}";
return $s;
}
@@ -2204,7 +2204,7 @@ class Skin {
and by the user contributions list. It is responsible for formatting edit
comments. It escapes any HTML in the comment, but adds some CSS to format
auto-generated comments (from section editing) and formats [[wikilinks]].
- Main author: Erik Möller (moeller@scireview.de)
+ Main author: Erik Möller (moeller@scireview.de)
*/
function formatComment($comment)
{
diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php
index 7432ebc6cf..39737fef29 100644
--- a/includes/SpecialImagelist.php
+++ b/includes/SpecialImagelist.php
@@ -38,11 +38,11 @@ function wfSpecialImagelist()
$lt = $wgLang->formatNum( "${limit}" );
$sql .= " LIMIT {$limit}";
}
- $wgOut->addHTML( "
\n" );
+ $wgOut->addHTML( "
\n" );
$fill = "";
$first = true;
@@ -80,7 +79,7 @@ function wfSpecialImagelist()
"sort=bydate&limit={$num}" );
}
$text = wfMsg( "showlast", $fill, $bydate );
- $wgOut->addHTML( "{$text}
\n
\n" );
+ $wgOut->addHTML( "{$l}
\n" );
}
+ $wgOut->addHTML( "
{$sl}\n" );
+ $wgOut->addHTML( "
{$sl}
{$sl}\n" ); + $wgOut->addHTML( "
{$sl}
\n" ); } ?>