Line 37: Line 37:
   
 
:::::::InactiveUsers/code.js should work as expected now, so I'll remove InactiveUsers/beta.js tomorrow. Please, update your global.js. Thanks! -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 06:14, July 04, 2012 (UTC) -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 06:14, July 04, 2012 (UTC)
 
:::::::InactiveUsers/code.js should work as expected now, so I'll remove InactiveUsers/beta.js tomorrow. Please, update your global.js. Thanks! -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 06:14, July 04, 2012 (UTC) -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 06:14, July 04, 2012 (UTC)
  +
::::::::Done, thanks again! -- [[w:c:starwars:User:Darth_Culator|<span style="color:#0000FF">Darth Culator</span>]] <sup>([[w:c:starwars:User_talk:Darth_Culator|Talk]])</sup> 02:38, July 5, 2012 (UTC)

Revision as of 02:38, 5 July 2012

Configurable inactivity period

I'd like to request an option to change the time since last edit before someone is classified as inactive. On relatively new wikis or wikis without a stable, long-term community 3 months is way too long. I contribute to Amalur Wiki and over there a month without edits is more than enough to say someone is inactive. I only wanted to install the script for myself so this ain't that important I suppose. From what I've seen in the code all that's required is to replace the 3 * 30 in the following line

'&ucend='   + ISODateNDaysAgo(3 * 30);

with a user-modifiable variable (like text is) to allow for a customizable number of days before someone is classed as inactive. Didn't want to make a local branch of the script as this might be of interest to others. -- Gyumaou (Talk) 18:21, May 7, 2012 (UTC)

Okay. Done. -- pecoes 18:50, May 07, 2012 (UTC)
Thanks! -- Gyumaou (Talk) 06:49, May 8, 2012 (UTC)

Copied Correctly?

I've still noticed users without any edits with the inactive tag on -- Sam Wang (talk) 03:01, May 20, 2012 (UTC)

Do you have a link to an example? -- pecoes 03:03, May 20, 2012 (UTC)

Monobook skin

Would it be possible to apply this to the Monobook skin? I know Monobook doesn't use a convenient container like the masthead on Oasis, but I suspect it could be done with something like our title template on Wookieepedia. -- Darth Culator (Talk) 15:49, July 3, 2012 (UTC)

Any idea where I should put it? -- pecoes 16:08, July 03, 2012 (UTC)
EDIT: You mean right after the username, right?
Yes, exactly. -- Darth Culator (Talk) 19:13, July 3, 2012 (UTC)
Alright. Here's a Beta version:
importScriptPage('InactiveUsers/beta.js', 'dev');


I'm not a MonoBook user, so I'm not familiar with its pitfalls. It should work. But you never know :P
Also: The tag did not seem to make sense anywhere but on the actual user page. So that's the only place I added it. Correct me if that's wrong, please! -- pecoes 21:39, July 03, 2012 (UTC)
Works great now for what I need, thanks! But it doesn't seem to work anymore when I switch it to Oasis/Wikia. I suppose in the incredibly unlikely possibility I ever decide to use the Wikiabomination skin, I'll use the old version. -- Darth Culator (Talk) 21:59, July 3, 2012 (UTC)
It should work under both skins, but I had to rewrite the code substantially. I did test it under MonoBook, but not yet under Oasis. That's why I called it a Beta :)
It will under both skins soon. -- pecoes 22:07, July 03, 2012 (UTC)
Hey, like I said, it does exactly what I need. Thanks again! -- Darth Culator (Talk) 22:42, July 3, 2012 (UTC)
InactiveUsers/code.js should work as expected now, so I'll remove InactiveUsers/beta.js tomorrow. Please, update your global.js. Thanks! -- pecoes 06:14, July 04, 2012 (UTC) -- pecoes 06:14, July 04, 2012 (UTC)
Done, thanks again! -- Darth Culator (Talk) 02:38, July 5, 2012 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.