Extension talk:Editcount

From mediawiki.org
Latest comment: 2 years ago by Keyacom in topic Quick question

{{Editcount/User/Namespace}} does not work with ParserFunctions[edit]

{{#expr:{{Editcount/User/Namespace1}} + {{Editcount/User/Namespace2}} }} or similar usage produces an Expression error: Unrecognised punctuation character "?", and {{formatnum:{{Editcount/User}}}} something like: ?UNIQ71ce711.746bf67f9-item-10--QINU?. Greetings, --WiMu 14:14, 22 May 2009 (UTC)Reply

I've noticed this. It makes me sad :( 75.154.103.146
Is there an alternative solution? For the people who want to have two counters added together (e.g. Main account and bot account). 120.20.117.138 04:27, 12 October 2012 (UTC)Reply

Prevent insertion of HTML paragraph tags[edit]

I installed the latest revision (MW1.15-r48711) of Extension:Editcount on a couple of wikis I run and found that the syntax

{{Special:Editcount/Username}}

where Username is the username, produces the paragraph-enclosed output

<p>NumberOfEdits
</p>

instead of simply

NumberOfEdits

as is the case with the same syntax on Wikia. How do I prevent those HTML paragraph tags from being created?

Lowellian (talk) 22:48, 21 May 2010 (UTC)Reply

Discussed at [1]. Apparently, this is caused by an unfortunate bug in MediaWiki. :( —Lowellian (talk) 07:03, 24 May 2010 (UTC)Reply
THat'd be the reason for the failure of expression functions noted above. I'll be keeping an eye on this. 75.154.107.67

Way to display edit count on all user pages?[edit]

Is there a way to modify the Monobook skin to force the edit count to be displayed somewhere on all user pages once this extension is installed? —Lowellian (talk) 20:50, 27 May 2010 (UTC)Reply

There must be, as it's being done on userpages at Wikia. You may wish to contact them about it at http://community.wikia.com/wiki/Special:Contact 75.154.107.67
I raised the question at http://community.wikia.com/wiki/Forum:Editcount_for_All_Users_on_Monobook_Skin and got no responses. :( —Lowellian (talk) 01:30, 28 June 2010 (UTC)Reply
They use the selfmade Masthead-Extension. I use Extension:HeaderFooter for the same issue. --Steevie 10:11, 14 July 2010 (UTC) By the way, i expanded and colorised the Editcount-Extension for my own use (see right) - if anybody is interested let me know. :-)Reply
I am interested! Bud0011 02:00, 11 June 2011 (UTC).Reply
Hi Steevie, why don't you fork your version of this extension, e.g. Extension:Editcount extended or something like that. This would be really cool. It would not be a good idea to patch this exentsion since there a heaps of purists around too. Cheers --[[kgh]] 19:28, 24 June 2011 (UTC)Reply

right align the output[edit]

Hi, I think it would be very nice to right align the columns 2 (number of edits) and 3 (percentages) and add some padding to all of them. This would be great. However this is just cosmetics. Cheers --[[kgh]] 19:32, 24 June 2011 (UTC)Reply

Error from remote subversion client:[edit]

Attempting to DL a snapshot via http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Editcount is resulting in an
"Error from remote subversion client:"

Lock wait timeout.

Does anyone have a copy of this extension or an alternate download location for it? We are running MW1.17.x -- ShoeMaker   ( Contributions Message )   03:36, 24 May 2012 (UTC)Reply

Is missing[edit]

When going to download, it is listed as missing.

Nazeo (talk) 07:02, 17 July 2012 (UTC)Reply

I'm seeing that too. I wonder if this extension is no longer available? Huwmanbeing (talk) 13:03, 24 July 2012 (UTC)Reply
Sorry, we recently changed version control systems, some older extensions got left behind. Link should be fixed. Bawolff (talk) 13:07, 24 July 2012 (UTC)Reply
Hmm, the download page is still showing the message No such extension "Editcount". Huwmanbeing (talk) 09:48, 25 July 2012 (UTC)Reply


List by Group[edit]

Would be nice to add a feature to select a group rather than just a single user. Group view could list the members of the group and the cummulative edit count by User ID (not broken down by namespace). I am looking to do something like this right now and have not found anything already out there.---Jaime Lemley 17:15, 11 December 2012 (UTC)

Fatal error: Call to a member function getId() on boolean in .../extensions/Editcount/Editcount_body.php on line 26[edit]

Hello, what's wrong with $uid = $user->getId();?

best regards --178.24.206.247 23:18, 25 January 2015 (UTC)Reply

Replace that line with
$uid =  is_object( $user ) ? $user->getId() : 0 ;
and it will work
--91.229.169.199 12:06, 28 September 2015 (UTC)Reply

Transcluded edit counts differ from special page edit counts[edit]

See this topic on another wiki. The edit counts seem to differ between the special page and the transcluded count.
└─post by kenny2wiki  Talk  Contribs 

Special page does not display edit count for any user[edit]

On my site, the edit count just displays 0 for every user on the Special Page. The extension works when I use the parser function {{Special:Editcount/user}} but not {{Special:Editcount/user/namespace}}. --Vishkujo 01:25, 1 November 2019

No idea what is wrong. Works perfect on "my" wiki --[[kgh]] (talk) 14:21, 12 April 2020 (UTC)Reply
Not so perfect anymore. Please take a look at Gerrit. You inspired me to ask for help and AntiCompositeNumber was so nice to help me and track down the database error that occurs if $wgDBprefix is set. Thanks and greetings from germany!--Mario-WL (talk) 00:45, 28 August 2021 (UTC)Reply
Indeed. Thanks for your answer and providing the link to the fix which will be served with the next release of MW 1.35 I speculate that Vishkujo used another version of MW than me. -- [[kgh]] (talk) 13:44, 28 August 2021 (UTC)Reply

Quick question[edit]

Will the plugin properly display edit counts for edits that were before the plugin was installed? I don't own a wiki, but want to propose installation of this plugin to the owner of a wiki. --Keyacom (talk) 14:54, 19 February 2022 (UTC)Reply