Extension talk:GlobalWatchlist

From mediawiki.org
Latest comment: 2 years ago by MarMi wiki in topic Timestamps should be localized

Enabling as a beta feature[edit]

Hi, DannyS712. I was wondering if this extension could be enabled as a beta feature on the Serbian Wikipedia. Some users have shown interest in Discord. User:Acamicamacaraca (talk) 22:51, 13 June 2020 (UTC)Reply

Sorry, but the extension is nowhere near ready for deployment. Until it is, you can use the user script version at m:User:DannyS712/Global_watchlist.js --DannyS712 (talk) 23:14, 13 June 2020 (UTC)Reply
Note - I have replaced the original flow talk page with wikitext, which required manually copying over the old discussion. See Topic:Vo88pqmdqim22ppk for the original --DannyS712 (talk) 10:09, 21 June 2020 (UTC)Reply

Suggestion[edit]

Hello, DannyS712, as I can see, you're just waiting for the review now. Maybe it's a good time to tell you about some issues that need improvement when converting to extension, as we spoke a couple of months ago? Thank you, IKhitron (talk) 15:28, 22 October 2020 (UTC)Reply

Sure, what are they? DannyS712 (talk) 15:50, 22 October 2020 (UTC)Reply
Great. One each time. The first one was to compose edits with page creations, you alredy did this. The second one is the clock problem. I mean, the message at the top should not be in GMT, but in wiki local time, if decided to change the accordant system variable. Do you want me to ping you each time I pist here? IKhitron (talk) 17:59, 22 October 2020 (UTC)Reply
I disagree that it should be in local time, since the edit timestamps (once those are included) would also be in UTC DannyS712 (talk) 20:27, 22 October 2020 (UTC)Reply
So what about both? I just know I personally do not need to compare with revision timestamps, but do need to know when was the last time I've updated the list. IKhitron (talk) 11:11, 23 October 2020 (UTC)Reply
Then you can use the UTC time... the extension will only be deployed on metawiki, so the wiki local time will also be UTC DannyS712 (talk) 15:55, 23 October 2020 (UTC)Reply
I see. Very well. I'll be back with the next suggestion. IKhitron (talk) 02:01, 25 October 2020 (UTC)Reply

Hello again, DannyS712, I'm back as promissed. I think you should change the font size, because looks like part of it is absolute and another part is relative, and this is the result: [1]. IKhitron (talk) 00:41, 23 November 2020 (UTC)Reply

Will look into it, though for now I'm focused on the performance and security reviews DannyS712 (talk) 00:47, 23 November 2020 (UTC)Reply

How is this extension going?[edit]

Hello,

I've made a task to propose a feature to see Watchlist of all the wikis and they told me a function, this extension, had already existed.

Is it can be used already? (This page says "unstable", but I'm not sure whether it means "Don't use it as it's unstable" or "It can be used though it is unstable".) --Atmark-chan <T/C> 08:41, 7 December 2020 (UTC)Reply

Hello, Atmark-chan. The extension is not ready yet. For now, you can add mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:DannyS712/Global watchlist.js&action=raw&ctype=text/javascript'); to your m:Special:Mypage/global.js, and use the previous version. Pay attention the new bug reports are not supported, due to the work on the Extension. Cheers, IKhitron (talk) 15:27, 7 December 2020 (UTC)Reply
@IKhitron: I've started to use it. Thank you! Atmark-chan <T/C> 09:51, 8 December 2020 (UTC)Reply
You are welcome. IKhitron (talk) 13:04, 8 December 2020 (UTC)Reply

A hook[edit]

Hi, @DannyS712. Thanks again for your great work. I can't say it on phabricator, but if I'm already here. Also, if, I create a phab ticket, asking to add a new hook, that is fired after each list rebuild - on page refresh, on extension refresh button click, and maybe after mark as read, I don't know how does it work, is there a chance? I'd like to be able to add personal javascript on the result. Thank you. IKhitron (talk) 19:30, 18 February 2021 (UTC)Reply

@IKhitron I have little experience with javascript hooks, but it should be possible to fire on as you described, though probably not with any data attached. It'll be trickier for the Vue version of the display, but thats still a work in progress. DannyS712 (talk) 20:27, 18 February 2021 (UTC)Reply
No data, just to know why to work. Thanks, opening a ticket. IKhitron (talk) 20:28, 18 February 2021 (UTC)Reply

error[edit]

What can i do with The site [site name, e.g. pl.wikipedia] does not match a wiki where you have an attached CentralAuth account. notice? Matlin (talk) 11:59, 28 February 2021 (UTC)Reply

Try "pl.wikipedia.org". IKhitron (talk) 12:39, 28 February 2021 (UTC)Reply

CatWatch and GlobalWatchlist[edit]

Hi and thank you very much for this great extension! I've globally disabled the setting “Hide categorization of pages” and noticed that changes in memberships of categories are not displayed in the GlobalWatchlist, the wiki's local watchlist however displays them just fine. Is it possible to enable that such changes are also displayed in GlobalWatchlist? --Nw520 (talk) 11:13, 17 May 2021 (UTC)Reply

A quick glance shows it should be fairly simple - add to settings as a type of change and pass along `categorize` to wltype when querying the api. Would you mind filing a task for phabricator, so I remember to follow-up and do it when I have time? DannyS712 (talk) 16:38, 21 May 2021 (UTC)Reply
Sure thing! Again, thank you very much. --Nw520 (talk) 21:06, 21 May 2021 (UTC)Reply

Timestamps should be localized[edit]

Currently timestamps are generated in English format, so for example [2] will show as:

"Na dzień Fri, 18 Mar 2022 11:27:50 GMT" (at least day, month and GMT) MarMi wiki (talk) 11:50, 18 March 2022 (UTC)Reply