ILIAS  release_4-4 Revision
class.ilWikiUtil.php File Reference

Go to the source code of this file.

Data Structures

class  ilWikiUtil
 Utility class for wiki. More...
 

Variables

const IL_WIKI_MODE_REPLACE "replace"
 Wiki link / page title handling: More...
 
const IL_WIKI_MODE_COLLECT "collect"
 
const IL_WIKI_MODE_EXT_COLLECT "ext_collect"
 

Variable Documentation

◆ IL_WIKI_MODE_COLLECT

const IL_WIKI_MODE_COLLECT "collect"

◆ IL_WIKI_MODE_EXT_COLLECT

const IL_WIKI_MODE_EXT_COLLECT "ext_collect"

Definition at line 20 of file class.ilWikiUtil.php.

Referenced by ilWikiUtil\processInternalLinks(), and ilWikiPage\rename().

◆ IL_WIKI_MODE_REPLACE

const IL_WIKI_MODE_REPLACE "replace"

Wiki link / page title handling:

Media wiki uses the following fields for page titles/links (see Title.php):

$mDbkeyform = $dbkey; ($dbkey includes "_" for " ") $mUrlform = ilWikiUtil::wfUrlencode($dbkey); $mTextform = str_replace('_', ' ', $dbkey);

ILIAS uses the ilWikiUtil::makeDbTitle($mTextform) (including " ") as key in the database table and the ilWikiUtil::makeUrlTitle($mTextform) ("_" for " ")for embedding things in URLs.

Definition at line 18 of file class.ilWikiUtil.php.

Referenced by ilWikiUtil\processInternalLinks(), and ilWikiUtil\replaceInternalLinks().