docs: Escape __magicwords__ to avoid bold formatting by markdown

Change-Id: Ic4660b12091429dd3f34d241b326350049a0019a
This commit is contained in:
Ed Sanders 2024-04-30 22:32:03 +01:00
parent 5c929ab457
commit 41cce182fe
8 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@
*/
/**
* DataModel hidden category meta item (for __HIDDENCAT__).
* DataModel hidden category meta item (for `__HIDDENCAT__`).
*
* @class
* @extends ve.dm.MetaItem

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -6,7 +6,7 @@
*/
/**
* DataModel disable gallery meta item (for __NOGALLERY__).
* DataModel disable gallery meta item (for `__NOGALLERY__`).
*
* @class
* @extends ve.dm.MetaItem

View file

@ -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

View file

@ -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

View file

@ -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 ) );
};