ReleaseTesting2007-03-24

<< | Pages | >>


Notes from testing CVS version of pmwiki-mode from 2007-03-24.

Notes on testing procedure

Various steps of the testing

Opening and editing pmwiki.org/wiki/Main/WikiSandbox

Test that it is possible to open, edit, save and reload changes to

	http://pmwiki.org/wiki/Main/WikiSandbox

Test code, partial:

	(pmwiki-open "http://pmwiki.org/wiki/Main/WikiSandbox")
	(end-of-buffer)
	;; Hmm... need code to insert some text here
	(pmwiki-save)
	(pmwiki-reload)		; Visually verify that changed was saved
Status: ok

Test saving with and without having to give a comment.

The default when saving a page is that you give a comment. This happens when you execute the command (pmwiki-save), or simply press C-c C-c. To avoid giving a comment, you can preceeded the command with an argument by pressing C-u C-c C-c. Then the changes are just saved.

Test procedure:

  • Set the variable controlling this behaviour to nil by executing:
	(set-variable 'pmwiki-no-summary nil)
  • Open some page and edit the page.
  • Use C-c C-c to save page.
You should be asked for a comment.
  • Do some more changes
  • Use C-u C-c C-c to save the page.
You should not be asked for a comment
Status: ok

Test reversing summary setting for giving a comment while saving

Test procedure:

  • Set the variable controlling this behaviour to nil by executing:
	(set-variable 'pmwiki-no-summary t)
  • Open some page and edit the page.
  • Use C-c C-c to save page.
You should not be asked for a comment
  • Do some more changes
  • Use C-u C-c C-c to save the page.
You should be asked for a comment.
Status: ok

General comments

Things to test

Edit conflict 1

Test procedure:

  • Open a new wiki page from Emacs
	(pmwiki-open "http://pmwiki.org/wiki/EmacsModes/TestEditConflict")
  • Create the same new same wiki page from browser, e.g. giving it the text "Edited from browser".
  • In Emacs, modify the page to read e.g. "Edited from Emacs" and try to save the wiki page from Emacs
error in process sentinel: progn: Page EmacsModes/TestEditConflict couldn't be saved, server said: nilEditing conflict. Resolve by calling <M-x pmwiki-merge-current>
error in process sentinel: Page EmacsModes/TestEditConflict couldn't be saved, server said: nilEditing conflict. Resolve by calling <M-x pmwiki-merge-current>
Status: fail

Specific issues

Issue 1 - undesired splitting into menu sublevels based on wiki words

When using e.g. the menu PmWiki->OpenedPages there is a splitting of wiki words that I think is probably undesirable, i.e. I haven't seen any advantage to it yet. For instance, after having opened Main.WikiSandbox, the menu for opened pages let's me navigate to it through this sequence:

	www.pmwiki.org/ -> Main -> Wiki -> Sandbox

rather than what I would have expected, i.e.

 	www.pmwiki.org/ -> Main -> WikiSandbox

or

 	www.pmwiki.org/ -> Main -> Wiki Sandbox

Issue 2 - Deleting a page does not delete the buffer

Test procedure:

  • Open a page
  • Invoke 'pmwiki-delete'
The page is deleted from the wiki, but the buffer is still open in Emacs (making you think the page was never deleted)
Status: Reported to LukaszS

Issue 3 - Unable to open wiki page from sourceforge shell server

I logged in to a shell server at sourceforge. Then installed pmwiki mode by checking out latest CVS. Finally I started Emacs there and executed

        (add-to-list 'load-path "~/.emacs.d/pmwiki-mode")
        (require 'pmwiki-mode)

        (pmwiki-open "Main/WikiSandbox")

This results in the error message:

        setq: connection failed: connection refused, www.pmwiki.org,
        HTTP GET [(approve links)
  edit
  diff]\w.pmwiki.org/wiki/Main/WikiSandbox?author=&action=ed$

What's going on?

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=EmacsModes%2fReleaseTesting2007%2d03%2d24
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=EmacsModes%2fReleaseTesting2007%2d03%2d24
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/EmacsModes/ReleaseTesting2007-03-24
            [REDIRECT_SCRIPT_URL] => /wiki/EmacsModes/ReleaseTesting2007-03-24
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afQwJRq5ZYC2AjlAPAyJPQAAAFA
            [REDIRECT_URL] => /wiki/EmacsModes/ReleaseTesting2007-03-24
            [REMOTE_ADDR] => 216.73.216.25
            [REMOTE_PORT] => 1678
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/EmacsModes/ReleaseTesting2007-03-24
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/EmacsModes/ReleaseTesting2007-03-24
            [SCRIPT_URL] => /wiki/EmacsModes/ReleaseTesting2007-03-24
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afQwJRq5ZYC2AjlAPAyJPQAAAFA
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777610789.7426
            [REQUEST_TIME] => 1777610789
            [argv] => Array
                (
                    [0] => n=EmacsModes%2fReleaseTesting2007%2d03%2d24
                )

            [argc] => 1
        )

)