home |
changes |
index |
login
Wala Code
see also:
Brent
December_16_2004
December_5_2004
DisplayCode
Eee_PC
GoPlaces
HomePageBackup
HomePage
July_29_2004
KnowItExists
MarkupEngines
October_3_2003
October_8_2005
SandBox
diff
more...
search:
wikipedia
duckduckgo
reddit
everything2
WareLogging.
I'm actually in the process of moving this stuff into DisplayCode. Please see github.com/brennen/display
This is a modified version of Brent's Wala script, which is in the public domain. The canonical site for public versions of the Wala source code is now walawiki.org. Feel free to ask for help here.
WalaCodeToDo
= changes =
- 4/9/08 - Reworked RecentChanges into a table format.
- 1/27/08 - Cleaned up linking regexen.
- 1/17/08 - Fixed a cookie parsing bug which probably explains a bunch of weird stuff with logins.
- 11/??/07 - Fixed a caching bug where related pages weren't getting touched.
- 10/15/07 - Added a LogRelatedChanges toggle, tweaked logging format slightly.
- 10/07 - Built some dirt-simple method generation into a package called MethodSpit.pm.
- 9/22/07 - Turned Wala into a class.
- 9/10/07 - Did a bit of code cleanup.
- 6/24/07 - Fixed wala_feed.pl bug with changes.
- 6/22/07 - Now displays RecentChanges to pages containing punctuation.
- 6/7/07 - Code cleanup, now obeys $WalaConf{PagesDir}, etc. Logs related pages for new pages.
- 6/5/07 - Fixed "more..." bug in see also.
- 6/4/07
* Added full text of pages to wala_feed.pl output - still not optimal; it should really include the appropriate versions.
* Got rid of an unnecessary global.
- 5/25/07 - Can now include PageIndex on a page.
- 5/24/07 - Partially fixed PageIndex, PageChangeTimes. Random code cleanup.
- 5/17ish/07
* Started rejiggering page caching code - running up against the inefficiencies of grepping so many pages, so this starts looking increasingly important.
* Optimized "see also" stuff to some extent, compartmentalized a number of functions.
- 4/12/07 - Recognizes $WalaConf{UseCache} as a quick way to disable storing/fetching pages from cache.
- 4/2/07 - Moved markup code (other than links) into a separate module called WalaMarkup.
- 4/1/07 - colophon for p1k3 no longer shows up with underscores in it. I also changed PageIndex to apply inline styles directly to <a> tags instead of to spans around said tags. Links with # targets should work now. Feed is a touch smarter.
- 3/28/07 - Generalized feed script, improved documentation, added a number of tests, cleaned up HTML a bit further, added a del.icio.us link to searchlinks, added a configuration switch for display of searchlinks.
- 3/26/07 - Minor bugfixes; a cheap atom feed using XML::Atom::SimpleFeed.
- 3/23/2007 - Now outputs valid XHTML 1.0 Strict, at least in theory, and the test script uses a couple of CPAN modules to validate output.
- 3/19/06
* Thinking about how to avoid hand-coded HTML.
Started writing some tests.
Closer to a real module now.
Configuration improved; you can configure by modifying an imported hash inside the calling script, or use an external file to do the same.
Added better POD docs and a README generated from this.
Added an option to disable setup routine on every call.
* Started cleaning up the HTML output a bit.
- 3/14/06 - Tweaked the script to use an external configuration file. This needs a little work, but the eventual idea is to offer a distribution of display.pl + wala that uses a unified conf file, as well as just making Wala.pm easier to use. This actually looks like it'll be pretty straightforward.
- 3/4/06 - I set up walawiki.org to host both existing public Wala codebases. Also walawiki.org/source SVN repository.
- 9/23/06 - Tweaked "see also" to limit to 16 other pages with the option to view an entire list.
- 9/5/06 - fixed a couple of gaping security issues. Embiggened textareas for editing.
- 8/23/06 - added reddit to searchlinks.
- 8/21/06
* RecentChanges logging of "x lines changed" is fixed, more or less.
* Fixed: If you just hit "add", without entering any text, you wind up adding a "<nickname>" to the bottom of a page minus anything else. Should check for 0 length strings and not post them.
- 2/4/06 - Brent added some rudimentary spam protection; URLs can't be posted from the add box by anonymous users. Ought to take care of some WikiSpamming. Unfortunately, the mod_perl bugs with this thing make it imperfect at best. If someone's recently logged in, a spam script can piggyback because some state info is preserved inappropriately.
- Now linkifies HTTPS urls in brackets. (11/5)
- PageIndex now displays a simple graph instead of all the pages; this should save a little bandwidth and makes for way speedier loading.
- the searchlinks box doesn't show up HomePage, RecentChanges, or LinkDump. Should probably do this more elegantly, like by allowing pages to contain some metadata governing their display.
- PageChangeTimes is a quick hack to show a list of pages sorted by modification time, from oldest to newest. Intended as a tool for dredging up older pages and adding real content, or better plugging them into the overall scheme of the wala. Since it just uses stat() to report mtimes, it should be correct even for pages modified with a text editor or copied from elsewhere. Probably I should come up with a better general mechanism for listing and sorting pages.
- PageIndex is a new feature; Brent will probably integrate into his version.
- PageIndex now uses CSS to do a simple graph.
- I just added really inefficient code to slurp through files and look for links to a given page, thus providing a list of backreferences. One better way to do this would be to periodically (on each edit?) rebuild a hash of links and store it in a single file. Another would be to stop relying on flatfiles, but I'm not going to do that. Still, it's surprisingly fast for reading every single file in the directory.
- RecentChanges is now generated internally using wiki markup. Little difference in functionality except that summary lines will show up as properly formatted text, etc.
- Now automatically provides summary lines.
- "see also" list is now sorted alphabetically.
- 6/25/06 - Fixed a minor bug with putting image urls inside bracketed links; brackets inside image alt text were being interpreted as link brackets. Replaced these with parentheses.
- 6/25/06 - Fixed a minor bug with pages showing up in their own see also lists.
pick a name (required to comment or edit a page)
last edited May 25, 2009