Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function showCustomIntro() {
- if ( $this->editintro ) {
- $title = Title::newFromText( $this->editintro );
- if ( $title instanceof Title && $title->exists() && $title->userCan( 'read' ) ) {
- global $wgOut;
- // Added using template syntax, to take <noinclude>'s into account.
- $wgOut->addWikiTextTitleTidy( <div class="mw-editintro">'{{:' . $title->getFullText() . '}}', $this->mTitle</div> );
- return true;
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment