Index: trunk/extensions/SemanticMediaWiki/maintenance/SMW_setup.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | * @ingroup SMW |
38 | 38 | */ |
39 | 39 | |
40 | | -/* |
| 40 | +/** |
41 | 41 | * no guarantees, but look in the usual place for commandLine.inc, so this |
42 | 42 | * so it will work most of the time |
43 | 43 | */ |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/EmbedValueWithShowParserFunction.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -38,10 +38,10 @@ |
39 | 39 | $this->open($this->getUrl() ."index.php/EmbedValueToThisTestPage"); |
40 | 40 | |
41 | 41 | $this->assertTrue($this->isElementPresent("link=Succesful")); |
42 | | - |
43 | 42 | |
| 43 | + |
44 | 44 | $this->assertTrue($this->isElementPresent("link=Prosperous")); |
45 | | - |
| 45 | + |
46 | 46 | } |
47 | 47 | |
48 | 48 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/RefreshLinkForEveryPage.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -18,17 +18,17 @@ |
19 | 19 | $this->waitForPageToLoad("10000"); |
20 | 20 | |
21 | 21 | $this->assertTrue($this->isElementPresent("link=Refresh")); |
22 | | - |
| 22 | + |
23 | 23 | $this->click("link=Random page"); |
24 | 24 | $this->waitForPageToLoad("10000"); |
25 | 25 | |
26 | 26 | $this->assertTrue($this->isElementPresent("link=Refresh")); |
27 | | - |
| 27 | + |
28 | 28 | $this->click("link=Random page"); |
29 | 29 | $this->waitForPageToLoad("10000"); |
30 | 30 | |
31 | 31 | $this->assertTrue($this->isElementPresent("link=Refresh")); |
32 | | - |
| 32 | + |
33 | 33 | } |
34 | 34 | |
35 | 35 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SelectPagesByPropertyValue.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -43,13 +43,13 @@ |
44 | 44 | $this->waitForPageToLoad("10000"); |
45 | 45 | |
46 | 46 | $this->assertTrue($this->isTextPresent("TestPageABCDEF")); |
47 | | - |
48 | 47 | |
| 48 | + |
49 | 49 | $this->assertTrue($this->isTextPresent("TestPageCDEFGH")); |
50 | | - |
51 | 50 | |
| 51 | + |
52 | 52 | $this->assertFalse($this->isTextPresent("TestPageEFGHIJ")); |
53 | | - |
| 53 | + |
54 | 54 | } |
55 | 55 | |
56 | 56 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SelectPagesByPropertyAnnotationByWildcard.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -43,13 +43,13 @@ |
44 | 44 | $this->waitForPageToLoad("10000"); |
45 | 45 | |
46 | 46 | $this->assertTrue($this->isTextPresent("TestPageABCDEF")); |
47 | | - |
48 | 47 | |
| 48 | + |
49 | 49 | $this->assertTrue($this->isTextPresent("TestPageCDEFGH")); |
50 | | - |
51 | 50 | |
| 51 | + |
52 | 52 | $this->assertTrue($this->isTextPresent("TestPageEFGHIJ")); |
53 | | - |
| 53 | + |
54 | 54 | } |
55 | 55 | |
56 | 56 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/CreatePropertyPageTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -32,10 +32,10 @@ |
33 | 33 | $this->open($this->getUrl() ."index.php/CreateTest"); |
34 | 34 | |
35 | 35 | $this->assertTrue($this->isElementPresent("link=Create1")); |
36 | | - |
37 | 36 | |
| 37 | + |
38 | 38 | $this->assertTrue($this->isElementPresent("link=Create2")); |
39 | | - |
| 39 | + |
40 | 40 | } |
41 | 41 | |
42 | 42 | public function test_checkpropertypages_CreatePropertyPage() |
— | — | @@ -43,11 +43,11 @@ |
44 | 44 | $this->open($this->getUrl() ."index.php/Property:Create1"); |
45 | 45 | |
46 | 46 | $this->assertTrue($this->isElementPresent("link=CreateTest")); |
47 | | - |
| 47 | + |
48 | 48 | $this->open($this->getUrl() ."index.php/Property:Create2"); |
49 | 49 | |
50 | 50 | $this->assertTrue($this->isElementPresent("link=CreateTest")); |
51 | | - |
| 51 | + |
52 | 52 | } |
53 | 53 | |
54 | 54 | public function test_redlink_CreatePropertyPage() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/MakePropertySubpropertyOfAnotherOneTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -48,10 +48,10 @@ |
49 | 49 | $this->open($this->getUrl() ."index.php/Ben"); |
50 | 50 | |
51 | 51 | $this->assertTrue($this->isElementPresent("link=TeamLeaderTest")); |
52 | | - |
53 | 52 | |
| 53 | + |
54 | 54 | $this->assertFalse($this->isElementPresent("link=TeamMemberTest")); |
55 | | - |
| 55 | + |
56 | 56 | } |
57 | 57 | |
58 | 58 | public function test_semanticsearch_MakePropertySubpropertyOfAnotherOne() |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | $this->waitForPageToLoad("30000"); |
64 | 64 | |
65 | 65 | $this->assertTrue($this->isElementPresent("link=Ben")); |
66 | | - |
| 66 | + |
67 | 67 | } |
68 | 68 | |
69 | 69 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/UnusedPropertiesOnSpecialPageTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -32,9 +32,9 @@ |
33 | 33 | $this->open($this->getUrl() ."index.php/Special:UnusedProperties"); |
34 | 34 | |
35 | 35 | $this->assertFalse($this->isElementPresent("link=NoPageWillUseMe")); |
36 | | - |
| 36 | + |
37 | 37 | } |
38 | | - |
| 38 | + |
39 | 39 | public function test_propertynotused_UnusedPropertiesOnSpecialPage() |
40 | 40 | { |
41 | 41 | $this->type("searchInput", "UseProp"); |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | $this->open($this->getUrl() ."index.php/Special:UnusedProperties"); |
49 | 49 | |
50 | 50 | $this->assertTrue($this->isElementPresent("link=NoPageWillUseMe")); |
51 | | - |
| 51 | + |
52 | 52 | } |
53 | 53 | |
54 | 54 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SearchByPropertyWithNumericValueTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -52,25 +52,25 @@ |
53 | 53 | $this->waitForPageToLoad("30000"); |
54 | 54 | |
55 | 55 | $this->assertEquals("NumericTest 123", $this->getText("firstHeading")); |
56 | | - |
57 | 56 | |
| 57 | + |
58 | 58 | $this->assertTrue($this->isElementPresent("link=NumericTestPage1")); |
59 | | - |
60 | 59 | |
| 60 | + |
61 | 61 | $this->assertTrue($this->isElementPresent("link=NumericTestPage2")); |
62 | | - |
63 | 62 | |
| 63 | + |
64 | 64 | $this->assertTrue($this->isElementPresent("link=NumericTestPage3")); |
65 | | - |
66 | 65 | |
| 66 | + |
67 | 67 | $this->assertTrue($this->isTextPresent("345")); |
68 | | - |
69 | 68 | |
| 69 | + |
70 | 70 | $this->assertEquals("NumericTest", $this->getValue("property")); |
71 | | - |
72 | 71 | |
| 72 | + |
73 | 73 | $this->assertEquals("123", $this->getValue("value")); |
74 | | - |
| 74 | + |
75 | 75 | } |
76 | 76 | |
77 | 77 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/DefineAllowedValuesTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | $this->open($this->getUrl() ."index.php/MaybeTest"); |
42 | 42 | |
43 | 43 | $this->assertFalse($this->isElementPresent("link=Maybe")); |
44 | | - |
| 44 | + |
45 | 45 | } |
46 | 46 | |
47 | 47 | public function test_checktooltip_DefineAllowedValues() |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | $this->click("//div[@id='bodyContent']/p/span/img"); |
51 | 51 | |
52 | 52 | $this->assertTrue($this->isTextPresent("\"Maybe\" is not in the list of possible values (Yes, No) for this property.")); |
53 | | - |
| 53 | + |
54 | 54 | } |
55 | 55 | |
56 | 56 | public function test_checkyes_DefineAllowedValues() |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | $this->open($this->getUrl() ."index.php/YesTest"); |
59 | 59 | |
60 | 60 | $this->assertEquals("Yes", $this->getText("link=Yes")); |
61 | | - |
| 61 | + |
62 | 62 | } |
63 | 63 | |
64 | 64 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/PropertyTypePageIsDefaultTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | $this->waitForPageToLoad("30000"); |
37 | 37 | |
38 | 38 | $this->assertTrue($this->isTextPresent("AaaDefaultType of type Page")); |
39 | | - |
| 39 | + |
40 | 40 | } |
41 | 41 | |
42 | 42 | public function test_verifylink_PropertyTypePageIsDefault() |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | $this->open($this->getUrl() ."index.php/TestDefaultType"); |
45 | 45 | |
46 | 46 | $this->assertTrue($this->isElementPresent("link=CheckLink")); |
47 | | - |
| 47 | + |
48 | 48 | } |
49 | 49 | |
50 | 50 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/SearchByPropertyWithStringValueTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -36,19 +36,19 @@ |
37 | 37 | $this->waitForPageToLoad("30000"); |
38 | 38 | |
39 | 39 | $this->assertEquals("TestSBP Yes", $this->getText("firstHeading")); |
40 | | - |
41 | 40 | |
| 41 | + |
42 | 42 | $this->assertTrue($this->isElementPresent("link=FirstPageToMatch")); |
43 | | - |
44 | 43 | |
| 44 | + |
45 | 45 | $this->assertTrue($this->isElementPresent("link=SecondPageToMatch")); |
46 | | - |
47 | 46 | |
| 47 | + |
48 | 48 | $this->assertEquals("TestSBP", $this->getValue("property")); |
49 | | - |
50 | 49 | |
| 50 | + |
51 | 51 | $this->assertEquals("Yes", $this->getValue("value")); |
52 | | - |
| 52 | + |
53 | 53 | } |
54 | 54 | |
55 | 55 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/DefineTypeOfPropertyTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | $this->waitForPageToLoad("30000"); |
29 | 29 | |
30 | 30 | $this->assertTrue($this->isElementPresent("link=123456")); |
31 | | - |
| 31 | + |
32 | 32 | } |
33 | 33 | |
34 | 34 | public function test_hastype_DefineTypeOfProperty() |
— | — | @@ -45,14 +45,14 @@ |
46 | 46 | $this->open($this->getUrl() ."index.php/Property:TestNumber"); |
47 | 47 | |
48 | 48 | $this->assertFalse($this->isElementPresent("link=123456")); |
49 | | - |
| 49 | + |
50 | 50 | $this->click("link=ChangeType"); |
51 | 51 | $this->waitForPageToLoad("30000"); |
52 | 52 | $this->click("link=Refresh"); |
53 | 53 | $this->waitForPageToLoad("30000"); |
54 | 54 | |
55 | 55 | $this->assertFalse($this->isElementPresent("link=123456")); |
56 | | - |
| 56 | + |
57 | 57 | } |
58 | 58 | |
59 | 59 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/BuildChainOfPropertiesInAQuery.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | |
10 | 10 | public function testSetup() |
11 | 11 | { |
12 | | - set_time_limit(0); |
| 12 | + set_time_limit(0); |
13 | 13 | $this->open($this->getUrl() ."index.php/Main_Page"); |
14 | 14 | $this->type("searchInput", "Testing person Michael Green"); |
15 | 15 | $this->click("searchGoButton"); |
— | — | @@ -76,25 +76,25 @@ |
77 | 77 | $this->waitForPageToLoad("30000"); |
78 | 78 | $this->click("wpConfirmB"); |
79 | 79 | $this->waitForPageToLoad("30000"); |
80 | | - |
| 80 | + |
81 | 81 | $this->open($this->getUrl() ."index.php/Testing person Laura Blue"); |
82 | 82 | $this->click("link=Delete"); |
83 | 83 | $this->waitForPageToLoad("30000"); |
84 | 84 | $this->click("wpConfirmB"); |
85 | 85 | $this->waitForPageToLoad("30000"); |
86 | | - |
| 86 | + |
87 | 87 | $this->open($this->getUrl() ."index.php/Testing person Sarah Yellow"); |
88 | 88 | $this->click("link=Delete"); |
89 | 89 | $this->waitForPageToLoad("30000"); |
90 | 90 | $this->click("wpConfirmB"); |
91 | 91 | $this->waitForPageToLoad("30000"); |
92 | | - |
| 92 | + |
93 | 93 | $this->open($this->getUrl() ."index.php/Testing person Denise Grey"); |
94 | 94 | $this->click("link=Delete"); |
95 | 95 | $this->waitForPageToLoad("30000"); |
96 | 96 | $this->click("wpConfirmB"); |
97 | 97 | $this->waitForPageToLoad("30000"); |
98 | | - |
| 98 | + |
99 | 99 | $this->open($this->getUrl() ."index.php/Testing person Mary Pink"); |
100 | 100 | $this->click("link=Delete"); |
101 | 101 | $this->waitForPageToLoad("30000"); |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/RefreshInlineQuery.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -38,12 +38,12 @@ |
39 | 39 | $this->type("searchInput", "TestPageForRefreshing"); |
40 | 40 | $this->click("searchGoButton"); |
41 | 41 | $this->waitForPageToLoad("10000"); |
42 | | - |
| 42 | + |
43 | 43 | $this->click("link=Refresh"); |
44 | 44 | $this->waitForPageToLoad("10000"); |
45 | 45 | |
46 | 46 | $this->assertTrue($this->isTextPresent("SC Freiburg")); |
47 | | - |
| 47 | + |
48 | 48 | } |
49 | 49 | |
50 | 50 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/ShowFactboxTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | $this->open($this->getUrl() ."index.php/Factboxtest"); |
26 | 26 | |
27 | 27 | $this->assertTrue($this->isTextPresent("Facts about")); |
28 | | - |
| 28 | + |
29 | 29 | } |
30 | 30 | |
31 | 31 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/WantedPropertiesOnSpecialPageTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $this->open($this->getUrl() ."index.php/Special:WantedProperties"); |
34 | 34 | |
35 | 35 | $this->assertTrue($this->isTextPresent("RedLinkProperty (2 uses)")); |
36 | | - |
| 36 | + |
37 | 37 | } |
38 | 38 | |
39 | 39 | public function test_showsproperty_WantedPropertiesOnSpecialPage() |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | $this->open($this->getUrl() ."index.php/Special:WantedProperties"); |
42 | 42 | |
43 | 43 | $this->assertTrue($this->isElementPresent("link=RedLinkProperty")); |
44 | | - |
| 44 | + |
45 | 45 | } |
46 | 46 | |
47 | 47 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/PropertiesListedOnSpecialPageTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -40,10 +40,10 @@ |
41 | 41 | $this->open($this->getUrl() ."index.php/Special:Properties"); |
42 | 42 | |
43 | 43 | $this->assertTrue($this->isElementPresent("link=AaaProperty")); |
44 | | - |
45 | 44 | |
| 45 | + |
46 | 46 | $this->assertTrue($this->isElementPresent("link=Page")); |
47 | | - |
| 47 | + |
48 | 48 | } |
49 | 49 | |
50 | 50 | public function test_numberofusage_PropertiesListedOnSpecialPage() |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | $this->open($this->getUrl() ."index.php/Special:Properties"); |
53 | 53 | |
54 | 54 | $this->assertTrue($this->isTextPresent("AaaProperty of type Page (2)")); |
55 | | - |
| 55 | + |
56 | 56 | } |
57 | 57 | |
58 | 58 | public function test_textpresent_PropertiesListedOnSpecialPage() |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | $this->open($this->getUrl() ."index.php/Special:Properties"); |
61 | 61 | |
62 | 62 | $this->assertTrue($this->isTextPresent("AaaProperty of type Page")); |
63 | | - |
| 63 | + |
64 | 64 | } |
65 | 65 | |
66 | 66 | public function test_tooltipicon_PropertiesListedOnSpecialPage() |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $this->open($this->getUrl() ."index.php/Special:Properties"); |
76 | 76 | |
77 | 77 | $this->assertFalse($this->isTextPresent("AabProperty")); |
78 | | - |
| 78 | + |
79 | 79 | } |
80 | 80 | |
81 | 81 | public function testTeardown() |
Index: trunk/extensions/SemanticMediaWiki/tests/selenium/suites/cases_SMWSeleniumTestSuite/AvoidPropertyCreationTestCase.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * This test case is part of the SimpleSeleniumTestSuite. |
5 | 5 | * Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php |
6 | 6 | */ |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | $this->open($this->getUrl() ."index.php/AvoidPropertyCreationTest"); |
26 | 26 | |
27 | 27 | $this->assertEquals("Avoid::Property", $this->getText("link=exact:Avoid::Property")); |
28 | | - |
| 28 | + |
29 | 29 | } |
30 | 30 | |
31 | 31 | public function testTeardown() |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMW_NMSendMailAsync.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Created on 2009/3/25 |
5 | 5 | * |
6 | 6 | * Author: ning |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMW_NotAjaxAccess.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Author: ning |
5 | 5 | */ |
6 | 6 | if ( !defined( 'MEDIAWIKI' ) ) { |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php |
— | — | @@ -1,11 +1,11 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Author: ning |
5 | 5 | */ |
6 | 6 | |
7 | 7 | if ( !defined( 'MEDIAWIKI' ) ) die(); |
8 | 8 | |
9 | | -/* |
| 9 | +/** |
10 | 10 | * Standard class that is resopnsible for the creation of the Special Page |
11 | 11 | */ |
12 | 12 | class SMWNotifyMe extends SpecialPage { |
Index: trunk/extensions/SemanticNotifyMe/includes/SNM_Initialize.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Created on 24.6.2009 |
5 | 5 | * |
6 | 6 | * Author: ning |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | require_once( $smwgNMIP . '/includes/jobs/SMW_NMSendMailJob.php' ); |
82 | 82 | $wgJobClasses['SMWNMRefreshJob'] = 'SMWNMRefreshJob'; |
83 | 83 | require_once( $smwgNMIP . '/includes/jobs/SMW_NMRefreshJob.php' ); |
84 | | - |
| 84 | + |
85 | 85 | if ( defined( 'SMW_VERSION' ) && strpos( SMW_VERSION, '1.5' ) == 0 ) { |
86 | 86 | $wgAutoloadClasses['SMWNotifyProcessor'] = $smwgNMIP . '/includes/SMW_NotifyProcessor.smw15.php'; |
87 | 87 | } else { |
Index: trunk/extensions/SemanticNotifyMe/includes/SMW_NMDBHelper.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Created on 19.10.2008 |
5 | 5 | * |
6 | 6 | * Author: ning |
Index: trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMSendMailJob.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * SMW_NMSendMailJob.php |
5 | 5 | * |
6 | 6 | * This job is triggered whenever a notify-me page was saved or removed. |
Index: trunk/extensions/SemanticSignup/includes/SES_SignupFields.php |
— | — | @@ -1,9 +1,9 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Created on 6 Jan 2009 by Serhii Kutnii |
5 | 5 | */ |
6 | 6 | |
7 | | -/* |
| 7 | +/** |
8 | 8 | * Borrowed from standard UsercreateTemplate. Some minor changes have been made |
9 | 9 | */ |
10 | 10 | |
Index: trunk/extensions/SemanticSignup/includes/SES_DataChecker.php |
— | — | @@ -1,9 +1,9 @@ |
2 | 2 | <?php |
3 | | -/* |
| 3 | +/** |
4 | 4 | * Created on 13 Jan 2009 by Serhii Kutnii |
5 | 5 | */ |
6 | 6 | |
7 | | -/* |
| 7 | +/** |
8 | 8 | * An abstract data getter and checker class. |
9 | 9 | * Its concrete subclasses should incapsulate all the necessary data getting |
10 | 10 | * and environment checks. |
Index: trunk/extensions/SemanticWebBrowser/specials/SearchTriple/SWB_SpecialBrowseWiki.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | // require_once "EasyRdf.php"; |
25 | 25 | // require_once "html_tag_helpers.php"; |
26 | 26 | set_include_path($swbgIP.'lib/'); |
27 | | -/* |
| 27 | +/** |
28 | 28 | * Here, we need EasyRDF. |
29 | 29 | */ |
30 | 30 | require_once ($swbgIP.'lib/EasyRdf.php'); |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | // Why do we need different variants? Removed... |
109 | 109 | |
110 | 110 | // Why do we need to input query form? Removed... |
111 | | - |
| 111 | + |
112 | 112 | // print OutputPage |
113 | 113 | $wgOut->addHTML( $this->displayBrowse() ); |
114 | 114 | SMWOutputs::commitToOutputPage( $wgOut ); // make sure locally collected output data is pushed to the output! |
— | — | @@ -300,7 +300,7 @@ |
301 | 301 | // Build the graph |
302 | 302 | $graph = new EasyRdf_Graph($uri->getURI()); |
303 | 303 | $graph->load(); |
304 | | - |
| 304 | + |
305 | 305 | // Now, we resolve this URI and store the rdf |
306 | 306 | |
307 | 307 | $html .= $this->displaySemanticHead($uri->getURI()); |
— | — | @@ -584,7 +584,7 @@ |
585 | 585 | foreach ($allSpecResources as $aSpecResource) { |
586 | 586 | if (!$aSpecResource->isBnode()) { |
587 | 587 | if ($aSpecResource->getUri() == $object) { |
588 | | - |
| 588 | + |
589 | 589 | $res = array("type" => "uri", "value" => $aSpecResource->getUri()); |
590 | 590 | $arr_subjects[] = $res; |
591 | 591 | } |
— | — | @@ -683,7 +683,7 @@ |
684 | 684 | 'a', |
685 | 685 | array( |
686 | 686 | 'href' => SpecialPage::getSafeTitleFor( 'SearchByProperty' )->getLocalURL( array( |
687 | | - 'property' => $dvProperty->getWikiValue(), |
| 687 | + 'property' => $dvProperty->getWikiValue(), |
688 | 688 | 'value' => $this->subject->getWikiValue() |
689 | 689 | ) ) |
690 | 690 | ), |
— | — | @@ -737,7 +737,7 @@ |
738 | 738 | |
739 | 739 | // Typically, we have a URI. Provide link to further browse the SW. |
740 | 740 | // Always type 11 for prop: echo "dipropType:".$diProperty->getDIType(); |
741 | | - |
| 741 | + |
742 | 742 | } elseif ( $diProperty->getKey() == '_INST' ) { |
743 | 743 | $proptext = smwfGetLinker()->specialLink( 'Categories' ); |
744 | 744 | } elseif ( $diProperty->getKey() == '_REDI' ) { |
— | — | @@ -785,7 +785,7 @@ |
786 | 786 | 'a', |
787 | 787 | array( |
788 | 788 | 'href' => SpecialPage::getSafeTitleFor( 'SearchByProperty' )->getLocalURL( array( |
789 | | - 'property' => $dvProperty->getWikiValue(), |
| 789 | + 'property' => $dvProperty->getWikiValue(), |
790 | 790 | 'value' => $this->subject->getWikiValue() |
791 | 791 | ) ) |
792 | 792 | ), |
— | — | @@ -876,7 +876,7 @@ |
877 | 877 | 'a', |
878 | 878 | array( |
879 | 879 | 'href' => SpecialPage::getSafeTitleFor( 'SearchByProperty' )->getLocalURL( array( |
880 | | - 'property' => $dvProperty->getWikiValue(), |
| 880 | + 'property' => $dvProperty->getWikiValue(), |
881 | 881 | 'value' => $this->subject->getWikiValue() |
882 | 882 | ) ) |
883 | 883 | ), |
Index: trunk/extensions/SemanticWebBrowser/includes/SWB_Setup.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | // Register special pages aliases file |
16 | 16 | $wgExtensionAliasesFiles['SemanticWebBrowser'] = $swbgIP . 'languages/SWB_Aliases.php'; |
17 | 17 | |
18 | | -/* |
| 18 | +/** |
19 | 19 | * create Special Page for Browse Wiki |
20 | 20 | */ |
21 | 21 | $wgAutoloadClasses['SWBSpecialBrowseWiki'] = $swbgIP . 'specials/SearchTriple/SWB_SpecialBrowseWiki.php'; |