diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWHiddenCategoryMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWHiddenCategoryMetaItem.js index a534f18d73..619e9c118d 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWHiddenCategoryMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWHiddenCategoryMetaItem.js @@ -6,7 +6,7 @@ */ /** - * DataModel hidden category meta item (for __HIDDENCAT__). + * DataModel hidden category meta item (for `__HIDDENCAT__`). * * @class * @extends ve.dm.MetaItem diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWIndexMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWIndexMetaItem.js index 37bada5424..bd29586a33 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWIndexMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWIndexMetaItem.js @@ -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 diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWNewSectionEditMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWNewSectionEditMetaItem.js index 3b90f958f0..37fedc3629 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWNewSectionEditMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWNewSectionEditMetaItem.js @@ -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 diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWNoContentConvertMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWNoContentConvertMetaItem.js index a1a3ef39e8..6f78fc6b4f 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWNoContentConvertMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWNoContentConvertMetaItem.js @@ -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 diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWNoGalleryMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWNoGalleryMetaItem.js index b88549473d..238444973f 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWNoGalleryMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWNoGalleryMetaItem.js @@ -6,7 +6,7 @@ */ /** - * DataModel disable gallery meta item (for __NOGALLERY__). + * DataModel disable gallery meta item (for `__NOGALLERY__`). * * @class * @extends ve.dm.MetaItem diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWNoTitleConvertMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWNoTitleConvertMetaItem.js index 5e9c5b3620..d25237c269 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWNoTitleConvertMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWNoTitleConvertMetaItem.js @@ -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 diff --git a/modules/ve-mw/dm/metaitems/ve.dm.MWTOCMetaItem.js b/modules/ve-mw/dm/metaitems/ve.dm.MWTOCMetaItem.js index 8fdb1d2c64..641a17df2b 100644 --- a/modules/ve-mw/dm/metaitems/ve.dm.MWTOCMetaItem.js +++ b/modules/ve-mw/dm/metaitems/ve.dm.MWTOCMetaItem.js @@ -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 diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWTocWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWTocWidget.js index 774d871e5e..ce1bd95da2 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWTocWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWTocWidget.js @@ -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 ) ); };