XZise added a comment.

I'm not sure how you would see script modifications via the user-agent. You can 
basically only send the SHA1 (or the first N nibbles) for that. Otherwise you'd 
need a database with all the SHA1 hashes of the scripts. But then it's probably 
better if it is done not via the `__version__` but by manually generating the 
hash and comparing it to the database (as `__version__` doesn't change when you 
edit it locally without committing it (or similar)).

For versioning of scripts I'm not sure. There is no sequence so you don't know 
if `a311a20ff092847c90f5064bd1c792487b75cb46` is newer or older than 
`f86e43093a4660aaea2b71d5a6694278d79ef656`. And then again there is afaik no 
“reverse search” to determine the version via the SHA1 has (but git could be 
configured to use the git hash).


TASK DETAIL
  https://phabricator.wikimedia.org/T87409

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise
Cc: Ladsgroup, Xqt, XZise, valhallasw, jayvdb, Aklapper, pywikipedia-bugs



_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to