Page MenuHomePhabricator

Redirects to page sections should not be used as an equality between the redirected page and the page that contains the section that is redirected to
Closed, InvalidPublic

Description

In particular, I'm having a problem with semantic mediawiki annotations because of the way equality between pages is treated in mediawiki. I have a page A that redirects to a section S in page B. So the code in A is "#REDIRECT [B#S]". Then I have an annotation [[Ann::A]] in page C. When I use {{#ask}} to ask for the annotation Ann in C, I get B (not even B#S). Please let me know if there's any information I can provide to help solve this issue.

Thank you very much,
Ricardo

Event Timeline

@Ricardohz Semantic MediaWiki bugs are tracked on their github repo: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues, rather than here on Phabricator. Are you able to re-post your report there instead?

Hi @onei, yes, I am able. I believe this is an issue in mediawiki though. Semantic mediawiki just re-uses the concept of equality for redirects in mediawiki.

Ricardohz renamed this task from Redirects to page sections should not be using as an equality between the redirected page and the page that contains the section that is redirected to to Redirects to page sections should not be used as an equality between the redirected page and the page that contains the section that is redirected to.Jul 19 2016, 1:58 PM
Pppery subscribed.

This is clearly a Semantic MediaWiki bug not a MediaWiki core bug.