ILIAS  release_8 Revision v8.23
class.ilWikiUtil.php File Reference

Go to the source code of this file.

Data Structures

class  ilWikiUtil
 Utility class for wiki. More...
 

Variables

if(!defined('UTF8_REPLACEMENT')) const IL_WIKI_MODE_REPLACE = "replace"
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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"

◆ IL_WIKI_MODE_REPLACE

if (!defined( 'UTF8_REPLACEMENT')) const IL_WIKI_MODE_REPLACE = "replace"

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 37 of file class.ilWikiUtil.php.

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