I was wondering if there are any rules or conventions for awarding tokens on Phabricator. Are tokens awarded to the task as whole or in reaction to a comment posted or both?
Return to "Phabricator/Help" page.
0. Found image:
File:Rifle is Beautiful volume 1 cover.jpg
About this board
Rules or conventions: Not that I knew. It's all left to the interpretation of the viewer. :)
Python 3.7: imagetransfer can only concat str (not "byte") to str
Off-topic - This is for Phabricator. Please ask Pywikibot questions in a Pywikibot forum.
I am using Python 3.7 and I tried to use imagetransfer but it returns error, for example:
>>> python pwb.py imagetransfer "File:Rifle is Beautiful volume 1 cover.jpg" -tolang:vi -dir:en
0. Found image:
Traceback (most recent call last):
WARNING: .\scripts\imagetransfer.py:140: DeprecationWarning: pywikibot.page.FilePage.fileUrl is deprecated for 3 years and 4 months; use get_file_url instead. url = sourceImagePage.fileUrl().encode('utf-8') Traceback (most recent call last): File "pwb.py", line 299, in <module> if not main(): File "pwb.py", line 294, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 96, in run_python_file main_mod.__dict__) File ".\scripts\imagetransfer.py", line 329, in <module> main() File ".\scripts\imagetransfer.py", line 325, in main bot.run() File ".\scripts\imagetransfer.py", line 273, in run self.transferImage(imagelist[todo]) File ".\scripts\imagetransfer.py", line 141, in transferImage pywikibot.output('URL should be: ' + url) TypeError: can only concatenate str (not "bytes") to str CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
I also change url = sourceImagePage.fileUrl().encode('utf-8') to url = sourceImagePage.get_file_url().encode('utf-8') but still not working Any solution? Thanks a lot.
This seems to be about "imagetransfer" (whatever that is) and not about Phabricator itself, hence closing this as off-topic. Please ask in a related support forum for whatever software you are referring to.
@ Chihaya~chan : feel free to open a bug report in Pywikibot project on phabricator: https://phabricator.wikimedia.org/project/view/103/
(@AKlapper (WMF): when you see pwb.py, that probably says Pywikibot :)
Can my Phab account (no activity) be deleted?
I want to give up my account (Siuhkjit) . Thanks.
I don't know if it can be deleted, but would you like me to disable it?
A phabricator admin can delete your account.
@AKlapper (WMF): Maybe you can take care of this request?
Disable my Phabricator account, please!
Please disable my Phabricator account with no activity , so that I can create a new one.
Thanks in advanced.
Please also note that Phabricator accounts can be deleted. Do you want an admin to delete your account instead?
@In fact: Which problem does the current account create? Why would you need "a new one"? What's the problem with the old one? https://phabricator.wikimedia.org/p/123166546544684654354654654/ was created three hours ago, what happened in these three hours?
All I want to do is to rename my Phabricator account. What is the best way to do it ?
If you want to rename your account then you could ask for renaming your account, instead of asking to delete it? Also see https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem
Which name would you like it to have? Also see https://www.mediawiki.org/wiki/Phabricator/Help#Creating_your_account
Please read https://www.mediawiki.org/wiki/Phabricator/Help#Creating_your_account again... It says no spaces.
So please just delete my Phabricator account for now. Thanks.
You can use a underscore instead of a space.
Thank you all for helping me.
I am guessing they want to create a new one because of the current one's username. If that's the case, renaming the account would suffice.
A question about phab:T108586: Does running Herald rules blocks every change to every task? Many rules should actually run asynchronously ("as a job").
Yes, Herald is synchronous (hence why we discourage new/more complex Herald rules). There's no such thing as asynchronous "jobs" in Phabricator, that's a MediaWiki concept.
So it may be meaningful to ask upstream to allow running some Herald rules asynchronously. This will optimize performance significantly, giving the low transaction rate (=frequency of actions) in Phabricator.
No, that's not a plausible request and I would not endorse it.
Viewing existing Herald rules
I think I've actually asked this question before, but I can't recall the answer (nor find it), so apologies if this is redundant.
I'm trying to show https://phabricator.wikimedia.org/H260 to that team's Product Manager, but they can't view it even when logged in. What gives a Phab user the ability to simply view an existing Herald rule? Do they need to be granted membership to a group with permissions? They don't need to edit (they are happy to make requests) they just want to see what already is there.
Only members of the groups Trusted-Contributors, WMF-NDA, Triagers, and Phabricator admins can edit, create Herald rules. And those who are not in one of the above groups can not view Herald rules. Just add them to one of these groups to give them access to Herald. Who is that team's product manager?
That makes sense. They don't need to make Herald rules (and I think users with that access are many fewer than the ones in those groups), just view them in order to make requests now and again. I believe Triagers is the best fit. Thanks!
Phatality documentation out of place?
I'd have expected the documentation about Phatality to go on the pages about logstash (where it is installed and used), not here. @Lucas Werkmeister (WMDE), you feel it belongs here?
Well, I thought it would be useful to have some link to it on both mw.org and wikitech, and as far as I’m aware mw.org doesn’t have dedicated logstash pages. A full documentation, if someone feels inspired to write it, should probably be closer to logstash, yes.
(I also edited wikitech:Logstash, in case you didn’t see that part.)
Ah, yes, I don't have that on stalk. (We really should scrap wikitech, it's such a useless divergence). Maybe cross-link to wikitech where we'll put documentation(!?). @MModell (WMF), did you plan to document it?
New project/tag for wikijournals
I'm looking to create a project or tag to track phabricator tasks relevant to the meta:WikiJournal/Technical_wishlist (like this one). I don't have permission to create a new project from scratch on Phabricator. Would someone be able to assist?
Filing phab request
Hello, I want to begin with Pywikibot/Scripts. I speak French. Do you know any place where a french speaking person could help me, that is answers questions ?
Make dashboard links only appear once
As shown in https://usercontent.irccloud-cdn.com/file/fC3GmfrU/Screenshot%202019-09-26%20at%2023.37.37.png can someone help make the link to dashboard only appear once rather than 3 times.
Can you select "Edit Menu" and remove it? https://phabricator.wikimedia.org/home/menu/configure/custom/
@AKlapper (WMF): Worked!