Jump to content

Topic on Project:Support desk

LiturgicaNotata (talkcontribs)

While clearing up another Problem (Language inconsistency at "Create account" - de-formal) I stumbled across the page count on the "Create-account"-page. On my wiki (http://liturgica-notata.wiki.gwdg.de ) we have created nearly 200 pages, but the system message tells me "97 Seiten". Thanks to the tip Ciencia Al Poder gave me on my previous problem, I was able to track down the system message, it is createacct-benefit-head2 that links to the template ((NUMBEROFARTICLES)). I have no experience with templates, so I have no idea how to go on.

PS: I'm not happy with the editor. No preview-button, and the text of the template got converted to "30.555" even when I tried to add the nowiki-tag.

AKlapper (WMF) (talkcontribs)

PS: The editor says "You can preview the result anytime" at the bottom for me including a link. Does it not for you?

Ciencia Al Poder (talkcontribs)
LiturgicaNotata (talkcontribs)

I just read the Manual:Article count, and I'm not sure what the sentence "In recent versions of MediaWiki, the existence of links is checked against the values that you also find in the database tables, including not only pagelinks but also templatelinks, categorylinks and imagelinks." means. Does it mean: Pages that include categorylinks but not links to pages in the namespace are not counted? That might explain why so many of the pages in my wiki are not counted: I think all contain categories, but only a part of them have actually links to other pages in the namespace. If so, I think I should try to find a way to change the way of counting in my wiki.

As for the PS: No, there was really no preview function. But inside of the Editor mask there is on the right a symbol "Zum Wikitext-Editor wechseln"; I just tried that, and there, instead of those symbols that were there, I see now the text "Wikitext verwendet Markup und du kannst jederzeit eine Vorschau des Ergebnisses anzeigen". I think I should change my preferences accordingly...

Ciencia Al Poder (talkcontribs)

It only counts links, not templates, categories, etc. You can change $wgArticleCountMethod to count all pages in content namespace that are not redirect

Reply to "Wrong count of pages"