From: Brion Vibber Date: Sat, 3 Apr 2004 11:31:05 +0000 (+0000) Subject: XHTML fixes X-Git-Tag: 1.3.0beta1~616 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=0d8c8ffee1eaa56ecb08f7d454eddea636b7668a;p=lhc%2Fweb%2Fwiklou.git XHTML fixes --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 0bc00f6917..ad9b5acb5e 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -84,7 +84,7 @@ function wfSpecialContributions( $par = "" ) ($nCur + $nOld) <= $offlimit); $shm = wfMsg( "showhideminor", $mlink ); - $wgOut->addHTML( "
{$sl} ($shm) \n"); + $wgOut->addHTML( "
{$sl} ($shm)

\n"); if ( 0 == $nCur && 0 == $nOld ) { diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 3fa3437f8a..f3a25fe48a 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -48,7 +48,7 @@ class MovePageForm { $wgOut->addWikiText( wfMsg( "movepagetext" ) ); if ( ! Namespace::isTalk( $ot->getNamespace() ) ) { - $wgOut->addWikiText( "\n\n" . wfMsg( "movepagetalktext" ) ); + $wgOut->addWikiText( wfMsg( "movepagetalktext" ) ); } $ma = wfMsg( "movearticle" ); @@ -63,32 +63,38 @@ class MovePageForm { $wgOut->setSubtitle( wfMsg( "formerror" ) ); $wgOut->addHTML( "

{$err}\n" ); } - $wgOut->addHTML( "

+ $wgOut->addHTML( "

- - - - - - -" ); +
{$ma}:{$ott}
{$newt}: - - -
+ + + + + + + + " ); if ( ! Namespace::isTalk( $ot->getNamespace() ) ) { - $wgOut->addHTML( -" - -" ); + $wgOut->addHTML( " + + + + " ); } - $wgOut->addHTML( -" -
{$ma}:{$ott}
{$newt}: + + +
- -{$movetalk}
+ + {$movetalk}
  - -
+ $wgOut->addHTML( " + +   + + + + +
\n" ); } @@ -160,13 +166,13 @@ class MovePageForm { $talkmoved = $_REQUEST['talkmoved']; if ( 1 == $talkmoved ) { - $wgOut->addHTML( "\n

" . wfMsg( "talkpagemoved" ) ); + $wgOut->addHTML( "\n

" . wfMsg( "talkpagemoved" ) . "

\n" ); } elseif( 'articleexists' == $talkmoved ) { - $wgOut->addHTML( "\n

" . wfMsg( "talkexists" ) . "" ); + $wgOut->addHTML( "\n

" . wfMsg( "talkexists" ) . "

\n" ); } else { $ot = Title::newFromURL( $_REQUEST['oldtitle'] ); if ( ! Namespace::isTalk( $ot->getNamespace() ) ) { - $wgOut->addHTML( "\n

" . wfMsg( "talkpagenotmoved", wfMsg( $talkmoved ) ) ); + $wgOut->addHTML( "\n

" . wfMsg( "talkpagenotmoved", wfMsg( $talkmoved ) ) . "

\n" ); } } } diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 54c07b79af..0d2ba1fc8d 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -103,13 +103,13 @@ function wfSpecialWatchlist() while( $s = wfFetchObject( $res ) ) { $t = Title::makeTitle( $s->wl_namespace, $s->wl_title ); $t = $t->getPrefixedText(); - $wgOut->addHTML( "
  • " . + $wgOut->addHTML( "
  • " . $sk->makeKnownLink( $t, $t ) . "
  • \n" ); } $wgOut->addHTML( "\n" . "\n" . + wfMsg( "removechecked" ) . "' />\n" . "\n" ); return; @@ -135,7 +135,7 @@ function wfSpecialWatchlist() $wgOut->addHTML( "" . wfMsg( "watchdetails", $wgLang->formatNum( $nitems ), $wgLang->formatNum( $npages ), $y, - $specialTitle->escapeLocalUrl( "magic=yes" ) ) . "
    \n" ); + $specialTitle->escapeLocalUrl( "magic=yes" ) ) . "
    \n" ); $sql = "SELECT @@ -157,7 +157,7 @@ function wfSpecialWatchlist() $note = wfMsg( "wlnote", $wgLang->formatNum( $limit ), $wgLang->formatNum( round($days*24) ) ); else $note = ""; - $wgOut->addHTML( "\n
    \n{$note}\n
    " ); + $wgOut->addHTML( "\n
    \n{$note}\n
    " ); $note = wlCutoffLinks( $days, $limit ); $wgOut->addHTML( "{$note}\n" ); diff --git a/languages/LanguageFr.php b/languages/LanguageFr.php index d101a903b2..8c880c7aec 100644 --- a/languages/LanguageFr.php +++ b/languages/LanguageFr.php @@ -718,12 +718,12 @@ L'adresse électronique que vous avez indiquée dans vos préférences apparaît wfLocalUrl( "Special:Userlogin" ) . "\">connecté pour modifier votre liste.", "addedwatch" => "Ajouté à la liste", -"addedwatchtext" => "La page \"$1\" a été ajoutée à votre "

    La page \"$1\" a été ajoutée à votre liste de suivi. Les prochaines modifications de cette page et de la page discussion associée seront répertoriées ici, et la page apparaîtra en gras dans la liste des modifications récentes pour être repérée plus facilement.

    -

    Pour supprimer cette page de votre liste de suivi, cliquez sur \"Ne plus suivre\" dans le cadre de navigation.", +

    Pour supprimer cette page de votre liste de suivi, cliquez sur \"Ne plus suivre\" dans le cadre de navigation.

    ", "removedwatch" => "Supprimée de la liste de suivi", "removedwatchtext" => "La page \"$1\" a été supprimée de votre liste de suivi.", "watchthispage" => "Suivre cette page", @@ -895,8 +895,9 @@ avec modération.", "movepage" => "Déplacer un article", "movepagetext" => "Utilisez le formulaire ci-dessous pour renommer un article, en déplaçant toutes ses versions antérieures vers le nouveau nom. Le titre précédent deviendra une page de redirection vers le nouveau titre. -Les liens vers l'ancien titre ne seront pas modifiés et la page discussion, si elle existe, ne sera pas déplacée.
    -ATTENTION! +Les liens vers l'ancien titre ne seront pas modifiés et la page discussion, si elle existe, ne sera pas déplacée. + +'''ATTENTION!''' Il peut s'agir d'un changement radical et inattendu pour un article souvent consulté; assurez-vous que vous en comprenez bien les conséquences avant de procéder.", "movepagetalktext" => "La page de discussion associé, si présente, sera automatiquement déplacée avec '''sauf si:'''