This
interface message or
skin may be documented on
MediaWiki.org or
translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{ edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
{{
editprotected}}
Similar to other scripts like Friendly at MediaWiki:Gadget-Friendly.js, please replace this script's page with the following code:
importScript('User:Gary King/localize comments.js');
Sometimes, minor tweaks need to be made and so this allows me to make them immediately when responding to queries. Right now, I use the Gadget version of the script so I am immediately aware of any problems that come up with the script, and if I can update the script and see the script update immediately, then it helps immensely with debugging the script. Gary King ( talk) 20:35, 25 January 2009 (UTC)
{{ editprotected}}
Please change the script's name from User:Gary King/localize comments.js
to User:Gary King/comments in local time.js
. I have already moved the actual script, and redirected the old page to the new one.
Gary King (
talk) 20:04, 26 January 2009 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the importScript
call to importScript('User:Gary/comments in local time.js');
, for the same reason currently being discussed at
WP:Village pump (technical)#Why doesn't it leave redirects from .js pages on rename?. --
SoledadKabocha (
talk) 02:30, 21 February 2014 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I don't understand why it is being loaded from User:Gary/comments_in_local_time.js. This gadget is widely used by local and crosswiki users. If Gary wants to modify their script, he should submit an edit request instead. We have enough interface admins here to take care of edit requests. I am also worried about its users security, Gary can change the script at any time and and move it to somewhere else. Also if his account is renamed the hotlinking would break because their user subpages will be automatically moved by a global renamer. It already happened in the past as you can see. Also ResourceLoader modules are automatically minifed along with other features to provide better performance. Masum Reza 📞 07:32, 23 January 2020 (UTC)
Same rationale applies for MediaWiki:Gadget-wikEdDiff.js. The main reason I am asking is for performance improvements and less data costs. As I said ResourceLoader minifies the code. Masum Reza 📞 07:45, 23 January 2020 (UTC)
@ Gary: are you ok with this? You don't seem to be updating the gadget very often. Masum Reza 📞 07:52, 23 January 2020 (UTC)
This
edit request to
User:Gary/comments in local time.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Pinging author @ Gary.
Please sync with User:SD0001/comments in local time.js ( compare). This fixes a major issue with this gadget that was reported on VPT ( Wikipedia:Village pump (technical)#Option to change time from UTC to local timezone stops working) – all comments go back to being in UTC time whenever the new DiscussionTools beta feature is used to reply to a comment (because discussionTools uses an AJAX reload).
Also reported on User talk:Gary/comments in local time.js#The script isn't compatible with page-updating user scripts by @ Jack who built the house. – SD0001 ( talk) 11:00, 1 April 2021 (UTC)
if ($content[0].querySelector('.localcomments')) { return; }
When I was running into the problem I noticed there was a <span> tag with a class "localcomments". Or at least, I think that's the case, since the code was reverted, I get a <textarea> tag as expected.
Ritchie333
(talk)
(cont) 11:04, 7 April 2021 (UTC)
It looks like phab:T240360 is the task for making CommentsInLocalTime part of mediawiki (as part of DiscussionTools extension). – SD0001 ( talk) 16:29, 3 April 2021 (UTC)
This
interface message or
skin may be documented on
MediaWiki.org or
translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{ edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
{{
editprotected}}
Similar to other scripts like Friendly at MediaWiki:Gadget-Friendly.js, please replace this script's page with the following code:
importScript('User:Gary King/localize comments.js');
Sometimes, minor tweaks need to be made and so this allows me to make them immediately when responding to queries. Right now, I use the Gadget version of the script so I am immediately aware of any problems that come up with the script, and if I can update the script and see the script update immediately, then it helps immensely with debugging the script. Gary King ( talk) 20:35, 25 January 2009 (UTC)
{{ editprotected}}
Please change the script's name from User:Gary King/localize comments.js
to User:Gary King/comments in local time.js
. I have already moved the actual script, and redirected the old page to the new one.
Gary King (
talk) 20:04, 26 January 2009 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the importScript
call to importScript('User:Gary/comments in local time.js');
, for the same reason currently being discussed at
WP:Village pump (technical)#Why doesn't it leave redirects from .js pages on rename?. --
SoledadKabocha (
talk) 02:30, 21 February 2014 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I don't understand why it is being loaded from User:Gary/comments_in_local_time.js. This gadget is widely used by local and crosswiki users. If Gary wants to modify their script, he should submit an edit request instead. We have enough interface admins here to take care of edit requests. I am also worried about its users security, Gary can change the script at any time and and move it to somewhere else. Also if his account is renamed the hotlinking would break because their user subpages will be automatically moved by a global renamer. It already happened in the past as you can see. Also ResourceLoader modules are automatically minifed along with other features to provide better performance. Masum Reza 📞 07:32, 23 January 2020 (UTC)
Same rationale applies for MediaWiki:Gadget-wikEdDiff.js. The main reason I am asking is for performance improvements and less data costs. As I said ResourceLoader minifies the code. Masum Reza 📞 07:45, 23 January 2020 (UTC)
@ Gary: are you ok with this? You don't seem to be updating the gadget very often. Masum Reza 📞 07:52, 23 January 2020 (UTC)
This
edit request to
User:Gary/comments in local time.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Pinging author @ Gary.
Please sync with User:SD0001/comments in local time.js ( compare). This fixes a major issue with this gadget that was reported on VPT ( Wikipedia:Village pump (technical)#Option to change time from UTC to local timezone stops working) – all comments go back to being in UTC time whenever the new DiscussionTools beta feature is used to reply to a comment (because discussionTools uses an AJAX reload).
Also reported on User talk:Gary/comments in local time.js#The script isn't compatible with page-updating user scripts by @ Jack who built the house. – SD0001 ( talk) 11:00, 1 April 2021 (UTC)
if ($content[0].querySelector('.localcomments')) { return; }
When I was running into the problem I noticed there was a <span> tag with a class "localcomments". Or at least, I think that's the case, since the code was reverted, I get a <textarea> tag as expected.
Ritchie333
(talk)
(cont) 11:04, 7 April 2021 (UTC)
It looks like phab:T240360 is the task for making CommentsInLocalTime part of mediawiki (as part of DiscussionTools extension). – SD0001 ( talk) 16:29, 3 April 2021 (UTC)