CIA.vc
Archived Message
for JavaWoman
Stats » Authors » JavaWoman » Archived Message
envelope
Received 12:33 on Oct 16, 2007
Generated by Built-in Subversion repository interface version 1.0
linksUTC clock
11:05 on Feb 13, 2012

Commit Message

Author:JavaWoman
Project:wikka
Revision:755
URL:http://wush.net/trac/wikka/changeset/755
'''Wakka.class.php'''

Changes to existsPage() Method:
 * made prefix an optional parameter so the function can also be used from the installer when the configuration has not been written yet
 * added an extra parameter so we can check either for any record with the give page name (original behavior), or for an active record only ('''new default''' behavior): in many cases where the function as used, checking for an active page only clearly as the intended behavior but this may cause subsequent errors if a page has been "removed" (or "hidden") while keeping page history.
 * cleanup: minor changes to Action() to avoid notices

'''install.php'''
 * now avoids adding extra (active) copies of  a page when the installer is re-run for a new install

'''backlinks, clone and showcode handlers; usersettings action'''
 * adapted to new existsPage() interface with (hopefully) the actual intended behavior - in most cases checking for an active page, not just any page record of the given name.
 * some minor cleanup & docblock updates here and there

'''Note:''' Most of these changes will have to be migrated to trunk as well (at least the non-installer changes; I'm not sure about the installer).

Modified Files