[Wikitech-l] Fetching edit notices via API

2019-04-28 Thread Huji Lee
Hi all, Is there an API call that would allow you to retrieve the edit notice for a page? Huji PS: I would ask it on Discourse, except https://phabricator.wikimedia.org/T222045 ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] OOUI: problem with button groups

2019-04-15 Thread Huji Lee
@Volker, that is a great point; I was not aware of the discourse environment, and will use that going forward. @Bartosz: thanks for the answer. In retrospect, it was an obvious error on my part. On Mon, Apr 15, 2019 at 2:58 PM Volker E. wrote: > Hi Huji, > I hope you've found your questions

Re: [Wikitech-l] Thank you Tuesday

2019-04-15 Thread Huji Lee
I want to echo Timo (Krinkle) and thank Daimona for their fantastic work on AbuseFilter. Daimona has a great attitude, is constantly thriving to learn, and has become both more detail oriented as well as big-picture focused over the last two years. These are fantastic qualities in a programmer,

[Wikitech-l] OOUI: problem with button groups

2019-04-15 Thread Huji Lee
Hello, While I am waiting for my other OOUI-related question to be answered, I want to ask a brand new one! Please see the code here: https://meta.wikimedia.org/wiki/User:Huji/OOUI2.js Once you enable this script, you will be shown a dialog with two sets of buttons. The first set has "Show

Re: [Wikitech-l] Dynamically setting the content of a LayoutPanel in OOUI

2019-04-01 Thread Huji Lee
I watched your talk, [1] which happened 3 days after this exchange, and I found it very informative! Posting here so more people can see it along with the same thread. [1] https://www.youtube.com/watch?v=T_CUN2o4faw On Sun, Mar 24, 2019 at 10:11 PM Huji Lee wrote: > Thanks a lot! The g

[Wikitech-l] OOUI: putting an IndexLayout inside a StackLayout

2019-04-01 Thread Huji Lee
Hi, I am trying to make a continuous StackLayout with three parts (top, middle and bottom), where the top panel contains an IndexLayout. My code is at https://meta.wikimedia.org/wiki/User:Huji/OOUI.js and as you can see, in the output of it the bottom and middle panels are shown "on top of" the

Re: [Wikitech-l] Dynamically setting the content of a LayoutPanel in OOUI

2019-03-24 Thread Huji Lee
I hope there aren't any bugs ;) > > Moriel > > On Sun, Mar 24, 2019 at 7:19 AM Alex Monk wrote: > > > I haven't dealt with OOUI for a couple of years but maybe you could pass > a > > jQuery object to the $content parameter, store it yourself, then modify > > th

[Wikitech-l] Dynamically setting the content of a LayoutPanel in OOUI

2019-03-24 Thread Huji Lee
In the script I am working on,[1] I have a PanelLayout that is defined like this: this.previewResult = new OO.ui.PanelLayout({ expanded: true, padded: true, framed: true, $content: '' }); Later on, I would like to modify the content of

Re: [Wikitech-l] OOUI question

2019-03-21 Thread Huji Lee
how to nest a StackLayout inside another StackLayout On Thu, Mar 21, 2019 at 10:20 PM Huji Lee wrote: > Actually, can I ask for one more thing? > > I updated the code such that when you click on that link (which now reads > as "تذکر"), it would open a dialog with a StackLayou

Re: [Wikitech-l] OOUI question

2019-03-21 Thread Huji Lee
anks again, Huji On Thu, Mar 21, 2019 at 7:41 AM Huji Lee wrote: > You are absolutely right; I really appreciate the time you took to review > the code! > Thanks, > Huji > > On Wed, Mar 20, 2019 at 11:25 PM Moriel Schottlender < > mschottlen...@wikimedia.org> wro

Re: [Wikitech-l] OOUI question

2019-03-21 Thread Huji Lee
reated the dialog, it should open it :) > > See documentation here: > https://www.mediawiki.org/wiki/OOUI/Windows/Dialogs > > I hope this helps! > > Moriel > > On Wed, Mar 20, 2019 at 7:22 PM Huji Lee wrote: > > > Hi everyone! > > > > I am pre

[Wikitech-l] OOUI question

2019-03-20 Thread Huji Lee
Hi everyone! I am pretty sure I am missing something obvious here, but I cannot spot it and I would appreciate a fresh set of eyes looking at it. The script at https://fa.wikipedia.org/wiki/User:Huji/UserMessages.js is the backbone of a OOUI-based tool. I have made quite a few of a these tools

[Wikitech-l] Simplifying the use of update.php for wiki families

2016-10-16 Thread Huji Lee
Dear all, I am working on a simple idea that would simplify how update.php can be used for wiki families. Please consider commenting on https://phabricator.wikimedia.org/T147817 Thanks, Huji ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

[Wikitech-l] Urgent help needed from WMF admins

2016-09-22 Thread Huji Lee
Please see https://phabricator.wikimedia.org/T146440 and assist. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Issue with Gadget dependencies and ResourceLoader

2015-08-28 Thread Huji Lee
I wanted to bring this back up into your attention, hoping that I can get a response. On Thu, Aug 20, 2015 at 10:46 PM, Huji Lee huji.h...@gmail.com wrote: Excellent answers. Thank you! Here is a final question: how long does it generally take for a change made in a script to be reflected

Re: [Wikitech-l] Issue with Gadget dependencies and ResourceLoader

2015-08-20 Thread Huji Lee
04:07:57 +0200, Huji Lee huji.h...@gmail.com wrote: However, if you don't bypass ResourceLoader, the + links won't work and an error is thrown reading SimpleWindow is not defined (try on my talk page without bypassing RL https://fa.wikipedia.org/wiki/User_talk:Huji). Note that SimpleWindow

[Wikitech-l] Issue with Gadget dependencies and ResourceLoader

2015-08-19 Thread Huji Lee
Hi, I have enabled a Gadget on Fa Wikipedia (if you go to https://fa.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets it is the second one from the top) which depends on ext.gadgets.morebits (as defined on https://fa.wikipedia.org/wiki/MediaWiki:Gadgets-definition). It adds a portlet

[Wikitech-l] Request for comments

2010-11-11 Thread Huji Lee
Hi I would be grateful if one could review the the functions added in the patchhttps://bugzilla.wikimedia.org/attachment.cgi?id=7813action=diffI attached to bug 24411 https://bugzilla.wikimedia.org/show_bug.cgi?id=24411 and post comments on the bug on how to improve the code. Best, Hojjat (aka

[Wikitech-l] Checkuser mailing list

2010-10-19 Thread Huji Lee
Hello, I'm asking this here per advice from Cary Bass. I would like to request an enhancement in the checkuser-l mailing list, which would allow searching the topics and/or contents of archived mails for specific terms. This is particularly useful on this mailing list, because CUs frequently