Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
4,120
edits
(Created page with "This is for Cargo test == Namespace == The queries will also create links for each namespace where I can add another cargo query to display a bullet list of the pages for that namespace. For example, in my query for “#ask”, it counted 799 pages in the “0” namespace. The query also links each namespace ID to a page (e.g. ../ask/0) where there’s a query to display all pages counted for that namespace: {{#cargo_query: |table=_pageData |fields=_pageName |where=_f...") |
No edit summary |
||
Line 4: | Line 4: | ||
The queries will also create links for each namespace where I can add another cargo query to display a bullet list of the pages for that namespace. For example, in my query for “#ask”, it counted 799 pages in the “0” namespace. The query also links each namespace ID to a page (e.g. ../ask/0) where there’s a query to display all pages counted for that namespace: | The queries will also create links for each namespace where I can add another cargo query to display a bullet list of the pages for that namespace. For example, in my query for “#ask”, it counted 799 pages in the “0” namespace. The query also links each namespace ID to a page (e.g. ../ask/0) where there’s a query to display all pages counted for that namespace: | ||
{{#cargo_query: | <nowiki>{{#cargo_query: | ||
|table=_pageData | |table=_pageData | ||
|fields=_pageName | |fields=_pageName | ||
Line 10: | Line 10: | ||
|order by=_pageName ASC | |order by=_pageName ASC | ||
|format=ul | |format=ul | ||
}} | }}</nowiki> | ||
Using the magic word {{SUBPAGENAME}}, I can place this query on every subpage under the parent page. This helps me easily go to a page using “#ask” in whichever namespace it was found in. | Using the magic word <nowiki>{{SUBPAGENAME}}</nowiki>, I can place this query on every subpage under the parent page. This helps me easily go to a page using “#ask” in whichever namespace it was found in. |