"미디어위키 MobileFrontend 설치 (모바일웹)"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
5번째 줄: 5번째 줄:
==방법==
==방법==
*https://www.mediawiki.org/wiki/Extension:MobileFrontend 에서 확장기능을 다운로드
*https://www.mediawiki.org/wiki/Extension:MobileFrontend 에서 확장기능을 다운로드
*[[확장기능 폴더]]에 업로드하고 압축 해제
* [[확장기능 폴더]]에 업로드하고 압축 해제
*[[LocalSettings.php]] 하단에 아래 내용 추가
* [[LocalSettings.php]] 하단에 아래 내용 추가<ref>미디어위키 1.24 이하 구버전은 <code>wfLoadExtension("MobileFrontend");</code>
<source lang='php'>
대신 <code>require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");</code></ref>
require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");
<syntaxhighlight lang="php">
</source>
wfLoadExtension("MobileFrontend");
$wgMFAutodetectMobileView = true;
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:59 기준 최신판

미디어위키 모바일웹 적용
미디어위키 MobileFrontend 적용
미디어위키 MobileFrontend 설치

1 방법[ | ]

wfLoadExtension("MobileFrontend");
$wgMFAutodetectMobileView = true;

2 같이 보기[ | ]

3 참고[ | ]

  1. 미디어위키 1.24 이하 구버전은 wfLoadExtension("MobileFrontend"); 대신 require_once("$IP/extensions/MobileFrontend/MobileFrontend.php");
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}