matthew flaschen
play

Matthew Flaschen Software Engineer, Collaboration T eam, - PowerPoint PPT Presentation

Matthew Flaschen Software Engineer, Collaboration T eam, Wikimedia Foundation Converting LiquidThreads to Flow Or: How I learned to stop worrying and love the batch But First A Long Introduction Wikipedia Matthew Flaschen Software


  1. Matthew Flaschen Software Engineer, Collaboration T eam, Wikimedia Foundation

  2. Converting LiquidThreads to Flow Or: How I learned to stop worrying and love the batch

  3. But First A Long Introduction

  4. Wikipedia

  5. Matthew Flaschen Software Engineer, Collaboration T eam, Wikimedia Foundation

  6. Discussion!

  7. LiquidThreads

  8. Flow

  9. Storage model

  10. Conversion Goals

  11. T est with real data locally

  12. Future fmexibility in import source

  13. Resumability

  14. Preserve attribution and history

  15. Conversion Architecture

  16. Abstract API handling

  17. Source store

  18. Data mapping

  19. Map similar Thread → T opic Summary → Summary Page → Description Post → Post

  20. Mock dissimilar Moved posts Hidden user names

  21. Converting LiquidThreads to Flow (on offjcewiki)

  22. Converting LiquidThreads to Flow (on MediaWiki.org)

  23. MediaWiki.org

  24. Conversion Rollout

  25. 2 pages 5 pages

  26. 2 pages 5 pages 24 pages

  27. 2 pages 5 pages 24 pages

  28. 2 pages 5 pages 24 pages

  29. Don't try this at home.

  30. "/tmp/${page//\//-}.log";

  31. 250 pages, without user talk

  32. All remaining except the two hard ones

  33. Is it that bad, sir? Looks like it's pretty hairy.

  34. A classic

  35. T alk:Wikimedia engineering 20% policy

  36. __proto__

  37. A tale of two syntaxes

  38. alias = '__proto__'; this.magicWords[alias]

  39. hasOwnProperty (or ECMAScript maps)

  40. A tale of one annoying syntax

  41. 

  42. Not valid in HTML5

  43. User not fully renamed

  44. Almost done

  45. page='Talk:Groups/Proposals/Ciudad de M é xico'; echo "/tmp/${page//\//-}.log"; /tmp/Talk:Groups / Proposals / Ciudad de México.log

  46. page='Talk:Groups/Proposals/Ciudad de M e xico'; echo "/tmp/${page//\//-}.log"; /tmp/Talk:Groups - Proposals - Ciudad de Mexico.log

  47. That's what sed's for. ;)

  48. $(echo "$page"|sed 's#/#-#g')

  49. Performance

  50. T echnique: Install XDebug to profjle memory usage

  51. T echnique: Difgerent cache handling for batch

  52. The Last Page

  53. Fatal error: Maximum function nesting level of '100' reached, aborting! in /srv/mediawiki/php- 1.26wmf18/vendor/zordius/lightncandy/src/lightn candy.php on line 2150 Call Stack: 0.0003 663088 1. {main}() /srv/mediawiki/multiversion/MWScript.php:0 0.0179 1097424 2. require_once('/srv/mediawiki/php- 1.26wmf18/extensions/Flow/maintenance/convertLq tPageOnLocalWiki.php') /srv/mediawiki/multiversion/MWScript.php:97 0.0199 1753856 3. require_once('/srv/mediawiki/php- 1.26wmf18/maintenance/doMaintenance.php') /srv/mediawiki/php- 1.26wmf18/extensions/Flow/maintenance/convertLq tPageOnLocalWiki.php:91 ...

  54. Credit

  55. David McCabe For writing LiquidThreads

  56. Andrew Garrett For major long-term new work on LiquidThreads

  57. Danny Horn Nick Wilson For project management and community coordination in a shifting timeline

  58. Andrew Garrett Erik Bernhardson Matthias Mullie Matthew Flaschen For implementation of LiquidThreads->Flow conversion

  59. LiquidThreads and Flow contributors

  60. The Collaboration T eam For ongoing new work on opt-in, conversion, and just awesome stufg all around

  61. It is the stated position (not really) of the U.S. Air Force that their safeguards would prevent the occurrence of such events as are depicted in this presentation.

  62. Culture Stanley Kubrick – How I learned to stop worrying and love the bomb James T aylor - Mexico

  63. Questions

Recommend


More recommend