메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

관련글 보기 기능 추가

데브카페
Devcafe (토론 | 기여)님의 2024년 10월 23일 (수) 20:37 판 (새 문서: == 관련글 extention == * [https://m.mediawiki.org/wiki/Extension:RelatedArticles RelatedArticles extention] === 설치 === <source lang=python> cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles </source> === LocalSettings.php 하단에 추가 === <source lang=python> wfLoadExtension( 'RelatedArticles' ); </source> * 만약 설치 후 에러 가 난다면 실행(필수는 아님,실행시 오래걸림) <source lang=python> -- 위키...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

관련글 extention

설치

cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles

LocalSettings.php 하단에 추가

wfLoadExtension( 'RelatedArticles' );
  • 만약 설치 후 에러 가 난다면 실행(필수는 아님,실행시 오래걸림)
-- 위키 홈 에서 쉘명령어 실행 
php ./maintenance/rebuildLocalisationCache.php --force

테스트 :


{{#related:Test with read more}}
{{#related:Another test page}}

Comments