Rubin16 created this task.
Rubin16 added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  The script recognises two types of quotes as different names for the 
references. For example,  "autogenerated1" and 'autogenerated1' are considered 
as two different references, though they are the same for the MediaWiki engine.
  
  As a result, it first places "refname" (for example, first edit 
<https://ru.wikipedia.org/w/index.php?title=Кирикумяэ_(озеро)&curid=8730361&diff=112948556&oldid=112834435&diffmode=source>),
  then (sometimes) makes an edit of just replacing one type of quotes with 
another (for example, this one 
<https://ru.wikipedia.org/w/index.php?title=Инцкуры&curid=3049973&diff=112948068&oldid=112270899&diffmode=source>
 or this one 
<https://ru.wikipedia.org/w/index.php?title=Юзия&diff=112966517&oldid=112270283&diffmode=source>).
  
  I wouldn't consider it as an important issue but it also breaks the article 
when places "autogenerated1" with one link and 'autogenerated1' with a 
different one. It took me some time to catch this bug.
  
  For example, please, have a look to this diff 
<https://ru.wikipedia.org/w/index.php?diff=112946818&diffmode=source> and 
especially to "автоссылка7" (name for "autogenerated7" in Russian). The article 
had inside:
  
  > <ref 
name="автоссылка7">[https://seekingalpha.com/article/4160521-china-demographic-crisis-economic-outlook]</ref>
  
  During the edit, the bot creates a new refname:
  
  > <ref 
name="автоссылка7">[https://www.sciencedirect.com/science/article/pii/S0304393219300261
 Aging and deflation from a fiscal perspective - ScienceDirect<!-- Заголовок 
добавлен ботом -->]</ref>
  
  At the same time, it changes the quotes in the existing "автоссылка7" to 
'автоссылка7' and everything is broken.
  
  I was searching through the code, where the quotes' behaviour is defined but 
haven't found it yet.

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

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

To: Rubin16
Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to