Revision: 53475
Author:   siebrand
Date:     2009-07-19 14:36:32 +0000 (Sun, 19 Jul 2009)

Log Message:
-----------
Use $wgLang->pipeList() instead of separating with "/"

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialRevisiondelete.php

Modified: trunk/phase3/includes/specials/SpecialRevisiondelete.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRevisiondelete.php    2009-07-19 
12:27:48 UTC (rev 53474)
+++ trunk/phase3/includes/specials/SpecialRevisiondelete.php    2009-07-19 
14:36:32 UTC (rev 53475)
@@ -181,7 +181,7 @@
         * Show some useful links in the subtitle
         */
        protected function showConvenienceLinks() {
-               global $wgOut, $wgUser;
+               global $wgOut, $wgUser, $wgLang;
                # Give a link to the logs/hist for this page
                if( $this->targetObj ) {
                        $links = array();
@@ -210,7 +210,7 @@
                                );
                        }
                        # Logs themselves don't have histories or archived 
revisions
-                       $wgOut->setSubtitle( '<p>'.implode($links,' / ').'</p>' 
);
+                       $wgOut->setSubtitle( '<p>' . $wgLang->pipeList( $links 
) . '</p>' );
                }
        }
 



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to