Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -912,10 +912,12 @@ |
913 | 913 | $firstpage_title->getArticleID(), |
914 | 914 | $firstpage_title->getLatestRevID() |
915 | 915 | ); |
916 | | - $parser->getOutput()->is_toc = true; |
917 | 916 | } |
918 | 917 | |
919 | 918 | if( $header ) { |
| 919 | + if( $header == 'toc') { |
| 920 | + $parser->getOutput()->is_toc = true; |
| 921 | + } |
920 | 922 | $text_links = $this->parse_index_links( $index_title ); |
921 | 923 | $h_out = '{{:MediaWiki:Proofreadpage_header_template'; |
922 | 924 | $h_out .= "|value=$header"; |