--- phpwiki-1.3.12p2.orig/config/config-default.ini
+++ phpwiki-1.3.12p2/config/config-default.ini
@@ -160,9 +160,10 @@
 ; USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc --no-title %s"
 BABYCART_PATH = /usr/local/bin/babycart
 ; GRAPHVIZ_EXE = /usr/local/bin/dot
+ENABLE_SPAMBLOCKLIST = false
 
 PLUGIN_CACHED_DATABASE = file
-; PLUGIN_CACHED_CACHE_DIR = /tmp/cache
+PLUGIN_CACHED_CACHE_DIR = /var/cache/phpwiki
 PLUGIN_CACHED_FILENAME_PREFIX = phpwiki
 PLUGIN_CACHED_HIGHWATER = 4194304
 PLUGIN_CACHED_LOWWATER  = 3145728
--- phpwiki-1.3.12p2.orig/config/config-dist.ini
+++ phpwiki-1.3.12p2/config/config-dist.ini
@@ -32,7 +32,7 @@
 ; bottom of each page. 65 for a more verbose level with AUTH hints. 
 ; See lib/config.php for all supported values.
 ; Default: 0
-;DEBUG = 1
+DEBUG = 0
 
 ; Enable the new method of handling WikiUsers.  This is currently an
 ; experimental feature, although it is considered fairly stable.  It's best
@@ -146,7 +146,7 @@
 ; It is recommended this be a relatively short WikiWord like the
 ; InterWiki monikers found in the InterWikiMap. (For examples, see
 ; lib/interwiki.map).
-WIKI_NAME = PhpWiki
+WIKI_NAME = DebianPhpWiki
 
 ; Username and password of administrator.
 ;
@@ -160,11 +160,9 @@
 ; functions. On all other occasions you should simply log in with your
 ; regular WikiName.
 ; If your password contains special chars like ";" or ":" better quote it in double-quotes.
-;ADMIN_USER = 
-
-; You must set this! Username and password of the administrator.
-; ADMIN_PASSWD is ignored on HttpAuth
-;ADMIN_PASSWD =
+ADMIN_USER = DebianWikiAdmin
+;  Wiki admin login is disabled by default, please see README.Debian.
+ADMIN_PASSWD = *
 
 ; It is recommended that you use encrypted passwords to be stored in the 
 ; config.ini and the users homepages metadata.
@@ -184,7 +182,7 @@
 ; If set, reverse dns lookups will be performed to attempt to convert
 ; the user's IP number into a host name, in the case where the http
 ; server does not do this.
-ENABLE_REVERSE_DNS = true
+ENABLE_REVERSE_DNS = false
 
 ; Private ZIP Dumps of All Wiki Pages
 ;
@@ -285,7 +283,7 @@
 ; WARNING: Compressing the output has been reported to cause problems
 ; when PHP is running on MacOSX or on redirected requests.
 ; This setting should now be correctly determined automatically.
-;COMPRESS_OUTPUT = false
+COMPRESS_OUTPUT = false
 
 ; This controls how PhpWiki sets the HTTP cache control
 ; headers (Expires: and Cache-Control:) 
@@ -372,78 +370,7 @@
 ; Part Two: Database Selection
 ;======================================================================
 
-; Select the database backend type:
-;
-;       SQL:   access one of several SQL databases using the PEAR DB library.
-;       ADODB: uses the ADODB library for data access.     (most general)
-;       PDO:   The new PHP5 dataobkject library. (experimental, no paging yet)
-;       dba:   use one of the standard UNIX dbm libraries. Use BerkeleyDB (db3,4) (fastest)
-;       file:  use a flat file database. (easiest)
-;       cvs:   use a CVS server to store everything. (experimental, not recommended)
-DATABASE_TYPE = dba
-   
-; Prefix for filenames or table names
-;
-; Currently you MUST EDIT THE SQL file too (in the schemas/
-; directory because we aren't doing on the fly sql generation
-; during the installation.
-; Note: This prefix is NOT prepended to the default DBAUTH_
-;       tables user, pref and member!
-;DATABASE_PREFIX = phpwiki_
-
-; For SQL based backends, specify the database as a DSN (Data Source Name),
-; a kind of URL for databases.
-;
-; The most general form of a DSN looks like:
-;
-;       dbtype(dbsyntax)://username:password@protocol+hostspec/database?option=value&option2=value2
-;
-; For a MySQL database, the following should work:
-;
-;       mysql://user:password@host/databasename
-;
-; To connect over a unix socket, use something like
-;
-;       mysql://user:password@unix(/path/to/socket)/databasename
-;
-; Valid values for dbtype are mysql, pgsql, or sqlite.
-;
-DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test"
-
-; Keep persistent connections: (mysql_pconnect, ...)
-; Recommended is false for bigger servers, and true for small servers 
-; with not so many connections. postgresql: Please leave it false. Default: false
-; Should really be set as database option in the DSN above.
-DATABASE_PERSISTENT = false
-
-; A table to store session information.  Only needed by SQL backends.
-;
-; A word of warning - any prefix defined above will be prepended to whatever
-; is given here.
-DATABASE_SESSION_TABLE = session
-
-; For the file and dba backends, this specifies where the data files will be
-; located.  Ensure that the user that the webserver runs as has write access
-; to this directory.
-;
-; WARNING: leaving this as the default of '/tmp' will almost guarantee that
-; you'll lose your wiki data at some stage.
-DATABASE_DIRECTORY = /tmp
-
-; For the dba backend, this defines which DBA variant you wish to use.
-;       gdbm - commonly available, Fedora not. Not recommended anymore.
-;       db2 - Berkeley DB v2; not supported by modern versions of PHP.
-;       db3 - Berkeley DB v3; as per db2. The best on Windows.
-;       db4 - Berkeley DB v4; current version, however PHP has some issues
-;               with it's db4 support.
-;       dbm - Older dba handler; suffers from limits on the size of data
-;               items.
-; Better not use other hacks such as inifile, flatfile or cdb.
-DATABASE_DBA_HANDLER = gdbm
-
-; How long will the system wait for a database operation to complete?
-; Specified in seconds.
-DATABASE_TIMEOUT = 5
+##DBPARAMS##
 
 ; If action=upgrade detects mysql problems, but has no ALTER permissions, 
 ; give here a database username which has the necessary ALTER or CREATE permissions.
@@ -553,7 +480,7 @@
 ; If true, users may be created by themselves. Otherwise we need seperate auth. 
 ; If such a user will create a so called HomePage with his userid, he will 
 ; be able to store his preferences and password there.
-ALLOW_BOGO_LOGIN = true
+ALLOW_BOGO_LOGIN = false
 
 ; True User Authentication:
 ; To require user passwords:
@@ -571,7 +498,9 @@
 ;   Db:            Use DBAUTH_AUTH_* (see below) with PearDB or 
 ;                   ADODB only.
 ;   LDAP:          Authenticate against LDAP_AUTH_HOST with LDAP_BASE_DN (experimental)
+;                  Debian Note: Requires php4-ldap package
 ;   IMAP:          Authenticate against IMAP_AUTH_HOST (email account)
+;                  Debian Note: Requires php4-imap package
 ;   POP3:          Authenticate against POP3_AUTH_HOST (email account)
 ;   Session:       Get username and level from a PHP session variable. (e.g. for gforge)
 ;   File:          Store username:crypted-passwords in .htaccess like files. 
@@ -604,6 +533,12 @@
 
 ; LDAP authentication options:
 ;
+; Debian Note:
+; You must have the php4-ldap package installed to use LDAP authentication.
+; This package is recommended by the PHPwiki package.
+; Failure to install this package might lead your authentication to return
+; blank pages...
+;
 ; The LDAP server to connect to.  Can either be a hostname, or a complete
 ; URL to the server (useful if you want to use ldaps or specify a different
 ; port number).
@@ -646,6 +581,12 @@
 
 ; IMAP authentication options:
 ;
+; Debian Note:
+; You must have the php4-imap package installed to use IMAP authentication.
+; This package is recommended by the PHPwiki package.
+; Failure to install this package might lead your authentication to return
+; blank pages...
+;
 ; The IMAP server to check usernames from.  Defaults to localhost.
 ;
 ; Some IMAP_AUTH_HOST samples:
@@ -984,13 +925,13 @@
 
 ; Relative URL (from the server root) of the PhpWiki
 ; script.
-;SCRIPT_NAME = /some/where/index.php
+; SCRIPT_NAME = /phpwiki/index.php
 
 ; URL of the PhpWiki install directory.  (You only need to set this
 ; if you've moved index.php out of the install directory.)  This can
 ; be either a relative URL (from the directory where the top-level
 ; PhpWiki script is) or an absolute one.
-;DATA_PATH = /home/user/phpwiki
+DATA_PATH = /phpwikidata
 
 ; Path to the PhpWiki install directory.  This is the local
 ; filesystem counterpart to DATA_PATH.  (If you have to set
--- phpwiki-1.3.12p2.orig/config/config-template.ini
+++ phpwiki-1.3.12p2/config/config-template.ini
@@ -0,0 +1,272 @@
+; This is the main configuration file for PhpWiki.
+;
+; This file contains cut down comments and is intended as a template for use
+; when migrating configurations with migrate-phpwiki-config only. 
+;
+; See /usr/share/phpwiki/config-dist.ini for a more verbosely commented 
+; configuration file that you might want to use if you are configuring a
+; wiki from scratch.
+
+;=========================================================================
+; Part Zero: Tricky Options
+;=========================================================================
+;
+; If PHP needs help in finding where you installed the rest of the PhpWiki
+; code, you can set the include_path here.
+;
+;INCLUDE_PATH = ".:/usr/local/httpd/phpwiki"
+
+;DEBUG = 1
+
+; Enable the new method of handling WikiUsers.
+ENABLE_USER_NEW = true
+
+; Experimental edit feature
+;JS_SEARCHREPLACE = true
+
+;==========================================================================
+; Part One: Authentication and security settings.
+;
+; See Part Three for more.
+;==========================================================================
+;
+; The name of your wiki.
+WIKI_NAME = PhpWiki
+
+; Visitor Hostname Lookup
+ENABLE_REVERSE_DNS = true
+
+; Username and password of administrator.
+;ADMIN_USER = 
+;ADMIN_PASSWD = 
+ENCRYPTED_PASSWD = true
+
+; Private ZIP Dumps of All Wiki Pages
+ZIPDUMP_AUTH = false
+
+; The RawHtml plugin allows page authors to embed real, raw HTML into Wiki
+; pages.  This is a possible security threat, as much HTML (or, rather,
+; JavaScript) can be very risky.  If you are in a controlled environment,
+; however, it could be of use.
+ENABLE_RAW_HTML = false;
+
+STRICT_MAILABLE_PAGEDUMPS = false
+HTML_DUMP_SUFFIX = .html
+
+; The maximum file upload size, in bytes.
+; The default, 16777216, is 16MB.
+MAX_UPLOAD_SIZE = 16777216
+
+; If the last edit is older than MINOR_EDIT_TIMEOUT seconds, the
+; default state for the "minor edit" checkbox on the edit page form
+; will be off.
+; The default, 604800, is one week (7 days)
+MINOR_EDIT_TIMEOUT = 604800
+
+; Actions listed in this array will not be allowed.
+; DISABLED_ACTIONS = "dumpserial : loadfile"
+
+; PhpWiki can generate an access_log (in "NCSA combined log" format)
+; for you. 
+;ACCESS_LOG = /var/tmp/wiki_access_log
+
+; By default PhpWiki will try to have PHP compress its output
+; before sending it to the browser (if you have a recent enough
+; version of PHP and the browser supports it.)
+;COMPRESS_OUTPUT = false
+
+; This controls how PhpWiki sets the HTTP cache control
+; headers (Expires: and Cache-Control:) 
+CACHE_CONTROL = LOOSE
+
+; Maximum page staleness, in seconds.
+CACHE_CONTROL_MAX_AGE = 600
+
+; PhpWiki normally caches a preparsed version (i.e. mostly
+; converted to HTML) of the most recent version of each page.
+; (Parsing the wiki-markup takes a fair amount of CPU.)
+;WIKIDB_NOCACHE_MARKUP = true
+
+;======================================================================
+; Part Two: Database Selection
+;======================================================================
+
+; Select the database type:
+DATABASE_TYPE = dba
+   
+; prefix for filenames or table names
+;DATABASE_PREFIX = phpwiki_
+
+; For SQL based backends, specify the database as a DSN (Data Source Name),
+; a kind of URL for databases.
+DATABASE_DSN = "mysql://guest@unix(/var/lib/mysql/mysql.sock)/test"
+
+; A table to store session information.  Only needed by SQL backends.
+DATABASE_SESSION_TABLE = session
+
+; For the file and dba backends, this specifies where the data files will be
+; located.  Ensure that the user that the webserver runs as has write access
+; to this directory.
+DATABASE_DIRECTORY = /tmp
+
+; For the dba backend, this defines which DBA variant you wish to use.
+DATABASE_DBA_HANDLER = gdbm
+
+; How long will the system wait for a database operation to complete?
+; Specified in seconds.
+DATABASE_TIMEOUT = 20
+
+;SESSION_SAVE_PATH = some_other_directory
+
+;========================================================================
+; Section 3a: Page revisions
+;
+; The next section controls how many old revisions of each page are
+; kept in the database.
+;========================================================================
+;
+
+; Keep up to 8 major edits, but keep them no longer than a month.
+MAJOR_MAX_AGE = 32
+MAJOR_KEEP = 8
+
+; Keep up to 4 minor edits, but keep them no longer than a week.
+MINOR_MAX_AGE = 7
+MINOR_KEEP = 4
+
+; Keep the latest contributions of the last 8 authors up to a year.
+AUTHOR_MAX_AGE = 365
+AUTHOR_KEEP = 8
+AUTHOR_MIN_AGE = 7
+AUTHOR_MAX_KEEP = 20
+
+;========================================================================
+; Part Three: User Authentication
+;========================================================================
+
+; allow anon users to view existing pages
+ALLOW_ANON_USER = true
+; allow anon users to edit pages
+ALLOW_ANON_EDIT = true
+
+; If ALLOW_BOGO_LOGIN is true, users are allowed to login (with
+; any/no password) using any userid which: 
+;  1) is not the ADMIN_USER, and
+;  2) is a valid WikiWord (matches $WikiNameRegexp.)
+ALLOW_BOGO_LOGIN = true
+
+; True User Authentication:
+ALLOW_USER_PASSWORDS = true
+
+; Many different methods can be used to check user's passwords:
+;
+; Several of these methods can be used together, in the manner specified by
+; USER_AUTH_POLICY, below.  To specify multiple authentication methods,
+; separate the name of each one with colons.
+USER_AUTH_ORDER = "PersonalPage : Db"
+
+; For "security" purposes, you can specify that a password be at least a
+; certain number of characters long.  This applies even to the BogoLogin
+; method.
+PASSWORD_LENGTH_MINIMUM = 2
+    
+; The policy to use for user authentication:
+USER_AUTH_POLICY = stacked
+
+; A interim page which gets displayed on every edit attempt
+EDITING_POLICY = EditingPolicy
+
+;========================================================================
+; Part Four: Page appearance and layout
+;========================================================================
+
+; THEMES
+THEME = default
+
+CHARSET = iso-8859-1
+
+DEFAULT_LANGUAGE = en
+
+; WIKI_PGSRC -- specifies the source for the initial page contents of
+; the Wiki.
+WIKI_PGSRC = pgsrc
+
+; DEFAULT_WIKI_PGSRC is only used when the language is *not* the
+; default (English) and when reading from a directory: in that case
+; some English pages are inserted into the wiki as well.
+DEFAULT_WIKI_PGSRC = pgsrc
+; These are the pages which will get loaded from DEFAULT_WIKI_PGSRC.
+DEFAULT_WIKI_PAGES = "ReleaseNotes:SteveWainstead:TestPage"
+
+;=========================================================================
+; Part Five: Mark-up options.
+;=========================================================================
+;
+; allowed protocols for links - be careful not to allow "javascript:"
+; URL of these types will be automatically linked.
+ALLOWED_PROTOCOLS = "http|https|mailto|ftp|news|nntp|ssh|gopher"
+
+; URLs ending with the following extension should be inlined as images.
+; Specify as per ALLOWED_PROTOCOLS
+INLINE_IMAGES = "png|jpg|gif"
+
+; Perl regexp for WikiNames ("bumpy words")
+WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])"
+
+; Defaults to '/', but '.' was also used.
+SUBPAGE_SEPARATOR = /
+
+; InterWiki linking -- wiki-style links to other wikis on the web
+INTERWIKI_MAP_FILE = lib/interwiki.map
+
+; Display a warning if the internal lib/interwiki.map is used, and 
+; not the public InterWikiMap page. This file is not readable from outside.
+WARN_NONPUBLIC_INTERWIKIMAP = false
+
+; Regexp used for automatic keyword extraction.
+KEYWORDS = "Category:Topic"
+
+; Author and Copyright Site Navigation Links
+COPYRIGHTPAGE_TITLE = GNU General Public License
+COPYRIGHTPAGE_URL = http://www.gnu.org/copyleft/gpl.html#SEC1
+AUTHORPAGE_TITLE = The PhpWiki Programming Team
+AUTHORPAGE_URL = http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam
+
+; Allow full markup in headers to be parsed by the CreateToc plugin.
+TOC_FULL_SYNTAX = true
+
+;==========================================================================
+; Part Six: URL options.
+;==========================================================================
+
+; Canonical name and httpd port of the server on which this PhpWiki
+; resides.
+;SERVER_NAME = some.host.com
+;SERVER_PORT = 80
+
+; Relative URL (from the server root) of the PhpWiki script.
+; SCRIPT_NAME = /phpwiki/index.php
+
+; URL of the PhpWiki install directory.
+DATA_PATH = /phpwikidata
+
+; Path to the PhpWiki install directory.
+;PHPWIKI_DIR = /home/user/public_html/phpwiki
+
+; Default: PhpWiki will try to divine whether use of PATH_INFO
+; is supported in by your webserver/PHP configuration, and will
+; use PATH_INFO if it thinks that is possible.
+;USE_PATH_INFO = false
+
+; VIRTUAL_PATH is the canonical URL path under which your your wiki
+; appears. Normally this is the same as dirname(SCRIPT_NAME), however
+; using, e.g. apaches mod_actions (or mod_rewrite), you can make it
+; something different.
+;VIRTUAL_PATH = /SomeWiki
+
+;===========================================================================
+; Part Seven: Miscellaneous settings
+;===========================================================================
+
+; Disable HTTP redirects.
+;DISABLE_HTTP_REDIRECT = true
--- phpwiki-1.3.12p2.orig/doc/INSTALL.pgsql
+++ phpwiki-1.3.12p2/doc/INSTALL.pgsql
@@ -57,7 +57,7 @@
 
 Next you need to create a new database, like "phpwiki".
 
-  bash$ createdb phpwiki
+  bash$ createdb -E LATIN-1 phpwiki
 
 Now run the script schemas/psql-initialize.sql to create the tables:
 
--- phpwiki-1.3.12p2.orig/lib/imagecache.php
+++ phpwiki-1.3.12p2/lib/imagecache.php
@@ -75,7 +75,7 @@
         $request->_user->_authhow = 'session';
         return ENABLE_USER_NEW ? $user->UserName() : $request->_user;
     }
-    if ($userid = $request->getCookieVar('WIKI_ID')) {
+    if ($userid = $request->getCookieVar(getCookieName())) {
         if (!empty($userid) and substr($userid,0,2) != 's:') {
             $request->_user->authhow = 'cookie';
             return $userid;
@@ -166,4 +166,4 @@
 // c-hanging-comment-ender-p: nil
 // indent-tabs-mode: nil
 // End:   
-?>
\ No newline at end of file
+?>
--- phpwiki-1.3.12p2.orig/lib/main.php
+++ phpwiki-1.3.12p2/lib/main.php
@@ -388,7 +388,7 @@
     function _setUser (&$user) {
         $this->_user =& $user;
         if (defined('MAIN_setUser')) return; // don't set cookies twice
-        $this->setCookieVar('WIKI_ID', $user->getAuthenticatedId(),
+        $this->setCookieVar(getCookieName(), $user->getAuthenticatedId(),
                             COOKIE_EXPIRATION_DAYS, COOKIE_DOMAIN);
         if ($user->isSignedIn())
             $user->_authhow = 'signin';
@@ -862,7 +862,7 @@
         if (!empty($HTTP_ENV_VARS['REMOTE_USER']))
             return $HTTP_ENV_VARS['REMOTE_USER'];
 
-        if ($userid = $this->getCookieVar('WIKI_ID')) {
+        if ($userid = $this->getCookieVar(getCookieName())) {
             if (!empty($userid) and substr($userid,0,2) != 's:') {
                 $this->_user->authhow = 'cookie';
                 return $userid;
@@ -1839,4 +1839,4 @@
 // c-hanging-comment-ender-p: nil
 // indent-tabs-mode: nil
 // End:
-?>
\ No newline at end of file
+?>
--- phpwiki-1.3.12p2.orig/lib/Request.php
+++ phpwiki-1.3.12p2/lib/Request.php
@@ -627,7 +627,7 @@
 
     function set($key, $val, $persist_days = false, $path = false) {
     	// if already defined, ignore
-    	if (defined('MAIN_setUser') and $key = 'WIKI_ID') return;
+    	if (defined('MAIN_setUser') and $key = getCookieName()) return;
         if (defined('WIKI_XMLRPC') and WIKI_XMLRPC) return;
 
         $vars = &$GLOBALS['HTTP_COOKIE_VARS'];
--- phpwiki-1.3.12p2.orig/lib/stdlib.php
+++ phpwiki-1.3.12p2/lib/stdlib.php
@@ -138,6 +138,16 @@
 }
 
 /**
+ * Returns a name for the WIKI_ID cookie that should be unique on the host.
+ * But for it to be unique you must have set a unique WIKI_NAME in your
+ * configuration file.
+ * @return string The name of the WIKI_ID cookie to use for this wiki.
+ */
+function GetCookieName() {
+    return preg_replace("/[^\d\w]/", "_", WIKI_NAME) . "_WIKI_ID";
+}
+
+/**
  * Generates a valid URL for a given Wiki pagename.
  * @param mixed $pagename If a string this will be the name of the Wiki page to link to.
  * 			  If a WikiDB_Page object function will extract the name to link to.
@@ -2450,4 +2460,4 @@
 // c-hanging-comment-ender-p: nil
 // indent-tabs-mode: nil
 // End:   
-?>
\ No newline at end of file
+?>
--- phpwiki-1.3.12p2.orig/lib/WikiDB/backend/dba.php
+++ phpwiki-1.3.12p2/lib/WikiDB/backend/dba.php
@@ -18,7 +18,17 @@
         // FIXME: error checking.
         $db = new DbaDatabase($dbfile, false, $dba_handler);
         $db->set_timeout($timeout);
-        if (!$db->open('c')) {
+	
+	// Workaround for BDB 4.1 fucktardedness
+	if (file_exists($dbfile))
+	{
+		$mode = 'w';
+	}
+	else
+	{
+		$mode = 'c';
+	}
+        if (!$db->open($mode)) {
             trigger_error(sprintf(_("%s: Can't open dba database"), $dbfile), E_USER_ERROR);
             global $request;
             $request->finish(fmt("%s: Can't open dba database", $dbfile));
--- phpwiki-1.3.12p2.orig/lib/WikiUser.php
+++ phpwiki-1.3.12p2/lib/WikiUser.php
@@ -355,7 +355,7 @@
         $this->_request->setSessionVar('wiki_prefs', $prefs);
         // $this->_request->setCookieVar('WIKI_PREFS2', $this->_prefs, 365);
         // simple unpacked cookie
-        if ($this->_userid) setcookie('WIKI_ID', $this->_userid, 365, '/');
+        if ($this->_userid) setcookie(getCookieName(), $this->_userid, 365, '/');
 
         // We must ensure that any password is encrypted.
         // We don't need any plaintext password.
@@ -979,4 +979,4 @@
 // c-hanging-comment-ender-p: nil
 // indent-tabs-mode: nil
 // End:
-?>
\ No newline at end of file
+?>
--- phpwiki-1.3.12p2.orig/lib/WikiUserNew.php
+++ phpwiki-1.3.12p2/lib/WikiUserNew.php
@@ -669,14 +669,14 @@
         }
         if (! $UserName ) {
             // Try reading userid from old PhpWiki cookie formats:
-            if ($cookie = $request->cookies->get_old('WIKI_ID')) {
+            if ($cookie = $request->cookies->get_old(getCookieName())) {
                 if (is_string($cookie) and (substr($cookie,0,2) != 's:'))
                     $UserName = $cookie;
                 elseif (is_array($cookie) and !empty($cookie['userid']))
                     $UserName = $cookie['userid'];
             }
             if (! $UserName and !headers_sent())
-                $request->deleteCookieVar("WIKI_ID");
+                $request->deleteCookieVar(getCookieName());
             else
                 $this->_userid = $UserName;
         }
@@ -721,7 +721,7 @@
                 // new 1.3.8 policy: no array cookies, only plain userid string as in 
                 // the pre 1.3.x versions.
                 // prefs should be stored besides the session in the homepagehandle or in a db.
-                $request->setCookieVar('WIKI_ID', $this->_userid,
+                $request->setCookieVar(getCookieName(), $this->_userid,
                                        COOKIE_EXPIRATION_DAYS, COOKIE_DOMAIN);
                 //$request->setCookieVar(WIKI_NAME, array('userid' => $prefs->get('userid')),
                 //                       COOKIE_EXPIRATION_DAYS, COOKIE_DOMAIN);
--- phpwiki-1.3.12p2.orig/locale/de/pgsrc/AlteTextFormatierungsRegeln
+++ phpwiki-1.3.12p2/locale/de/pgsrc/AlteTextFormatierungsRegeln
@@ -14,7 +14,7 @@
 <strong>Listen:</strong>~* für Rasterpunkte u. Ebenen, # für numerierte Listen, <em><strong>;</strong> Das Wort <strong>:</strong> Die Wortbestimmung</em> für glossarähnliche Listen.%%%
 <strong>Querverweise:</strong> in ~GroßbuchstabenZusammenschreiben oder in eckige Klammern setzen ~[ein Link] oder URL ~[~http://cool.wiki.int/].%%%
 <strong>Fußnoten:</strong> Benutze ~[1],~[2],~[3],... wie diese hier #[|ftnt_ref_1]<sup>~[[1|#ftnt_1]~]</sup>. Siehe Fußnoten für das Ziel. (If the ~[ is in the first column, it is a footnote <em>definition</em> rather than a footnote <em>reference</em>.)
-<strong>Links verhindern:</strong> das Wort mit einem »~!« beginnen: ~!~NichtLinken, Links so angeben: ~[~[Text | URL] (zweimal »[«). Beachte, daß bei den neuen TextFormatierungsRegeln das Zeichen »~~« verwendet wird.%%%
+<strong>Links verhindern:</strong> das Wort mit einem »~!« beginnen: ~!~NichtLinken, Links so angeben: ~[~[Text | URL] (zweimal »[«). Beachte, dass bei den neuen TextFormatierungsRegeln das Zeichen »~~« verwendet wird.%%%
 <strong>Verschiedenes:</strong> »~!«, »~!~!«, »~!~!~!« für Überschriften, »%%<em></em>%« für Zeilenvorschubzeichen, u. »---<em></em>-« zeichnet eine Linie.%%%
 <strong>Tabellen:</strong> »|« in der ersten Zeile, »|« für weitere Spalten, »|>« rechtsbündig, »|<« linksbündig, »|^« zentriert (Vorgabe), »||« span columns, »|v« span rows
 
@@ -113,4 +113,4 @@
 #[|ftnt_1]~[[1|#ftnt_ref_1]~]  By using ~[1] a second time (in the first column) the footnote itself is <em>defined</em>.  You may refer to a footnote as many times as you want, but you may only define it once on the page.  Note the the ~[1] in the footnote links back to the first reference, if there are multiple references there will be +'s after the ~[1] which will link to the other references.  (References which come <em>after</em> the footnote <em>definition</em> will not be linked to.)
 
 ----
-PhpWikiDokumentation
\ No newline at end of file
+PhpWikiDokumentation
--- phpwiki-1.3.12p2.orig/locale/de/pgsrc/GuterStil
+++ phpwiki-1.3.12p2/locale/de/pgsrc/GuterStil
@@ -8,11 +8,11 @@
   charset=iso-8859-1
 Content-Transfer-Encoding: binary
 
-"Junge Schreiber glauben oft, daß Stil die Sauce für das Fleisch der
+"Junge Schreiber glauben oft, dass Stil die Sauce für das Fleisch der
 Prosa ist. Eine Sauce, die das fade Gericht erst schmackhaft
 macht. Stil besitzt aber nicht diese Qualität. Stil ist unteilbar,
 nicht filterbar. Der Anfänger sollte in seiner Suche nach seinem Stil
-vorsichtig vorgehen. Sich bewußt sein, daß er es ist dem er sich
+vorsichtig vorgehen. Sich bewusst sein, dass er es ist dem er sich
 nähert und nicht seinem Stil. Und er sollte tunlichst eine großen
 Bogen um alle Eigenheiten machen, die gewöhnlicherweise Stil
 indizieren--alle Manierismen, Tricks und Verzierungen. Der richtig
--- phpwiki-1.3.12p2.orig/locale/de/pgsrc/PhpWikiSystemverwalten
+++ phpwiki-1.3.12p2/locale/de/pgsrc/PhpWikiSystemverwalten
@@ -84,7 +84,7 @@
   <?plugin WikiForm action=dumpserial?>
 
 Nur die neuesten Versionen aller Seiten wird als Einzeldatei in dieses
-Verzeichnis geschrieben. Beachte, daß evtl. deine Benutzerrechte dazu
+Verzeichnis geschrieben. Beachte, dass evtl. deine Benutzerrechte dazu
 ausreichen müssen.
 
 -----------
--- phpwiki-1.3.12p2.orig/locale/de/pgsrc/WieManWikiBenutzt
+++ phpwiki-1.3.12p2/locale/de/pgsrc/WieManWikiBenutzt
@@ -31,7 +31,7 @@
 
 * Eine horizontale Trennlinie bekommt man indem man vier oder mehr Bindestriche an den Anfang einer Zeile stellt:
 ----
-* Links kann man erzeugen, indem man einzelne Wörter, deren Anfangsbuchstabe groß geschrieben wird, zusammenfügt. Wenn du also etwa eine Seite darüber  schreiben willst, daß Arno Ratten mag, schreibst du: ArnoMagRatten. Falls die Seite noch nicht existiert erscheint dahinter ein Fragezeichen, das dir die Möglichkeit gibt die Seite zu erzeugen: DieseSeiteSollteNichtExistieren. (Und bitte verdirb das Beispiel nicht, indem du diese Seite erzeugst).
+* Links kann man erzeugen, indem man einzelne Wörter, deren Anfangsbuchstabe groß geschrieben wird, zusammenfügt. Wenn du also etwa eine Seite darüber  schreiben willst, dass Arno Ratten mag, schreibst du: ArnoMagRatten. Falls die Seite noch nicht existiert erscheint dahinter ein Fragezeichen, das dir die Möglichkeit gibt die Seite zu erzeugen: DieseSeiteSollteNichtExistieren. (Und bitte verdirb das Beispiel nicht, indem du diese Seite erzeugst).
 * Um externe Links zu setzen, kannst du einfach die Adresse eintippen und PhpWiki erzeugt einen passenden Link, z.B. http://www.diezeit.de/
 * Um Bilder einzufügen, schließt man deren Adresse in eckigen Klammern ein, wie hier: [[!http://www.deinhost.de/bilder/bild.png]. Falls die Adresse des Bildes nicht in eckigen Klammern steht, wird einfach nur die Adresse (nicht aber das Bild) angezeigt.
 * Jetzt kann es eigentlich schon mit dem SeitenErzeugen losgehen!
--- phpwiki-1.3.12p2.orig/locale/de/pgsrc/WunschZettelSeiten
+++ phpwiki-1.3.12p2/locale/de/pgsrc/WunschZettelSeiten
@@ -11,12 +11,12 @@
 
 Das ist eine Liste von Seiten, die in diesem Wiki zitiert werden, aber
 nicht noch nicht erzeugt wurden. Obwohl sie anscheinend benötigt werden, 
-kann es auch sein, daß sie falsch geschriebene existierende Seiten sind, 
+kann es auch sein, dass sie falsch geschriebene existierende Seiten sind, 
 oder einfach zu triviale Seiten, um erzeugt zu werden.
 
-Am besten wäre es natürlich, daß solche Seiten nicht erzeugt werden,
-sondern die Referenz so auszubessern, daß sie nicht mehr als ~WikiWort
-verlinkt werden.  Sie können entweder die Gorßschreibung anpassen,
+Am besten wäre es natürlich, dass solche Seiten nicht erzeugt werden,
+sondern die Referenz so auszubessern, dass sie nicht mehr als ~WikiWort
+verlinkt werden.  Sie können entweder die Großschreibung anpassen,
 oder den Link mit "~~" verhindern.
 
-<?plugin WantedPages ?>
\ No newline at end of file
+<?plugin WantedPages ?>
--- phpwiki-1.3.12p2.orig/locale/po/de.po
+++ phpwiki-1.3.12p2/locale/po/de.po
@@ -485,7 +485,7 @@
 msgid "InterWiki Address"
 msgstr "InterWiki-Adresse"
 
-# (Im Wortsinne heisst das eigentlich: "jüngste = eben gemachte
+# (Im Wortsinne heißt das eigentlich: "jüngste = eben gemachte
 # Änderungen"; in terms of newspapers or journalism it's traditionally
 # "NeuesteNachrichten" or much more better "DasNeueste").
 #: ../lib/RSSWriter091.php:113 ../lib/loadsave.php:1312
@@ -536,7 +536,7 @@
 #, php-format
 msgid "Please ensure that %s is writable, or redefine %s in config/config.ini."
 msgstr ""
-"Bitte überprüfen Sie, daß %s änderbar ist, oder ändern Sie %s in config/"
+"Bitte überprüfen Sie, dass %s änderbar ist, oder ändern Sie %s in config/"
 "config.ini."
 
 #: ../lib/Request.php:814
@@ -823,7 +823,7 @@
 
 #: ../lib/WikiGroup.php:32
 msgid "HasHomePage"
-msgstr "HaHomePage"
+msgstr "HasHomePage"
 
 #: ../lib/WikiGroup.php:33
 msgid "Signed Users"
@@ -1213,7 +1213,7 @@
 
 #: ../lib/diff.php:336 ../lib/plugin/Diff.php:139
 msgid "predecessor to the previous major change"
-msgstr "Vorgänger zur vorherigen grösseren Änderung"
+msgstr "Vorgänger zur vorherigen größeren Änderung"
 
 # word substitution order changes here
 #: ../lib/diff.php:347 ../lib/plugin/Diff.php:149
@@ -1229,7 +1229,7 @@
 
 #: ../lib/diff.php:351 ../lib/plugin/Diff.php:153
 msgid "Previous Major Revision"
-msgstr "Vorige grössere Neubearbeitung"
+msgstr "Vorige größere Neubearbeitung"
 
 #: ../lib/diff.php:352 ../lib/plugin/Diff.php:154
 msgid "Previous Revision"
@@ -1888,7 +1888,7 @@
 
 #: ../lib/main.php:543
 msgid "Uploading zip dumps"
-msgstr "Das Hochladen vonr ZIP-Speicherauszüge in diesem Wiki"
+msgstr "Das Hochladen von ZIP-Speicherauszügen in diesem Wiki"
 
 #: ../lib/main.php:544
 msgid "Verify the current action"
@@ -1896,7 +1896,7 @@
 
 #: ../lib/main.php:545
 msgid "Viewing the source of pages"
-msgstr "DieQuelltextansicht der Seiten in diesem Wiki"
+msgstr "Die Quelltextansicht der Seiten in diesem Wiki"
 
 #: ../lib/main.php:546
 msgid "XML-RPC access"
@@ -1904,16 +1904,16 @@
 
 #: ../lib/main.php:547
 msgid "SOAP access"
-msgstr "SOAP Zugriff"
+msgstr "SOAP-Zugriff"
 
 #: ../lib/main.php:548
 msgid "Downloading zip dumps"
-msgstr "Das Herunterladen aller Wiki Seiten als gezippte Datei"
+msgstr "Das Herunterladen aller Wiki-Seiten als gezippte Datei"
 
 #: ../lib/main.php:549
 msgid "Downloading html zip dumps"
 msgstr ""
-"Das Herunterladen aller Wiki Seiten als HTML-Dateien in einer Zip Datei"
+"Das Herunterladen aller Wiki-Seiten als HTML-Dateien in einer Zip-Datei"
 
 #: ../lib/main.php:683
 #, php-format
@@ -1926,7 +1926,7 @@
 
 #: ../lib/main.php:691
 msgid "You must wait for moderator approval."
-msgstr "Sie müssen auf Moderator approval warten."
+msgstr "Sie müssen auf die Zustimmung des Moderators warten."
 
 #: ../lib/main.php:696 ../lib/main.php:1049 ../lib/plugin/ModeratedPage.php:41
 #: ../lib/plugin/ModeratedPage.php:137 ../lib/plugin/ModeratedPage.php:205
@@ -1943,7 +1943,7 @@
 
 #: ../lib/main.php:729
 msgid "Fatal PhpWiki Error"
-msgstr "Fataler PhpWiki Fehler"
+msgstr "Fataler PhpWiki-Fehler"
 
 #: ../lib/main.php:978 ../lib/plugin/WikiAdminChown.php:183
 msgid "Chown"
@@ -2061,7 +2061,7 @@
 
 #: ../lib/plugin/AllUsers.php:41
 msgid "List all once authenticated users."
-msgstr "Liste alle eingetragen Benutzer."
+msgstr "Liste alle eingetragenen Benutzer."
 
 # (authentication=means verbürgt, beglaubigt, oder ganz einfach= durch
 # Nachweis berechtigte = authenticated User are in one simple term =
@@ -2069,7 +2069,7 @@
 #: ../lib/plugin/AllUsers.php:83
 #, php-format
 msgid "Authenticated users on this wiki (%d total):"
-msgstr "Eingetrage Benutzer in diesem Wiki (Gesamt: %d):"
+msgstr "Eingetragene Benutzer in diesem Wiki (Gesamt: %d):"
 
 #: ../lib/plugin/AnalyseAccessLogSql.php:143
 #: ../lib/plugin/AnalyseAccessLogSql.php:168
@@ -2160,7 +2160,7 @@
 
 #: ../lib/plugin/AnalyseAccessLogSql.php:227
 msgid "Show summary information from the access log table."
-msgstr "Zeige Überblick über die Access LOG Tabelle."
+msgstr "Zeige Überblick über die Access LOG-Tabelle."
 
 #: ../lib/plugin/AnalyseAccessLogSql.php:240
 msgid "The requested information is available only to Administrators."
@@ -2351,7 +2351,7 @@
 #: ../lib/plugin/BlogArchives.php:88 ../lib/plugin/BlogJournal.php:85
 #, php-format
 msgid "Blog Entries for %s:"
-msgstr "Blog Einträge für %s:"
+msgstr "Blog-Einträge für %s:"
 
 #: ../lib/plugin/BlogArchives.php:96
 #: ../themes/blog/templates/actionbar.tmpl:17
@@ -2360,7 +2360,7 @@
 
 #: ../lib/plugin/BlogArchives.php:122
 msgid "Blog Archives:"
-msgstr "Blog Archive:"
+msgstr "Blog-Archive:"
 
 #: ../lib/plugin/BlogJournal.php:22
 msgid "BlogJournal"
@@ -2376,7 +2376,7 @@
 
 #: ../lib/plugin/BlogJournal.php:83
 msgid "No Blog Entries"
-msgstr "Keine Blog Einträge"
+msgstr "Keine Blog-Einträge"
 
 #: ../lib/plugin/Calendar.php:41 ../lib/plugin/Calendar.php:45
 #: ../themes/Crao/templates/head.tmpl:89
@@ -2390,6 +2390,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "Kalender"
 
@@ -2416,7 +2417,7 @@
 
 #: ../lib/plugin/CategoryPage.php:48
 msgid "Create a Wiki page."
-msgstr "Erzeuge eine neue Wiki Seite."
+msgstr "Erzeuge eine neue Wiki-Seite."
 
 #: ../lib/plugin/Comment.php:22 ../themes/Crao/templates/blogform.tmpl:15
 #: ../themes/blog/templates/blogform.tmpl:21
@@ -2449,7 +2450,7 @@
 
 #: ../lib/plugin/CreatePage.php:43
 msgid "Create a Wiki page by the provided name."
-msgstr "Erzeuge neue Wiki Seite mit dem angegebenem Namen."
+msgstr "Erzeuge neue Wiki-Seite mit dem angegebenem Namen."
 
 #: ../lib/plugin/CreatePage.php:92
 #, php-format
@@ -2848,7 +2849,7 @@
 #: ../lib/plugin/LikePages.php:67
 #, php-format
 msgid "Page names with prefix '%s'"
-msgstr "Seitenamen mit dem Anfangswort »%s«"
+msgstr "Seitennamen mit dem Anfangswort »%s«"
 
 # (nachwort=nachgestelltes Wort)
 #: ../lib/plugin/LikePages.php:70
@@ -3503,7 +3504,7 @@
 
 #: ../lib/plugin/RawHtml.php:74
 msgid "Raw HTML is disabled in this wiki."
-msgstr "HTML-Befehle sind in diesem Wiki ausser Kraft gesetzt."
+msgstr "HTML-Befehle sind in diesem Wiki außer Kraft gesetzt."
 
 #: ../lib/plugin/RawHtml.php:83 ../lib/plugin/RedirectTo.php:82
 #, php-format
@@ -3540,7 +3541,7 @@
 
 #: ../lib/plugin/RecentChanges.php:198
 msgid "major edits"
-msgstr "Grössere Änderungen"
+msgstr "Größere Änderungen"
 
 #: ../lib/plugin/RecentChanges.php:200
 msgid "minor edits"
@@ -3697,7 +3698,7 @@
 msgid "Related Changes"
 msgstr "Verlinkte Änderungen"
 
-# (Im Wortsinne heisst das eigentlich: "jüngste = eben gemachte
+# (Im Wortsinne heißt das eigentlich: "jüngste = eben gemachte
 # Änderungen"; in terms of newspapers or journalism it's traditionally
 # "NeuesteNachrichten" or much more better "DasNeueste").
 #: ../lib/plugin/RelatedChanges.php:73 ../themes/Crao/templates/navbar.tmpl:15
@@ -3903,12 +3904,12 @@
 #: ../lib/plugin/SystemInfo.php:424
 #, php-format
 msgid "Total %d plugins: "
-msgstr "%d Gesammte Zusatzprogramme: "
+msgstr "%d Gesamte Zusatzprogramme: "
 
 #: ../lib/plugin/SystemInfo.php:433
 #, php-format
 msgid "Total of %d languages: "
-msgstr "%d Sprache gesammt: "
+msgstr "%d Sprache gesamt: "
 
 #: ../lib/plugin/SystemInfo.php:436
 #, php-format
@@ -3998,7 +3999,7 @@
 
 #: ../lib/plugin/SystemInfo.php:504
 msgid "Supported themes"
-msgstr "Untersützte Benutzeroberfläche"
+msgstr "Unterstützte Benutzeroberfläche"
 
 #: ../lib/plugin/TeX2png.php:29
 msgid "TeX2png"
@@ -4244,6 +4245,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "BenutzerEinstellungen"
 
@@ -4467,7 +4469,7 @@
 #: ../lib/plugin/WikiAdminChmod.php:150
 msgid "Are you sure you want to permanently change the selected files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich ändern wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich ändern wollen?"
 
 #: ../lib/plugin/WikiAdminChmod.php:153
 msgid "Chmod"
@@ -4511,7 +4513,7 @@
 #: ../lib/plugin/WikiAdminSetAcl.php:100
 #, php-format
 msgid "Access denied to change page '%s'."
-msgstr "Zugang veweigert um Seite '%s' zu ändern."
+msgstr "Zugang verweigert um Seite '%s' zu ändern."
 
 #: ../lib/plugin/WikiAdminChown.php:74
 #, php-format
@@ -4535,7 +4537,7 @@
 #: ../lib/plugin/WikiAdminChown.php:156
 msgid "Are you sure you want to permanently chown the selected files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich ändern wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich ändern wollen?"
 
 #: ../lib/plugin/WikiAdminChown.php:160
 msgid "Chown selected pages"
@@ -4552,43 +4554,43 @@
 
 #: ../lib/plugin/WikiAdminMarkup.php:37
 msgid "WikiAdminMarkup"
-msgstr "WikiAdminFormattierung"
+msgstr "WikiAdminFormatierung"
 
 #: ../lib/plugin/WikiAdminMarkup.php:41
 msgid "Change the markup type of selected pages."
-msgstr "Ändere den Formattierungstyp aller ausgewählte Seiten."
+msgstr "Ändere den Formatierungstyp aller ausgewählte Seiten."
 
 #: ../lib/plugin/WikiAdminMarkup.php:78
 #, php-format
 msgid "WikiAdminMarkup from %s to %s"
-msgstr "WikiAdminFormattierung von %s auf %s"
+msgstr "WikiAdminFormatierung von %s auf %s"
 
 #: ../lib/plugin/WikiAdminMarkup.php:82
 #, php-format
 msgid "change page '%s' to markup type '%s'."
-msgstr "Formattierung der Seite '%s' auf '%s' geändert."
+msgstr "Formatierung der Seite '%s' auf '%s' geändert."
 
 #: ../lib/plugin/WikiAdminMarkup.php:86
 #, php-format
 msgid "Couldn't change page '%s' to markup type '%s'."
-msgstr "Konnte die Formattierung der Seite '%s' nicht auf '%s' ändern."
+msgstr "Konnte die Formatierung der Seite '%s' nicht auf '%s' ändern."
 
 # Any better translation? The locale/de/pgsrc/PhpWikiSystemverwalten
 # must also be renamed to match what is here.
 #: ../lib/plugin/WikiAdminMarkup.php:103
 msgid "PhpWikiAdministration/Markup"
-msgstr "PhpWikiSystemverwalten/Formattierung"
+msgstr "PhpWikiSystemverwalten/Formatierung"
 
 #: ../lib/plugin/WikiAdminMarkup.php:152
 msgid ""
 "Are you sure you want to permanently change the markup type of the selected "
 "files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich ändern wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich ändern wollen?"
 
 #: ../lib/plugin/WikiAdminMarkup.php:156
 msgid "Change markup type"
-msgstr "Ändere Formattierungs-Typ"
+msgstr "Ändere Formatierungs-Typ"
 
 #: ../lib/plugin/WikiAdminMarkup.php:157
 msgid "Select the pages to change the markup type:"
@@ -4596,7 +4598,7 @@
 
 #: ../lib/plugin/WikiAdminMarkup.php:179
 msgid "Change markup"
-msgstr "Ändere Formattierung"
+msgstr "Ändere Formatierung"
 
 #: ../lib/plugin/WikiAdminRemove.php:40
 msgid "WikiAdminRemove"
@@ -4635,7 +4637,7 @@
 #: ../lib/plugin/WikiAdminRemove.php:190
 msgid "Are you sure you want to permanently remove the selected files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich löschen wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich löschen wollen?"
 
 #: ../lib/plugin/WikiAdminRemove.php:193
 msgid "Remove selected pages"
@@ -4706,7 +4708,7 @@
 #: ../lib/plugin/WikiAdminRename.php:168
 msgid "Are you sure you want to permanently rename the selected files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich umbenennen wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich umbenennen wollen?"
 
 #: ../lib/plugin/WikiAdminRename.php:173
 msgid "Select the pages to rename:"
@@ -4722,7 +4724,7 @@
 
 #: ../lib/plugin/WikiAdminRename.php:215
 msgid "Case insensitive?"
-msgstr "Gross/Kleinschreibung beachten?"
+msgstr "Groß-/Kleinschreibung beachten?"
 
 #: ../lib/plugin/WikiAdminRename.php:218
 msgid "Change pagename in all linked pages also?"
@@ -4773,7 +4775,7 @@
 "Are you sure you want to permanently search & replace text in the selected "
 "files?"
 msgstr ""
-"Sind Sie sicher, daß Sie alle Wörter in den angegebenen Seiten ersetzen "
+"Sind Sie sicher, dass Sie alle Wörter in den angegebenen Seiten ersetzen "
 "wollen?"
 
 #: ../lib/plugin/WikiAdminSearchReplace.php:189
@@ -4857,7 +4859,7 @@
 msgid ""
 "Are you sure you want to permanently change access to the selected files?"
 msgstr ""
-"Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich ändern wollen?"
+"Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich ändern wollen?"
 
 #: ../lib/plugin/WikiAdminSetAcl.php:215
 msgid "Selected Pages: "
@@ -5251,7 +5253,7 @@
 msgid "FrameIncludePlugin"
 msgstr "FrameEinbettenPlugin"
 
-# (Im Wortsinne heisst das eigentlich: "jüngste = eben gemachte
+# (Im Wortsinne heißt das eigentlich: "jüngste = eben gemachte
 # Änderungen"; in terms of newspapers or journalism it's traditionally
 # "NeuesteNachrichten" or much more better "DasNeueste").
 #: ../lib/plugin/_WikiTranslation.php:67
@@ -5300,7 +5302,7 @@
 
 #: ../lib/plugin/_WikiTranslation.php:79
 msgid "PageGroupTest"
-msgstr "SeitenGruppeTest"
+msgstr "SeitenGruppenTest"
 
 #: ../lib/plugin/_WikiTranslation.php:80
 msgid "PageGroupTest/Four"
@@ -5872,17 +5874,17 @@
 #: ../lib/ziplib.php:199
 msgid "Can't inflate data: zlib support not enabled in this PHP"
 msgstr ""
-"Kann Daten nicht dekomprimieren: Die zlib Bibiliothek wurde in PHP nicht "
+"Kann Daten nicht dekomprimieren: Die zlib-Bibliothek wurde in PHP nicht "
 "installiert/aktiviert."
 
 #: ../lib/ziplib.php:395
 #, php-format
 msgid "Can't open zip file '%s' for reading"
-msgstr "Konnte zip Datei »%s« nich öffnen zum lesen"
+msgstr "Konnte ZIP-Datei »%s« nicht zum Lesen öffnen"
 
 #: ../lib/ziplib.php:405 ../lib/ziplib.php:409
 msgid "Unexpected EOF in zip file"
-msgstr "Unerwartetes Dateiende (EOF-Fehler) in ZIP Datei"
+msgstr "Unerwartetes Dateiende (EOF-Fehler) in ZIP-Datei"
 
 #: ../lib/ziplib.php:730
 #, php-format
@@ -6563,7 +6565,7 @@
 #: ../themes/default/templates/homepage.tmpl:10
 #, php-format
 msgid "You can personalize various settings in %s."
-msgstr "Sie können können einige Eintellungen in %s individuell gestalten."
+msgstr "Sie können einige Einstellungen in %s individuell gestalten."
 
 #: ../themes/default/templates/homepage.tmpl:13
 msgid "(Your preferences are stored as hidden data within this page)."
@@ -6633,7 +6635,7 @@
 #: ../themes/default/templates/online.tmpl:22
 #, php-format
 msgid "Our users created a total of %d pages."
-msgstr "Unsere Benutezr erzeugten insgesamt %d Seiten."
+msgstr "Unsere Benutzer erzeugten insgesamt %d Seiten."
 
 #: ../themes/default/templates/online.tmpl:23
 #, php-format
@@ -6762,10 +6764,12 @@
 msgstr "Einstellungen für Benutzer '%s':"
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr "Benutzername"
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr "Auth. Ebene"
 
@@ -6774,6 +6778,7 @@
 msgstr "Auth. Methode"
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr "Benutzeroberfläche"
 
@@ -6782,6 +6787,7 @@
 msgstr "Ausgewählte Darstellung"
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr "Sprache"
 
@@ -6828,7 +6834,7 @@
 #: ../themes/default/templates/userprefs.tmpl:160
 msgid "Note, that user accounts with bouncing emails will be disabled."
 msgstr ""
-"Beachten Sie bitte, daß Benutzer mit ungültigen E-Mail Addressen gelöscht "
+"Beachten Sie bitte, dass Benutzer mit ungültigen E-Mail-Addressen gelöscht "
 "werden."
 
 #: ../themes/default/templates/userprefs.tmpl:163
@@ -6869,9 +6875,9 @@
 "Hide or show LinkIcons (if supported by the current theme). Useful for text-"
 "only browsers or slow connections."
 msgstr ""
-"LinkIcons ausblenden oder einblenden (unter Voraussetzung daß es mit dem "
-"ausgewählter Darstellung unterstützt wurde). Werde wertvoll sein für die die "
-"mit Text-only browsers anschauen oder langsamer Konnexionen."
+"LinkIcons ausblenden oder einblenden (unter der Voraussetzung, dass es durch die "
+"ausgewählte Darstellung unterstützt wird). Dies ist sinnvoll für "
+"Text-Browser und langsame Verbindungen."
 
 #: ../themes/default/templates/userprefs.tmpl:187
 #, php-format
@@ -6979,9 +6985,6 @@
 #~ msgid "Replaced link in %s."
 #~ msgstr "Link in %s ersetzt."
 
-#~ msgid "(no regex, case-sensitive)"
-#~ msgstr "(kein regulärer Ausdruck, Gross/Kleinschreibung beachten)"
-
 #~ msgid "Rename selected pages."
 #~ msgstr "Ausgewählte Seiten umbenennen."
 
@@ -7022,7 +7025,7 @@
 #, fuzzy
 #~ msgid "Are you sure you want to save these access restrictions?"
 #~ msgstr ""
-#~ "Sind Sie sicher, daß Sie die ausgewählen Seiten wirklich ändern wollen?"
+#~ "Sind Sie sicher, dass Sie die ausgewählen Seiten wirklich ändern wollen?"
 
 # Any better translation? The locale/de/pgsrc/PhpWikiSystemverwalten
 # must also be renamed to match what is here.
@@ -7120,7 +7123,7 @@
 #~ msgid "Click to sort"
 #~ msgstr "Klicken Sie zu sortieren"
 
-# (Im Wortsinne heisst das eigentlich: "jüngste = eben gemachte
+# (Im Wortsinne heißt das eigentlich: "jüngste = eben gemachte
 # Änderungen"; in terms of newspapers or journalism it's traditionally
 # "NeuesteNachrichten" or much more better "DasNeueste").
 #~ msgid "Recent Changes"
@@ -7181,7 +7184,7 @@
 #~ msgstr "um HTML Seiten dieses Wikis zu ziehen"
 
 #~ msgid "dump serial pages from this wiki"
-#~ msgstr "um serienmässige Seiten dieses Wikis als Dateien zu speichern"
+#~ msgstr "um serienmäßige Seiten dieses Wikis als Dateien zu speichern"
 
 #~ msgid "create pages in this wiki"
 #~ msgstr "um Seiten in diesem Wiki zu erzeugen"
@@ -7209,9 +7212,6 @@
 #~ msgid "Selected"
 #~ msgstr "Ausgewählt"
 
-#~ msgid "Removed page '%s' succesfully."
-#~ msgstr "Seite »%s« erfolgreich gelöscht."
-
 #~ msgid "edit user preferences in this wiki"
 #~ msgstr "um Benutzer Einstellungen in diesem Wiki zu bearbeiten"
 
@@ -7313,7 +7313,7 @@
 #~ msgstr "(Version %s. zuletzt am %s gespeichert)"
 
 #~ msgid "previous major revision"
-#~ msgstr "Vorige grössere Revision"
+#~ msgstr "Vorige größere Revision"
 
 #~ msgid "Use your browser's <b>Back</b> button to go back to the edit page."
 #~ msgstr ""
@@ -7507,7 +7507,7 @@
 #~ "You must set the administrator account and password before you can log in."
 #~ msgstr ""
 #~ "Sie müssen zuerst den SystemAdministratorZugang mit einem Passwort "
-#~ "schützen,bevor Sie sich anmelden können."
+#~ "schützen, bevor Sie sich anmelden können."
 
 #~ msgid "You can log in using any valid WikiWord as a user ID."
 #~ msgstr ""
@@ -7516,7 +7516,7 @@
 
 #~ msgid "(Any password will work, except, of course for the admin user.)"
 #~ msgstr ""
-#~ "(Jedes Wort wird als Passwort akzeptiert, ausser demjeingen für den "
+#~ "(Jedes Wort wird als Passwort akzeptiert, außer demjeingen für den "
 #~ "SystemAdministrator.)"
 
 #~ msgid "RSS available"
--- phpwiki-1.3.12p2.orig/locale/po/es.po
+++ phpwiki-1.3.12p2/locale/po/es.po
@@ -2333,6 +2333,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "Calendario"
 
@@ -4149,6 +4150,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "UsuarioPreferencias"
 
@@ -6626,10 +6628,12 @@
 msgstr "Preferencias por usuario '%s':"
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr ""
 
@@ -6638,6 +6642,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr ""
 
@@ -6646,6 +6651,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr ""
 
--- phpwiki-1.3.12p2.orig/locale/po/fr.po
+++ phpwiki-1.3.12p2/locale/po/fr.po
@@ -2378,6 +2378,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "Calendrier"
 
@@ -4227,6 +4228,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "PréférencesUtilisateurs"
 
@@ -6757,10 +6759,12 @@
 msgstr "Préférences utilisateurs pour l'utilisateur %s :"
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr "IdentifiantUtilisateur"
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr "Niveau de l'authentification"
 
@@ -6769,6 +6773,7 @@
 msgstr "Méthode d'authentification"
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr "Thème"
 
@@ -6777,6 +6782,7 @@
 msgstr "Thème courant"
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr "Langage"
 
--- phpwiki-1.3.12p2.orig/locale/po/it.po
+++ phpwiki-1.3.12p2/locale/po/it.po
@@ -8,7 +8,7 @@
 "Project-Id-Version: PhpWiki-1.3.4pre\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2006-03-07 18:56+0000\n"
-"PO-Revision-Date: 2005-02-12 16:23+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Marco Milanesi <kpanic@ada2.unipv.it>\n"
 "Language-Team: \n"
 "MIME-Version: 1.0\n"
@@ -2303,6 +2303,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "Calendario"
 
@@ -4084,6 +4085,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "Preferenze"
 
@@ -6532,10 +6534,12 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr ""
 
@@ -6544,6 +6548,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr ""
 
@@ -6552,6 +6557,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr ""
 
--- phpwiki-1.3.12p2.orig/locale/po/ja.po
+++ phpwiki-1.3.12p2/locale/po/ja.po
@@ -2356,6 +2356,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "¥«¥ì¥ó¥À¡¼"
 
@@ -4175,6 +4176,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "¥æ¡¼¥¶¡¼ÀßÄê"
 
@@ -6711,10 +6713,12 @@
 msgstr "¥æ¡¼¥¶¡¼ÀßÄê"
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr "¥æ¡¼¥¶¡¼ID"
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr "Ç§¾Ú¥ì¥Ù¥ë"
 
@@ -6723,6 +6727,7 @@
 msgstr "Ç§¾ÚÊýË¡"
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr "¥Æ¡¼¥Þ"
 
@@ -6731,6 +6736,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr "¸À¸ì"
 
--- phpwiki-1.3.12p2.orig/locale/po/nl.po
+++ phpwiki-1.3.12p2/locale/po/nl.po
@@ -2303,6 +2303,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr ""
 
@@ -4084,6 +4085,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "GebruikersVoorkeuren"
 
@@ -6532,10 +6534,12 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr ""
 
@@ -6544,6 +6548,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr ""
 
@@ -6552,6 +6557,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr ""
 
--- phpwiki-1.3.12p2.orig/locale/po/phpwiki.pot
+++ phpwiki-1.3.12p2/locale/po/phpwiki.pot
@@ -2292,6 +2292,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr ""
 
@@ -4071,6 +4072,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr ""
 
@@ -6513,10 +6515,12 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr ""
 
@@ -6525,6 +6529,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr ""
 
@@ -6533,6 +6538,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr ""
 
--- phpwiki-1.3.12p2.orig/locale/po/sv.po
+++ phpwiki-1.3.12p2/locale/po/sv.po
@@ -2302,6 +2302,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "Kalender"
 
@@ -4086,6 +4087,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr ""
 
@@ -6538,10 +6540,12 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr "Namn"
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr ""
 
@@ -6550,6 +6554,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr ""
 
@@ -6558,6 +6563,7 @@
 msgstr ""
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr ""
 
--- phpwiki-1.3.12p2.orig/locale/po/zh.po
+++ phpwiki-1.3.12p2/locale/po/zh.po
@@ -2364,6 +2364,7 @@
 #: ../themes/default/templates/navbar.tmpl:45
 #: ../themes/wikilens/templates/head.tmpl:89
 #: ../themes/wikilens/templates/navbar.tmpl:35
+#, c-format
 msgid "Calendar"
 msgstr "æœˆæ›†"
 
@@ -4190,6 +4191,7 @@
 #: ../themes/smaller/templates/navbar.tmpl:22
 #: ../themes/wikilens/templates/head.tmpl:85
 #: ../themes/wikilens/templates/head.tmpl:86
+#, c-format
 msgid "UserPreferences"
 msgstr "UserPreferences"
 
@@ -6725,10 +6727,12 @@
 msgstr "ä½¿ç”¨è€… '%s' çš„åå¥½è¨­å®š:"
 
 #: ../themes/default/templates/userprefs.tmpl:118
+#, c-format
 msgid "UserId"
 msgstr "å¸³è™Ÿ"
 
 #: ../themes/default/templates/userprefs.tmpl:122
+#, c-format
 msgid "Auth Level"
 msgstr "èªè­‰å±¤ç´š"
 
@@ -6737,6 +6741,7 @@
 msgstr "èªè­‰æ–¹å¼"
 
 #: ../themes/default/templates/userprefs.tmpl:126
+#, c-format
 msgid "Theme"
 msgstr "ä½ˆæ™¯ä¸»é¡Œ"
 
@@ -6745,6 +6750,7 @@
 msgstr "ç›®å‰ä½ˆæ™¯ä¸»é¡Œ"
 
 #: ../themes/default/templates/userprefs.tmpl:127
+#, c-format
 msgid "Language"
 msgstr "èªžè¨€"
 
--- phpwiki-1.3.12p2.orig/locale/README.de.txt
+++ phpwiki-1.3.12p2/locale/README.de.txt
@@ -1,16 +1,16 @@
 
-Die Übersetzungen der englischen Texte des PhpWikis in Deutsche sind
+Die Übersetzungen der englischen Texte des PhpWikis ins Deutsche sind
 derzeit und schon länger nicht mehr aktuell und auf dem Laufenden. Das
 ist vor allem dadurch bedingt, dass die englischen Texte beständig
 ergänzt, überholt und verändert wurden. Übrigens sind auch die anderen
 fremdsprachigen Texte gegenüber dem englischen Original nicht mehr
-ganz zeitgemäss. Die PhpWiki Entwickler freuen sich immer, wenn von
-anderen auch an er sprachlichen Aktualisierung von PhpWiki
+ganz zeitgemäß. Die PhpWiki-Entwickler freuen sich immer, wenn von
+anderen auch an der sprachlichen Aktualisierung von PhpWiki
 weitergefeilt wird.
 
 Für diejenigen, die daran mitwirken wollen, sind hier ein paar
 sachdienliche Vorschläge: Bitte laden Sie sich zunächst die neueste
-PhpWiki Version auf Ihren Rechner von:
+PhpWiki-Version auf Ihren Rechner von:
 
 Nightly CVS snapshot:
 http://phpwiki.sf.net/nightly/phpwiki.nightly.tar.gz
@@ -19,7 +19,7 @@
 phpwiki/locale/de/LC_MESSAGES/phpwiki.php direkt nicht editieren
 sollten, sondern vielmehr folgende: phpwiki/locale/po/de.po. Achten
 Sie auch darauf, diese Datei mit ISO-8859-1 abzuspeichern (nicht mit
-Macintosh Charset oder Windows-1252), sonst fehlen die Umlaute und das
+Macintosh-Charset oder Windows-1252), sonst fehlen die Umlaute und das
 nach älterer Schreibweise noch gebräuchliche scharfe S bzw. Sz "ß".
 
 Zunächst wurden die Dateien in LC_MESSAGES automatisch erstellt:
@@ -38,9 +38,9 @@
 umsetzen kann. Sie erhalten danach phpwiki.mo und phpwiki.php per Mail
 zurück (was mir ein Freude wäre!)
 
-Alle Ihre Korrektur werden dann von mir, sobald ein entsprechender
+Alle Ihre Korrekturen werden dann von mir, sobald ein entsprechender
 Umfang erreicht ist, bei geeigneter Gelegenheit in ihrer Gesamtheit
 ins PhpWiki-CVS (auf Sourceforge) eingesetzt und damit dann für alle
-PhpWiki Benutzer zugänglich und wirksam.
+PhpWiki-Benutzer zugänglich und wirksam.
 
 --CarstenKlapp <carstenklapp@users.sourceforge.net>
--- phpwiki-1.3.12p2.orig/pgsrc/HomePage
+++ phpwiki-1.3.12p2/pgsrc/HomePage
@@ -9,6 +9,7 @@
   charset=iso-8859-1
 Content-Transfer-Encoding: binary
 
+* Learn more about the DebianProject.
 * What is a WikiWikiWeb? A description of this application.
 * Learn HowToUseWiki and learn about AddingPages.
 * Use the SandBox page to experiment with Wiki pages.
--- phpwiki-1.3.12p2.orig/pgsrc/DebianProject
+++ phpwiki-1.3.12p2/pgsrc/DebianProject
@@ -0,0 +1,21 @@
+Date: Wed, 20 Feb 2002 21:10:09 -0500
+Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
+X-Rcs-Id: $Id: DebianProject,v 1.1.1.1 2002/09/23 12:50:05 mpalmer Exp $
+Content-Type: application/x-phpwiki;
+  pagename=DebianProject;
+  flags="";
+  charset=iso-8859-1
+Content-Transfer-Encoding: binary
+
+[Debian|http://www.debian.org/] is a [free|http://www.debian.org/intro/free]
+operating system (OS) for your computer.  An operating system is the set of
+basic programs and utilities that make your computer run.  Debian uses the
+[Linux kernel|http://www.kernel.org/] (the core of an operating system), but
+most of the basic OS tools come from the [GNU project|http://www.gnu.org/];
+hence the name GNU/Linux.
+
+Debian GNU/Linux provides more than a pure OS: it comes with more than 8000
+[packages|http://www.debian.org/distrib/packages], precompiled software
+bundled up in a nice format for easy installation on your machine.
+
+[Read more...|http://www.debian.org/intro/about]
--- phpwiki-1.3.12p2.orig/schemas/psql-initialize.sql
+++ phpwiki-1.3.12p2/schemas/psql-initialize.sql
@@ -90,7 +90,7 @@
 \echo Creating :page_tbl
 CREATE TABLE :page_tbl (
 	id		INT NOT NULL,
-        pagename	VARCHAR(100) NOT NULL,
+        pagename	VARCHAR(200) NOT NULL,
 	hits		INT NOT NULL DEFAULT 0,
         pagedata	TEXT NOT NULL DEFAULT '',
 	cached_html 	TEXT DEFAULT ''    -- added with 1.3.11
--- phpwiki-1.3.12p2.orig/schemas/sqlite-upgrade-1.3.10.sql
+++ phpwiki-1.3.12p2/schemas/sqlite-upgrade-1.3.10.sql
@@ -0,0 +1,30 @@
+-- This schema contains only the commands necessary to upgrade 
+-- a SQL database created by the phpwiki 1.3.7 debian package to the
+-- schema used by the 1.3.10 release of PHPwiki.
+-- 
+-- Author:  Matt Brown <debian@mattb.net.nz>
+-- Date: 6 Sep 2005
+
+-- drop the existing session table
+DROP TABLE session;
+
+CREATE TABLE session (
+	sess_id   char(32) not null default '',
+	sess_data blob not null,
+	sess_date INT UNSIGNED NOT NULL,
+	sess_ip   char(15) not null,
+	PRIMARY KEY (sess_id)
+);
+
+CREATE INDEX sessdate_index ON session (sess_date);
+CREATE INDEX sessip_index ON session (sess_ip);
+
+-- Optional DB Auth and Prefs
+-- For these tables below the default table prefix must be used 
+-- in the DBAuthParam SQL statements also.
+
+CREATE TABLE pref (
+  	userid 	CHAR(48) NOT NULL UNIQUE,
+  	prefs  	TEXT NULL DEFAULT '',
+  	PRIMARY KEY (userid)
+);
--- phpwiki-1.3.12p2.orig/schemas/sqlite-upgrade-1.3.11.sql
+++ phpwiki-1.3.12p2/schemas/sqlite-upgrade-1.3.11.sql
@@ -0,0 +1,67 @@
+-- This schema contains only the commands necessary to upgrade 
+-- a SQL database created by the phpwiki 1.3.10 debian package to the
+-- schema used by the 1.3.11p1 release of PHPwiki.
+-- 
+-- Author:  Matt Brown <debian@mattb.net.nz>
+-- Date: 15 Oct 2005
+
+-- Debian's Current sqlite lacks ALTER TABLE support, so use the following hack
+BEGIN TRANSACTION;
+CREATE TEMPORARY TABLE page_backup(id,pagename,hits,pagedata);
+INSERT INTO page_backup SELECT * FROM page;
+DROP TABLE page;
+CREATE TABLE page (
+	id              INTEGER PRIMARY KEY,
+	pagename        VARCHAR(100) NOT NULL,
+	hits            INTEGER NOT NULL DEFAULT 0,
+	pagedata        MEDIUMTEXT NOT NULL DEFAULT '',
+	cached_html 	MEDIUMTEXT
+);
+CREATE UNIQUE INDEX page_index ON page (pagename);
+INSERT INTO page (id, pagename, hits, pagedata) SELECT * FROM page_backup;
+DROP TABLE page_backup;
+COMMIT;
+
+-- Update Session Table (breaks any existing sessions)
+DROP TABLE session;
+CREATE TABLE session (
+	sess_id   CHAR(32) NOT NULL DEFAULT '' PRIMARY KEY,
+	sess_data MEDIUMTEXT NOT NULL,
+	sess_date INTEGER UNSIGNED NOT NULL,
+	sess_ip   CHAR(40) NOT NULL
+);
+CREATE INDEX sessdate_index ON session (sess_date);
+CREATE INDEX sessip_index ON session (sess_ip);
+
+-- Add the rating and accesslog tables in case users want to use those themes
+CREATE TABLE rating (
+        dimension TINYINTEGER NOT NULL,
+        raterpage INTEGER NOT NULL,
+        rateepage INTEGER NOT NULL,
+        ratingvalue FLOAT NOT NULL,
+        rateeversion INTEGER NOT NULL,
+        tstamp INTEGER UNSIGNED NOT NULL,
+        PRIMARY KEY (dimension, raterpage, rateepage)
+);
+CREATE INDEX rating_dimension ON rating (dimension);
+CREATE INDEX rating_raterpage ON rating (raterpage);
+CREATE INDEX rating_rateepage ON rating (rateepage);
+
+CREATE TABLE accesslog (
+        time_stamp    INTEGER UNSIGNED,
+	remote_host   VARCHAR(50),
+	remote_user   VARCHAR(50),
+        request_method VARCHAR(10),
+	request_line  VARCHAR(255),
+	request_args  VARCHAR(255),
+	request_file  VARCHAR(255),
+	request_uri   VARCHAR(255),
+	request_time  CHAR(28),
+	status 	      TINYINTEGER UNSIGNED,
+	bytes_sent    TINYINTEGER UNSIGNED,
+        referer       VARCHAR(255), 
+	agent         VARCHAR(255),
+	request_duration FLOAT
+);
+CREATE INDEX log_time ON accesslog (time_stamp);
+CREATE INDEX log_host ON accesslog (remote_host);
--- phpwiki-1.3.12p2.orig/schemas/sqlite-upgrade-1.3.12.sql
+++ phpwiki-1.3.12p2/schemas/sqlite-upgrade-1.3.12.sql
@@ -0,0 +1,22 @@
+-- This schema contains only the commands necessary to upgrade 
+-- a SQL database created by the phpwiki 1.3.11p1 debian package to the
+-- schema used by the 1.3.12p2 release of PHPwiki.
+-- 
+-- Author:  Matt Brown <debian@mattb.net.nz>
+-- Date: 18 Mar 2006
+
+-- Debian's Current sqlite lacks ALTER TABLE support, so use the following hack
+BEGIN TRANSACTION;
+CREATE TEMPORARY TABLE pref_backup(userid, prefs);
+INSERT INTO pref_backup SELECT * FROM pref;
+DROP TABLE pref;
+CREATE TABLE pref (
+        userid  CHAR(48) NOT NULL PRIMARY KEY,
+        prefs   TEXT NULL DEFAULT '',
+        passwd  CHAR(48) DEFAULT '',
+        groupname CHAR(48) DEFAULT 'users'
+);
+CREATE INDEX pref_userid ON pref (userid);
+INSERT INTO pref (userid, prefs) SELECT * FROM pref_backup;
+DROP TABLE pref_backup;
+COMMIT;
--- phpwiki-1.3.12p2.orig/debian/changelog
+++ phpwiki-1.3.12p2/debian/changelog
@@ -0,0 +1,315 @@
+phpwiki (1.3.12p2-1ipsyn) unstable; urgency=low
+
+  * Backport to sarge 
+
+ -- JLB <jlb@ipsyn.net>  Wed, 21 Jun 2006 11:19:12 +0200
+
+phpwiki (1.3.12p2-1) unstable; urgency=low
+
+  * New upstream release
+  * Patched to set auth cookie name based on wiki name. (Closes: #282565).
+  * Install additional documentation now provided upstream. (Closes: #194506).
+  * Updated French debconf translation - Jean-Luc Coulon. (Closes: #344687).
+  * Updated dependencies to allow php4 or 5. (Closes: #356474).
+
+ -- Matt Brown <debian@mattb.net.nz>  Sun,  9 Apr 2006 17:52:33 +1200
+
+phpwiki (1.3.11p1-1) unstable; urgency=low
+
+  * New upstream release. (Closes: 332645).
+  * Updated german translation thanks to Jens Seidel. (Closes: #313815).
+  * Updated french translation thanks to Jean-Luc Coulon and the
+    debian-l10n-french mailing list. (Closes: #332212).
+  * Added apache2 integration
+  * Use webconfig-common functions to deal with apache. (Closes: #259098).
+  * Removed rewrite rules completely. Use simple alias instead.
+    - This works consistently regardless of whether mod_rewrite is present.
+    - Closes: #273049, Closes: #309959
+  * Added migration documentation for wikis not managed by the package.
+    - Closes: #334712
+  * Improved documentation about external auth methods. Suggest php4-imap
+    and php4-ldap packages. (Closes: #334711). 
+
+ -- Matt Brown <debian@mattb.net.nz>  Thu, 20 Oct 2005 01:56:23 +1300
+
+phpwiki (1.3.10-2) unstable; urgency=low
+
+  * Update .po files. Add debconf-updatepo to clean target. (Closes: #330033).
+
+ -- Matt Brown <debian@mattb.net.nz>  Mon, 26 Sep 2005 09:47:46 +1200
+
+phpwiki (1.3.10-1) unstable; urgency=low
+
+  [ Matt Brown ]
+  * Adopted package (Closes: #299146).
+  * New upstream release (Closes: #243466).
+    - Merged backported language files for Italian.
+    - Merged various gettext backports.
+    - Tidied debian/patches to reflect what had been merged upstream.
+  * Adapted package to new upstream configuration system.
+    - index.php no longer used for configuration.
+    - Created an automatic migration script to move configurations to the
+      new syntax and location. Should work in 95%+ of cases. Does not 
+      migrate configurations using external authentication methods.
+  * Updated rewrite rules to work with 1.3.10 release.
+    - Double slash no longer present in the URL when is placed at the webroot.
+    - Closes: #299443, Closes: #263705
+  * Disabled PHP 'notice' errors to work around PHP 4.4 reference changes.
+
+  [ David Moreno Garza ]
+  * Updated debconf translations:
+    - Czech (Closes: #280131).
+    - Finnish (Closes: #258882).
+    - Japanese (Closes: #307146).
+    - Spanish (Closes: #276284).
+    - Vietnamese (Closes: #316863).
+  * Corrected typo on po-debconf (Closes: #267609).
+
+ -- Matt Brown <debian@mattb.net.nz>  Mon,  5 Sep 2005 01:41:36 +1200
+
+phpwiki (1.3.7-4) unstable; urgency=low
+
+  * Orphaned, as I have little to no interest in the use or maintenance of
+    PHPWiki any longer (See #299146).
+  * Fixed a couple of brace-expansion issues to clear an FTBFS when
+    /bin/sh == dash.
+  * Removed xmlrpc.inc to prevent the possibility of compromised due to a
+    security vulnerability in the XMLRPC library code.  Use the PECL module
+    if you want XMLRPC functionality.  Closes: #316714.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Sun,  3 Jul 2005 19:06:58 +1000
+
+phpwiki (1.3.7-3) unstable; urgency=low
+
+  * Added more guards to the postinst to ensure we don't invoke an apache's
+    init script unless it's rooly trooly there.  Closes: #249772, #245586.
+  * Renamed the 'RecentChanges' page in the german translation from
+    FricheSeiten to NeuesteÃ„nderungen.  Closes: #245812.
+  * Cherry-picked pgsrc/TestFormattingRules#1.32 from upstream CVS,
+    documenting the proper use of tilde in polite Wikiing.  Closes: #227953.
+  * Bumped php4-sqlite and sqlite to Required: because it effectively does
+    (legacy dba systems notwithstanding).  Closes: #256813.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Wed, 30 Jun 2004 21:25:29 +1000
+
+phpwiki (1.3.7-2) unstable; urgency=low
+
+  * Moved the PHPWIKI_VERSION define from index.php to lib/prepend.php,
+    since it really isn't something user configurable.  Closes: #233599.
+  * As above, moved COPYRIGHTPAGE_TITLE, COPYRIGHTPAGE_URL,
+    AUTHORPAGE_TITLE, and AUTHORPAGE_URL.  Closes: 238845.
+  * Applied revised patch to not use the <button> tag (from Norman
+    Rasmussen) so that random password creation in passencrypt.php works in
+    IE.  Closes: #236342.
+  * Use invoke-rc.d according to policy 9.3.3.2.  Closes: #237145.
+  * Explicitly disable output compression, since it apparently causes
+    problems with PHP4 in CGI mode.  Closes: #228735.
+  * Modified dependcy information.  No longer depend on apache or equivalent
+    (Closes: #237016), remove version restriction on php4 (why was that ever
+    even in there?  PHPWiki runs fine on 4.1.2), and add php4-cgi as an
+    alternative to php4, as it can be run on apache2 (I presume).
+  * Symlink the apache config into /etc/<srv>/conf.d if possible instead of
+    screwing with httpd.conf directly.  Closes: #237254.
+  * Remove the webservers config option from use.  No need for it, as we
+    should be able to automatically detect which webservers are available to
+    install into.
+  * Converted all of my upstream-able patches to use dpatch.  Much cleaner
+    diff now.  Closes: #233213.  That package needs a HOWTO to explain the
+    simplest way of splitting out and converting patches - it wasn't a nice
+    experience.
+  * Explicitly disabled the wiki admin account, as there's no reasonable way
+    to enable it without requiring user intervention at install, and the
+    package "works" without it.  Closes: #225977.
+  * Converted new installation script to use SQLite instead of stupid,
+    broken DB4.  Closes: #232361.
+  * Imported several upstream changes to better support SQLite:
+      - Revision 1.41 of lib/WikiDB/backend/PearDB.php
+      - Revision 1.42 of lib/WikiDB/backend/PearDB.php
+      - schemas/sqlite.sql
+      - lib/WikiDB/backend/sqlite.php
+  * Imported CVS revision 1.3 of lib/imagecache.php to fix problems therein.
+    Hopefully imagecaching will now work right, which makes the VisualWiki
+    stuff work.  Closes: #240923.
+  * Added the pages FullTextSearch and FuzzyPages to the Italian
+    localisation version, so that the searches will (apparently) work right.
+    Committed upstream 9/04/2004.  Closes: #228115.
+  * Split out the postinst into several independent subroutines.
+  * Added a new french debconf translation.  Closes: #238744.
+  * Now using the ucf --sum_file option on index.php so that upgrades might
+    be a bit smoother.
+  * Bumped standards-version to 3.6.1.  No changes necessary.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Tue, 20 Apr 2004 21:27:31 +1000
+
+phpwiki (1.3.7-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #227680.
+  * Included passencrypt.php in /usr/share/phpwiki, and ensured that the
+    non-existent passwordencrypt.php isn't mentioned anywhere.
+    Relates to: #225977.
+  * Transitioned apache.conf to use ucf.  Closes: #228497.
+  * After much thrashing, made URL rewriting to my satisfaction, so we
+    no longer get index.php's in the middle of our URLs (a long standing
+    peeve of mine).  Thanks to Andreas Krueger for giving me the gist of
+    it all.  Closes: #228504.
+  * Automatically create a new database file, to work around blecherisms in
+    PHP4's DB4 implementation.  Closes: #224149.
+  * New config file, debian-config.php, to set defaults for all those things
+    that postinst needs to screw with in index.php.
+  * Added a lock tables grant to INSTALL.mysql.  Closes: #231101.
+  * Added a brazilian debconf translation.  Closes: #231772.
+  * Made the upgrade detector a little less brutal.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Thu, 12 Feb 2004 20:55:20 +1100
+
+phpwiki (1.3.6-2) unstable; urgency=low
+
+  * Incorporated suggestions made by Nikita Youshchenko to improve the LDAP
+    experience.  Closes: #221928.
+  * Properly quoted the versions in --compare-versions so that an empty
+    version doesn't cause conniptions.  Closes: #224433.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Fri, 21 Nov 2003 17:32:33 +1100
+
+phpwiki (1.3.6-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #221155.
+  * Really reverted debconf error handling on phpwiki/webservers.
+    (Closes: #214178).  Previous question still stands.
+  * Removed the watch file since it's useless anyway.
+  * Added a workaround for a DB4 bug (which messily blows away your old
+    database - yuck).  Fixed the previously reported DB4 problems, though.
+    Closes: #220987.
+  * Modified the postinst so it'll correctly upgrade databases and config
+    files for db4.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Wed, 19 Nov 2003 14:33:14 +1100
+
+phpwiki (1.3.4-5) unstable; urgency=low
+
+  * Removed otherwise b0rken files which I have no idea how to fix.
+    (Closes: #215474)
+  * Reverted debconf error handling in postrm because it totally roots the
+    script.  (Closes: #214178)  So, the question is, how the fsck do you do
+    error handing for debconf in a shell script?
+
+ -- Matthew Palmer <mpalmer@debian.org>  Mon, 13 Oct 2003 12:38:10 +1000
+
+phpwiki (1.3.4-4) unstable; urgency=low
+
+  * Changed some file tests in the postinst, which was reported by Stefan
+    Gybas to fix a crashing postinst (Closes: #203845)
+  * Applied the po-debconf patch supplied by Michel Grentzinger, for easy
+    translation support.  (Closes: #210795)
+  * Fixed the include path so we're really looking in /usr/share/php.
+    Relates to #211940, which I erroneously closed as a local config problem
+    earlier.
+  * Added quotes to fix a screwed up debconf.  (Closes: #203845)
+  * Added french translation for the debconf messages.  (Closes: #212007,
+    #213123)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Mon, 29 Sep 2003 21:34:33 +1000
+
+phpwiki (1.3.4-3) unstable; urgency=low
+
+  * Changed the default database type to DB3, since (apparently) DB2 isn't
+    supported by the Debian PHP4 packages in sid any more.  Closes: #209272.
+  * Changed ALLOW_USER_LOGIN to false.  Fixes a PHP warning, and should also
+    have been set before.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Tue,  9 Sep 2003 09:04:08 +1000
+
+phpwiki (1.3.4-2) unstable; urgency=low
+
+  * Added /usr/share/php to the include path, since it appears that PEAR has
+    been moved there.  Thanks for letting me know, guys... (Closes: #206234)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Tue, 26 Aug 2003 13:05:16 +1000
+
+phpwiki (1.3.4-1) unstable; urgency=low
+
+  * New upstream version (Closes: #201098)
+  * Changed strange perms to be set in the package, so dpkg-statoverride can
+    do it's magic
+
+ -- Matthew Palmer <mpalmer@debian.org>  Mon, 21 Jul 2003 17:29:41 +1000
+
+phpwiki (1.3.3-9) unstable; urgency=low
+
+  * Note to self: cat wants a filename, echo just prints.  Sigh.  (fix in
+    postrm).  (Closes: #184830)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Sat, 15 Mar 2003 19:09:08 +1100
+
+phpwiki (1.3.3-8) unstable; urgency=low
+
+  * Major faff-up - forgot to source the debconf stuff in postrm.  Now I do.
+    (Closes: #184040)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Sun,  9 Mar 2003 16:39:44 +1100
+
+phpwiki (1.3.3-7) unstable; urgency=low
+
+  * Added instructions to README.Debian on how to create multiple/user wikis
+    (Closes: #182502)
+  * Ask for servers to install into, and add/remove/restart those servers.
+    (Closes: #173446)  Sorry about the delay.
+  * Edited schemas/psql.sql and doc/INSTALL.pgsql as suggested by the
+    submitter.  Don't have PostgreSQL to test, so I'm going on faith.
+    (Closes: #179860)
+  * Added a DirectoryIndex directive to automatically load index.php.  This
+    should normally be included in the base apache config, but
+    belt-and-braces.  (Closes: #181513)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Sat,  8 Mar 2003 22:06:45 +1100
+
+phpwiki (1.3.3-6) unstable; urgency=low
+
+  * Added extra guards in postinst to catch rare errors.
+  * Removed all semblance of the $etcdir testing framework, since it caused
+    more trouble than it was worth.
+  * Dirty hack to ensure that, if nothing died during the postinst, the
+    postinst won't report nasty errors.  (Closes: #163380)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Sat, 19 Oct 2002 09:39:22 +1000
+
+phpwiki (1.3.3-5) unstable; urgency=low
+
+  * Modified lib/WikiDB/backend/PearDB.php to include the right file.
+    Closes: #164061
+  * Added the MySQL and PGSQL schema files.
+  * Added lintian overrides.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Thu, 10 Oct 2002 15:48:55 +1000
+
+phpwiki (1.3.3-4) unstable; urgency=low
+
+  * Set file permissions so that not quite everyone in the world can have a
+    gawk at the PHPWiki admin password.  Closes: #163804
+
+ -- Matthew Palmer <mpalmer@debian.org>  Wed,  9 Oct 2002 09:03:36 +1000
+
+phpwiki (1.3.3-3) unstable; urgency=low
+
+  * I screwed up and left $etcdir = ".".  It's back where it is, and it
+    won't happen again (trust me, I'm an engineer).  Closes: #163753
+
+ -- Matthew Palmer <mpalmer@debian.org>  Tue,  8 Oct 2002 12:11:02 +1000
+
+phpwiki (1.3.3-2) unstable; urgency=low
+
+  * Better add/remove of Include directive in /etc/apache/httpd.conf.
+  * Ask users to edit /etc/phpwiki/index.php instead of
+    /usr/share/phpwiki/index.php.  (Closes: #163138)
+  * Now depends on apache, as well as making checks around any modification
+    of config files not owned by us.  (Closes: #163140)
+  * Better guarding of postrm rmdirs in case the directory has been removed.
+
+ -- Matthew Palmer <mpalmer@debian.org>  Mon,  7 Oct 2002 09:20:11 +1000
+
+phpwiki (1.3.3-1) unstable; urgency=low
+
+  * Initial Release.  (Closes: #161979)
+
+ -- Matthew Palmer <mpalmer@debian.org>  Mon, 23 Sep 2002 13:50:53 +1000
+
--- phpwiki-1.3.12p2.orig/debian/control
+++ phpwiki-1.3.12p2/debian/control
@@ -0,0 +1,21 @@
+Source: phpwiki
+Section: web
+Priority: optional
+Maintainer: Matt Brown <debian@mattb.net.nz>
+Uploaders: David Moreno Garza <damog@debian.org>
+Build-Depends-Indep: debhelper (>= 4.1.16)
+Standards-Version: 3.6.2
+
+Package: phpwiki
+Architecture: all
+Depends: debconf, apache2 | httpd, php4 | php5 | libapache2-mod-php4, php4-pear | php-db, php4-sqlite | php5-sqlite, ucf (>= 1.05), sqlite
+Suggests: mysql-server | postgresql, php4-mysql | php4-pgsql | php5-mysql | php5-pgsql, php4-imap | php5-imap, php4-ldap | php5-ldap
+Description: informal collaborative website manager
+ A Wiki is a dynamic website which can be edited by anyone at any time. 
+ Over time bad information is naturally filtered out, since the barrier to
+ modification is very low.  Malicious or accidental destruction is obviated
+ by the keeping of backup versions of all pages.
+ .
+ Installed as part of this package is introductory material to the Wiki
+ concept, which can be viewed via the Wiki interface when the package has
+ been installed.
--- phpwiki-1.3.12p2.orig/debian/links
+++ phpwiki-1.3.12p2/debian/links
@@ -0,0 +1,2 @@
+etc/phpwiki/config.ini usr/share/phpwiki/config/config.ini
+usr/share/phpwiki/sqlite.sql usr/share/doc/phpwiki/schemas/sqlite.sql
--- phpwiki-1.3.12p2.orig/debian/postinst
+++ phpwiki-1.3.12p2/debian/postinst
@@ -0,0 +1,305 @@
+#!/bin/bash -e
+
+# Postinst script for PHPWiki.
+# Written by Matt Brown <debian@mattb.net.nz>. 
+# Based on the original PHPWiki postinst (in Perl) by Matthew Palmer
+# Released under the GPL version 2.
+
+# Use Debconf
+. /usr/share/debconf/confmodule
+# The following functions are copied from the webapps-common package
+# written by Sean Finney and hosted on Alioth. The package is not yet
+# in unstable, so we have to copy the required functions into here for
+# now. Upstream source can be found at 
+# http://alioth.debian.org/projects/webapps-common/
+# --- BEGIN webapps-common --
+wc_httpd_apaches="apache apache-ssl apache-perl apache2"
+wc_httpd_supported="$wc_httpd_apaches"
+wc_httpd_installed(){
+	local httpds
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=$wc_httpd_supported
+	fi
+	for f in $httpds; do
+		if test -x /usr/sbin/$f; then
+			echo $f
+		fi
+	done
+}
+wc_httpd_running(){
+	local httpds
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=$wc_httpd_supported
+	fi
+	for f in $httpds; do
+		if pgrep -x $f >/dev/null; then
+			echo $f
+		fi
+	done
+}
+wc_httpd_invoke(){
+	local httpds cmd err
+	if [ ! "$1" ]; then
+		echo "i need at least a command!" 2>&1
+		return 1
+	fi
+	cmd="$1"
+	shift
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=`wc_httpd_running`
+	fi
+	for f in $httpds; do
+		if [ -x /etc/init.d/$f ]; then
+			invoke-rc.d $f $cmd || return $?
+		fi
+	done
+}
+wc_httpd_apache_include(){
+	local h incfile httpds confdir
+	if [ ! "$1" ]; then
+		echo "i need at least a file!" 2>&1
+		return 1
+	fi
+	incfile="$1"
+	shift
+	if [ ! "$1" ]; then
+		echo "i also need a name!" 2>&1
+		return 1
+	fi
+	name="$1"
+	shift
+	if [ ! -e "$incfile" ]; then
+		echo "include file $incfile does not exist!" 2>&1
+		return 1
+	fi
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=`wc_httpd_installed $wc_httpd_supported`
+	fi
+	for h in $httpds; do
+		confdir="/etc/$h/conf.d"
+		conflink="$confdir/${name}.conf"
+		if [ -d "$confdir" -a ! -e "$conflink" ]; then
+			ln -s "$incfile" "$conflink"
+		fi
+	done
+}
+# --- END webapps-common --
+    
+function upgrade_sqlite_db ()
+{
+
+    # Check we are using an SQL database
+    if [ -f '/etc/phpwiki/config.ini' ]; then
+        n=`egrep "^[[:space:]]*DATABASE_TYPE[[:space:]]*=[[:space:]]*dba" /etc/phpwiki/config.ini | wc -l | sed 's/ //g'`
+        if [ "$n" -ne "0" ]; then
+            # We're still using dba
+            return
+        fi
+    fi
+
+    # Check what version of the package to upgrade to
+    tovers="$1"
+    if [ -z "$tovers" ]; then
+        # Can't upgrade to unspecified version
+        return
+    fi
+    
+    if ! /usr/bin/sqlite /var/lib/phpwiki/phpwiki_pagedb.db < /usr/share/doc/phpwiki/schemas/sqlite-upgrade-$tovers.sql >/dev/tty 2>/dev/tty; then 
+        echo "DB upgrade (to version $tovers) failed!"
+        exit 1
+    fi
+}
+
+function upgrade_config_ini()
+{
+    confout=`tempfile`
+    
+    # Can only upgrade if there is an existing configuration
+    if [ ! -f '/etc/phpwiki/index.php' ]; then
+        handle_config_ini
+        return;
+    fi
+    
+    # Run the migration script
+    /usr/share/phpwiki/migrate-phpwiki-config /usr/share/phpwiki/config/config-template.ini < /etc/phpwiki/index.php > $confout
+    
+    # Put the configuration file in place
+    /usr/bin/ucf $confout /etc/phpwiki/config.ini </dev/tty >/dev/tty
+    rm -f $confout
+
+    # Ensure perms are all good
+    chmod 0640 /etc/phpwiki/config.ini
+    chgrp www-data /etc/phpwiki/config.ini
+}
+
+function handle_config_ini () 
+{
+    
+    # The DB config fragment we need to dynamically generate
+    dbconf=''
+    dbtype='SQL'
+    
+    if [ -f '/etc/phpwiki/config.ini' ]; then
+        n=`egrep "^[[:space:]]*DATABASE_TYPE[[:space:]]*=[[:space:]]*dba" /etc/phpwiki/config.ini | wc -l | sed 's/ //g'`
+        if [ "$n" -ne "0" ]; then
+            # We're still using dba
+            dbtype='dba'
+        fi
+    fi
+    
+    if [ "$dbtype" == "dba" ]; then
+        dbconf="DATABASE_TYPE = dba\n"
+        dbconf="${dbconf}DATABASE_DBA_HANDLER = db4\n"
+        dbconf="${dbconf}DATABASE_DIRECTORY = /var/lib/phpwiki\n"
+    else
+        # SQLite or custom installation
+        dbconf="DATABASE_TYPE = SQL\n"
+        dbconf="${dbconf}DATABASE_DSN = \"sqlite:////var/lib/phpwiki/phpwiki_pagedb.db\"\n"
+        dbconf="${dbconf}DATABASE_TIMEOUT = 10\n"
+        dbconf="${dbconf}DATABASE_SESSION_TABLE = session\n"
+    fi	
+    
+    confout=`tempfile`
+    sed "s~##DBPARAMS##~$dbconf~g" < /usr/share/phpwiki/config/config-dist.ini > $confout
+    
+    /usr/bin/ucf $confout /etc/phpwiki/config.ini </dev/tty >/dev/tty;
+    rm -f $confout
+    
+    # Ensure perms are all good
+    chmod 0640 /etc/phpwiki/config.ini
+    chgrp www-data /etc/phpwiki/config.ini
+    
+}
+
+function create_database ()
+{
+    
+    if [ -x /usr/bin/sqlite ]; then
+        /usr/bin/sqlite /var/lib/phpwiki/phpwiki_pagedb.db < /usr/share/phpwiki/sqlite-initialize.sql >/dev/tty 2>/dev/tty
+    else
+        touch /var/lib/phpwiki/phpwiki_pagedb.db
+    fi
+    
+    chmod 0775 /var/lib/phpwiki/phpwiki_pagedb.db
+    chgrp www-data /var/lib/phpwiki/phpwiki_pagedb.db    
+    
+}
+
+function write_apache_conf ()
+{
+    
+    apacheconf=`tempfile`;
+    
+    # Get configured docroot. Make sure it doesn't end in /
+    db_get phpwiki/system/documentroot
+    docroot="${RET/%\//}"
+    
+    # Access Control
+    db_get phpwiki/system/accessible
+    if [ "$RET" == "global" ]; then
+        allowstr="allow from all"
+    elif [ "$RET" == "localhost only" ]; then
+        allowstr="allow from 127.0.0.1"
+    else
+        db_get phpwiki/system/localnet
+        allowstr="allow from $RET"
+    fi
+    
+    # Write the config
+    cat > $apacheconf << __EOF__
+Alias /phpwikidata              /usr/share/phpwiki/
+Alias ${docroot}/               /usr/share/phpwiki/index.php/
+
+<Directory /usr/share/phpwiki/>
+    DirectoryIndex index.php
+    Options +FollowSymLinks
+    AllowOverride None
+    Order allow,deny
+    $allowstr
+</Directory>
+__EOF__
+
+    /usr/bin/ucf $apacheconf /etc/phpwiki/apache.conf < /dev/tty > /dev/tty
+    rm -f $apacheconf
+    chmod 0644 /etc/phpwiki/apache.conf
+    
+}
+
+# Clear out any lingering Include directives which were used before 1.3.7-2
+function clean_apache_config () 
+{
+    
+    for srv in "apache apache-ssl apache-perl"; do
+        dir="/etc/$srv"
+        if [ ! -d $dir ]; then
+            continue
+        fi
+        
+        n=`grep "/etc/phpwiki/apache.conf" $dir/httpd.conf | wc -l | sed 's/ //g'`
+        if [ "$n" -ne "0" ]; then
+            tmpfile=`tempfile`
+            grep -v '^Include /etc/phpwiki/apache.conf\$' $dir/httpd.conf > $tmpfile
+            mv $tmpfile $dir/httpd.conf
+        fi
+    done
+    
+}
+
+# Process Command Line Arguments
+if [ "$1" == "configure" ]; then
+    
+    if [ "$2" == "" -o "$2" == "<>" ]; then
+        
+        # Fresh Install
+        create_database
+        handle_config_ini
+        
+    else
+        # Upgrade
+
+        # Remove old apache stuff
+        if /usr/bin/dpkg --compare-versions "$2" lt "1.3.7-2"; then
+            clean_apache_config
+        fi
+        
+        # This is the biggest upgrade!
+        # Upgrade config file and database
+        if /usr/bin/dpkg --compare-versions "$2" lt "1.3.10-1"; then
+            upgrade_config_ini
+            upgrade_sqlite_db "1.3.10"
+            db_title "PHPWiki Configuration Upgraded"
+            db_input medium phpwiki/notes/configupgrade || true
+            db_go
+        fi
+        
+        # Handle other database upgrades
+        if /usr/bin/dpkg --compare-versions "$2" lt "1.3.11p1-1"; then 
+            upgrade_sqlite_db "1.3.11"
+        fi
+        if /usr/bin/dpkg --compare-versions "$2" lt "1.3.12p2-1"; then
+            upgrade_sqlite_db "1.3.12"
+        fi
+
+    fi
+    
+    # Always configure apache
+    write_apache_conf
+    wc_httpd_apache_include /etc/phpwiki/apache.conf phpwiki 
+    wc_httpd_invoke reload
+    
+    # Make sure PHPwiki can write to the plugin cache directory
+    chgrp www-data /var/cache/phpwiki
+    chmod 0775 /var/cache/phpwiki
+
+fi
+
+#DEBHELPER#
+
--- phpwiki-1.3.12p2.orig/debian/compat
+++ phpwiki-1.3.12p2/debian/compat
@@ -0,0 +1 @@
+4
--- phpwiki-1.3.12p2.orig/debian/postrm
+++ phpwiki-1.3.12p2/debian/postrm
@@ -0,0 +1,130 @@
+#!/bin/bash -e
+
+# Postrm script for PHPWiki.
+# Written by Matthew Palmer <mpalmer@debian.org>
+# Released under the GPL version 2.
+
+# The following functions are copied from the webapps-common package
+# written by Sean Finney and hosted on Alioth. The package is not yet
+# in unstable, so we have to copy the required functions into here for
+# now. Upstream source can be found at 
+# http://alioth.debian.org/projects/webapps-common/
+# --- BEGIN webapps-common --
+wc_httpd_apaches="apache apache-ssl apache-perl apache2"
+wc_httpd_supported="$wc_httpd_apaches"
+wc_httpd_installed(){
+	local httpds
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=$wc_httpd_supported
+	fi
+	for f in $httpds; do
+		if test -x /usr/sbin/$f; then
+			echo $f
+		fi
+	done
+}
+wc_httpd_running(){
+	local httpds
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=$wc_httpd_supported
+	fi
+	for f in $httpds; do
+		if pgrep -x $f >/dev/null; then
+			echo $f
+		fi
+	done
+}
+wc_httpd_invoke(){
+	local httpds cmd err
+	if [ ! "$1" ]; then
+		echo "i need at least a command!" 2>&1
+		return 1
+	fi
+	cmd="$1"
+	shift
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=`wc_httpd_running`
+	fi
+	for f in $httpds; do
+		if [ -x /etc/init.d/$f ]; then
+			invoke-rc.d $f $cmd || return $?
+		fi
+	done
+}
+wc_httpd_apache_uninclude(){
+	local h incfile name httpds conflink
+	if [ ! "$1" ]; then
+		echo "i need at least a file!" 2>&1
+		return 1
+	fi
+	incfile="$1"
+	shift
+	if [ ! "$1" ]; then
+		echo "i also need a name!" 2>&1
+		return 1
+	fi
+	name="$1"
+	shift
+	if [ ! -e "$incfile" ]; then
+		echo "include file $incfile does not exist!" 2>&1
+		return 1
+	fi
+	if [ "$*" ]; then
+		httpds=$*
+	else
+		httpds=`wc_httpd_installed $wc_httpd_supported`
+	fi
+	for h in $httpds; do
+		conflink="/etc/$h/conf.d/${name}.conf"
+		if [ -L "$conflink" ]; then
+			rm -f "$conflink"
+		elif [ -e "$conflink" ]; then
+			echo "warning: $conflink exists but is not a link" >&2
+		fi
+	done
+}
+# --- END webapps-common --
+
+# Now handle however we are called
+if [ "$1" = "remove" ]; then
+        
+    wc_httpd_apache_uninclude /etc/phpwiki/apache.conf phpwiki 
+    wc_httpd_invoke reload
+
+fi
+
+if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
+	. /usr/share/debconf/confmodule
+	db_get phpwiki/system/purgepages || true
+	if [ "$RET" = "true" ]; then
+		rm -rf /var/lib/phpwiki/*
+	fi
+fi
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+	rm -f /etc/phpwiki/apache.conf
+	[ -x /usr/bin/ucf ] && /usr/bin/ucf --purge /etc/phpwiki/apache.conf
+	rm -f /etc/phpwiki/*.dpkg-*
+	rm -f /etc/phpwiki/debian-config.php
+	[ -x /usr/bin/ucf ] && /usr/bin/ucf --purge /etc/phpwiki/debian-config.php
+	rm -f /etc/phpwiki/index.php
+	[ -x /usr/bin/ucf ] && /usr/bin/ucf --purge /etc/phpwiki/index.php
+	rm -f /etc/phpwiki/config.ini
+	[ -x /usr/bin/ucf ] && /usr/bin/ucf --purge /etc/phpwiki/config.ini
+	rm -f /etc/phpwiki/*md5sum
+
+	if [ -d /etc/phpwiki ]; then
+		rmdir --ignore-fail-on-non-empty /etc/phpwiki
+	fi
+	if [ -d /var/lib/phpwiki ]; then
+		rmdir --ignore-fail-on-non-empty /var/lib/phpwiki
+	fi
+fi
--- phpwiki-1.3.12p2.orig/debian/rules
+++ phpwiki-1.3.12p2/debian/rules
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/phpwiki
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+	debconf-updatepo
+
+	# Sigh, yet again there are unwanted files in the upstream package
+	dh_clean -X TAGS
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/phpwiki.
+	chmod 2775 $(DESTDIR)/var/lib/phpwiki
+	chgrp www-data $(DESTDIR)/var/lib/phpwiki
+
+	cp -a config lib locale pgsrc themes $(DESTDIR)/usr/share/phpwiki
+
+	# Removed to fix #316714 (XMLRPC vulnerability)
+	rm -f $(DESTDIR)/usr/share/phpwiki/lib/XMLRPC/xmlrpc.inc
+
+	chmod a-x $(DESTDIR)/usr/share/phpwiki/lib/WikiGroup.php \
+		  $(DESTDIR)/usr/share/phpwiki/locale/README.de.txt
+	cp -a schemas $(DESTDIR)/usr/share/doc/phpwiki
+	mv $(DESTDIR)/usr/share/doc/phpwiki/schemas/sqlite-initialize.sql \
+		$(DESTDIR)/usr/share/phpwiki
+	cp debian/overrides $(DESTDIR)/usr/share/lintian/overrides/phpwiki
+	cp debian/overrides.linda $(DESTDIR)/usr/share/linda/overrides/phpwiki
+	rm -rf $(DESTDIR)/usr/share/phpwiki/lib/pear/[DLP]*
+	rm -f $(DESTDIR)/usr/share/phpwiki/lib/WikiDB/adodb/license.txt
+	rm -f $(DESTDIR)/usr/share/phpwiki/locale/Makefile		\
+	      $(DESTDIR)/usr/share/phpwiki/locale/README		\
+	      $(DESTDIR)/usr/share/phpwiki/locale/make-php-trans.awk	\
+	      $(DESTDIR)/usr/share/phpwiki/locale/update-makefile.sh
+	# Remove extra licensing info, which is copied into debian/copyright
+	rm -f $(DESTDIR)/usr/share/phpwiki/themes/default/moacdropdown/license.txt
+
+	# Remove other cruft that should not be in the final package
+	rm -f $(DESTDIR)/usr/share/phpwiki/config/phpwiki.spec
+	rm -f $(DESTDIR)/usr/share/doc/phpwiki/schemas/.htaccess
+	rm -f $(DESTDIR)/usr/share/phpwiki/config/make-dbhelper.pl
+
+	cp index.php $(DESTDIR)/usr/share/phpwiki/index.php
+	cp passencrypt.php $(DESTDIR)/usr/share/phpwiki
+	cp debian/migrate-phpwiki-config $(DESTDIR)/usr/share/phpwiki
+	# Remove all execute perms in /usr/share/phpwiki
+	find $(DESTDIR)/usr/share/phpwiki -type f -exec chmod -x {} \;
+	# Add them back for scripts
+	chmod +x $(DESTDIR)/usr/share/phpwiki/migrate-phpwiki-config
+	chmod +x $(DESTDIR)/usr/share/phpwiki/lib/updateinterwikimap
+	chmod +x $(DESTDIR)/usr/share/phpwiki/locale/cvt-utf8.sh
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdebconf	
+	dh_installdocs
+	dh_installchangelogs
+	dh_link
+	dh_compress
+	dh_fixperms -X/var/lib/phpwiki
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	# Nothing to do here, move along
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- phpwiki-1.3.12p2.orig/debian/docs
+++ phpwiki-1.3.12p2/debian/docs
@@ -0,0 +1,5 @@
+README
+doc/INSTALL.*
+doc/README.*
+doc/THEMES
+doc/phpwiki_architecture.png
--- phpwiki-1.3.12p2.orig/debian/overrides.linda
+++ phpwiki-1.3.12p2/debian/overrides.linda
@@ -0,0 +1,5 @@
+Tag: maint-uses-dh-no-tag
+Data: postinst
+
+Tag: non-standard-dir-perm
+Data: /var/lib/phpwiki
--- phpwiki-1.3.12p2.orig/debian/index.php.md5sum
+++ phpwiki-1.3.12p2/debian/index.php.md5sum
@@ -0,0 +1,7 @@
+2cf1060fc383dc09b6c735aeb20f1a66  1.3.7-1
+d44cef26c3484b1c7bfc20a763e0a3b1  1.3.6-1
+baf97990fcee34eccfc9c85c42643f4e  1.3.4-6
+9b566a92cd621b20e729cf844e0eb308  1.3.4-4/1.3.4-5
+0366f9e8f64a7b3e8b8da5c34fadca69  1.3.4-3
+3c0864ba031a497d491cb360bab971de  1.3.4-2
+9a1ad531034850165e37c83419bfc89e  1.3.4-1
--- phpwiki-1.3.12p2.orig/debian/README.Build
+++ phpwiki-1.3.12p2/debian/README.Build
@@ -0,0 +1,3 @@
+This package is managed by svn-buildpackage from a repository located at
+
+http://svn.mattb.net.nz/svn/debian/phpwiki
--- phpwiki-1.3.12p2.orig/debian/templates
+++ phpwiki-1.3.12p2/debian/templates
@@ -0,0 +1,94 @@
+Template: phpwiki/notes/introduction
+Type: note
+_Description: Welcome to PHPWiki!
+ This is an automated config generator for PHPWiki.  It is not intended to
+ do everything, in fact, all it will do is generate a basic, standalone
+ PHPWiki.  It is sufficient for simple local installations, but does not
+ encompass all of PHPWiki's capabilities.  If you want to use the more
+ advanced features of the Wiki, please edit /etc/phpwiki/config.ini
+ yourself.
+ .
+ Please read /usr/share/doc/phpwiki/README.Debian for some important notices
+ regarding the first time you load pages into your new Wiki.
+
+Template: phpwiki/system/documentroot
+Type: string
+Default: /phpwiki
+_Description: Where should the web-accessible location of the PHPWiki be?
+ Where should the web-accessible location of the PHPWiki be?
+ .
+ This is the directory of your website that people should use to access
+ the PHPWiki.  By default, this is http://yourserver/phpwiki, but you can
+ change it to be anything within your server.  Enter just the directory
+ portion below.
+
+Template: phpwiki/system/accessible
+Type: select
+_Choices: localhost only, local network, global
+Default: localhost only
+_Description: Who should be able to access your PHPWiki?
+ Who should be able to access your PHPWiki?
+ .
+ A Wiki is normally used to provide unfettered access to information, which
+ can be freely modified by anyone.  Since that is sometimes not what one
+ wants, it is possible to restrict access to the site on the basis of the
+ originating IP address.
+ .
+ If you select 'localhost only', only people on the localhost (the machine
+ the Wiki is running on) will be able to connect.  'local network' will
+ allow people on machines in a local network (which you will need to
+ specify) to talk to the Wiki.  'global' will allow anyone, any where, to
+ connect to the Wiki.
+ .
+ For security, this is set to 'localhost only' by default.  Unless you have
+ a particular need for privacy on your Wiki, you should be able to allow
+ access globally without compromising site security.
+
+Template: phpwiki/system/localnet
+Type: string
+Default: 10.0.0.0/24
+_Description: Local network
+ What is defined as your local network?  The specification should either be
+ an IP network in CIDR format (x.x.x.x/y) or a domain specification (like
+ *.mydomain.com).
+ .
+ Anyone who matches the specification given below will be given full and
+ complete access to the PHPWiki.
+
+Template: phpwiki/system/purgepages
+Type: boolean
+Default: true
+_Description: Purge pages on removal?
+ By default, PHPWiki stores all it's pages in a file database in
+ /var/lib/phpwiki.  Would you like PHPWiki to remove any database files
+ when you remove the package?
+ .
+ Accepting this option will leave you with a tidier system when the PHPWiki
+ package is removed, but may cause information loss if you have an
+ operational Wiki that gets removed.
+
+Template: phpwiki/webservers
+Type: multiselect
+_Choices: apache, apache-ssl, apache-perl
+Default: apache
+_Description: Which web servers do you want to install into?
+ PHPWiki can install into any of the given web servers.  All those you
+ specify will have a default config line added to them to install a
+ standard PHPWiki with the defaults you specified earlier.
+
+Template: phpwiki/notes/configupgrade
+Type: note
+_Description: New Configuration Method
+ PHPWiki 1.3.10 has implemented a new configuration system that no longer
+ stores configuration details in the index.php file. The configuration syntax
+ has also been standardised and all directives are now placed in config.ini.
+ .
+ An automatic migration of your configuration has been performed which should
+ correctly migrate your configuration in 95+ percent of cases. However please
+ check the new configuration at /etc/phpwiki/config.ini carefully as it is 
+ always possible that the automatic process was not perfect.
+ .
+ In particular there are known problems migrating configurations that use
+ external authentication methods (LDAP, IMAP, SQL, etc) for user accounts. 
+ These methods are not used by the standard Debian package and their
+ configuration is left to the administrator.
--- phpwiki-1.3.12p2.orig/debian/dirs
+++ phpwiki-1.3.12p2/debian/dirs
@@ -0,0 +1,7 @@
+usr/share/phpwiki
+var/lib/phpwiki
+var/cache/phpwiki
+etc/phpwiki
+usr/share/doc/phpwiki
+usr/share/lintian/overrides
+usr/share/linda/overrides
--- phpwiki-1.3.12p2.orig/debian/source.lintian-overrides
+++ phpwiki-1.3.12p2/debian/source.lintian-overrides
@@ -0,0 +1 @@
+phpwiki source: maintainer-script-lacks-debhelper-token debian/postinst
--- phpwiki-1.3.12p2.orig/debian/overrides
+++ phpwiki-1.3.12p2/debian/overrides
@@ -0,0 +1,5 @@
+phpwiki: maintainer-script-lacks-debhelper-token debian/postinst
+phpwiki: postinst-uses-db-input
+phpwiki: package-contains-upstream-install-documentation
+phpwiki: non-standard-dir-perm var/lib/phpwiki/ 2775 != 0755
+phpwiki: multiselect-without-dependency
--- phpwiki-1.3.12p2.orig/debian/config
+++ phpwiki-1.3.12p2/debian/config
@@ -0,0 +1,111 @@
+#!/usr/bin/perl -w
+
+# Debconf script for phpwiki, written by Matthew Palmer <mpalmer@ieee.org>
+# This script is released under the terms of the GPL version 2.
+
+use strict;
+use Debconf::Client::ConfModule ':all';
+use Debconf::Log ':all';
+
+# Preliminaries
+version('2.0');
+my $capb=capb('backup');
+debug "developer" => "Capb returned $capb";
+
+# The backup-supporting, all singing, all dancing debconf state machine.
+# Honestly, since this would have to be a fairly common requirement,
+# shouldn't there be some sort of automatic debconf state machine generator?
+# yes, I know, 'show us the code'.
+
+# Put a sentinel exit at the top of the stack to pull us out if the user
+# decides to back *right* out of the script.
+push(my @STATESTACK, "exit");
+
+# The initial state.
+my $STATE="intro";
+
+# The mechanics of this system are quite simple.  If the state subroutine
+# returns the name of a state, we move to that state.  Else we take the
+# previous state off the stack and run that one again.
+#
+# Every possible state should be represented by a subroutine of the same
+# name, which returns either the name of the next state to be called, or
+# undef if we're to go back.
+while ($STATE ne "exit") {
+	no strict 'refs';
+	my $NEXTSTATE = &$STATE;
+	use strict;
+
+	if ($NEXTSTATE) {
+		push(@STATESTACK, $STATE);
+	} else {
+		$NEXTSTATE = pop(@STATESTACK);
+	}
+	$STATE=$NEXTSTATE;
+}
+
+# All done!
+
+sub intro
+{
+	title("PHPWiki Configuration");
+	input("low", "phpwiki/notes/introduction");
+	my @ret=go();
+	if ($ret[0] == 30) {
+		return undef;
+	} else {
+		return "docroot";
+	}
+}
+
+sub docroot
+{
+	title("PHPWiki Document Root");
+	input("high", "phpwiki/system/documentroot");
+	my @ret = go();
+	if ($ret[0] == 30) {
+		return undef;
+	} else {
+		return "accessible";
+	}
+}
+
+sub accessible
+{
+	title("Access Control");
+	input("medium", "phpwiki/system/accessible");
+	my @ret = go();
+	if ($ret[0] == 30) {
+		return undef;
+	}
+	@ret = get("phpwiki/system/accessible");
+	if ($ret[1] eq "local network") {
+		return "localnet";
+	} else {
+		return "purgepages";
+	}
+}
+
+sub localnet
+{
+	title("Local Network specification");
+	input("critical", "phpwiki/system/localnet");
+	my @ret = go();
+	if ($ret[0] == 30) {
+		return undef;
+	} else {
+		return "purgepages";
+	}
+}
+
+sub purgepages
+{
+	title("Purging pages on removal");
+	input("high", "phpwiki/system/purgepages");
+	my @ret = go();
+	if ($ret[0] == 30) {
+		return undef;
+	} else {
+		return "exit";
+	}
+}
--- phpwiki-1.3.12p2.orig/debian/copyright
+++ phpwiki-1.3.12p2/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Matthew Palmer <mpalmer@debian.org> on
+Fri,  2 Aug 2002 22:12:44 +1000.
+
+It was downloaded from http://belnet.dl.sourceforge.net/phpwiki/
+
+Upstream Author:
+Copyright: The PHPWiki programming Team.  See /usr/share/phpwiki/index.php
+for the full list of names.
+
+Released under the GPL.  See /usr/share/common-licenses/GPL.
+
+The adodb database abstraction layer is copyright (c) 2000, 2001 John Lim. 
+"This software is dual licensed using BSD-Style and LGPL. Where there is any
+discrepancy, the BSD-Style license will take precedence."  See
+/usr/share/common-licenses/BSD and /usr/share/common-licenses/LGPL for the
+exact terms of these licences.
+
+The moacdropdown code in the default theme (themes/default/moacdropdown) is
+copyright (c) 2004-2005, Mircho Mirev and is licensed under the BSD license.
+See /usr/share/common-licenses/BSD
--- phpwiki-1.3.12p2.orig/debian/migrate-phpwiki-config
+++ phpwiki-1.3.12p2/debian/migrate-phpwiki-config
@@ -0,0 +1,207 @@
+#!/usr/bin/perl -w
+#
+# phpwiki configuration file migration script
+#
+# Author:   Matt Brown <matt@mattb.net.nz>
+# Version:  $Id: migrate-phpwiki-config 107 2005-10-21 10:57:16Z matt $
+#
+# Run this script without any arguments for usage information.
+#
+# This script is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# PhpWiki is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with PhpWiki; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+# Store the values
+# In the form $values{$varname} = (value, comment_state)
+# Where value is the value in index.php and comment_state indicates
+# whether the line was commented or not
+%values = ();
+
+# Check we got a template specified on the command line
+if ($#ARGV < 0) {
+    print "Usage: ./phpwiki-migrate-config <config-template.ini>\n\n";
+    print "Takes an old style (<= 1.3.9) index.php configuration file\n";
+    print "for phpwiki and outputs a new style (>= 1.3.10) config.ini\n";
+    print "configuration file for phpwiki based on a supplied template.\n";
+    print "\n";
+    print "config-template.ini should be a valid phpwiki config.ini\n";
+    print "file with each valid directive occuring only once and\n";
+    print "uncommented. The value of the directive in the template\n";
+    print "should be set to a default value.\n\n";
+    print "The values extracted from the old config file will be\n";
+    print "substituted into this file as necessary. Commented out\n";
+    print "directives in index.php will remain commented in config.ini\n";
+    
+    exit 1;
+}
+
+# Read in values from index.php which should be piped to stdin
+open INDEXPHP, "-";
+
+$epmaj = 0;
+$epmin = 0;
+
+while (<INDEXPHP>)
+{
+    $name = "";
+    # Check if the line starts with a comment (# or / char)
+    $is_comment = /^[#\/]/;
+    if (!$is_comment) {
+        $is_comment = 0;
+    }
+    
+    # Process expire parameters
+    if (/'keep'/) {
+        ($value) = (/'keep'\s*=>\s*(.*)\)/);
+        if ($epmaj) {
+            $name = "MAJOR_KEEP";
+        } elsif ($epmin) {
+            $name = "MINOR_KEEP";
+        }
+    }
+    $epmaj = 0;
+    $epmin = 0;
+
+    # Skip some known bad options
+    if (/ALLOW_LDAP_LOGIN/) {
+        next;
+    } elsif (/ALLOW_IMAP_LOGIN/) {
+        next;
+        
+    # Process defined values
+    } elsif (/define\s*\(/) {
+        # Extract the name of the define and the value of it
+        ($name, $value) = (/define\s*\(\s*['"](.*)['"]\s*,\s*['"]*([^'"]*)['"]*\s*\)/);
+
+    # Process PHP variable values
+    } elsif (/HTML_DUMP_SUFFIX\s*=/) {
+        ($name, $value) = (/\$(\w*)\s*=\s*['"](.*)['"];\s*/);
+    } elsif (/AllowedProtocols\s*=/) {
+        ($value) = (/\$\w*\s*=\s*(.*);\s*/);
+        $name = "ALLOWED_PROTOCOLS";
+    } elsif (/InlineImages\s*=/) {
+        ($value) = (/\$\w*\s*=\s*(.*);\s*/);
+        $name = "INLINE_IMAGES";
+    } elsif (/WikiNameRegexp\s*=/) {
+        ($value) = (/\$\w*\s*=\s*(.*);\s*/);
+        $name = "WIKI_NAME_REGEXP";
+
+    # Process arrays that need to be converted
+    } elsif (/GenericPages\s*=/) {
+        ($value) = (/\$\w*\s*=\s*array\((.*)\)/);
+        $name = "DEFAULT_WIKI_PAGES";
+        $value =~ s/[" ]//g;
+        $value =~ s/,/:/g;
+        $value = "\"$value\""
+    } elsif (/keywords\s*=/) {
+        ($value) = (/\$\w*\s*=\s*array\((.*)\)/);
+        $name = "KEYWORDS";
+        $value =~ s/[" ]//g;
+        $value =~ s/,/:/g;
+        $value = "\"$value\""
+        
+    # Process database paramters
+    } elsif (/'dbtype'\s*=>/) {
+        ($value) = (/'dbtype'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_TYPE";
+    } elsif (/'dsn'\s*=>/) {
+        ($value) = (/'dsn'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_DSN";
+    } elsif (/'timeout'\s*=>/) {
+        ($value) = (/'timeout'\s*=>\s*(.*)\s*,/);
+        $name = "DATABASE_TIMEOUT";
+    } elsif (/'db_session_table'\s*=>/) {
+        ($value) = (/'db_session_table'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_SESSION_TABLE";
+    } elsif (/'prefix'\s*=>/) {
+        ($value) = (/'prefix'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_PREFIX";
+    } elsif (/'directory'\s*=>/) {
+        ($value) = (/'directory'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_DIRECTORY";
+    } elsif (/'dba_handler'\s*=>/) {
+        ($value) = (/'dba_handler'\s*=>\s*['"](.*)['"]/);
+        $name = "DATABASE_DBA_HANDLER";
+    
+    # Process Expire Parameters
+    } elsif (/\$ExpireParams\['major'\]\s*=/) {
+        ($value) = (/'max_age'\s*=>\s*(.*),/);
+        $name = "MAJOR_MAX_AGE";
+        $epmaj = 1;
+    } elsif (/\$ExpireParams\['minor'\]\s*=/) {
+        ($value) = (/'max_age'\s*=>\s*(.*),/);
+        $name = "MINOR_MAX_AGE";
+        $epmin = 1;
+        
+    # Process include path
+    } elsif (/ini_set.*include_path'/) {
+        ($value) = (/ini_set.*include_path'\s*,\s*(.*)\s*\)/);
+        $name = "INCLUDE_PATH";
+        
+    }
+    if ($name =~ /^$/) {
+        next;
+    }
+    
+    # Put it into the array
+    if (exists $values{$name} && $is_comment) {
+        # If we already have a value and this one is commented, skip it
+        next;
+    }
+    #print "$name => $value ($is_comment)\n";
+    $values{$name} = [$value, $is_comment];
+        
+}
+
+close INDEXPHP;
+
+# Print values we got
+#for my $name ( keys %values ) {
+#    ($value, $is_comment) = @{$values{$name}};
+#    print "$name => $value";
+#    if ($is_comment) { print " (commented)"; }
+#    print "\n";
+#}
+
+# Write out migration header
+print "; phpwiki 1.3.10 configuration automatically generated by\n";
+print "; migrate-phpwiki-config script\n\n";
+
+# Write out config.ini, substituting values as needed
+open CONFTEMP, "< $ARGV[0]"
+    or die "Failed to open $ARGV[0]: $!\n";
+
+while (<CONFTEMP>)
+{
+    # Look for config var lines
+    if (!/\w* = /) {
+        print $_;
+        next;
+    }
+
+    ($name) = (/(\w*) = /);
+    if (!exists $values{$name}) {
+        print $_;
+        next;
+    }
+    ($value, $is_comment) = @{$values{$name}};
+    if ($is_comment) {
+        print "; $name = $value\n";
+    } else {
+        print "$name = $value\n";
+    }
+}
+
+close CONFTEMP;
+
+exit 0;
--- phpwiki-1.3.12p2.orig/debian/watch
+++ phpwiki-1.3.12p2/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://dl.sf.net/phpwiki/phpwiki-(.*)\.(tgz|tar\.gz) debian
--- phpwiki-1.3.12p2.orig/debian/po/templates.pot
+++ phpwiki-1.3.12p2/debian/po/templates.pot
@@ -0,0 +1,211 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/cs.po
+++ phpwiki-1.3.12p2/debian/po/cs.po
@@ -0,0 +1,243 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2004-11-07 12:40+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <provoz@debian.cz>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "Vítejte ve svìtì PHPWiki!"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"Toto je automatizovaný systém pro vytváøení konfiguraèních souborù PHPWiki. "
+"Pøesto¾e je tento nástroj velmi jednoduchý a rozhodnì se nesna¾í pokrýt "
+"v¹echny mo¾nosti nastavení PHPWiki, plnì dostaèuje pro jednoduché instalace. "
+"Pøejete-li si vyu¾ít pokroèilej¹ích vlastností PHPWiki, budete muset upravit "
+"soubor /etc/phpwiki/index.php ruènì."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "Kde se bude nacházet web PHPWiki?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"Jedná se o adresáø na va¹em webu, který budou u¾ivatelé pou¾ívat pro pøístup "
+"k PHPWiki. Implicitnì to je http://vas-server/phpwiki, ale mù¾ete si zvolit "
+"vlastní umístìní. Zadejte pouze èást s adresáøovou cestou (bez jména "
+"serveru)."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "pouze tento poèítaè, místní sí», kdokoliv"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "Kdo má mít pøístup k PHPWiki?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"Wiki se obvykle pou¾ívá pro neomezený pøístup k informacím, které mohou být "
+"svobodnì upravovány kýmkoliv. Proto¾e to není v¾dy to, co chcete, mù¾ete "
+"omezit pøístup ke stránkám na základì IP adresy náv¹tìvníka."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Vyberete-li 'pouze tento poèítaè', budou se moci pøipojit pouze u¾ivatelé z "
+"tohoto poèítaèe (na kterém bì¾í Wiki). Volba 'místní sí»' umo¾ní pøístup "
+"u¾ivatelùm z poèítaèù umístìných v místní síti (budete ji muset zadat). "
+"Poslední mo¾nost povolí pøipojení k Wiki komukoliv odkudkoliv."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"Z bezpeènostních dùvodù je pøednastavena mo¾nost 'pouze tento poèítaè'. "
+"Pokud nemáte speciální po¾adavky na soukromí informací ulo¾ených ve Wiki, "
+"mìlo by jít povolit pøístup odkudkoliv, ani¾ by se tím sní¾ila bezpeènost "
+"systému."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "Lokální sí»"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"Jak je definována va¹e lokální sí»? Mù¾ete ji zadat jako rozsah IP adres v "
+"CIDR tvaru (x.x.x.x/y) nebo jako doménu (tøeba *.mojedomena.cz)."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"Kdokoliv kdo splòuje kritétia zadaná ní¾e bude mít plný pøístup k PHPWiki."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "Odstranit stránky pøi odinstalování?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Implicitnì uchovává PHPWiki v¹echny své stránky v souborové databázi ve /var/"
+"lib/phpwiki. Mají se tyto soubory odstranit pøi odinstalování balíku?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"Pøijetím této mo¾nosti sice budete mít po odstranìní PHPWiki \"uklizenìj¹í\" "
+"systém, ale mù¾ete tak nechtìnì pøijít o data, která se ve Wiki za tu dobu "
+"nashromá¾dí."
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "apache, apache-ssl, apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "Na které servery chcete phpwiki nainstalovat?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki se mù¾e nainstalovat na libovolný z nabízených webových serverù. Ke "
+"ka¾dému serveru, který zde vyberete, se pøidá konfiguraèní øádek, je¾ "
+"nainstaluje PHPWiki podle odpovìdí, které jste zadali døíve."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/pt_BR.po
+++ phpwiki-1.3.12p2/debian/po/pt_BR.po
@@ -0,0 +1,251 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki_1.3.6-2\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2004-02-08 13:13-0300\n"
+"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "Bem-vindo ao PHPWiki !"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"Este é um gerador de configuração automática para o PHPWiki. A idéia não é "
+"configurar tudo e, de fato, tudo que este processo de configuração fará é "
+"gerar um PHPWiki básico e 'standalone'. Será suficiente para simples "
+"instalações locais, mas não representa todas as capacidades do PHPWiki. Caso "
+"você queira utilizar os recursos mais avançados do Wiki, por favor, edite o "
+"arquivo /etc/phpwiki/index.php manualmente."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "Onde a localização acessível via web do PHPWiki deverá estar ?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"Este é o diretório de seu site web que as pessoas deverão usar para acessar "
+"o PHPWiki. Por padrão, este é http://seuservidor/phpwiki, mas você pode mudá-"
+"lo para qualquer diretório dentro de seu servidor. Informe somente a porção "
+"do diretório (sem a URL completa) abaixo."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "somente localhost, rede local, global"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "Quem poderá acessar seu PHPWiki ?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"Um Wiki normalmente é usado para oferecer acesso sem restrições a "
+"informação, a qual pode ser livremente modificada por qualquer um. Uma vez "
+"que algumas vezes isso não é o que você deseja, é possível restringir o "
+"acesso ao site com base no endereço IP de origem da conexão."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Caso você selecione 'somente localhost', somente as pessoas no host local (a "
+"máquina onde o Wiki está em execução) serão capazes de se conectar ao Wiki. "
+"A opção 'rede local' irá permitir que as pessoas em máquinas na rede local "
+"(a qual você poderá especificar) acessem o Wiki. A opção 'global' permitirá "
+"a todos, de qualquer lugar, conectarem ao Wiki."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"Por segurança, o padrão é a opção 'somente localhost'. A menos que você "
+"possua uma necessidade particular de privacidade em seu Wiki, você deverá "
+"ser capaz de permitir acesso globalmente sem compormeter a segurança do site."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "Rede local"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"O que é definido como sua rede local ? A especificação deverá ser uma rede "
+"IP no formato CIDR (x.x.x.x/y) ou uma especificação de domínio (como "
+"meudominio.com)."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"Acesso completo e irestrito ao PHPWiki será dado a qualquer conexão que case "
+"com a especificação dada a seguir."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "Remover páginas ao remover o PHPWiki ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Por padrão, o PHPWiki armazena todas as suas páginas em um arquivo de base "
+"de dados em /var/lib/phpwiki. Você gostaria que o PHPWiki removesse "
+"quaisquer arquivos de bases de dados quando o pacote do PHPWiki fosse "
+"removido ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"Aceitar esta opção irá lhe deixar com um sistema limpo quando o pacote "
+"PHPWiki for removido, mas poderá causar perda de informação caso você possua "
+"um Wiki operacional que seja removido."
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "Apache, Apache-SSL, Apache-Perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "Em qual servidor web você deseja instalar ?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"O PHPWiki pode ser instalado em qualquer um dos servidores web listados. "
+"Todos os servidores web especificados terão uma linha de configuração padrão "
+"adicionada aos mesmos para instalar um PHPWiki padrão com os padrões "
+"especificados neste processo de configuração."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/fr.po
+++ phpwiki-1.3.12p2/debian/po/fr.po
@@ -0,0 +1,251 @@
+# French po-debconf translation of phpwiki
+# Frédéric ZULIAN <f1sxo@ref-union.org>, 2004-2005
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki 1.3.11\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2005-12-19 18:22+0100\n"
+"Last-Translator: Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: French\n"
+"X-Poedit-Country: FRANCE\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "Configuration automatique de PHPWiki"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"Cet outil de configuration ne permet pas de tout configurer. Il se "
+"contentera de réaliser une configuration basique de PHPWiki. Il est "
+"suffisant pour les installations locales simples, mais n'intègre pas toutes "
+"les possibilités de PHPWiki. Si vous voulez utiliser les options avancées du "
+"Wiki, vous pouvez modifier vous-même le fichier /etc/phpwiki/config.ini."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+"Veuillez consulter les notes importantes pour la première fois que vous "
+"chargez des pages dans votre nouveau Wiki dans /usr/share/doc/phpwiki/README."
+"Debian."
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "Adresse Web du PHPWiki :"
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"Veuillez indiquer l'URL d'accès au PHPWiki. Par défaut, l'adresse http://"
+"yourserver/phpwiki est utilisée. Vous pouvez cependant la changer pour une "
+"autre adresse sur votre serveur. N'indiquez que le répertoire concerné."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "Hôte local uniquement, Réseau local uniquement, Toutes"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "Adresses autorisées à accéder à votre PHPWiki :"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"Un Wiki est normalement libre d'accès, il peut être modifié par n'importe "
+"qui. Il est cependant possible de restreindre son accès en fonction des "
+"adresses IP d'origine des clients."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Si vous choisissez « Hôte local uniquement », seules les connexions "
+"provenant du serveur lui-même seront autorisées. « Réseau local » autorisera "
+"uniquement les personnes utilisant les machines du réseau local (que vous "
+"devrez préciser) à accéder au Wiki. « Toutes » autorisera tout le monde à "
+"accéder au Wiki. "
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"Pour des raisons de sécurité, l'accès au Wiki est configuré par défaut à "
+"« Hôte local uniquement ». A moins que vous ne souhaitiez restreindre "
+"l'accès de votre Wiki à un usage privé, vous devriez pouvoir permettre un "
+"accès global avec « Toutes » sans compromettre la sécurité de votre serveur."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "Réseau local :"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"Veuillez définir votre réseau local. Vous pouvez indiquer une adresse IP au "
+"format CIDR (x.x.x.x/y) ou un nom de domaine tel que mondomaine.com."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"Tout utilisateur répondant aux critères ci-dessous disposera d'un accès "
+"complet au PHPWiki."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "Faut-il supprimer les pages du Wiki lors de la suppression du paquet ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Par défaut, PHPWiki archive les pages dans /var/lib/phpwiki. Les fichiers de "
+"bases de données peuvent être supprimés lors de la suppression du paquet."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"Cette suppression vous permettra de disposer d'un système plus « propre » "
+"quand PHPWiki sera supprimé. Cependant, vous risquez de perdre des "
+"informations si vous supprimez un Wiki actif."
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "Apache, Apache-ssl, Apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "Type de serveur web à configurer :"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki peut s'installer avec n'importe quel serveur Web. Tous les serveurs "
+"que vous choisirez se verront ajouter une ligne de configuration par défaut. "
+"Cela permettra l'installation d'un PHPWiki standard avec les paramètres que "
+"vous avez indiqués précédemment."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr "Nouvelle méthode de configuration"
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+"PHPWiki 1.3.10 implémente une nouvelle méthode de configuration pour "
+"laquelle les données de configuration ne sont plus enregistrées dans le "
+"fichier index.php. La syntaxe de configuration a été standardisée et toutes "
+"les directives se trouvent maintenant dans config.ini."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+"La conversion automatique de votre fichier de configuration a été réalisée "
+"et devrait couvrir votre configuration dans la majorité des cas. Le "
+"processus de conversion n'étant cependant pas parfait, veuillez vérifier "
+"soigneusement le nouveau fichier de configuration /etc/phpwiki/config.ini."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
+"Il y a en particulier des problèmes connus pour la conversion des fichiers "
+"de configuration lorsque la gestion des comptes utilisateurs est faite de "
+"manière externe (LDAP, IMAP, SQL, etc.). Ces méthodes ne sont pas utilisées "
+"par le paquet Debian standard et leur configuration est laissé à "
+"l'initiative de l'administrateur."
--- phpwiki-1.3.12p2.orig/debian/po/es.po
+++ phpwiki-1.3.12p2/debian/po/es.po
@@ -0,0 +1,262 @@
+# phpwiki translation to spanish
+# Copyright (C) 2004 Software in the Public Interest
+# This file is distributed under the same license as the phpwiki package.
+#
+# Changes:
+# - Initial translation
+#       Carlos Galisteo de Cabo <cgalisteo@k-rolus.net>, 2004
+#
+#
+#  Traductores, si no conoce el formato PO, merece la pena leer la
+#  documentación de gettext, especialmente las secciones dedicadas a este
+#  formato, por ejemplo ejecutando:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+#   http://www.debian.org/intl/spanish/coordinacion
+#   especialmente las notas de traducción en
+#   http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+#   /usr/share/doc/po-debconf/README-trans
+#   o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki 1.3.7-3\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Carlos Galisteo <cgalisteo@k-rolus.net>\n"
+"Language-Team: Debian l10n spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "¡Bienvenido a PHPWiki!"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"Esto es un generador de configuración automático para PHPWiki. No pretende "
+"hacerlo todo, de hecho, todo lo que hará es generar un PHPWiki básico e "
+"independiente. Esto es suficiente para instalaciones locales simples, pero "
+"no abarca todas las capacidades de PHPWiki. Si quiere usar las "
+"características más avanzadas del Wiki, por favor, edite /etc/phpwiki/index."
+"php usted mismo."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "¿Dónde debería ubicarse la parte accesible por web del PHPWiki?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"Este es el directorio de su sitio web que la gente debería usar para acceder "
+"al PHPWiki. Por omisión, es http://su-servidor/phpwiki, pero puede cambiarlo "
+"a cualquier lugar dentro de su servidor. Introduzca debajo sólo la parte del "
+"directorio."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "sólo equipo local, red local, global"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "¿Quién debería ser capaz de acceder a su PHPWiki?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"Un Wiki es usado normalmente para proporcionar acceso sin restricciones a la "
+"información, que puede ser libremente modificada por cualquiera. Dado que "
+"esto no es lo que se desea algunas veces, es posible restringir el acceso al "
+"sitio en base a la dirección IP de origen."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Si selecciona «sólo equipo local», la gente sólo sera capaz de "
+"conectarsedesde el equipo local (el equipo en el que se ejecuta el Wiki). "
+"«Red local» permitirá a la gente en equipos de una red local (que necesitará "
+"especificar) hablar con el Wiki. «global» permitirá conectarse al Wiki a "
+"cualquiera, desde cualquier sitio."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"Por seguridad, esto está fijado a «equipo local» por omisión. A menos que "
+"tenga una particular necesidad de privacidad en su Wiki, debería poder "
+"habilitar el acceso globalmente sin comprometer la seguridad del sitio."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "Red local"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"¿Qué red tiene definida como local? La especificación puede ser bien una red "
+"IP en formato CIDR (x.x.x.x/y) o bien un dominio (como *.midominio.com)"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"Cualquiera que cumpla los requisitos dados debajo será provisto de total y "
+"completo acceso al PHPWiki."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "¿Purgar páginas al eliminar?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Por omisión, PHPWiki almacena todas sus paginas en un archivo de base de "
+"datos en /var/lib/phpwiki. ¿Desea que PHPWiki borre cualquier archivo de "
+"base de datos cuando quite el paquete?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"Aceptar esta opción le dejara el sistema más ordenado cuando quite el "
+"paquete PHPWiki, pero puede causar perdida de información si tiene un Wiki "
+"operativo que resulta borrado."
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "apache, apache-ssl, apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "¿Para qué servidores web desea instalar PHPWiki?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki puede instalarse para cualquiera de los servidores web mencionados. "
+"En todos aquellos que usted especifique se añadirá una linea de "
+"configuración para instalar un PHPWiki standard con los valores por omisión "
+"que usted especifico anteriormente."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/ja.po
+++ phpwiki-1.3.12p2/debian/po/ja.po
@@ -0,0 +1,245 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2005-05-01 16:05+0900\n"
+"Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "PHPWiki ¤Ø¤è¤¦¤³¤½!"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"¤³¤ì¤Ï PHPWiki ¤ÎÀßÄê¼«Æ°À¸À®¥Ä¡¼¥ë¤Ç¤¹¡£¤¹¤Ù¤Æ¤ò¹Ô¤¦¤³¤È¤òÌÜÅª¤È¤Ï¤·¤Æ¤ª¤é"
+"¤º¡¢¼ÂºÝ¡¢´ðËÜÅª¤Ê¥¹¥¿¥ó¥É¥¢¥í¥ó¤Î PHPWiki ¤òÀ¸À®¤¹¤ë¤Î¤¬ÌÜÅª¤Î¤¹¤Ù¤Æ¤Ç¤¹¡£´Ê"
+"ÁÇ¤Ê¥í¡¼¥«¥ë¥¤¥ó¥¹¥È¥ì¡¼¥·¥ç¥ó¤È¤·¤Æ¤Ï½½Ê¬¤Ç¤¹¤¬¡¢PHPWiki ¤ÎÇ½ÎÏ¤Î¤¹¤Ù¤Æ¤ò´Þ"
+"¤ó¤Ç¤Ï¤¤¤Þ¤»¤ó¡£Wiki ¤Î¤µ¤é¤Ë¹âÅÙ¤Êµ¡Ç½¤ò»È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢/etc/phpwiki/"
+"index.php ¤ò¤¢¤Ê¤¿¼«¿È¤ÇÊÔ½¸¤·¤Æ¤¯¤À¤µ¤¤¡£"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "Web ¥¢¥¯¥»¥¹²ÄÇ½¤Ê PHPWiki ¤Î¾ì½ê¤ò¤É¤³¤Ë¤·¤Þ¤¹¤«?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"¤³¤ì¤Ï¡¢¥æ¡¼¥¶¤¬ PHPWiki ¤Ø¤Î¥¢¥¯¥»¥¹¤Ë»È¤¦¤¢¤Ê¤¿¤Î Web ¥µ¥¤¥È¤Ë½Ð¤¹¥Ç¥£¥ì¥¯"
+"¥È¥ê¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤³¤ì¤Ï http://¤¢¤Ê¤¿¤Î¥µ¡¼¥Ð/phpwiki ¤Ç¤¹¤¬¡¢¤¢¤Ê¤¿"
+"¤Î¥µ¡¼¥ÐÆâ¤Î¤É¤³¤Ë¤Ç¤âÊÑ¹¹¤Ç¤­¤Þ¤¹¡£°Ê²¼¤Ë¥Ç¥£¥ì¥¯¥È¥êÉôÊ¬¤À¤±¤òÆþÎÏ¤·¤Æ¤¯¤À"
+"¤µ¤¤¡£"
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "localhost ¤Î¤ß, ¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯, ¥°¥í¡¼¥Ð¥ë"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "¤¢¤Ê¤¿¤Î PHPWiki ¤Ë¥¢¥¯¥»¥¹²ÄÇ½¤ÊÈÏ°Ï¤Ï¤É¤ì¤Ç¤¹¤«?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"Wiki ¤ÏÄÌ¾ï¡¢Ã¯¤Ë¤Ç¤â¼«Í³¤ËÊÑ¹¹¤Ç¤­¤ë¡¢¾ðÊó¤Ø¤Î¼«Í³¤Ê¥¢¥¯¥»¥¹¤òÄó¶¡¤¹¤ë¤Î¤Ë»È"
+"¤ï¤ì¤Þ¤¹¡£¤³¤ì¤òÍß¤·¤Ê¤¤¤È¤¤¤¦¿Í¤â¤È¤­¤É¤­¤¤¤ë¤Î¤Ç¡¢È¯¿®¸µ IP ¥¢¥É¥ì¥¹¤Ë´ð¤¤"
+"¤Æ¥µ¥¤¥È¤Ø¤Î¥¢¥¯¥»¥¹¤òÀ©¸Â¤¹¤ëµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"'localhost ¤Î¤ß' ¤òÁª¤Ö¤È¡¢localhost (Wiki ¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¥Þ¥·¥ó) ¾å¤Î¥æ¡¼¥¶¤Î"
+"¤ß¤¬ÀÜÂ³¤Ç¤­¤Þ¤¹¡£'¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯' ¤Ï¡¢¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯ (ÈÏ°Ï¤ò»ØÄê"
+"¤¹¤ëÉ¬Í×¤¬¤¢¤ê¤Þ¤¹) Æâ¤Î¥Þ¥·¥ó¾å¤Î¥æ¡¼¥¶¤Ë Wiki ¤ÈÂÐÏÃ¤¹¤ë¤³¤È¤òµö²Ä¤·¤Þ"
+"¤¹¡£'¥°¥í¡¼¥Ð¥ë' ¤Ï¤É¤³¤ÎÃ¯¤Ë¤Ç¤â Wiki ¤ËÀÜÂ³¤¹¤ë¤³¤È¤òµö²Ä¤·¤Þ¤¹¡£"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýÍ³¤Ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤³¤ì¤Ï 'localhost only' ¤¬ÀßÄê¤µ¤ì¤Æ¤¤¤Þ"
+"¤¹¡£¤¢¤Ê¤¿¤Î Wiki ¤Î¥×¥é¥¤¥Ð¥·¡¼¤Ë¤È¤Ã¤ÆÆÃÊÌ¤ËÉ¬Í×¤¬¤Ê¤¤¸Â¤ê¡¢¥»¥­¥å¥ê¥Æ¥£¾å"
+"µ¿¤ï¤·¤¤¥µ¥¤¥È°Ê³°¤Ï¥°¥í¡¼¥Ð¥ë¥¢¥¯¥»¥¹¤ò²ÄÇ½¤Ë¤¹¤Ù¤­¤Ç¤¹¡£"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"¤¢¤Ê¤¿¤Î¥í¡¼¥«¥ë¥Í¥Ã¥È¥ï¡¼¥¯¤ò¤É¤Î¤è¤¦¤ËÄêµÁ¤·¤Þ¤¹¤«? ¤³¤Î»ØÄê¤Ï¡¢CIDR ·Á¼°"
+"¤Î IP ¥Í¥Ã¥È¥ï¡¼¥¯ (x.x.x.x/y) ¤Þ¤¿¤Ï¥É¥á¥¤¥ó»ØÄê (*.mydomain.com ¤Ê¤É) ¤Î¤É"
+"¤Á¤é¤«¤Ç¤¹¡£"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"°Ê²¼¤ÇÍ¿¤¨¤¿»ØÄê¤ËÅ¬¹ç¤¹¤ë¿Í¤ÏÃ¯¤Ç¤â¡¢PHPWiki ¤Ø¤Î´°Á´¤Ê¥¢¥¯¥»¥¹¤òÍ¿¤¨¤é¤ì¤ë"
+"¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "ºï½ü»þ¤Ë¥Ú¡¼¥¸¤âºï½ü¤·¤Þ¤¹¤«?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢PHPWiki ¤Ï¤½¤Î¥Ú¡¼¥¸¤Î¤¹¤Ù¤Æ¤ò /var/lib/phpwiki Æâ¤Î¥Õ¥¡¥¤¥ë"
+"¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë³ÊÇ¼¤·¤Þ¤¹¡£¥Ñ¥Ã¥±¡¼¥¸¤òºï½ü¤¹¤ë¤È¤­¤Ë¡¢PHPWiki ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹"
+"¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Þ¤¹¤«?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"¤³¤ÎÁªÂò»è¤Ç¡Ö¤Ï¤¤¡×¤ÈÅú¤¨¤ë¤È¡¢PHPWiki ¥Ñ¥Ã¥±¡¼¥¸¤¬ºï½ü¤µ¤ì¤¿¤È¤­¤Ë¸µ¤Î»Ñ¤Î"
+"¥·¥¹¥Æ¥à¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢ºï½üÂÐ¾Ý¤Ë¤Ê¤ëÆ°ºîÃæ¤Î Wiki ¤Ç¾ðÊó¤ÎÁÓ¼º¤¬È¯À¸¤¹¤ë¤³¤È"
+"¤Ë¤Ê¤ê¤Þ¤¹¡£"
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "apache, apache-ssl, apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "¤É¤Î Web ¥µ¡¼¥Ð¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¤¤Ç¤¹¤«?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki ¤Ï»ØÄê¤µ¤ì¤¿ Web ¥µ¡¼¥Ð¤Î¤É¤ì¤Ë¤Ç¤â¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¡£¹Ô¤¦¤Ù¤­¤³¤È"
+"¤Ï¡¢»öÁ°¤Ë»ØÄê¤·¤¿¥Ç¥Õ¥©¥ë¥È¤ÇÉ¸½à PHPWiki ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Ë¡¢¥Ç¥Õ¥©¥ë"
+"¥È¤ÎÀßÄê¹Ô¤òÄÉ²Ã¤¹¤ë¤³¤È¤Ç¤¹¡£"
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/POTFILES.in
+++ phpwiki-1.3.12p2/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
--- phpwiki-1.3.12p2.orig/debian/po/vi.po
+++ phpwiki-1.3.12p2/debian/po/vi.po
@@ -0,0 +1,238 @@
+# Vietnamese translation for phpwiki.
+# Copyright Â© 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki 1.3.7-3\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2005-07-04 17:29+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"X-Generator: LocFactoryEditor 1.2.2\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "ChÃºc má»«ng báº¡n sá»­ dá»¥ng PHPWiki!"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"TrÃ¬nh nÃ y tá»± Ä‘á»™ng táº¡o ra cáº¥u hÃ¬nh cho PHPWiki. NÃ³ khÃ´ng Ä‘Æ°á»£c thiáº¿t káº¿ Ä‘á»ƒ lÃ m "
+"má»i viá»‡c: thá»±c táº¿ lÃ  nÃ³ sáº½ chá»‰ táº¡o ra má»™t PHPWiki riÃªng cÆ¡ báº£n, mÃ  Ä‘á»§ cho "
+"báº£n cÃ i Ä‘áº·t Ä‘á»‹a phÆ°Æ¡ng Ä‘Æ¡n giáº£n, nhÆ°ng mÃ  khÃ´ng gá»“m táº¥t cáº£ cÃ¡c kháº£ nÄƒng cá»§a "
+"PHPWiki. Náº¿u báº¡n muá»‘n sá»­ dá»¥ng nhá»¯ng tÃ­nh nÄƒng cáº¥p cao hÆ¡n cá»§a Wiki nÃ y, hÃ£y "
+"tá»± hiá»‡u chá»‰nh táº­p tin Â«/etc/phpwiki/index.phpÂ»."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "Vá»‹ trÃ­ PHPWiki cÃ³ thá»ƒ truy cáº­p qua Máº¡ng nÃªn á»Ÿ Ä‘Ã¢u?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"Vá»‹ trÃ­ nÃ y lÃ  thÆ° má»¥c cá»§a nÆ¡i Máº¡ng báº¡n mÃ  ngÆ°á»i dÃ¹ng nÃªn dÃ¹ng Ä‘á»ƒ truy cáº­p "
+"PHPWiki nÃ y. Máº·c Ä‘á»‹nh lÃ  Â«http://yourserver/phpwikiÂ», nhÆ°ng mÃ  báº¡n cÃ³ thá»ƒ "
+"chá»n thÆ° má»¥c nÃ o trong trÃ¬nh phá»¥c vá»¥ báº¡n. HÃ£y nháº­p dÆ°á»›i Ä‘Ã¢y chá»‰ pháº§n thÆ° má»¥c "
+"cá»§a Ä‘Æ°á»ng dáº«n."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "chá»‰ mÃ¡y cá»¥c bá»™, máº¡ng cá»¥c bá»™, toÃ n cá»¥c"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "Báº¡n muá»‘n cho phÃ©p ai cÃ³ thá»ƒ truy cáº­p PHPWiki nÃ y?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"BÃ¬nh thÆ°á»ng, má»™t Wiki cho phÃ©p má»i ngÆ°á»i truy cáº­p thÃ´ng tin, mÃ  má»i ngÆ°á»i cÃ³ "
+"thá»ƒ sá»­a Ä‘á»•i. Tuy nhiÃªn, cÃ³ thá»ƒ giá»›i háº¡n truy cáº­p Ä‘á»±a vÃ o Ä‘á»‹a chá»‰ IP gá»‘c, náº¿u "
+"cáº§n."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Náº¿u báº¡n chá»n Â«chá»‰ mÃ¡y cá»¥c bá»™Â» thÃ¬ chá»‰ ngÆ°á»i trÃªn mÃ¡y Ä‘á»‹a phÆ°Æ¡ng (mÃ¡y cÃ³ cháº¡y "
+"Wiki nÃ y) sáº½ cÃ³ thá»ƒ káº¿t ná»‘i Ä‘áº¿n nÃ³. CÃ²n Â«máº¡ng cá»¥c bá»™Â» sáº½ cho phÃ©p ngÆ°á»i trÃªn "
+"mÃ¡y nÃ o trÃªn máº¡ng Ä‘á»‹a phÆ°Æ¡ng (mÃ  báº¡n sáº½ cáº§n ghi rÃµ) truy cáº­p Wiki nÃ y. Â«ToÃ n "
+"cá»¥cÂ» sáº½ cho phÃ©p má»i ngÆ°á»i, táº¡i má»i nÆ¡i, káº¿t ná»‘i Ä‘áº¿n Wiki nÃ y."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"Máº·c Ä‘á»‹nh lÃ  Â«chá»‰ mÃ¡y cá»¥c bá»™Â», tÃ¹y chá»n báº£o máº­t nháº¥t. Tuy nhiÃªn, trá»« báº¡n cáº§n "
+"sá»± riÃªng tÆ° má»™t cÃ¡ch Ä‘áº·c biá»‡t trong WIki nÃ y, cÃ³ thá»ƒ cho phÃ©p truy cáº­p toÃ n "
+"cá»¥c mÃ  khÃ´ng rá»§i ro báº£o máº­t cá»§a nÆ¡i nÃ y."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "máº¡ng cá»¥c bá»™"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"Báº¡n Ä‘á»‹nh nghÄ©a máº¡ng cá»¥c bá»™ tháº¿ nÃ o? HÃ£y nháº­p hoáº·c má»™t máº¡ng IP cÃ³ dáº¡ng CIDR "
+"(x.x.x.x/y) hoáº·c má»™t tÃªn miá»n (nhÆ° *.miá»ntÃ´i.com)."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr ""
+"Má»i ngÆ°á»i khá»›p vá»›i cÃ¡ch ghi rÃµ bÃªn dÆ°á»›i thÃ¬ sáº½ cÃ³ thá»ƒ truy cáº­p PHPWiki nÃ y "
+"hoÃ n thÃ nh."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "Táº©y trang khi loáº¡i bá» khÃ´ng?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Máº·c Ä‘á»‹nh lÃ  PHPWiki lÆ°u má»i trang cá»§a nÃ³ vÃ o má»™t táº­p tin cÆ¡ sá»Ÿ dá»¯ liá»‡u trong "
+"Â«/var/lib/phpwikiÂ». Báº¡n cÃ³ muá»‘n PHPWiki loáº¡i bá» cÃ¡c táº­p tin cÆ¡ sá»Ÿ dá»¯ liá»‡u "
+"khi báº¡n loáº¡i bá» gÃ³i tin nÃ y khÃ´ng?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"Cháº¥p nháº­n tÃ¹y chá»n nÃ y sáº½ lÃ m cho má»™t há»‡ thá»‘ng sáº¡ch hÆ¡n khi loáº¡i bá» gÃ³i tin "
+"PHPWiki, nhÆ°ng mÃ  cÃ³ láº½ sáº½ gÃ¢y ra thÃ´ng tin bá»‹ máº¥t náº¿u báº¡n loáº¡i bá» má»™t Wiki "
+"hoáº¡t Ä‘á»™ng."
+
+# Name: don't translate / TÃªn: Ä‘á»«ng dá»‹ch
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "apache, apache-ssl, apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "Báº¡n cÃ³ muá»‘n cÃ i Ä‘áº·t vÃ o trÃ¬nh phá»¥c vá»¥ Máº¡ng nÃ o?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki cÃ³ thá»ƒ cÃ i Ä‘áº·t vÃ o báº¥t cá»© trÃ¬nh phá»¥c vá»¥ nÃ o trong nhá»¯ng Ä‘iá»u Ä‘Æ°a ra. "
+"NÃ³ sáº½ thÃªm vÃ o má»—i trÃ¬nh Ä‘Ã£ chá»n má»™t dÃ²ng cáº¥u hÃ¬nh máº·c Ä‘á»‹nh Ä‘á»ƒ cÃ i Ä‘áº·t má»™t "
+"PHPWiki chuáº©n vá»›i nhá»¯ng giÃ¡ trá»‹ máº·c Ä‘á»‹nh do báº¡n cung cáº¥p trÆ°á»›c."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/po/fi.po
+++ phpwiki-1.3.12p2/debian/po/fi.po
@@ -0,0 +1,259 @@
+# translation of phpwiki to Finnish
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Matti PÃ¶llÃ¤ <mpo@iki.fi>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: phpwiki\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-12-01 18:19+1300\n"
+"PO-Revision-Date: 2004-07-14 16:06+0300\n"
+"Last-Translator: Matti PÃ¶llÃ¤ <mpo@iki>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid "Welcome to PHPWiki!"
+msgstr "Tervetuloa PHPWikiin!"
+
+#. Type: note
+#. Description
+#: ../templates:3
+#, fuzzy
+msgid ""
+"This is an automated config generator for PHPWiki.  It is not intended to do "
+"everything, in fact, all it will do is generate a basic, standalone "
+"PHPWiki.  It is sufficient for simple local installations, but does not "
+"encompass all of PHPWiki's capabilities.  If you want to use the more "
+"advanced features of the Wiki, please edit /etc/phpwiki/config.ini yourself."
+msgstr ""
+"TÃ¤mÃ¤ on PHPWikin automaattinen asetusohjelma. Automaatti ei silti tee \n"
+"kaikkea, vaan luo ainoastaan tavallisen itsenÃ¤isesti toimivan PHPWikin. "
+"TÃ¤mÃ¤ \n"
+"riittÃ¤Ã¤ yksinkertaisten paikallisten asennuksien tapauksessa, mutta ei "
+"huomioi \n"
+"kaikkia PHPWikin mahdollisuuksia. Jos haluat kÃ¤yttÃ¤Ã¤ Wikin edistyneempiÃ¤ \n"
+"ominaisuuksia, ole hyvÃ¤ ja muokkaa itse tiedostoa /etc/phpwiki/index.php."
+
+#. Type: note
+#. Description
+#: ../templates:3
+msgid ""
+"Please read /usr/share/doc/phpwiki/README.Debian for some important notices "
+"regarding the first time you load pages into your new Wiki."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:17
+msgid "Where should the web-accessible location of the PHPWiki be?"
+msgstr "MikÃ¤ tulisi olla PHPWikin verkko-osoite?"
+
+#. Type: string
+#. Description
+#: ../templates:17
+#, fuzzy
+msgid ""
+"This is the directory of your website that people should use to access the "
+"PHPWiki.  By default, this is http://yourserver/phpwiki, but you can change "
+"it to be anything within your server.  Enter just the directory portion "
+"below."
+msgstr ""
+"TÃ¤mÃ¤ on verkkosivustosi hakemisto, jota tulee kÃ¤yttÃ¤Ã¤ pÃ¤Ã¤stÃ¤kseen "
+"PHPWikiin. \n"
+"Oletusarvoisesti tÃ¤mÃ¤ on http://palvelimesi/phpwiki, mutta voit muuttaa "
+"sen \n"
+"miksikÃ¤ tahansa osoitteeksi palvelimellasi. RiittÃ¤Ã¤, ettÃ¤ syÃ¶tÃ¤t \n"
+"osoitteen hakemisto-osuuden alle."
+
+#. Type: select
+#. Choices
+#: ../templates:27
+msgid "localhost only, local network, global"
+msgstr "vain tÃ¤mÃ¤ kone, paikallisverkko, avoin"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid "Who should be able to access your PHPWiki?"
+msgstr "KenellÃ¤ tulisi olla pÃ¤Ã¤sy PHPWikiin?"
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"A Wiki is normally used to provide unfettered access to information, which "
+"can be freely modified by anyone.  Since that is sometimes not what one "
+"wants, it is possible to restrict access to the site on the basis of the "
+"originating IP address."
+msgstr ""
+"WikiÃ¤ kÃ¤ytetÃ¤Ã¤n yleensÃ¤ tarjoamaan esteetÃ¶n pÃ¤Ã¤sy tietoaineistoon, jota "
+"kuka \n"
+"tahansa voi muokata vapaasti. Koska tÃ¤mÃ¤ ei aina ole tarkoituksenmukaista, "
+"on \n"
+"mahdollista rajoittaa pÃ¤Ã¤sy sivustolle yhteyden ottajan IP-osoitteen "
+"perusteella."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"If you select 'localhost only', only people on the localhost (the machine "
+"the Wiki is running on) will be able to connect.  'local network' will allow "
+"people on machines in a local network (which you will need to specify) to "
+"talk to the Wiki.  'global' will allow anyone, any where, to connect to the "
+"Wiki."
+msgstr ""
+"Jos valitset \"vain tÃ¤mÃ¤ tietokone\", vain tÃ¤ltÃ¤ koneelta (johon Wiki on "
+"asennettu) \n"
+"on mahdollista pÃ¤Ã¤stÃ¤ Wikiin. \"paikallisverkko\" sallii pÃ¤Ã¤syn Wikiin "
+"vain \n"
+"paikallisverkon (joka sinun tulee mÃ¤Ã¤rittÃ¤Ã¤) sisÃ¤ltÃ¤. \"avoin\" antaa kenen "
+"tahansa \n"
+"ottaa yhteyden Wikiin mistÃ¤ tahansa."
+
+#. Type: select
+#. Description
+#: ../templates:29
+msgid ""
+"For security, this is set to 'localhost only' by default.  Unless you have a "
+"particular need for privacy on your Wiki, you should be able to allow access "
+"globally without compromising site security."
+msgstr ""
+"TurvallisuussyistÃ¤ \"vain tÃ¤mÃ¤ kone\" on oletusarvo. Ellei Wikin "
+"yksityisyyden \n"
+"suojaamiselle ole tarvetta, avoimen pÃ¤Ã¤syn ei pitÃ¤isi vaarantaa sivuston \n"
+"turvallisuutta."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid "Local network"
+msgstr "Paikallisverkko"
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"What is defined as your local network?  The specification should either be "
+"an IP network in CIDR format (x.x.x.x/y) or a domain specification (like *."
+"mydomain.com)."
+msgstr ""
+"MikÃ¤ on paikallisverkkosi osoite? MÃ¤Ã¤rittely tulisi olla joko IP-verkko \n"
+"CIDR-muodossa (x.x.x.x/y) tai verkkotunnus (kuten *.verkkotunnukseni.fi)."
+
+#. Type: string
+#. Description
+#: ../templates:50
+msgid ""
+"Anyone who matches the specification given below will be given full and "
+"complete access to the PHPWiki."
+msgstr "Kaikille alla mÃ¤Ã¤ritellyille annetaan tÃ¤ydet oikeudet PHPWikiin."
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid "Purge pages on removal?"
+msgstr "Poista sivut paketin poistamisen yhteydessÃ¤?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"By default, PHPWiki stores all it's pages in a file database in /var/lib/"
+"phpwiki.  Would you like PHPWiki to remove any database files when you "
+"remove the package?"
+msgstr ""
+"Oletusarvoisesti PHPWiki varastoi kaikki sivunsa tiedostotietokantaan \n"
+"/var/lib/phpwiki. Haluatko PHPWikin poistavan tietokantatiedostot \n"
+"pakettia poistettaessa?"
+
+#. Type: boolean
+#. Description
+#: ../templates:61
+msgid ""
+"Accepting this option will leave you with a tidier system when the PHPWiki "
+"package is removed, but may cause information loss if you have an "
+"operational Wiki that gets removed."
+msgstr ""
+"TÃ¤mÃ¤n valinnan hyvÃ¤ksyminen jÃ¤ttÃ¤Ã¤ jÃ¤rjestelmÃ¤si siistimmÃ¤ksi PHPWiki-"
+"paketin \n"
+"poistamisen jÃ¤ljiltÃ¤, mutta se saattaa aiheuttaa tiedon hÃ¤viÃ¤misen jos "
+"kÃ¤ytÃ¶ssÃ¤ \n"
+"oleva Wiki-sivusto poistetaan paketin mukana."
+
+#. Type: multiselect
+#. Choices
+#: ../templates:72
+msgid "apache, apache-ssl, apache-perl"
+msgstr "apache, apache-ssl, apache-perl"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid "Which web servers do you want to install into?"
+msgstr "Mihin webbipalvelimiin haluat suorittaa asennuksen?"
+
+#. Type: multiselect
+#. Description
+#: ../templates:74
+msgid ""
+"PHPWiki can install into any of the given web servers.  All those you "
+"specify will have a default config line added to them to install a standard "
+"PHPWiki with the defaults you specified earlier."
+msgstr ""
+"PHPWiki voidaan asentaa mihin tahansa annetuista webbipalvelimista. "
+"Kaikkiin \n"
+"mÃ¤Ã¤rittelemiisi lisÃ¤tÃ¤Ã¤n asetusrivi, joka suorittaa PHPWikin "
+"perusasennuksen \n"
+"edellÃ¤ mÃ¤Ã¤rittelemiesi oletuksien mukaisesti."
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid "New Configuration Method"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"PHPWiki 1.3.10 has implemented a new configuration system that no longer "
+"stores configuration details in the index.php file. The configuration syntax "
+"has also been standardised and all directives are now placed in config.ini."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"An automatic migration of your configuration has been performed which should "
+"correctly migrate your configuration in 95+ percent of cases. However please "
+"check the new configuration at /etc/phpwiki/config.ini carefully as it is  "
+"always possible that the automatic process was not perfect."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../templates:81
+msgid ""
+"In particular there are known problems migrating configurations that use "
+"external authentication methods (LDAP, IMAP, SQL, etc) for user accounts.  "
+"These methods are not used by the standard Debian package and their "
+"configuration is left to the administrator."
+msgstr ""
--- phpwiki-1.3.12p2.orig/debian/NEWS
+++ phpwiki-1.3.12p2/debian/NEWS
@@ -0,0 +1,13 @@
+phpwiki (1.3.12p2-1) unstable; urgency=low
+
+  PHPwiki on AMD64 systems using PHP4 and the SQLite backend is currently 
+  broken due to a bug in the php4-sqlite package. Until this bug is resolved
+  you have two options to workaround this bug and have a working PHPwiki
+  install on an AMD64 system.
+
+  1) Use PHP5
+  2) Use a database backend other than sqlite
+
+  Sorry for the inconvenience. Further details can be found in bug #361605.
+
+ -- Matt Brown <debian@mattb.net.nz>  Sun,  9 Apr 2006 17:52:33 +1200
--- phpwiki-1.3.12p2.orig/debian/README.Debian
+++ phpwiki-1.3.12p2/debian/README.Debian
@@ -0,0 +1,179 @@
+phpwiki for Debian
+------------------
+
+This PHPWiki package should work straight out of the box, using a SQLite
+database to store all of the PHPWiki pages.  Better performance can be
+achieved by storing pages in an SQL database, such as MySQL or PostgreSQL. 
+If you wish to do this, please read /usr/share/doc/phpwiki/INSTALL.mysql or
+INSTALL.pgsql for full instructions.
+
+The schemas are stored in /usr/share/doc/phpwiki/schemas.  One thing to
+note: the default prefix (phpwiki_) should be removed for SQL backends
+unless you have a desire to modify the provided schema files.
+
+Known Bugs / Limitations
+------------------------
+
+There appears to be a bug in PHPWiki's page loading functions that causes it
+to consume far too much memory. This bug is most obvious when loading a 
+"virgin wiki" immediately after installing the Debian package. PHPWiki will
+get halfway through loading the initial pages and stop, in your apache error
+log you will find an error about the PHP4 memory limit being reached. 
+
+You can work around this bug by simply reloading the page several times, it
+will eventually successfully load all the pages. Alternatively you can raise
+the memory limit in your php.ini to 16MB.
+
+This bug also exhibits itself as an infinite memory allocation loop on AMD64.
+
+Wiki Configuration
+--------------------
+
+PHPWiki 1.3.10 introduced a new configuration file format which seperates 
+the configuration directives from the index.php file. The package attempts 
+to upgrade existing configurations seamlessly and should work in 95+% of 
+cases.
+
+However, if you have a complex configuration, particularly using external
+authentication methods then it is highly likely that you will need to 
+manually check over the upgraded configuration file.
+
+Wiki Migration
+--------------
+
+The package should automatically take care of upgrading and migrating
+configuration and database files for the system wiki (subject to the 
+proviso on external auth methods in the previous sectino). However if you
+have created additional wikis not managed by the Debian package you will
+need to upgrade them yourself. There are two steps to an upgrade:
+1) Upgrade the database
+2) Upgrade the configuration file
+
+Database Upgrade:
+The PHPwiki code contains a module for automatically upgrading the database,
+in theory you should be able to point your browser at 
+http://wiki/HomePage?action=upgrade enter the admin password and be away. In
+practice, I have not found this method to work. The debian package ships with
+upgrade schemas for the sqlite database engine. These are found in 
+/usr/share/doc/phpwiki/schemas there is one file for each version of the
+package. This file will upgrade the database from the immediately previous
+version of PHPwiki to the version named in the filename. If there is no 
+upgrade file for a particular version of PHPwiki then the database format
+was not changed in that revision. An example (which also shows how to apply
+the updates) will help here. 
+
+You have a database created with the PHPwiki 1.3.7-4 package in 
+/var/phpwiki/phpwiki_pagedb.db you've just installed PHPwiki 1.3.11p1-1 and 
+need to upgrade your database. Run these commands
+
+# /usr/bin/sqlite /var/lib/phpwiki/phpwiki_pagedb.db < \
+ /usr/share/doc/phpwiki/schemas/sqlite-upgrade-1.3.10.sql
+
+# /usr/bin/sqlite /var/lib/phpwiki/phpwiki_pagedb.db < \
+ /usr/share/doc/phpwiki/schemas/sqlite-upgrade-1.3.11.sql
+
+That should conclude the database upgrade. Upgrade schemas for other DB
+engines may appear in future versions of the package, once they are offically
+supported... Until then the sqlite schemeas should be fairly portable.
+
+Configuration Upgrade:
+
+There is a script that you can use to move from your old index.php based 
+configuration to a new config.ini configuration. It is called 
+migrate-phpwiki-config and is found in /usr/share/phpwiki/ . The script 
+takes a single argument which is a template config.ini that values from 
+the old index.php configuration file should be inserted into. The old 
+index.php should be fed to the script on stdin and the new config.ini 
+file will be output to stdout. The template config.ini used for the 
+transition can be found at /usr/share/phpwiki/config/config-template.ini
+
+Example:
+# /usr/share/phpwiki/migrate-phpwiki-config \
+ /usr/share/phpwiki/config/config-template.ini < \
+ /etc/phpwiki/index.php > /etc/phpwiki/config.ini
+
+The migration script is expected to get most configurations correct, however
+it is known not to handle complex external authentication setups. You should
+verify the entire config by hand before using it just to be sure.
+
+Wiki Administration
+---------------------
+
+The Debian package of PHPWiki comes pre-installed with the Wiki
+administration login disabled.  This is for security and ease of basic
+installation.  Most common uses of the wiki are unaffected.  If you want to
+enable wiki administration (needed for doing in-wiki backups, page deletion,
+and page blocking, amongst other things) edit the ADMIN_USER, ADMIN_PASSWD,
+and possibly the ENCRYPTED_PASSWD options in /etc/phpwiki/config.ini and set
+them to your preferred values.
+
+DBA Support
+-------------
+
+Previous versions of the PHPWiki package, (prior to 1.3.7-2), used DB4 by
+default to store the Wiki pages. Existing Wikis will continue to use the
+DB4 system, although I may figure out a smooth upgrade for those Wikis at
+some later point.
+
+SQLite is a fast, local SQL engine, with no separate server process, and
+limited in-built security (file-permissions only).  This is perfect for
+PHPWiki.
+
+MySQL, PostgreSQL and mSQL are still supported by the Debian PHPWiki
+package, you just have to edit your configuration and install the database
+engine yourself.
+
+External Authentication
+-----------------------
+
+PHPwiki supports using external methods (DBA, IMAP, LDAP) to manage wiki
+user accounts. Use of these methods is currently not supported in any 
+way by the PHPwiki packages. 
+
+PHPwiki also appears slightly buggy with these methods, particularly in the
+area of error handling. If you simply get a blank page when trying to login
+to the wiki using an external authentication method it is likely that it is
+misconfigured or you are missing a required PHP module to enable support for
+that protocol (php4-imap, etc). Check the Recommends field of the package
+control file for some suggested packages and the comments in the default
+configuration file.
+
+Multiple / Local wikis
+------------------------
+
+The following instructions were correct for versions of this package prior
+to 1.3.10-1. They are untested with 1.3.10-1 however it is highly expected
+that they will continue to work. You will also need to create a config.ini
+file in the config directory in /~user/mywiki/config/ to contain the 
+directives mentioned below. Use these instructions at your own risk and 
+please submit a patch to update them once you get it working :) See the 
+section entitled "Wiki Migration" above for some notes on upgrading 
+wikis not managed directly by the package.
+
+One gotcha that has been reported for versions 1.3.10 and greater is that 
+the locales directory may not be a symlink to /usr/share/phpwiki/locales. 
+Copying this directory explicitly to your new wiki location appears to fix
+the problem.
+
+This method assumes that you'll be accessing it from a user's home webspace
+under the directory /~user/mywiki/:
+
+* Copy /etc/phpwiki/index.php to somewhere else (say
+$HOME/public_html/mywiki/).  You'll need root access for this part of the
+task, since index.php can potentially contain passwords, it's not good to
+leave it world-readable.
+
+* Edit $HOME/public_html/mywiki/index.php to suit your new, local
+customisations.  Remember to modify such things as the WIKI_NAME,
+ADMIN_USER, ADMIN_PASSWD, perhaps ACCESS_LOG (since there's no guarantee
+you'll be able to get a peek at the Apache one), set your database settings,
+and anything else that looks nice.
+
+* Point people at /~user/mywiki, and let them get wikiing (hmm, have I just
+created a new word?)
+
+That should give you a nice, happy user-run Wiki.  Creating multiple global
+Wikis is similar, just copy index.php somewhere else (either under
+DocumentRoot, or some other directory with an alias).
+
+ -- Matt Brown <debian@mattb.net.nz>, Thu,  20 Oct 2005 01:16:25 +1300
--- phpwiki-1.3.12p2.orig/pocheck
+++ phpwiki-1.3.12p2/pocheck
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for i in debian/po/*.po; do
+	echo $i
+	msgfmt -o /dev/null --statistics $i
+done
