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

           Summary: Query REDIRECT pages
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I often redirect code-pages to their current description page, and would like
to query these code pages in several places in the user interface. These code
pages are also categorized. SMW does not permit redirect pages to be visible,
so they can't currently be queried at all.

It'd be terrific to have a special SMW property, "Semantic redirect", that is
created on a redirect page when multiple values exist for the present "redirect
to page" property. A default form can ask the user to resolve pesky ambiguous
user-initiated page navigations, listing the values of the "redirect to page"
property, and showing the text stored for the page. 'Semantic redirect' is used
by ask/show as the default path when multiple valeus exist for the 'redirect to
page' property. 

Examples (note:'redirect to page' is simpified to 'redirect'):

1. Query Redirect pages of a namespace
{{#ask: [[NS:+]] [[#REDIRECT]] }} 

2. Query Redirect pages of a category
{{#ask: [[Category:X]] [[#REDIRECT]] }} 

3. Query Redirect pages of a property
{{#ask: [[X::+]] [[#REDIRECT]] }} 

4. Query Redirect page target(s)
{{#ask: [[redirect::~root/]] [[#REDIRECT]] }} 

5. Query Redirect page property
{{#ask: [[semantic redirect::+]] [[#REDIRECT]] }} 

6. Query property of target page
{{#ask: [[redirect.X::+]] [[#REDIRECT]] }} 

7. Query pair-wise value namespace of target page(s)
{{#ask: [[redirect namespace::+]] [[#REDIRECT]] }}

-- 
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