diff options
author | Anders Sandblad <runeson@gmail.com> | 2016-06-14 08:48:12 +0200 |
---|---|---|
committer | Anders Sandblad <runeson@gmail.com> | 2016-06-14 08:48:12 +0200 |
commit | 59752844d1903a528e765e8b80dafa2a1ca140ad (patch) | |
tree | b7b9c57cfafc85a0d61306479ed42115c376dab8 /_test | |
parent | 9bbceb0ecf8217605f6821b09510799cbe4a33e9 (diff) | |
download | dokuwiki-59752844d1903a528e765e8b80dafa2a1ca140ad.tar.gz dokuwiki-59752844d1903a528e765e8b80dafa2a1ca140ad.zip |
Fixed broken links to php.net and redirecting pages to php.net
Diffstat (limited to '_test')
-rw-r--r-- | _test/README | 2 | ||||
-rw-r--r-- | _test/core/phpQuery-onefile.php | 4 | ||||
-rw-r--r-- | _test/data/pages/wiki/syntax.txt | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/_test/README b/_test/README index f0db2a550..161877270 100644 --- a/_test/README +++ b/_test/README @@ -5,7 +5,7 @@ This is the test suite to automatically test various parts of DokuWiki. ===== Requirements ===== * PHPUnit 3.6.10+ http://www.phpunit.de/ - * PHP 5.3+ http://www.php.net + * PHP 5.3+ http://php.net ===== PHPUnit Installation ====== diff --git a/_test/core/phpQuery-onefile.php b/_test/core/phpQuery-onefile.php index 402cf8e49..115724853 100644 --- a/_test/core/phpQuery-onefile.php +++ b/_test/core/phpQuery-onefile.php @@ -388,7 +388,7 @@ class DOMDocumentWrapper { phpQuery::debug("Full markup load (XML), appending charset '$charset'"); $markup = $this->charsetAppendToXML($markup, $charset); } - // see http://pl2.php.net/manual/en/book.dom.php#78929 + // see http://php.net/manual/en/book.dom.php#78929 // LIBXML_DTDLOAD (>= PHP 5.1) // does XML ctalogues works with LIBXML_NONET // $this->document->resolveExternals = true; @@ -401,7 +401,7 @@ class DOMDocumentWrapper { ? $this->document->loadXML($markup) : @$this->document->loadXML($markup); } else { - /** @link http://pl2.php.net/manual/en/libxml.constants.php */ + /** @link http://php.net/manual/en/libxml.constants.php */ $libxmlStatic = phpQuery::$debug === 2 ? LIBXML_DTDLOAD|LIBXML_DTDATTR|LIBXML_NONET : LIBXML_DTDLOAD|LIBXML_DTDATTR|LIBXML_NONET|LIBXML_NOWARNING|LIBXML_NOERROR; diff --git a/_test/data/pages/wiki/syntax.txt b/_test/data/pages/wiki/syntax.txt index 0b5480949..41848728d 100644 --- a/_test/data/pages/wiki/syntax.txt +++ b/_test/data/pages/wiki/syntax.txt @@ -91,9 +91,9 @@ Notes: You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this: - [[http://www.php.net|{{wiki:dokuwiki-128.png}}]] + [[http://php.net|{{wiki:dokuwiki-128.png}}]] -[[http://www.php.net|{{wiki:dokuwiki-128.png}}]] +[[http://php.net|{{wiki:dokuwiki-128.png}}]] Please note: The image formatting is the only formatting syntax accepted in link names. @@ -131,12 +131,12 @@ Resize to given width: {{wiki:dokuwiki-128.png?50}} Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}} -Resized external image: {{http://de3.php.net/images/php.gif?200x50}} +Resized external image: {{http://php.net/images/php.gif?200x50}} Real size: {{wiki:dokuwiki-128.png}} Resize to given width: {{wiki:dokuwiki-128.png?50}} Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} - Resized external image: {{http://de3.php.net/images/php.gif?200x50}} + Resized external image: {{http://php.net/images/php.gif?200x50}} By using left or right whitespaces you can choose the alignment. |