Page MenuHomePhabricator

Implement design for change propagation when WF function calls change
Closed, ResolvedPublic

Description

Final design for Recent Changes feed entry:

(diff | hist) . . F {{Wikipedia article page title}} (Function:{{Function name}}); 17:07 . . (0) . . Editor123 (talk | contribs) ({{Our own message: {{Raw edit messgage}}}}) (thank)

image.png (1,824×176 px, 63 KB)

Connect / Disconnect
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Connected Implementation Z12345) (thank)
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Disconnected Implementation Z12345) (thank)

Multi-connect / Multi-disconnect
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Connected Implementation Z12345 and Z12346) (thank)
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Disconnected Implementation Z12345 and Z12346) (thank)

Edit
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Edited Implementation Z12345) (thank)

Edit + raw edit message
(diff | hist) . . F Douglas Engelbart (Function:Age); 17:07 . . (0) . . Editor123 (talk | contribs) (Edited Implementation Z12345: Made it better!) (thank)

image.png (2,178×1,272 px, 370 KB)

Links in the entry:

diff should take the user to the diff of the particular edit on Wikifunctions. For eg: Implementation: https://www.wikifunctions.org/w/index.php?title=Z10220&diff=128598&oldid=104368, test diff: https://www.wikifunctions.org/w/index.php?title=Z10512&diff=55024&oldid=31476

hist would link similarly to their respective history pages. For eg: https://www.wikifunctions.org/wiki/Z10512?action=history&uselang=en

Wikipedia article page title will link to the article

Function:{{Function name}} link to the function page

talk user talk page

contribs user contribution page

thank thanks the user for the edit

Editor123 links to user page - to contributions page when not a logged-in user

Event Timeline

DSantamaria changed the task status from Open to In Progress.Apr 4 2025, 2:00 PM

Change #1135143 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] [WIP] Fix RecentChanges entry generation and formatting

https://gerrit.wikimedia.org/r/1135143

Change #1135143 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Complete our RecentChanges entry generation and formatting

https://gerrit.wikimedia.org/r/1135143

Change #1136368 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@wmf/1.44.0-wmf.24] Complete our RecentChanges entry generation and formatting

https://gerrit.wikimedia.org/r/1136368

Change #1136368 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@wmf/1.44.0-wmf.24] Complete our RecentChanges entry generation and formatting

https://gerrit.wikimedia.org/r/1136368

Mentioned in SAL (#wikimedia-operations) [2025-04-14T18:05:04Z] <jforrester@deploy1003> Started scap sync-world: Backport for [[gerrit:1136368|Complete our RecentChanges entry generation and formatting (T386020)]], [[gerrit:1136379|Switch test Wikifunctions client deployment from test2wiki to test2iki (T391584)]], [[gerrit:1136380|Document Wikifunctions options, adding wgWikiLambdaClientModeOffline (T391584)]]

Mentioned in SAL (#wikimedia-operations) [2025-04-14T18:24:37Z] <jforrester@deploy1003> jforrester: Backport for [[gerrit:1136368|Complete our RecentChanges entry generation and formatting (T386020)]], [[gerrit:1136379|Switch test Wikifunctions client deployment from test2wiki to test2iki (T391584)]], [[gerrit:1136380|Document Wikifunctions options, adding wgWikiLambdaClientModeOffline (T391584)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-04-14T18:37:29Z] <jforrester@deploy1003> Finished scap sync-world: Backport for [[gerrit:1136368|Complete our RecentChanges entry generation and formatting (T386020)]], [[gerrit:1136379|Switch test Wikifunctions client deployment from test2wiki to test2iki (T391584)]], [[gerrit:1136380|Document Wikifunctions options, adding wgWikiLambdaClientModeOffline (T391584)]] (duration: 32m 25s)