FANDOM


WantedPagesFilter adds simple filter to Wanted pages.

Usage

Click to exclude namespace. Shift+click to select region, ctrl+click to (de)select arbitrary items. Checkbox checked: inverts the filter, include namespace instead of exclude it.

1st item turns off all filters.

The script works with currently displayed records only, it does not filter all wantedpages. Using limit=500 and pagination strictly recommended.

Installation

Importing multiple scripts? This quick guide shows how to combine the imports.
  • For site-wide use, an administrator can add the line below to the wiki's MediaWiki:ImportJS page.
dev:WantedPagesFilter/code.js
  • For personal use, add the code snippet below to your global.js page (for use on all wikis) or your common.js page on your wiki (for use on a single wiki). Note that personal JS must be enabled for your account.
importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:WantedPagesFilter/code.js',
    ]
});

Styling

There are predefined styles:

.wp-filter
main container. Style: float:right;
.wp-checkbox
checkbox. Style: vertical-align:top
.wp-label
label (Filter for en). Style: padding-right:5px;vertical-align:top;cursor:pointer;font-weight:bold
.wp-list
list. Style: height: 200px;

Note: you have to use !important to override values above.

Example

  1. ImportArticles/en‏‎ (230 links)
  2. ConfigOptions/en‏‎ (26 links)
  3. Talk:UserBadges‏‎ (2 links)
  4. Tooltips/code.css‏‎ (2 links)
  5. Module talk:Date/sandbox/testcases‏‎ (1 link)
  6. Module:YearNav/testcases‏‎ (1 link)
  7. Help:Verbatim‏‎ (1 link)
  8. Template:Untranslated/doc‏‎ (1 link)
  9. Template:Talkheader/vi/doc‏‎ (1 link)
  10. MediaWiki talk:AnswersEditButton/code.js‏‎ (1 link)
  11. Talk:WikiaNavigationBarStyle‏‎ (1 link)
  12. Talk:UserTags/en‏‎ (1 link)
  13. UserTags/en/Extending‏‎ (1 link)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+