content.txt
1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
!3 Only true page references should be changed during a rename.
There are several widgets that contains strings that might match the pattern for a wiki word. When
a page is renamed, those strings should not be affected.
First build a page with lots of these ''protected'' widgets.
!|script|Page Builder|
|line|!-!path TargetPage-!|
|line|!-http://objectmentor.com/TargetPage-!|
|line|!-!img http://objectmentor.com/TargetPage.jpg-!|
|line|!-{{{TargetPage}}}-!|
|line|!-# TargetPage-!|
|line|!- !-TargetPage-! -!|
|line|this link should be renamed !-TargetPage-!|
|page|!-ProtectedWidgetPage-!|
Next create the target page.
|Page creator.|
|Page name.|Page contents.|valid?|
|!-TargetPage-!|whatever|true|
Then rename that page.
|Response Requester.|
|uri |status?|
|!-TargetPage?responder=renamePage&newName=RenamedPage&refactorReferences=on-!||
Next fetch the page.
|Response Requester.|
|uri|valid?|contents?|
|!-ProtectedWidgetPage-!|true||
Make sure that the new page name does not appear.
|Response Examiner.|
|type |pattern|matchCount?|wrapped html?|
|contents|!-RenamedPage</a>-!|1||