[Bug 25816] Querying for categories does not work on category pages

2014-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25816

MWJames jamesin.hongkon...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jamesin.hongkon...@gmail.co
   ||m
 Resolution|--- |WORKSFORME

--- Comment #3 from MWJames jamesin.hongkon...@gmail.com ---
As of SMW 2.0 doing #ask/#show on a Category page results in:

- {{#ask: [[{{FULLPAGENAME}}]] | ?Category }} will return all pages the
Category is assigned to

- {{#show: {{FULLPAGENAME}} |?Subcategory of }} will show all parent categories
the category is assigned to

-- 
You are receiving this mail because:
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


[Bug 25816] Querying for categories does not work on category pages

2011-02-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25816

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Normal  |Low
 CC||m...@everybody.org

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 25816] Querying for categories does not work on category pages

2010-11-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25816

Jan Schoonderbeek bugzi...@saruman.biz changed:

   What|Removed |Added

 CC||bugzi...@saruman.biz

--- Comment #1 from Jan Schoonderbeek bugzi...@saruman.biz 2010-11-07 
08:10:16 UTC ---
I can't directly see if this is a bug or not. Some notes:

First, on page Category:Foo, {{PAGENAME}} returns Foo. Thus, the query
becomes
{{#ask: [[Foo]] | ?Category }}
If there is no page Foo, or it is in no category, then the result is empty.

Second, should you specify
{{#ask: [[Category:Foo]] | ?Category }}
then you're essentially selecting all pages in category Foo, and asking in
which categories each page is.

However, I've tested with
{{#ask: [[:Category:Foo]] | ?Category }}
and got no results, where I expected one - so I'll leave it to Markus et al. to
check things further.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 25816] Querying for categories does not work on category pages

2010-11-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25816

--- Comment #2 from Patrick m...@patrick-nagel.net 2010-11-07 08:32:55 UTC ---
Hi Jan, thanks for looking into this.

You're right,
{{#ask: [[{{PAGENAME}}]] | ?Category }}
on a category page would not select the page I (the query) am on, but instead
the pages of that category...

But what I actually meant was your third query - which should definitely return
the parent categories as result, imo.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l