Guest User

Untitled

a guest
Nov 21st, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public function addHelpLink( $to, $overrideBaseUrl = false ) {
  2. global $wgContLang;
  3. $msg = $this->msg( $wgContLang->lc( $this->getName() ) . '' );//-helppage
  4.  
  5. if ( !$msg->isDisabled() ) {
  6. $helpUrl = Skin::makeUrl( $msg->plain() );
  7. $this->getOutput()->addHelpLink( $helpUrl, true );
  8. } else {
  9. $this->getOutput()->addHelpLink( $to, $overrideBaseUrl );
  10. }
  11. }
Add Comment
Please, Sign In to add comment