Extension talk:TopTenPages/Archive

Restrict to namespaces
Is there any way to restrict the output to certain namespaces? --Flominator 13:07, 15 August 2007 (UTC)


 * As a first workaround, you could edit this line (42) in your TopTenPages.php


 * Replace NS_MAIN by the namespace of your choice, e.g. NS_USER, NS_IMAGE, See Manual:$wgNamespacesToBeSearchedDefault for a completet list of Namspaces. Please leave the dots before and after the namespace, because they are tell the parser to connect the text-strings. If you'd like to see the most frequented discussions, you could write:


 * Of course, this would affect all Occurrences.
 * An existing page may show the pages of the old namespace until all (Browser and Server) caches are cleared. Testing by editing a new page and looking at preview showed changes immediately.


 * I just made available via variable. I'll publish it tomorrow or so.