Page MenuHomePhabricator

DavidBrooks
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Jul 14 2015, 9:27 PM (552 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
DavidBrooks [ Global Accounts ]

Recent Activity

Thu, Feb 12

DavidBrooks added a comment to T414214: 429 "too many requests" while requesting "what transcludes page" for many templates in AWB.

Fixed on the client side with AWB SVN 13014 (honor Retry-After headers in list generation). This is not tested live however; maybe the hotfix by @Joe dealt with the issue on the server side. Still, it's the right thing to do.

Thu, Feb 12, 9:16 PM · Traffic, AutoWikiBrowser
DavidBrooks closed T416505: Fix possible RetryAfter errors in AWB and plugins as Resolved.

SVN 13014.

Thu, Feb 12, 1:36 AM · AutoWikiBrowser

Sat, Feb 7

DavidBrooks added a comment to T416505: Fix possible RetryAfter errors in AWB and plugins.

I have a simple fix in the ApiMakeList, which should cover the cases listed in T414214. Trying to test it now.

Sat, Feb 7, 8:37 PM · AutoWikiBrowser
DavidBrooks added a comment to T414214: 429 "too many requests" while requesting "what transcludes page" for many templates in AWB.

Wikimedia was updated some time last year to return error 429 (Too Many Requests) when someone is using resources too quickly, and the error is accompanied by an advisory pause time (Retry-After header). I've received in it some of my own client-side code, only ever getting a pause time of 1 second. The cure is to wait that period and retry the same call. Success isn't guaranteed though; the pause request is re-evaluated.

Sat, Feb 7, 8:21 PM · Traffic, AutoWikiBrowser

Fri, Feb 6

DavidBrooks added a comment to T416505: Fix possible RetryAfter errors in AWB and plugins.

Update: it seems the existing fix doesn't apply to the code that processes a list.

Fri, Feb 6, 5:01 PM · AutoWikiBrowser

Thu, Feb 5

DavidBrooks closed T415566: Remove SecurityAction.Demand decoration from AWB's MainForm class as Resolved.

SVN revision 13013

Thu, Feb 5, 8:28 PM · AutoWikiBrowser
DavidBrooks added a comment to T403895: Honor Retry-After HTTP header.

New fix added (SVN 13012). Don't let a RetryAfter header reset the default delay, and allow for a 503 to wait over a minute.

Thu, Feb 5, 6:43 PM · AutoWikiBrowser

Wed, Feb 4

DavidBrooks added a comment to T414214: 429 "too many requests" while requesting "what transcludes page" for many templates in AWB.

Already mentioned to @Reedy: the current official release should quietly retry any HTTP error after a delay that starts at 5 seconds. and escalates. But it does not honor a RetryAfter header (there is code in the tree to fix that). Also I haven't looked carefully enough at the bot mode path, and/or it could be coming from a custom HTTP submission in that plugin.

Wed, Feb 4, 6:13 PM · Traffic, AutoWikiBrowser
DavidBrooks claimed T416505: Fix possible RetryAfter errors in AWB and plugins.
Wed, Feb 4, 6:10 PM · AutoWikiBrowser
DavidBrooks created T416505: Fix possible RetryAfter errors in AWB and plugins.
Wed, Feb 4, 6:09 PM · AutoWikiBrowser

Tue, Jan 27

DavidBrooks added a comment to T413681: API:Login documentation missing clear clientlogin example.

Can you also take on board the discussion in T400002? This was triggered by the enforcement of email OTP and its impact on a specific desktop app, which I first noted in T399860. At the time, there was no guidance on how to handle that via the API.

Tue, Jan 27, 4:09 PM · MW-Interfaces-Team, MediaWiki-Action-API, MediaWiki-Documentation

Mon, Jan 26

DavidBrooks created T415566: Remove SecurityAction.Demand decoration from AWB's MainForm class.
Mon, Jan 26, 4:37 PM · AutoWikiBrowser

Oct 8 2025

DavidBrooks added a comment to T386430: Revert incorrect size and position values in resource files.

It has been fixed in the source tree, but that has not been pushed as an official build yet. I have an (almost) up to date build at https://github.com/DavidWBrooks/UnofficialAWB/releases/latest. As a bonus there's a build optimized for an ARM64 device.

Oct 8 2025, 9:19 PM · AutoWikiBrowser

Sep 6 2025

DavidBrooks closed T403895: Honor Retry-After HTTP header as Resolved.

Tested using different Retry-After values injected via Fiddler proxy.

Sep 6 2025, 5:56 PM · AutoWikiBrowser
DavidBrooks claimed T403895: Honor Retry-After HTTP header.
Sep 6 2025, 5:48 PM · AutoWikiBrowser
DavidBrooks created T403895: Honor Retry-After HTTP header.
Sep 6 2025, 5:48 PM · AutoWikiBrowser

Sep 3 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

Another question about response 429, sorry. Is there a range of values I can expect for Retry-After? AWB already retries <s>30</s> at least 5 seconds after any 4xx response, and I'd like to know if that needs to be updated to honor the returned value.

Sep 3 2025, 3:26 AM · User-notice-archive, Patch-For-Review, Traffic, SRE

Sep 1 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

Re the comment: "Allow user-agents with contact information" - implies blocking UAs with no contact information. Is this referring to a subset of queries? I understood from earlier that a legacy client-side app with a UA modeled on a browser UA would be OK (unless it runs into a rate limit). Still true?

Sep 1 2025, 3:21 PM · User-notice-archive, Patch-For-Review, Traffic, SRE

Aug 30 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

Re-upping a question I had earlier - will the servers' "Retry-After" header use seconds, or http-date, or potentially either? Of course it would be easy to figure out in my code, but it would still be good to know.

Aug 30 2025, 5:42 PM · User-notice-archive, Patch-For-Review, Traffic, SRE

Aug 26 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

You ask clients to respect HTTP code 429 Too Many Requests. Returning to AutoWikiBrowser: the current code will simply throw a failure here. But if we want it to do something more sensible, some questions.

Aug 26 2025, 3:54 AM · User-notice-archive, Patch-For-Review, Traffic, SRE

Aug 14 2025

DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

Thanks; I think those steps would be welcome. I already checked the code to handle EmailAuth into the AWB master source, but it hasn't been officially released yet. I will say that the chances of implementing OAuth in the client are slim.

Aug 14 2025, 4:33 PM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation

Aug 10 2025

DavidBrooks closed T399860: AWB should handle an EmailAuth OTP on login as Resolved.

Updated to detect EmailAuth installed extension. Finding an OATHAuth-only installation to test with can wait.

Aug 10 2025, 3:35 AM · AutoWikiBrowser

Aug 5 2025

DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

Committed 13001, implementation restricted to en wiki (where we know EmailAuth is turned on). TBD - make it more generic by checking installed extensions for EmailAuth and OATHAuth.

Aug 5 2025, 9:06 PM · AutoWikiBrowser

Aug 3 2025

DavidBrooks reopened T399036: AWB : Ellipsis in French/Russian/Ukrainian not properly managed in AWB "general fixes" as "Open".

Re-opening because the fix causes a build failure in UnitTests Release configuration (use of WikiFunctions:Variables:SetProjectLangCode). That doesn't affect building the app.

Aug 3 2025, 5:02 PM · AutoWikiBrowser

Aug 2 2025

DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

You can close this (which, remember, is a request to document and thus continue to support the behavior). But, even without documentation, I think the only sensible solution for AWB (and any similar interactive client) is to rely on the current behavior, so I'll keep using the "token" parameter until that breaks.

Aug 2 2025, 3:57 AM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation
DavidBrooks closed T400840: AWB should add a user contact to the User-Agent field as Declined.

After discussion in T400119, it seems that the current standard UA will be enough to prevent AWB from being blocked. That may change if an AWB bot goes crazy, in which case we would need to identify the bot in the UA, but it seems unlikely.

Aug 2 2025, 2:08 AM · AutoWikiBrowser

Aug 1 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

There won't be adding some magical regexes trying to ban any single case. We will make the list of user-agent regexes we block public - we want bot operators to adopt an identifiable user agent, so we can tell them apart without requiring authentication.

Aug 1 2025, 6:15 PM · User-notice-archive, Patch-For-Review, Traffic, SRE

Jul 31 2025

DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

Oh sorry, I've never used AWB (or windows, in the last few decades). If it's a Windows application, as in used by users to interact with wikipedia, I guess the browser-like format you've used is ok in that case! You don't need to change anything; thanks for taking the time to check!

Jul 31 2025, 3:39 PM · User-notice-archive, Patch-For-Review, Traffic, SRE

Jul 30 2025

DavidBrooks added a comment to T400840: AWB should add a user contact to the User-Agent field.

References task T400119.

Jul 30 2025, 8:58 PM · AutoWikiBrowser
DavidBrooks created T400840: AWB should add a user contact to the User-Agent field.
Jul 30 2025, 8:08 PM · AutoWikiBrowser
DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

@Joe I wasn't addressing AWB used as a bot, but as an interactive Windows app. Still, the rest of your comment seems applicable. The contact information would be the user's Wikipedia name (not the AWB authors'). We could prepend :p:ll:User: (p = project, ll = language code) if that would be better. I may need to take advice on bots' ids because I've never used that feature.

Jul 30 2025, 5:18 PM · User-notice-archive, Patch-For-Review, Traffic, SRE
DavidBrooks added a comment to T400119: Block traffic from user-agents not honoring our policy.

AutoWikiBrowser uses the MediaWiki API and User-Agent is WikiFunctions/n.n.n.n (Microsoft Windows NT n.n.n.n; .NET CLR 4.0.n.n). I don't know if that is distinctive enough. I guess a quick fix could be to add the logged-in user, although I'm not completely sure if any API request happens with nobody logged in yet.

Jul 30 2025, 4:25 PM · User-notice-archive, Patch-For-Review, Traffic, SRE

Jul 29 2025

DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

AWB code is old... it used the login MWAPI until I created the fix, which uses the clientlogin API for general (not bot) use. As you suggest it doesn't use the form descriptor, but gathers the username and password from a UI dialog or its own cache. And, sorry, but I advertised a patched app before I read the above. Several users were flummoxed by the sudden login failures a few weeks ago, and I think some people have resorted to creating a bot name.

Jul 29 2025, 10:12 AM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation
DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

I discovered, by tracing the browser submission (duh) that the fix is to submit the auth code with the "token=**" URL parameter. That works with the clientlogin API, but I'd like a heads-up if it changes.

Jul 29 2025, 8:58 AM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation
DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

I discovered the (undocumented and possibly accidental) right Mediawiki API parameters. A crudely coded fix works, but I have to leave for a plane in a few minutes. It needs better error handling, but I maybe able to upload something quickly. Also as the parameters are undocumented it's not necessarily a permanent fix.

Jul 29 2025, 8:55 AM · AutoWikiBrowser

Jul 21 2025

DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

The reason for wanting this is users of AWB who frequently or occasionally change IP address have started having to either log in to the web interface and authenticate, or (current recommendation) log in to AWB using a newly-created bot account.

Jul 21 2025, 4:49 PM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation

Jul 20 2025

DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

I'm wondering whether some wikis will still use OATH. I can put both flows into the code, but it would have to be blind (not sure I can test the OATH path to completion). To do it properly I'd have to look up how to enumerate the wiki's supported extensions.

Jul 20 2025, 4:27 PM · AutoWikiBrowser
DavidBrooks added a comment to T400002: Document how to use the clientlogin and createaccount APIs.

Can any API commitment make it clear whether the 6-digit format will be eternal (or at least what format it will always have). It would be nice to bake that into client-side validation.

Jul 20 2025, 4:22 PM · MediaWiki-Platform-Team (Q3 Kanban Board), MediaWiki-Core-AuthManager, Documentation
DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

Thanks for the pointer, @Reedy. Glad you are more keyed in than me. The Help page has been written, but I should be able to figure out the API.

Jul 20 2025, 2:15 PM · AutoWikiBrowser
DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

I'm most of the way there, but the API doc seems out of date. Following the example at API:Login to submit the OTC (I had to move the logintoken to the POST body), I'm told "Unrecognized parameter: OATHToken" (note - OATH not OAuth). Moving the OATHToken to the body didn't help, neither did a few capitalization changes. I'll try to find some answers in a mediawiki talk - moving to a new IP now.

Jul 20 2025, 9:56 AM · AutoWikiBrowser

Jul 18 2025

DavidBrooks added a comment to T399860: AWB should handle an EmailAuth OTP on login.

There's a problem. The "login" API sends a OTC to the user's email, but that's not documented and there is no indication in the result that this happens. Detecting the failure to log in, and trying with the "clientlogin" API generates a second OTC in the user's email. I can then collect the second code from the interactive user and submit it using clientlogin with the logincontinue parameter. I haven't coded that yet because it destroys the testcase.

Jul 18 2025, 5:30 PM · AutoWikiBrowser

Jul 17 2025

DavidBrooks claimed T399860: AWB should handle an EmailAuth OTP on login.

I think the login flow can try a clientlogin path if the regular login fails appropriately, and pop up a dialog to receive the OTC. I'm drafting that now, but will need a code review from those more familiar with the AWB intricacies. If that works, it will be helpful for users who don't think to look at the BotPwd advice in AWB Talk.

Jul 17 2025, 9:03 PM · AutoWikiBrowser
DavidBrooks created T399860: AWB should handle an EmailAuth OTP on login.
Jul 17 2025, 2:48 PM · AutoWikiBrowser

May 9 2025

DavidBrooks closed T393808: AWB's toolbar ""show or hide the panel" button makes View/Show control panel" check inconsistent. as Resolved.

The fix was to force the menu checkbox to reflect the panel's actual visibility.

May 9 2025, 6:47 PM · AutoWikiBrowser
DavidBrooks claimed T393808: AWB's toolbar ""show or hide the panel" button makes View/Show control panel" check inconsistent..
May 9 2025, 6:39 PM · AutoWikiBrowser
DavidBrooks created T393808: AWB's toolbar ""show or hide the panel" button makes View/Show control panel" check inconsistent..
May 9 2025, 6:38 PM · AutoWikiBrowser

Feb 23 2025

DavidBrooks added a comment to T385848: Window sizes have changed.

@GoingBatty https://github.com/DavidWBrooks/UnofficialAWB/releases/latest

Feb 23 2025, 5:38 PM · AutoWikiBrowser
DavidBrooks added a comment to T385848: Window sizes have changed.

@GoingBatty: Should be, by SVN 12943. Can you verify?

Feb 23 2025, 8:32 AM · AutoWikiBrowser
DavidBrooks closed T386430: Revert incorrect size and position values in resource files as Resolved.

SVN rev 12943: fixed CFD, IFD, Templator windows. That's all I could find for now.

Feb 23 2025, 5:04 AM · AutoWikiBrowser

Feb 22 2025

DavidBrooks added a comment to T386430: Revert incorrect size and position values in resource files.

SVN rev 12942: fixed SummaryEditor, InputBox, DabForm, RuleControl

Feb 22 2025, 1:08 AM · AutoWikiBrowser

Feb 21 2025

DavidBrooks added a comment to T386430: Revert incorrect size and position values in resource files.

Got it. Have to break off and need time to verify; back in a few hours. Sorry to be using a public forum for DMs...

Feb 21 2025, 9:12 PM · AutoWikiBrowser
DavidBrooks added a comment to T386430: Revert incorrect size and position values in resource files.

Thanks. I wasn't aware I had been added to the sourceforge inner circle :o). But not having worked with SVN until recently:

Feb 21 2025, 8:43 PM · AutoWikiBrowser
DavidBrooks reopened T386430: Revert incorrect size and position values in resource files as "Open".

I found four more: SummaryEditor, and in WIkiFunctions DabForm, InputBox, RuleControl. Still looking through the more obscure dialogs. The attached patch verified against revision 12939.

Feb 21 2025, 6:20 PM · AutoWikiBrowser

Feb 16 2025

DavidBrooks created T386573: Unit test CurlyDoubleQuotes failing.
Feb 16 2025, 5:23 AM · AutoWikiBrowser
DavidBrooks added a comment to T386430: Revert incorrect size and position values in resource files.

First tranche, restoring to the old (mostly empty) resx files and all the logic in Designer files: Main, CustomerModule, CustomModuleErrors, WikiFunctions/ReplaceSpecial. Layouts verified against rev 12900. Can a developer apply them?

Feb 16 2025, 4:49 AM · AutoWikiBrowser

Feb 14 2025

DavidBrooks claimed T386430: Revert incorrect size and position values in resource files.
Feb 14 2025, 5:34 AM · AutoWikiBrowser
DavidBrooks created T386430: Revert incorrect size and position values in resource files.
Feb 14 2025, 4:55 AM · AutoWikiBrowser

Feb 10 2025

DavidBrooks claimed T360226: In AWB, the escape key is too easily to press accidentally, losing edits.

I'll put it on my own backlog.

Feb 10 2025, 9:55 PM · AutoWikiBrowser

Feb 8 2025

DavidBrooks added a comment to T385736: Make Module window size error.

I (programatically) restored all the Size and Location values from the prior Designer.cs into the resx, and it seems to work with a brief test. There was no replacement for this.ClientSize or this.MinimumSize. They didn't seem to have an effect but we should probably verify. Anyway this makes the window usable again. Offering a full source file and diffs.

Feb 8 2025, 5:02 PM · AutoWikiBrowser

Feb 5 2025

DavidBrooks added a comment to T385736: Make Module window size error.

Clarification: the window size on opening (in the above screenshot) is smaller than in the working sample. But when I resize the to the window to the same dimensions, it seems the layout decisions are still faulty.

Screenshot 2025-02-05 102220.png (1×1 px, 58 KB)

Feb 5 2025, 6:23 PM · AutoWikiBrowser
DavidBrooks created T385736: Make Module window size error.
Feb 5 2025, 6:07 PM · AutoWikiBrowser

Feb 3 2025

DavidBrooks added a comment to T371647: C# modules fail to find compiler on newly configured machine.

I believe this was fixed a while back, but should probably be checked by someone on an older machine than mine. By the way, C# 4 using any version of the .NET Framework will accept language features up to 7.3, which is mildly confusing.

Feb 3 2025, 8:52 PM · AutoWikiBrowser
DavidBrooks added a comment to T385373: Alerts window has become too small.

Looks good on Windows 11. Screenshots are from a build at rev 12822 and the 6.3.1.1 released version for comparison. I also checked 12830 and it's still good.

svn 12822.png (592×524 px, 27 KB)

Feb 3 2025, 6:52 PM · AutoWikiBrowser
DavidBrooks added a comment to T385373: Alerts window has become too small.

Looks like lbDuplicateWikilinks.Size should be 127,69, not 127,66. I'm surprised 3 px makes a visible difference.

Feb 3 2025, 3:22 AM · AutoWikiBrowser

Feb 1 2025

DavidBrooks added a comment to T385373: Alerts window has become too small.

Seems to work, editing by hand

Feb 1 2025, 7:27 PM · AutoWikiBrowser
DavidBrooks created T385373: Alerts window has become too small.
Feb 1 2025, 6:18 PM · AutoWikiBrowser

Jan 29 2025

DavidBrooks created T385120: Extend Wiki regex PeopleInfoboxTemplates with a bunch of new templates.
Jan 29 2025, 10:20 PM · AutoWikiBrowser
DavidBrooks added a comment to T384956: Typo in WikiFunctions PeopleInfoboxTemplates.

I'm working through the new ones in a semi-automated way (the category "People and person infobox templates" contains some infobox subsets, and I'm excluding those, possibly unnecessarily). There does seem to be a significant number.

Jan 29 2025, 5:18 PM · AutoWikiBrowser

Jan 28 2025

DavidBrooks created T384956: Typo in WikiFunctions PeopleInfoboxTemplates.
Jan 28 2025, 6:36 PM · AutoWikiBrowser

Jan 25 2025

DavidBrooks added a comment to T368292: Explicitly clear AWB "new messages" flag for alternative account users.

Yes, I've tested, in both the other-account and same-account scenarios. I keep my sources on Azure Devops because reasons, but I've attached the text output of a git diff on a base of rev 12695:

Jan 25 2025, 9:24 PM · AutoWikiBrowser
DavidBrooks added a comment to T368292: Explicitly clear AWB "new messages" flag for alternative account users.

In my private build I actually named the method ClearNewMessages(), which I think is more correct. I really don't see a compatibility problem with adding this. If the HttpPost() fails, as far as I can see any exception is swallowed, but that probably means nothing will work anyway.

Jan 25 2025, 4:11 PM · AutoWikiBrowser

Jan 18 2025

DavidBrooks added a comment to T337884: Increase size of regular expression cache.

Yes, static calls. I instrumented it again, just before Save, and Barack Obama had used 50 cache slots. Without genfixes it uses 11 (I have a list if you want). Some will only be used during startup. Of course, modules and plugins are responsible for their own.

Jan 18 2025, 5:25 PM · AutoWikiBrowser

Jan 14 2025

DavidBrooks added a comment to T350636: In a compiled module, a sufficiently complex Regex.Replace can loop if \r characters are still in the article text.

Fair point. My immediate reaction was maybe to put a "an article load hangs and you are using a module or plugin, look to your RE's" in the documentation. But as you say, people should know what they are doing (although the OR apparently didn't figure it out).

Jan 14 2025, 3:45 PM · AutoWikiBrowser

Jan 11 2025

DavidBrooks created T383467: In AutoWikibrowser's WikiFunctions, Infobox royalty does not imply the subject is a person.
Jan 11 2025, 2:10 AM · AutoWikiBrowser

Oct 25 2024

DavidBrooks added a comment to T360226: In AWB, the escape key is too easily to press accidentally, losing edits.

I think the answer to the above is "don't do that".

Oct 25 2024, 4:41 PM · AutoWikiBrowser

Oct 17 2024

DavidBrooks added a comment to T360226: In AWB, the escape key is too easily to press accidentally, losing edits.

@A.sav: There are two workarounds.

  1. So long as you keep the app open, when the network eventually returns and the original article is reloaded, right-click in the edit window will show a "Replace text with last edit" option.
  2. "Options/Preferences/Editing and saving" asks AWB to snapshot your edit at intervals locally. I chose 30 seconds because you need to grab it before it gets overwritten by possibly a different title (but potentially lose 30 seconds of editing).
Oct 17 2024, 1:30 PM · AutoWikiBrowser

Oct 13 2024

DavidBrooks created T377086: AWBPackager creates a superfluous file.
Oct 13 2024, 6:59 PM · AutoWikiBrowser

Oct 3 2024

DavidBrooks added a comment to T376362: On mobile, watching a Talk page produces illogical confirmation ("Talk:Foo and its talk page have been added").

I should have checked: on the web version the confirmation is "Talk:Foo and its associated page have been..." so probably mobile should be consistent.

Oct 3 2024, 6:38 PM · Wikipedia-Android-App-Backlog (Android Release - FY2024-25)
DavidBrooks created T376362: On mobile, watching a Talk page produces illogical confirmation ("Talk:Foo and its talk page have been added").
Oct 3 2024, 2:37 AM · Wikipedia-Android-App-Backlog (Android Release - FY2024-25)

Aug 24 2024

DavidBrooks added a comment to T334888: Update AWB source to use a newer .Net Framework (it cannot be built by the current Visual Studio version).

More details on the previous comment: As noted in the T371647 discussion, Framework 3.5 is not installed OOB on a new system, although it's easy enough to install by hand.

Aug 24 2024, 8:56 PM · AutoWikiBrowser

Aug 21 2024

DavidBrooks added a comment to T358963: Change banner shell fixes in AutoWikiBrowser.

Another, not directly related, banner shell fix is described in T367178.

Aug 21 2024, 7:47 PM · AutoWikiBrowser

Aug 14 2024

DavidBrooks added a comment to T372017: AWB reads old writeapi user right, so stops working on wikis when it is removed.

The AWB fix was checked in on Aug 8 and then released as part of a forced update. But that also rolled up all other changes made since the 6.3.0.1 release (with some other improvements), but any regressions that show up should be reported on the en wiki AWB project page.

Aug 14 2024, 3:18 PM · AutoWikiBrowser

Aug 9 2024

DavidBrooks added a comment to T371647: C# modules fail to find compiler on newly configured machine.

The current logic (according to the Framework reference source RedistVersionInfo.cs) is:

  • Use the option CompilerDirectoryPath if present
  • Use the value from Executor.GetRuntimeInstallDirectory() if there is no CompilerVersion option, or it is set to 4.0
  • If the CompilerVersion is 2.0 or 3.5, look in the registry for the directory, which requires Framework 3.5 installation, or a registry hack
  • Any other CompilerVersion is an error.
Aug 9 2024, 7:26 PM · AutoWikiBrowser
DavidBrooks added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

To the comment on breaking-or-not siteinfo, please note that the AWB break (now fixed) was due to the flag removed from userinfo. That may come to the same thing; I don't know the internals.

Aug 9 2024, 6:23 PM · MW-Interfaces-Team, Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), MediaWiki-Action-API

Aug 8 2024

DavidBrooks added a comment to T371977: Removal of writeapi from siteinfo output breaks all mwclient-based bots, including stashbot (Server Admin Log).

The AWB breakage is specifically: format=xml&action=query with a body &meta=userinfo&uiprop=blockinfo|hasmsg|groups|rights returns a rights element that no longer includes <r>writeapi</r> (English Wikipedia)

Aug 8 2024, 6:16 PM · MW-Interfaces-Team, Bitu, MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), MediaWiki-Action-API

Aug 3 2024

DavidBrooks added a comment to T334888: Update AWB source to use a newer .Net Framework (it cannot be built by the current Visual Studio version).

Update based on setting up a new system. VS2019 Community is no longer available, although you can use Professional for a 3 months trial. Also, as I just realized, VS2022 only skips the mandatory framework update if VS2019 is installed side-by-side. Furthermore, it's necessary to make sure Framework 3.5 is installed if you want the compile to work at all.

Aug 3 2024, 6:48 PM · AutoWikiBrowser

Aug 2 2024

DavidBrooks updated the task description for T371647: C# modules fail to find compiler on newly configured machine.
Aug 2 2024, 2:57 AM · AutoWikiBrowser

Aug 1 2024

DavidBrooks created T371647: C# modules fail to find compiler on newly configured machine.
Aug 1 2024, 11:42 PM · AutoWikiBrowser

Jul 8 2024

DavidBrooks created T369528: Non-edit log events are presented with insufficient information in Watchlist.
Jul 8 2024, 4:00 PM · Wikipedia-Android-App-Backlog (Android Release - FY2024-25)

Jun 24 2024

DavidBrooks updated the task description for T368292: Explicitly clear AWB "new messages" flag for alternative account users.
Jun 24 2024, 6:14 PM · AutoWikiBrowser
DavidBrooks created T368292: Explicitly clear AWB "new messages" flag for alternative account users.
Jun 24 2024, 4:13 PM · AutoWikiBrowser

May 13 2024

DavidBrooks renamed T364772: Template parameter check does not recognize "trans-work" in cite web from Template parameter check dos not recognize "trans-work" to Template parameter check does not recognize "trans-work" in cite web.
May 13 2024, 6:18 PM · AutoWikiBrowser
DavidBrooks created T364772: Template parameter check does not recognize "trans-work" in cite web.
May 13 2024, 6:17 PM · AutoWikiBrowser

Mar 18 2024

DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

Thanks for letting me whine and posting the update. I verified the clean build. I too am frustrated that there is no UI for these settings. But worse is that the build system doesn't issue an error message when it can't find a reference. That is definitely a bug, although whether in MSBuild or VS I don't know. Never did figure out the join between them.

Mar 18 2024, 7:27 PM · AutoWikiBrowser
DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

Strange. Yes on the VS version. I did have UnitTests as startup (don't ask) but fixing that didn't help. And AutoWikiBrowser.exe runs just fine without NewtonSoft alongside, presumably because I haven't done anything that requires its services.

Mar 18 2024, 6:44 PM · AutoWikiBrowser
DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

I wonder if a third party can try to repro? I guess there aren't many of us who try to build release packages anyway.

Mar 18 2024, 3:17 PM · AutoWikiBrowser

Mar 17 2024

DavidBrooks added a comment to T360226: In AWB, the escape key is too easily to press accidentally, losing edits.

@Prati28: sent email.

Mar 17 2024, 2:41 PM · AutoWikiBrowser

Mar 16 2024

DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

I'm still trying to understand why I need a HintPath and you don't. Apparently you don't need the HintPath if the assembly is in one of four places, of which the two relevant here are (a) the output bin directory (which I hope actually means bin\release) but you said you had cleaned that (b) "paths can be specified in the project settings or configuration files". SpecificVersion false and HintPath ..\libs\NewtonSoft.json.dll work for me. While I'm here, CheckPageConverter has build errors due to 12588 but I guess that doesn't matter now.

Mar 16 2024, 3:33 PM · AutoWikiBrowser

Mar 15 2024

DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

I always build the entire AutoWikiBrowser solution (F6 in VS2019).

Mar 15 2024, 11:55 PM · AutoWikiBrowser
DavidBrooks added a comment to T360171: AWBPackager tries to include missing Newtonsoft DLL.

I apologize; I misread the changes in 12588. But I must have something different in my context from yours: I deleted all the bin and obj folders, and the Tortoisesvn checkmarks everywhere are green. I F6 the solution, and still no Newtonsoft in AWB\bin\release. But when I copy the elements of WikiFunctions csproj <Reference> entry to the AWB csproj (SpecificVersion and HintPath) and rebuild it does get copied.

Mar 15 2024, 11:44 PM · AutoWikiBrowser