Template talk:Hitcounter

From Wikiversity
Jump to navigation Jump to search

Page Views


I moved it to a generic name as suggested. This is a good template, that you created. If you wanted a separation of the original template, and this one, you can still do that, from the redirect. I put this template mostly on featured article pages. The code has an extra 'E' written as {{PAGENAMEE}}. Is that supposed to be there? Don't worry about the redirects. - Sidelight12 Talk 18:18, 4 January 2013 (UTC)[reply]

Extra 'E' - See http://meta.wikimedia.org/wiki/Help:Magic_words for explanation: it leaves in the underscore so it is a proper URL for going to stats.grok.se. Droflet (talk) 18:36, 4 January 2013 (UTC)[reply]

Problem with pages that are not in the Main Namespace[edit source]

The template uses PAGENAMEE rather than FULLPAGENAMEE. This means it can be put on the Talk page (rather than cluttering up the resource page - it is likely to be only used by authors and not casual readers). But this means that it does not work for pages that are not in the Main namespace; because it leaves off the namespace prefix and looks for the page in the Main namespace where it probably does not exist. So there needs to be some conditional processing which leaves off the namespace if it is 'Talk:' but leaves it on if it is another namespace (such as Portal:). Any suggestions for a solution? Droflet (talk) 13:30, 5 January 2013 (UTC)[reply]

Solved! Used SUBJECTPAGENAMEE which includes the namespace but not when it is 'Talk:'. Droflet (talk) 13:44, 5 January 2013 (UTC)[reply]
Good effort. - Sidelight12 Talk 04:39, 6 January 2013 (UTC)[reply]
I agree; Good effort.Leutha (discusscontribs) 16:13, 3 August 2013 (UTC)[reply]