hoo created this task.
hoo added subscribers: hoo, aude, Lydia_Pintscher.
hoo added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  `mw.wikibase.getEntity` needs to go away for performance reasons (among other 
things). At some point we'll turn it into a simple wrapper around 
`mw.wikibase.getEntityObject`, but before we can do that all relevant users 
have to be migrated.
  
  Modules using it, by number of transclusions: P272
  
  Numbers generated by running:
  
  ```
  hoo@terbium:~$ mwgrep --max-results 10000 --module '.getEntity(' > 
getEntity-Deprecated-2015-01-08.txt
  tools.hoo@tools-login:~/tmp$ IFS=$'\n'; for i in `cat 
getEntity-Deprecated-2015-01-08.txt`; do db=`echo $i | awk '{ print $1 }'`; 
page=`echo $i | sed 's/.*Module://' | sed 's/\t.*//'`; sql $db "SELECT REPLACE( 
DATABASE(), '_p', ''), 'Module:$page', COUNT(*) AS No FROM templatelinks WHERE 
tl_namespace = 828 AND tl_title = '$page'" | tail -n 1 >> 
getEntity-Deprecated-2015-01-08-links.txt; done
  tools.hoo@tools-login:~/tmp$ cat getEntity-Deprecated-2015-01-08-links.txt | 
sort -k 3,3 -n -r > ~/public_html/getEntity-Deprecated-2015-01-08-links.txt
  ```

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

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: hoo
Cc: Lydia_Pintscher, aude, Aklapper, hoo, Wikidata-bugs



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

Reply via email to