Difference between revisions of "RailsEdit"

Line 22: Line 22:
 
** <s>CategoryLinks/TemplateLinks/PageLinks all updated properly, based on results from Parser</s>
 
** <s>CategoryLinks/TemplateLinks/PageLinks all updated properly, based on results from Parser</s>
 
** <s>PageCache is recreated, based on results from parser.</s>
 
** <s>PageCache is recreated, based on results from parser.</s>
** Users on watchlist are notified (by email or otherwise)
+
** <s>Users on watchlist are notified (by email or otherwise)</s> -- appears to be done
** RecentChanges / Actions are created upon edit (autopatrolled as before)
+
** RecentChanges / Actions are created upon edit (autopatrolled as before)
  
  

Revision as of 19:19, 12 May 2008

OurWork Edit-chalk-10bo12.png


What (summary)

Replace Mediawiki's editing functionality with our own homegrown editor.

Why this is important

As we move towards profiles we need to be able to integrate functionality of

DoneDone

  • Merge with compostus branch
  • Require CAPTCHA iff any of these conditions are met:
    • Non-sysops add external links....
    • Anyone add text that triggers spam filter
  • Implement spam filter using Akismet
    • Applied to newly added text
    • Get commercial key
  • Upon edit:
    • email tags are graphic-substituted
    • Page text is pre-processed by mediawiki Parser, saved as a new revision
    • CategoryLinks/TemplateLinks/PageLinks all updated properly, based on results from Parser
    • PageCache is recreated, based on results from parser.
    • Users on watchlist are notified (by email or otherwise) -- appears to be done
    • RecentChanges / Actions are created upon edit (autopatrolled as before)


  • Audited for javascript injection vulnerabilities!
    • Escape ALL user-submitted content.

Steps to get to DoneDone

  • Verify by hand that the code we refactored works correctly.
    • If not, write tests.
    • Cases:
      • Edit section
      • Edit nonexistent page
      • Add new section
  • Fix section edit links not showing up
  • Same code pathway for parsing on edit and on page_cache update

Discussion



Retrieved from "http://aboutus.com/index.php?title=RailsEdit&oldid=15485073"