setHeaders(); $out = $this->getOutput(); $out->addModuleStyles( [ 'ext.smw.special.styles' ] ); $out->setPageTitle( $this->msg( 'wantedproperties' )->text() ); $page = new WantedPropertiesQueryPage( $this->getStore(), $this->getSettings() ); $page->setContext( $this->getContext() ); $page->setTitle( $this->getPageTitle() ); [ $limit, $offset ] = $this->getLimitOffset(); $page->doQuery( $offset, $limit ); // Ensure locally collected output data is pushed to the output! // ?? still needed !! SMWOutputs::commitToOutputPage( $out ); } /** * @see SpecialPage::getGroupName */ protected function getGroupName() { return 'smw_group/properties-concepts-types'; } private function getLimitOffset() { $request = $this->getRequest(); return $request->getLimitOffsetForUser( $this->getUser() ); } }