Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Common.js
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Message
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Possible typo=== {{collapse top}} Are there issues with the hits reported on [[Special:Statistics]] or [[Special:PopularPages]], which comes from [[mw:Extension:HitCounters]]? Possible typo found - <nowiki>span.totalnumb</nowiki><s>'''d'''</s><nowiki>erofviews</nowiki> must not be corrected until certain it is wrong ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) :<pre>$('span.totalnumbderofviews').text(($(response).find('#mw-hitcounters-statistics-views-total>.mw-statistics-numbers').text()));</pre> ::It's a "permanent typo", and is not to be changed. I read some MediaWiki page that has a special note regarding this typo. It annoys me every time I see it, but that's just how it goes, I guess. ::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 22:48, October 5, 2019 (EDT) ::Oh wait, I was confusing this typo with another typo I had read about on a MediaWiki page. This was just a plain old typo. Now fixed. ::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 19:20, November 6, 2019 (EST) :::Thanks. I don't think this is working though. I believe it should be getting the hits from [[Special:Statistics]], and overwriting any number of hits here that is smaller. But there is no span.totalnumberofviews element in Pivot or Vector - they use the entire line as li.footer-info-viewcount or li.footer-viewcount - it might work in Vector but on a mobile devise it is hidden so I can't check. The total number updates once a day (but I am not sure what time). At the moment the hits shown for on [[Esther Crawley]] is about 12 lower than the one for the same page on [[Special:Statistics]]. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 12:36, November 9, 2019 (EST) ::::[[User:Notjusttired|Njt]] As far as I know, there is only one span.totalnumberofviews element, and that is on the main page [[Welcome to MEpedia]]. So all this javascript does is to retrieve the total number of views from [[Special:Statistics]], via AJAX, and then update the main page. Am I missing something? ::::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 15:45, November 9, 2019 (EST) :::::I see it now, looks like it's working fine then. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 20:05, November 9, 2019 (EST) {{collapse bottom}} ====Re: Possible typo -- ~~~~==== :: Replace this text with your reply
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs