(Created page with "{{Collapsible|cheader=The filter on special pages (e.g., "Recent changes") fails to load. |cdescription= In some cases, the page ''Special:RecentChanges'' does not finish loa...") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Collapsible|cheader=The filter on special pages (e.g., "Recent changes") fails to load. | |||
|cdescription= In some cases, the page ''Special:RecentChanges'' does not finish loading. | |||
|chelp=You can add the following script to ''MediaWiki:Common.js'': | |||
<syntaxhighlight language="javascript"> | |||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) { | |||
document.body.classList.add( 'mw-rcfilters-ui-initialized' ); | |||
} | |||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Recentchanges' ) { | |||
document.body.classList.add( 'mw-rcfilters-ui-initialized' ); | |||
} | |||
</syntaxhighlight>}} | |||
{{Collapsible|cheader=The filter on special pages (e.g., "Recent changes") fails to load. | {{Collapsible|cheader=The filter on special pages (e.g., "Recent changes") fails to load. | ||
|cdescription= In some cases, the page ''Special:RecentChanges'' does not finish loading. | |cdescription= In some cases, the page ''Special:RecentChanges'' does not finish loading. |
Revision as of 11:10, 19 April 2023
The filter on special pages (e.g., "Recent changes") fails to load. +
Description: In some cases, the page Special:RecentChanges does not finish loading.
Help: You can add the following script to MediaWiki:Common.js:
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Recentchanges' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}
The filter on special pages (e.g., "Recent changes") fails to load. +
Description: In some cases, the page Special:RecentChanges does not finish loading.
Help: You can add the following script to MediaWiki:Common.js:
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Watchlist' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Recentchanges' ) {
document.body.classList.add( 'mw-rcfilters-ui-initialized' );
}