Last modified: 2011-03-15 12:52:05 UTC
1) enter the following query into an article which is instance of category Foo: {{#ask:[[{{FULLPAGENAME}}]]|?Category=|default=|link=none}} 2) expected result is (en is local language): Category:Foo ==> instead "Foo" is printed (without namespace). thats wrong.
Why is this wrong? Does the documentation state the behavior is different? If so, please link to it. In any case, what is the problem with the current behavior?
I expect that option "link=none" always prints out full page name, like in: a) {{#ask:[[Category:Foo]]|default=|link=none}} ==> prints (since Category:Bar is instance of Category:Foo): Category:Bar b) {{#ask:[[Category:Foo]]|?Link=|default=|link=none}} ==> prints (since Category:Foo contains "[[Link::Category:Bar]]") Category:Bar It is a matter of consistency if "link=none" prints out the full page name in this case, too: {{#ask:[[Category:Bar]]|?Category=|default=|link=none}} ==>Category:Foo (GOOD) ==>Foo (BAD)
In addition: "default=foo" does not work, too. test: {{#ask:[[{{FULLPAGENAME}}]]|?Category|default=nocategory}}