Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, 
MediaWiki-extensions-WikibaseRepository.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As a Wikidata editor, I want to create and edit items without getting 
conflict reports for pages that don’t exist.
  
  **Problem:**
  The Wikidata term store (aka new term store, normalized term store) contains 
some rows for deleted items.
  
  **Example:**
  An editor tried to set the Spanish label of an item to «Nicki Nicole» and the 
description to «cantante argentina», but got an error that “Item Nicki Nicole 
(Q67179790) already has label "Nicki Nicole" associated with language code es, 
using the same description text” (project chat permalink 
<https://www.wikidata.org/w/index.php?title=Wikidata:Project_chat&oldid=1281510917#Label/description_conflict_with_a_deleted_item?>);
 however, the page Q67179790 <https://www.wikidata.org/wiki/Q67179790> was 
actually deleted on 12 September 2019.
  
  Querying the term store on Toolforge, we can see that the rows still exist 
which allowed Wikidata to detect the “conflict”, and also to render 
`{{Q|Q67179790}}` using the label of the deleted item:
  
    MariaDB [wikidatawiki_p]> SELECT wbit_item_id, wby_name, wbxl_language, 
wbx_text FROM wbt_item_terms JOIN wbt_term_in_lang ON wbit_term_in_lang_id = 
wbtl_id JOIN wbt_type ON wbtl_type_id = wby_id JOIN wbt_text_in_lang ON 
wbtl_text_in_lang_id = wbxl_id JOIN wbt_text ON wbxl_text_id = wbx_id WHERE 
wbit_item_id = 67179790;
    
+--------------+-------------+---------------+---------------------------------------------------------------+
    | wbit_item_id | wby_name    | wbxl_language | wbx_text                     
                                 |
    
+--------------+-------------+---------------+---------------------------------------------------------------+
    |     67179790 | label       | en            | Nicki Nicole                 
                                 |
    |     67179790 | label       | es            | Nicki Nicole                 
                                 |
    |     67179790 | label       | ast           | Nicki Nicole                 
                                 |
    |     67179790 | description | en            | Argentine singer             
                                 |
    |     67179790 | description | es            | cantante argentina           
                                 |
    |     67179790 | description | en-gb         | Argentine singer             
                                 |
    |     67179790 | description | sq            | këngëtare argjentinase       
                                 |
    |     67179790 | description | fr            | chanteuse argentine          
                                 |
    |     67179790 | description | gl            | cantante arxentina           
                                 |
    |     67179790 | description | bn            | আর্জেন্টিনীয় গায়িকা        
                                 |
    |     67179790 | description | ar            | مغنية أرجنتينية              
                                 |
    |     67179790 | description | he            | זמרת ארגנטינאית              
                                 |
    |     67179790 | description | ro            | cântăreață argentiniană      
                                 |
    |     67179790 | description | ca            | cantant argentina            
                                 |
    |     67179790 | description | en-ca         | Argentine singer             
                                 |
    
+--------------+-------------+---------------+---------------------------------------------------------------+
    15 rows in set (0.04 sec)
  
  **Screenshots/mockups:**
  
  **BDD**
  GIVEN 
  AND 
  WHEN
  AND
  THEN
  AND
  
  **Acceptance criteria:**
  
  - The term store does not contain any data for deleted items.
  
  **Open questions:**
  
  - How many deleted items does this affect?

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, darthmon_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to