편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
==개요== | ==개요== | ||
;Stop collapsing sections by default | ;Stop collapsing sections by default | ||
8번째 줄: | 7번째 줄: | ||
==방법== | ==방법== | ||
*[[LocalSettings.php]] | *[[LocalSettings.php]] 하단에 아래 내용 추가하면 된다.<ref>예전에는 그와 관련된 설정 변수가 없어서 includes/MobileFormatter.php 파일을 하드코딩 수정(<code>$this->expandableSections = false;</code>)했었다. 그렇게 하면 문단이 많을 때 펼쳐지지 않는 문제가 생긴다. (문단 많으면 자바스크립트에 의해 동적으로 펼쳐지는데 그게 안됨)</ref> | ||
< | <source lang='php'> | ||
$wgMFCollapseSectionsByDefault = false; | $wgMFCollapseSectionsByDefault = false; | ||
</ | </source> | ||
==같이 보기== | ==같이 보기== | ||
*[[미디어위키 MobileFrontend]] | *[[미디어위키 MobileFrontend]] | ||
==참고 자료== | |||
==참고== | |||
*http://thread.gmane.org/gmane.org.wikimedia.mobile/1045 | *http://thread.gmane.org/gmane.org.wikimedia.mobile/1045 | ||
*https://www.mediawiki.org/wiki/Extension_talk:MobileFrontend | *https://www.mediawiki.org/wiki/Extension_talk:MobileFrontend | ||
[[분류: 미디어위키]] | [[분류: 미디어위키]] |