Commit 1dbca7a7 authored by zlzleking's avatar zlzleking

Add document infomation button

parent 945fb5f8
Pipeline #41088357 passed with stage
in 1 minute and 6 seconds
......@@ -556,6 +556,15 @@ class LibertyTemplate extends BaseTemplate {
'accesskey' => Linker::accesskey( 't-whatlinkshere' )
]
);
echo Linker::linkKnown(
$title,
$skin->msg( 'liberty-info' )->plain(),
[
'class' => 'btn btn-secondary tools-btn',
'title' => $skin->msg( 'liberty-tooltip-info' )->plain() ,
],
[ 'action' => 'info' ]
);
if ( $title->quickUserCan( 'move', $user ) && $title->exists() ) {
echo Linker::linkKnown(
SpecialPage::getTitleFor( 'Movepage', $title ),
......
......@@ -15,9 +15,11 @@
"liberty-login": "Login",
"liberty-login-alter": "Login with other method",
"liberty-login-btn": "Login",
"liberty-info": "Info",
"liberty-purge": "Purge",
"liberty-recent-discussions": "Recent discussions",
"liberty-remember": "Remember my login",
"liberty-tooltip-info": "View document's infomation",
"liberty-tooltip-purge": "Purge the cache of this page.",
"liberty-twitter": "Twitter",
"liberty-view-more": "View more",
......
......@@ -12,9 +12,11 @@
"liberty-login": "로그인",
"liberty-login-alter": "다른 방법으로 로그인하기",
"liberty-login-btn": "로그인",
"liberty-info": "문서 정보",
"liberty-purge": "갱신",
"liberty-recent-discussions": "최근토론",
"liberty-remember": "로그인 상태를 유지하기",
"liberty-tooltip-info": "문서의 정보를 열람합니다",
"liberty-tooltip-purge": "문서 캐쉬를 새로 지정하여 문서를 불러옵니다.",
"liberty-twitter": "트위터",
"liberty-view-more": "더보기",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment