Please sign in to comment.
Two major changes together (sorry) -- getSimilarStory and slashizedLi…
…nks. "Similar story" code adds a task to plugins/Admin which generates a list of "uncommon words" and URLs (currently stored in a var, which I don't much like but it's there for now) from recent stories. Each story preview/edit uses that list and the list of words in the edited story to find a list of similar stories, which can help admins find useful links and duplicates. And "slashizeLinks," part of Slash::Utility::Data and referenced by admin.pl, Slash.pm and article.pl, converts all article and comments links internal to a Slash site (including .shtml links), in stories, to a standard format which is parsed at display time. This ensures that such links are in a standard format, and that static pages link to static pages and dynamic pages to dynamic. Also, a few minor little bugs and spelling mistakes are fixed.
- Loading branch information...
Showing with 606 additions and 21 deletions.
- +122 −0 Slash/DB/MySQL/MySQL.pm
- +52 −0 Slash/DB/Static/MySQL/MySQL.pm
- +7 −0 Slash/Slash.pm
- +314 −2 Slash/Utility/Data/Data.pm
- +1 −0 plugins/Admin/PLUGIN
- +40 −12 plugins/Admin/admin.pl
- +7 −0 plugins/Admin/dump
- +17 −0 plugins/Admin/refresh_uncommon.pl
- +27 −5 plugins/Admin/templates/editStory;admin;default
- +1 −1 plugins/SOAP/soap.pl
- +13 −0 sql/mysql/upgrades
- +5 −1 themes/slashcode/htdocs/article.pl
Oops, something went wrong. Retry.