original_string: public function get_nojslink(moodle_page $page = null) {
          if ($page === null) {
              global $PAGE;
              $page = $PAGE;
          }
  
          $link = new moodle_url($page->url, array(
              'nonjscomment'    => true,
              'comment_itemid'  => $this->itemid,
              'comment_context' => $this->context->id,
              'comment_component' => $this->get_component(),
              'comment_area'    => $this->commentarea,
          ));
          $link->remove_params(array('comment_page'));
          return $link;
      }
code: public function get_nojslink(moodle_page $page = null) {
          if ($page === null) {
              global $PAGE;
              $page = $PAGE;
          }
  
          $link = new moodle_url($page->url, array(
              'nonjscomment'    => true,
              'comment_itemid'  => $this->itemid,
              'comment_context' => $this->context->id,
              'comment_component' => $this->get_component(),
              'comment_area'    => $this->commentarea,
          ));
          $link->remove_params(array('comment_page'));
          return $link;
      }
code_tokens: public function get_nojslink ( moodle_page $ page = null ) { if ( $ page === null ) { global $ PAGE ; $ page = $ PAGE ; } $ link = new moodle_url ( $ page -> url , array ( 'nonjscomment' => true , 'comment_itemid' => $ this -> itemid , 'comment_context' => $ this -> context -> id , 'comment_component' => $ this -> get_component ( ) , 'comment_area' => $ this -> commentarea , ) ) ; $ link -> remove_params ( array ( 'comment_page' ) ) ; return $ link ; }
docstring: Gets a link for this page that will work with JS disabled.
  
  @global moodle_page $PAGE
  @param moodle_page $page
  @return moodle_url
docstring_tokens: Gets a link for this page that will work with JS disabled .