summaryrefslogtreecommitdiff
path: root/_test/cases/inc/pageutils_resolve_pageid.test.php
Commit message (Collapse)AuthorAge
* removed deprecated old test frameworkTobias Sarnowski2012-04-18
|
* fixed unittest and transformed to phpunitDominik Eckelmann2012-04-08
|
* Added configuration variables for empty link testcases and added testcases ↵Izidor Matušov2011-04-07
| | | | for resolve_pageid
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* fixed test cases for recent search highlight changesAndreas Gohr2008-03-19
| | | | darcs-hash:20080319202909-7ad00-422eb0c47bd1503b3f857ad43dfd258c900e1100.gz
* Fix Unit TestGuy Brand2008-03-02
| | | | | | | | | - README: test unit is under _test/ - form: use security token - form: reordered elements - pageid: playground start page (broken since ns autolinking?) darcs-hash:20080302184514-19e2d-087390c75f1e60e369162219f253a7ed513ce1f6.gz
* unittest fixeschris2006-08-04
| | | | darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz
* namespace linking first partAndreas Gohr2006-06-11
This patch adds namespace linking - formerly known as globalstart patch. It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pageid(). It is now possible to link to a "default" file of a namespace ending the linkid with a colon: [[foo:bar:]] To which page the link links is dependent on the xistance of certain named files. For the above mentioned link [[foo:bar:]] the following pages are checked: foo:bar:start foo:bar:bar foo:bar The pages are checked in the order above whatever page is found first will be linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is the value configured in $conf['start'] Note: autoplural linking is not done for those links This is just the first patch. Several other locations of the code need to be adjusted to reflect this change and some testing needs to be done (first test cases are supplied within the patch bundle) Things that maybe need adjustment: - tpl_youarehere (hierarchical breadcrumbs) - tpl_button back - maybe others (search?) Patches would be welcome. The best aproach to fix things that don't work is probably making calls to resolve_pageid() instead of simple cleanID() calls. darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz