* Documented
* Indented
This commit is contained in:
parent
089b70e430
commit
b84ec26855
1 changed files with 42 additions and 41 deletions
|
|
@ -2,6 +2,7 @@
|
|||
/**
|
||||
* File for magic words
|
||||
* @package MediaWiki
|
||||
* @subpackage Parser
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
@ -10,47 +11,47 @@
|
|||
$wgMagicFound = false;
|
||||
|
||||
/** Actual keyword to be used is set in Language.php */
|
||||
define('MAG_REDIRECT', 0);
|
||||
define('MAG_NOTOC', 1);
|
||||
define('MAG_START', 2);
|
||||
define('MAG_CURRENTMONTH', 3);
|
||||
define('MAG_CURRENTMONTHNAME', 4);
|
||||
define('MAG_CURRENTMONTHNAMEGEN', 5);
|
||||
define('MAG_CURRENTMONTHABBREV', 6);
|
||||
define('MAG_CURRENTDAY', 7);
|
||||
define('MAG_CURRENTDAYNAME', 8);
|
||||
define('MAG_CURRENTYEAR', 9);
|
||||
define('MAG_CURRENTTIME', 10);
|
||||
define('MAG_NUMBEROFARTICLES', 11);
|
||||
define('MAG_MSG', 12);
|
||||
define('MAG_SUBST', 13);
|
||||
define('MAG_MSGNW', 14);
|
||||
define('MAG_NOEDITSECTION', 15);
|
||||
define('MAG_END', 16);
|
||||
define('MAG_IMG_THUMBNAIL', 17);
|
||||
define('MAG_IMG_RIGHT', 18);
|
||||
define('MAG_IMG_LEFT', 19);
|
||||
define('MAG_IMG_NONE', 20);
|
||||
define('MAG_IMG_WIDTH', 21);
|
||||
define('MAG_IMG_CENTER', 22);
|
||||
define('MAG_INT', 23);
|
||||
define('MAG_FORCETOC', 24);
|
||||
define('MAG_SITENAME', 25);
|
||||
define('MAG_NS', 26);
|
||||
define('MAG_LOCALURL', 27);
|
||||
define('MAG_LOCALURLE', 28);
|
||||
define('MAG_SERVER', 29);
|
||||
define('MAG_IMG_FRAMED', 30);
|
||||
define('MAG_PAGENAME', 31);
|
||||
define('MAG_PAGENAMEE', 32);
|
||||
define('MAG_NAMESPACE', 33);
|
||||
define('MAG_TOC', 34);
|
||||
define('MAG_GRAMMAR', 35);
|
||||
define('MAG_NOTITLECONVERT', 36);
|
||||
define('MAG_NOCONTENTCONVERT', 37);
|
||||
define('MAG_CURRENTWEEK', 38);
|
||||
define('MAG_CURRENTDOW', 39);
|
||||
define('MAG_REVISIONID', 40);
|
||||
define('MAG_REDIRECT', 0);
|
||||
define('MAG_NOTOC', 1);
|
||||
define('MAG_START', 2);
|
||||
define('MAG_CURRENTMONTH', 3);
|
||||
define('MAG_CURRENTMONTHNAME', 4);
|
||||
define('MAG_CURRENTMONTHNAMEGEN', 5);
|
||||
define('MAG_CURRENTMONTHABBREV', 6);
|
||||
define('MAG_CURRENTDAY', 7);
|
||||
define('MAG_CURRENTDAYNAME', 8);
|
||||
define('MAG_CURRENTYEAR', 9);
|
||||
define('MAG_CURRENTTIME', 10);
|
||||
define('MAG_NUMBEROFARTICLES', 11);
|
||||
define('MAG_MSG', 12);
|
||||
define('MAG_SUBST', 13);
|
||||
define('MAG_MSGNW', 14);
|
||||
define('MAG_NOEDITSECTION', 15);
|
||||
define('MAG_END', 16);
|
||||
define('MAG_IMG_THUMBNAIL', 17);
|
||||
define('MAG_IMG_RIGHT', 18);
|
||||
define('MAG_IMG_LEFT', 19);
|
||||
define('MAG_IMG_NONE', 20);
|
||||
define('MAG_IMG_WIDTH', 21);
|
||||
define('MAG_IMG_CENTER', 22);
|
||||
define('MAG_INT', 23);
|
||||
define('MAG_FORCETOC', 24);
|
||||
define('MAG_SITENAME', 25);
|
||||
define('MAG_NS', 26);
|
||||
define('MAG_LOCALURL', 27);
|
||||
define('MAG_LOCALURLE', 28);
|
||||
define('MAG_SERVER', 29);
|
||||
define('MAG_IMG_FRAMED', 30);
|
||||
define('MAG_PAGENAME', 31);
|
||||
define('MAG_PAGENAMEE', 32);
|
||||
define('MAG_NAMESPACE', 33);
|
||||
define('MAG_TOC', 34);
|
||||
define('MAG_GRAMMAR', 35);
|
||||
define('MAG_NOTITLECONVERT', 36);
|
||||
define('MAG_NOCONTENTCONVERT', 37);
|
||||
define('MAG_CURRENTWEEK', 38);
|
||||
define('MAG_CURRENTDOW', 39);
|
||||
define('MAG_REVISIONID', 40);
|
||||
|
||||
$wgVariableIDs = array(
|
||||
MAG_CURRENTMONTH,
|
||||
|
|
|
|||
Loading…
Reference in a new issue