diff options
author | lisps <stummp@loewen.de> | 2014-03-19 10:32:55 +0100 |
---|---|---|
committer | lisps <stummp@loewen.de> | 2014-03-19 10:32:55 +0100 |
commit | 7b62b42de1887c3627c727f0483aea41556742d4 (patch) | |
tree | 96dbc0f8ab18df7212ebc3dfd6d5f1434ef34335 /inc | |
parent | e310313d794a3336d279ee09973508e794dbf08e (diff) | |
download | rpg-7b62b42de1887c3627c727f0483aea41556742d4.tar.gz rpg-7b62b42de1887c3627c727f0483aea41556742d4.tar.bz2 |
add config date_at_format
change translation message
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 1 | ||||
-rw-r--r-- | inc/lang/en/lang.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 0b15c284d..44cfe91ba 100644 --- a/inc/common.php +++ b/inc/common.php @@ -395,6 +395,7 @@ function wl($id = '', $urlParameters = '', $absolute = false, $separator = '& global $conf; if(is_array($urlParameters)) { if(isset($urlParameters['rev']) && !$urlParameters['rev']) unset($urlParameters['rev']); + if(isset($urlParameters['at']) && $conf['date_at_format']) $urlParameters['at'] = date($conf['date_at_format'],$urlParameters['at']); $urlParameters = buildURLparams($urlParameters, $separator); } else { $urlParameters = str_replace(',', $separator, $urlParameters); diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php index 278be82cd..2fee15853 100644 --- a/inc/lang/en/lang.php +++ b/inc/lang/en/lang.php @@ -366,5 +366,6 @@ $lang['currentns'] = 'Current namespace'; $lang['searchresult'] = 'Search Result'; $lang['plainhtml'] = 'Plain HTML'; $lang['wikimarkup'] = 'Wiki Markup'; -$lang['page_nonexist_rev'] = "Page has not existed with revision %d, try %d"; +$lang['page_nonexist_rev'] = 'Page did not exist at %s. It was subsequently created at %s.'; +$lang['unable_to_parse_date'] = 'Unable to parse at parameter "%s" with format "%s".'; //Setup VIM: ex: et ts=2 : |