"미디어위키 MobileFrontend 모든 문단 펼치기"의 두 판 사이의 차이

5번째 줄: 5번째 줄:
;MobileFrontend 모든 섹션 펼치기
;MobileFrontend 모든 섹션 펼치기
*MobileFrontend는 기본적으로 모든 섹션을 접어두고 클릭시에 펼치지게 되어 있다.
*MobileFrontend는 기본적으로 모든 섹션을 접어두고 클릭시에 펼치지게 되어 있다.
*2013-10-13 현재, 그와 관련된 설정 변수가 없어서 하드 코딩해야 한다.
*2013-10-13 현재, 그와 관련된 설정 변수가 없기 때문에 하드 코딩으로 수정해야 한다.


==방법==
==방법==

2013년 10월 13일 (일) 03:49 판

1 개요

Stop collapsing sections by default
default status of Sections as uncollapsed
미디어위키 MobileFrontend 모든 문단 펼치기
MobileFrontend 모든 섹션 펼치기
  • MobileFrontend는 기본적으로 모든 섹션을 접어두고 클릭시에 펼치지게 되어 있다.
  • 2013-10-13 현재, 그와 관련된 설정 변수가 없기 때문에 하드 코딩으로 수정해야 한다.

2 방법

includes/MobileFormatter.php 의 enableExpandableSections 함수를 수정하면 된다.

변경 전
	public function enableExpandableSections( $flag = true ) {
		$this->expandableSections = $flag;
	}
변경 후
	public function enableExpandableSections( $flag = true ) {
		//$this->expandableSections = $flag;
		$this->expandableSections = false;
	}

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}