Aram added a comment.
@Xqt, @Enag2000 has been inactive for six months and this task is important
to address. Can you please do something about it? Thanks.
TASK DETAIL
https://phabricator.wikimedia.org/T352237
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel
Aram added a comment.
@Xqt, That's the question I expected! This is just my answer and it may be
better to get the experience of experts. If we’re just talking about adding a
welcome message, yes, the extension defeats the script leaving it no chance to
welcome users, but the script can
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Huji, Stang,
Aklapper.
TASK DESCRIPTION
Although I wasn't sure about creating this; this is not a request, but a
suggestion. In welcome.py
<https://gerrit.wikimedia.or
Aram added a comment.
@Xqt, I don't know how you found out I was using PS, but I must say you're
really smart. Now, I got what you got using `""` in `cmd` and escaping using
backtick
`"`"
in `PS`. And thanks for suggesting //template// script, but I was
Aram added a comment.
Without escaping:
PS C:\Pywikibot> python pwb.py -simulate replace -page:ئانیشک
-site:wiktionary:ckb -regex "{{wikipedia}}\n?" "" -summary:"Replace test"
ERROR: Incomplete command line pattern replacement pair:
['{{w
Aram added a comment.
@Xqt, I have updated python to the latest version `3.12.3` and tried
`-3.12-64` and `-3.10-64` launchers. Both launchers were the same. This is
escaping one:
PS C:\Pywikibot> python pwb.py -simulate replace -page:ئانیشک
-site:wiktionary:ckb -regex "{{w
Aram added a comment.
Edition: Windows 10 Pro
Version: 1909
OS Build: 18363.900
TASK DETAIL
https://phabricator.wikimedia.org/T364689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo
Aram added a comment.
@Xqt, Sure, I just updated to the latest version:
PS C:\Pywikibot> python pwb.py version
Pywikibot: [https] r-pywikibot-core.git (385e9d7, g18846, 2024/05/20,
15:05:27, stable)
Release version: 9.1.2
packaging version: 24.0
mwparserfromhell vers
Aram added a comment.
The same thing:
python pwb.py -simulate replace -page:ئانیشک -site:wiktionary:ckb -regex
"{{wikipedia}}\n?" "" -summary:"Replace test"
ERROR: Incomplete command line pattern replacement pair.
TASK DETAIL
https://phabricato
Aram reopened this task as "Open".
Aram added a comment.
@Xqt, Sorry for reopening it. I couldn't reply; I went offline for about one
week. However, It looks like you haven't got that error message and it's
working for you. But for me, after reseting my Pywikibot, I'm sti
Aram updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T364689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra
Aram added a comment.
To avoid wasting your time, there is an alternative.
python pwb.py replace -family:wiktionary -lang:ckb -file:"countries.txt"
-regex "{{wikipedia}}\n?" "{{subst:void}}" -summary:"بۆت: - {{wikipedia}}؛ بە
شێوەیەکی خۆگەڕانە لەلا
Aram created this task.
Aram added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I just noticed that `replace.py` script of pywikibot can't replace your
pattern with null.
python pwb.py replace
Aram added a comment.
@Xqt, Sorry, I was stupid; at first I added:
`usernames['test']['wikidata'] = 'AramBot'` in `user-config.py` file, but I
just realized that the format should be like: `usernames['wikidata']['test'] =
'AramBot'`. I made test edit such as this one
<ht
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
It is clear we can use https://test.wikipedia.org for testing pywikibot
scripts and this is a good support pywikibot provides to save Wikipedia
Aram added a comment.
> Is there an invisible characater within your text file?
Just answering your question. These days I generate my lists using AWB. I
checked the list (especially the first title) and no, there wasn't any
invisible characters. I don't know why I have the prob
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I worked on "replace.py" and I noticed that while we are working on a txt
file containing (plaintext) titles (like A, B, C) separat
Aram added a comment.
In T345033#9571673 <https://phabricator.wikimedia.org/T345033#9571673>, @Xqt
wrote:
> Hi @Aram: I removed the `-up` option and made it default as suggested. I
didn't found the `immage` → `image` for replacemet within the code. The
`-nouserwarning`
Aram added a comment.
Sorry, I just found a new problem. I used `-always`. First warning
<https://ckb.wikipedia.org/w/index.php?title=%D9%84%DB%8E%D8%AF%D9%88%D8%A7%D9%86%DB%8C_%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1%3ASakura_emad=1195692=1194927>
was good, but
Aram added a comment.
@Xqt, Special thanks! Technically, it is now working for me as I wanted. But
I think we didn't want to create `-up` because almost all these kind of
templates should be placed above. However, if you still consider it necessary,
then we may need to make &quo
Aram added a comment.
@Xqt, Can you please care about this please? This is not difficult.
TASK DETAIL
https://phabricator.wikimedia.org/T345033
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: Xqt, Aklapper, pywikibot-bugs-list, Aram
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Hi, per this version
<https://wikitech.wikimedia.org/w/index.php?title=Help:Toolforge/Running_Pywikibot_scripts_(advanced)=2140
Aram added a comment.
In T356782#9525790 <https://phabricator.wikimedia.org/T356782#9525790>, @Xqt
wrote:
> Hm, there are several sites in langlinks but it should not have to logged
in there.
> For a work-around you could use
> `usernames['wikipedia']['*'] = 'Aram
Aram added a comment.
@Xqt, No. Every time it asks to add a new project.
usernames['wikipedia']['en'] = 'AramBot'
usernames['wikipedia']['fa']= 'AramBot'
usernames['wikipedia']['id']= 'AramBot'
usernames['wikipedia']['am']= 'AramBot'
...
TASK DETAIL
https
Aram reopened this task as "Open".
Aram added a comment.
Sorry for reopening. You were right. My bot wasn't attached to Commons, but
after attaching, I still faces these errors. Even I can't understand it; it's
weird!
ERROR: No username has been defined in your user config
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
After following
https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth/Wikimedia:
On Toolforge, run:
tools.arambot@tools-sgebastion-10
Aram added a comment.
In T351951#9400287 <https://phabricator.wikimedia.org/T351951#9400287>, @Xqt
wrote:
> I haven't found any `→` in the code but in the i18n
<https://translatewiki.net/wiki/Pywikibot:Category_redirect-log-double/ckb> at
translatewiki and this sh
Aram added a comment.
@Xqt, Thank you! Much closer to perfect this time. The bot has made some good
edits and this is the log revision
<https://ckb.wikipedia.org/w/index.php?title=%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1:AramBot/category_redirect_log=prev=1140
Aram added a comment.
@Xqt, After updating `scripts/category_redirect.py` with your last edit and
running the script, looks like it is now modifying the old categories to new
ones as you can see in this edit
<https://ckb.wikipedia.org/w/index.php?title=%D8%AA%DB%8C_%D8%AF%DB%8C_%DA%A9%DB
Aram added a comment.
In T351951#9387697 <https://phabricator.wikimedia.org/T351951#9387697>, @Xqt
wrote:
> In T351951#9384705 <https://phabricator.wikimedia.org/T351951#9384705>,
@Aram wrote:
>
>> @Xqt, The code you showed me is correct. I tried updating
Aram added a comment.
In T351951#9380567 <https://phabricator.wikimedia.org/T351951#9380567>, @Xqt
wrote:
> @Aram: Cannot reproduce the i18n issue. After adding print statements I get:
>
> D:\pwb\GIT\core>pwb -simulate category_redirect -lang:ckb
> C
Aram added a comment.
> @Aram: Could you please give an example.
Sure. If you mean an edit summary sample, I provided this one
<https://ckb.wikipedia.org/w/index.php?title=%D9%BE%DB%86%D9%84:%D8%A6%D8%A7%D8%A8%D9%88%D9%88%D8%B1%DB%8C%DB%8C_%D8%A6%D8%A7%D8%B3%DB%8C%D8%A7_%D8%A8%DB
Aram updated the task description.
TASK DETAIL
https://phabricator.wikimedia.org/T352237
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**:
- The doc of the delinker.py
<https://doc.wikimedia.org/pywikibot/master/scripts_ref/scripts.html#mod
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
This category_redirect script
<https://doc.wikimedia.org/pywikibot/master/scripts_ref/scripts.html#module-scripts.category_redirect>
is an a
Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Hi, yesterday I ran Pywikibot's "category_redirect.py" script on ckbwiki, but
it didn't work and showed the message `WARNING: No redirect
Aram added a comment.
@Xqt, Thank you for your reply! Yes, the additional `-up` option can fix the
problem, but it doesn't have to affect the message sent to the uploader's talk
page. However, (in my opinion) adding the tag to the top of the image/file
pages should be made the default
Aram created this task.
Aram added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Hi, I just noticed that the Pywikibot "unusedfiles.py" script, adds
"template_to_the_image" template
38 matches
Mail list logo