API: Standardize limits. Use ApiBase constants to avoid similar breakage and inconsis...
[lhc/web/wiklou.git] / includes / Credits.php
index ff33de7..580a8d9 100644 (file)
@@ -18,7 +18,6 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  *
  * @author <evan@wikitravel.org>
- * @package MediaWiki
  */
 
 /**
@@ -87,11 +86,13 @@ function getAuthorCredits($article) {
 
        $timestamp = $article->getTimestamp();
        if ($timestamp) {
-               $d = $wgLang->timeanddate($article->getTimestamp(), true);
+               $d = $wgLang->date($article->getTimestamp(), true);
+               $t = $wgLang->time($article->getTimestamp(), true);
        } else {
                $d = '';
+               $t = '';
        }
-       return wfMsg('lastmodifiedby', $d, $author_credit);
+       return wfMsg('lastmodifiedatby', $d, $t, $author_credit);
 }
 
 /**
@@ -184,4 +185,4 @@ function creditOthersLink($article) {
        return $skin->makeKnownLink($article->mTitle->getPrefixedText(), wfMsg('others'), 'action=credits');
 }
 
-?>
+