Sorry about original subject heading!
On Tue, Mar 31, 2009 at 10:33 AM, Derrick Farnell <derrick.farnell@gmail.com
wrote:
Hi
I use the variable {{PAGESINCATEGORY:category_name}}, but would prefer to display the total of the number of pages in a category + 1. That is, if the total number of pages is 6, I'd like 7 to be displayed. Does anyone know a way to do this?
Best
Derrick
Derrick Farnell wrote:
Sorry about original subject heading!
On Tue, Mar 31, 2009 at 10:33 AM, Derrick Farnell <derrick.farnell@gmail.com
wrote:
Hi
I use the variable {{PAGESINCATEGORY:category_name}}, but would prefer to display the total of the number of pages in a category + 1. That is, if the total number of pages is 6, I'd like 7 to be displayed. Does anyone know a way to do this?
Best
Derrick
{{#expr: {{PAGESINCATEGORY:category_name}} + 1 }}
Thanks!
On Tue, Mar 31, 2009 at 10:47 PM, Platonides Platonides@gmail.com wrote:
Derrick Farnell wrote:
Sorry about original subject heading!
On Tue, Mar 31, 2009 at 10:33 AM, Derrick Farnell <
derrick.farnell@gmail.com
wrote:
Hi
I use the variable {{PAGESINCATEGORY:category_name}}, but would prefer
to
display the total of the number of pages in a category + 1. That is, if
the
total number of pages is 6, I'd like 7 to be displayed. Does anyone know
a
way to do this?
Best
Derrick
{{#expr: {{PAGESINCATEGORY:category_name}} + 1 }}
http://www.mediawiki.org/wiki/Extension:ParserFunctions
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org