```
Targets
Occurrences of '(white|black)[ \-]?list' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions/MobileFrontend
Found Occurrences (57 usages found)
extensions (57 usages found)
MobileFrontend (57 usages found)
includes (22 usages found)
MobileContext.php (11 usages found)
39 * Save whether current page is blacklisted from displaying in mobile view
42 protected $blacklistedPage = null;
417 * Checks whether current page is blacklisted from displaying mobile view
420 public function isBlacklistedPage() {
421 if ( $this->blacklistedPage === null ) {
422 $this->blacklistedPage = $this->isBlacklistedPageInternal();
425 return $this->blacklistedPage;
429 * Value for isBlacklistedPage()
432 private function isBlacklistedPageInternal() {
436 // Check for blacklisted category membership
451 // ...and individual page blacklisting
MobileFrontendHooks.php (11 usages found)
42 if ( $mobileContext->shouldDisplayMobileView() && !$mobileContext->isBlacklistedPage() ) {
114 || $mobileContext->isBlacklistedPage()
166 // Set the mobile target. Note, this does not consider MobileContext::isBlacklistedPage(),
205 if ( $key === 'places' && !$context->isBlacklistedPage() ) {
288 $config->get( 'MFMobileFormatterNamespaceBlacklist' )
459 * See `$wgMFStripResponsiveImages` and `$wgMFResponsiveImageWhitelist` for
835 // blacklisted pages yet. Last minute undo if needed.
836 if ( $context->isBlacklistedPage() ) {
1048 * configured to do so and the thumbnail's MIME type isn't whitelisted.
1067 $config->get( 'MFResponsiveImageWhitelist' ) ) ) {
1070 // or other whitelisted types.
resources (5 usages found)
dist (5 usages found)
mobile.common.js.map.json (1 usage found)
1 getSectionsFromHTML","Thumbnail","HEADING_SELECTOR","BLACKLISTED_THUMBNAIL_CLASS_SELECTORS","PageHTMLParser","sectionIndex","eq","selector","$heading","$nextHeading
mobile.editor.overlay.js (1 usage found)
1 extensionAbuseFilter",captcha:"extensionCaptcha",spamblacklist:"extensionSpamBlacklist","titleblacklist-forbidden":"extensionTitleBlacklist",pagedeleted:"editPageDeleted
mobile.editor.overlay.js.map.json (1 usage found)
1 assertuserfailed","assertnameduserfailed","spamblacklist","pagedeleted","editconflict","reportError","errorNotice","heading","$errorNoticeContainer","hideErrorNotice
mobile.init.js.map.json (1 usage found)
1 $allEditLinks","$","user","mw","CtaDrawer","blacklisted","test","navigator","userAgent","contentModel","config","get","veConfig","editCount","editorPath
mobile.talk.overlays.js.map.json (1 usage found)
1 info texts are all localized.\n\t\t\t\t\twhitelistedErrorInfo = [\n\t\t\t\t\t\t'readonly',\n\t\t\t\t\t\t'blocked',\n\t\t\t\t\t\t'autoblocked'\n\t\t\t
src (14 usages found)
mobile.editor.overlay (2 usages found)
EditorOverlayBase.js (2 usages found)
313 spamblacklist: 'extensionSpamBlacklist',
314 'titleblacklist-forbidden': 'extensionTitleBlacklist',
mobile.init (3 usages found)
editor.js (3 usages found)
12 blacklisted = /MSIE \d\./.test( navigator.userAgent ),
530 isEditingSupported = router.isSupported() && !blacklisted;
544 // Browser doesn't support mobile editor (or is blacklisted), use the fallback editor.
mobile.startup (7 usages found)
PageHTMLParser.js (7 usages found)
4 BLACKLISTED_THUMBNAIL_CLASS_SELECTORS = [ 'noviewer', 'metadata' ];
143 * that matches one of the items of the constant BLACKLISTED_THUMBNAIL_CLASS_SELECTORS
155 blacklistSelector = '.' + BLACKLISTED_THUMBNAIL_CLASS_SELECTORS.join( ',.' ),
161 .not( blacklistSelector );
167 valid = $a.parents( blacklistSelector ).length === 0 &&
168 $a.find( blacklistSelector ).length === 0,
177 valid = !new RegExp( '\\b(' + BLACKLISTED_THUMBNAIL_CLASS_SELECTORS.join( '|' ) + ')\\b' )
mobile.talk.overlays (2 usages found)
TalkSectionOverlay.js (2 usages found)
231 whitelistedErrorInfo = [
239 whitelistedErrorInfo.indexOf( response.error.code ) > -1
stories (6 usages found)
editor (6 usages found)
data.js (4 usages found)
50 export const spamBlacklist = {
53 code: 'spamblacklist',
54 This is probably caused by a link to a blacklisted external site.\nThe following text is what triggered our spam filter: example.com/test',
56 spamblacklist: {
utils.js (2 usages found)
3 abuseFilterWarning, abuseFilterDisallowed, spamBlacklist, editConflict, readOnly, captcha,
37 () => util.Deferred().resolve( spamBlacklist )
tests (1 usage found)
phpunit (1 usage found)
integration (1 usage found)
MobileFrontendHooksTest.php (1 usage found)
409 // It handles an image with a whitelisted MIME type.
extension.json (2 usages found)
877 "MFMobileFormatterNamespaceBlacklist": {
984 "MFResponsiveImageWhitelist": {
README.md (5 usages found)
277 #### $wgMFMobileFormatterNamespaceBlacklist
279 Array of namespaces that blacklists certain namespaces from applying mobile
282 MFRemovableClasses will not apply for any blacklisted pages.
619 #### $wgMFResponsiveImageWhitelist
621 Whitelist of source file mime types to retain srcset attributes on when using
webpack.config.js (2 usages found)
137 // shared between the chunks listed in the whitelist entry array into a
158 // Only consider splitting chunks off of these whitelisted entry names
```