Last modified: 2010-10-27 00:15:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25664 - Query REDIRECT pages
Query REDIRECT pages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-27 00:15 UTC by John McClure
Modified: 2010-10-27 00:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John McClure 2010-10-27 00:15:43 UTC
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]] }}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links