On Sunday 06 March 2011 18:50:47 Anne Wilson wrote:
> I'm trying to construct a query that will list a page with all its
> sub-pages, except those with language codes.  It seemed to me that it
> should be possible to have a nottitlematch argument that specifies that it
> should not end with /and-two-characters-only, but I can't find how to do
> this.
> 
> Is it possible to collect all the pages in the Application set first, then
> from that list select only those that do not have /xx?
> 
> Is there a better way of going about this?
> 
> Can anyone help, please?
> 
I came up with a solution.  It does depend on there being no pages with a two-
letter name, but that's fairly unlikely for several reasons.  Here is what I 
used:

<DPL>
  nottitlematch = %/__|%/zh-%|%(%)
  titlematch = Appname%
  namespace = Main
  columns = 1
  format = ,\n* [[%PAGE%|%TITLE%]],,
  resultsheader = There are %TOTALPAGES% Appname pages, not counting 
translations\n
</DPL>

Anne
-- 
New to KDE Software? - get help from http://userbase.kde.org

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to