Merge "Add 路面 for better word segmentation."
[lhc/web/wiklou.git] / includes / specials / SpecialLonelypages.php
index a4d0ec5..0c86163 100644 (file)
@@ -32,9 +32,9 @@ class LonelyPagesPage extends PageQueryPage {
        function __construct( $name = 'Lonelypages' ) {
                parent::__construct( $name );
        }
-       
+
        function getPageHeader() {
-               return wfMsgExt( 'lonelypagestext', array( 'parse' ) );
+               return $this->msg( 'lonelypagestext' )->parseAsBlock();
        }
 
        function sortDescending() {
@@ -68,7 +68,7 @@ class LonelyPagesPage extends PageQueryPage {
                                                'tl_title = page_title' ) ) )
                );
        }
-       
+
        function getOrderFields() {
                // For some crazy reason ordering by a constant
                // causes a filesort in MySQL 5