https://bugzilla.wikimedia.org/show_bug.cgi?id=32663

Mathias Lidal <mathiasli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathiasli...@gmail.com

--- Comment #3 from Mathias Lidal <mathiasli...@gmail.com> ---
Yes (or at least the offending code is still present on master) Just noticed
the same bug myself. The problem is in SMWQueryResult::getQueryLink() This
functions starts with calling getLink() but then duplicates the same code
itself. The relevant lines are:

               $params = array( trim( $this->mQuery->getQueryString() ) );

                foreach ( $this->mQuery->getExtraPrintouts() as /*
SMWPrintRequest */ $printout ) {
                        $serialization = $printout->getSerialisation();

                        // TODO: this is a hack to get rid of the mainlabel
param in case it was automatically added
                        // by SMWQueryProcessor::addThisPrintout. Should be
done nicer when this link creation gets redone.
                        if ( $serialization !== '?#' ) {
                                $params[] = $serialization;
                        }
                }

These lines should be removed from either getQueryLink() og getLink()

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to