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

           Summary: Redirect issue
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Consider the following scenario:
There is a property "Property:Customer" and a page "Xyz AG". On a page "Project
123" we have "[[Customer::Xyz AG]]". The query {{#show: Project 123
|?Customer}} returns "Xyz AG".

Now someone moves "Xyz AG" to "Abc AG". A redirect from page "Xyz AG" to "Abc
AG" gets automatically created. {{#show: Project 123 |?Customer}} now returns
"Abc AG" - everything as expected. Now someone decides that the move was wrong,
and moves "Abc AG" back to "Xyz AG". A redirect from "Abc AG" to "Xyz AG" gets
created, which now contains the actual content again. But when you run the
query {{#show: Project 123 |?Customer}}, there is no result at all anymore - it
should
return "Xyz AG".

---

I figured out that the 'smw_iw' column in the 'smw_ids' table needs to be
emptied (remove ':smw-redi') for those rows where the column 'smw_title' equals
the page name of the ex-redirect in order to fix the problem.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to