Page MenuHomePhabricator

Support LAST as statement value
AcceptedPublic

Authored by 1-Byte on Aug 18 2018, 7:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 31 2023, 3:12 PM
Unknown Object (File)
Mar 23 2023, 7:20 PM
Unknown Object (File)
Mar 16 2023, 2:24 PM
Unknown Object (File)
Mar 10 2023, 3:25 PM
Unknown Object (File)
Mar 4 2023, 6:39 PM
Unknown Object (File)
Mar 2 2023, 4:14 PM
Unknown Object (File)
Feb 23 2023, 2:14 PM
Unknown Object (File)
Feb 15 2023, 3:04 PM
Subscribers
None

Details

Reviewers
Magnus
Commits
rMWc9b4abef2e6b: Update patch set 1
Patch without arc
git checkout -b D1098 && curl -L https://phabricator.wikimedia.org/D1098?download=true | git apply
Summary

At the moment QuickStatements supports LAST to be used as target item. With this patch, users can also refer to the new item when they add statements to existing items:

CREATE
LAST Len "example"
Q1000 P100 LAST

Unfortunately, I wasn't able to test it (I haven't been able to get the tool working locally so far).

Diff Detail

Repository
R2010 tool-quickstatements
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

1-Byte created this revision.
1-Byte edited the summary of this revision. (Show Details)
1-Byte added a reviewer: Magnus.

In the meantime, I was able to setup a local environment and test these changes. As far as I can see, the new feature should work as intended.

Applied, thanks. This will not work in "browser mode" (new_item not exchanged via API). Untested in "bot mode".

This revision is now accepted and ready to land.Aug 23 2018, 12:45 PM