mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-14 18:15:19 +00:00
docs: Escape __magicwords__ to avoid bold formatting by markdown
Change-Id: Ic4660b12091429dd3f34d241b326350049a0019a
This commit is contained in:
parent
5c929ab457
commit
41cce182fe
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel hidden category meta item (for __HIDDENCAT__).
|
||||
* DataModel hidden category meta item (for `__HIDDENCAT__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel index meta item (for __INDEX__ and __NOINDEX__).
|
||||
* DataModel index meta item (for `__INDEX__` and `__NOINDEX__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MWFlaggedMetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel new section edit link meta item (for __NEWSECTIONLINK__ and __NONEWSECTIONLINK__).
|
||||
* DataModel new section edit link meta item (for `__NEWSECTIONLINK__` and `__NONEWSECTIONLINK__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MWFlaggedMetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel disable content conversion meta item (for __NOCONTENTCONVERT__ and __NOCC__).
|
||||
* DataModel disable content conversion meta item (for `__NOCONTENTCONVERT__` and `__NOCC__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel disable gallery meta item (for __NOGALLERY__).
|
||||
* DataModel disable gallery meta item (for `__NOGALLERY__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel disable title conversion meta item (for __NOTITILECONVERT__ and __NOTC__).
|
||||
* DataModel disable title conversion meta item (for `__NOTITILECONVERT__` and `__NOTC__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MetaItem
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* DataModel TOC meta item (for __FORCETOC__ and __NOTOC__).
|
||||
* DataModel TOC meta item (for `__FORCETOC__` and `__NOTOC__`).
|
||||
*
|
||||
* @class
|
||||
* @extends ve.dm.MWFlaggedMetaItem
|
||||
|
|
|
@ -119,8 +119,8 @@ ve.ui.MWTocWidget.prototype.initFromMetaList = function () {
|
|||
* Hides or shows the TOC based on page and default settings
|
||||
*/
|
||||
ve.ui.MWTocWidget.prototype.updateVisibility = function () {
|
||||
// In MediaWiki if __FORCETOC__ is anywhere TOC is always displayed
|
||||
// ... Even if there is a __NOTOC__ in the article
|
||||
// In MediaWiki if `__FORCETOC__` is anywhere TOC is always displayed
|
||||
// ... Even if there is a `__NOTOC__` in the article
|
||||
this.toggle( !this.mwTOCDisable && ( this.mwTOCForce || this.rootLength >= 3 ) );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue