moving SpecialUploadMogile.php from phase3/includes/specials to extensions/MogileClie...
[lhc/web/wiklou.git] / includes / QueryPage.php
index cc96076..9d89ac3 100644 (file)
@@ -304,10 +304,12 @@ class QueryPage {
                                $tRow = $dbr->fetchObject( $tRes );
 
                                if( $tRow ) {
-                                       $updated = $wgLang->timeAndDate( $tRow->qci_timestamp, true, true );
+                                       $updated = $wgLang->timeanddate( $tRow->qci_timestamp, true, true );
+                                       $updateddate = $wgLang->date( $tRow->qci_timestamp, true, true );
+                                       $updatedtime = $wgLang->time( $tRow->qci_timestamp, true, true );
                                        $wgOut->addMeta( 'Data-Cache-Time', $tRow->qci_timestamp );
                                        $wgOut->addInlineScript( "var dataCacheTime = '{$tRow->qci_timestamp}';" );
-                                       $wgOut->addWikiMsg( 'perfcachedts', $updated );
+                                       $wgOut->addWikiMsg( 'perfcachedts', $updated, $updateddate, $updatedtime );
                                } else {
                                        $wgOut->addWikiMsg( 'perfcached' );
                                }
@@ -604,9 +606,9 @@ abstract class WantedQueryPage extends QueryPage {
        /**
         * Make a "what links here" link for a given title
         *
-        * @param Title $title Title to make the link for
-        * @param Skin $skin Skin to use
-        * @param object $result Result row
+        * @param $title Title to make the link for
+        * @param $skin Skin object to use
+        * @param $result Object: result row
         * @return string
         */
        private function makeWlhLink( $title, $skin, $result ) {
@@ -616,4 +618,4 @@ abstract class WantedQueryPage extends QueryPage {
                $wgLang->formatNum( $result->value ) );
                return $skin->link( $wlh, $label, array(), array( 'target' => $title->getPrefixedText() ) );
        }
-}
\ No newline at end of file
+}