Feature summary (what you would like to be able to do and where):
- Support CC in PageTriage extension help users to easily edit the PageTriage json-ish settings that are currently stored onwiki in files such as:
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
- Installing PageTriage on other wikis. This page would receive heavy use during initial configuration, where all that wiki's specific deletion and maintenance templates would need to be programmed into PageTriage
Benefits (why should this be implemented?):
- Makes the two files linked above human-readable and easy to config
- Eliminates risk that an incorrect edit to them breaks the extension
- Would make PageTriage easier to install on other wikis
Settings
LocalSettings.php
| Name | Default | Description | Needs in CC |
| $wgPageTriageEnableCurationToolbar | true | Set to false to disable the curation toolbar | ✅ |
| $wgPageTriageInfiniteScrolling | true | Whether or not to use infinite scrolling in the new pages feed | ✅ |
| $wgPageTriageMaxAge | 90 | The age (in days) at which PageTriage allows unreviewed articles to become indexed by search engines (if $wgPageTriageNoIndexUnreviewedNewArticles is true). | ✅ |
| $wgPageTriageNamespaces | NS_MAIN | The namespaces that PageTriage is active in. | ✅ |
| $wgPageTriageNoIndexUnreviewedNewArticles | false | Set this to true if new, unreviewed articles should be set to noindex. In other words, if they should not be indexed by search engines until they are reviewed. | ✅ |
| $wgPageTriageDraftNamespaceId | 118 | The draft namespaces that PageTriage is active in. | ✅ |
| $wgExtraNamespaces[ $wgPageTriageDraftNamespaceId ] | 'Draft' | Localisation | ❌Must catch i18n name |
| $wgExtraNamespaces[ $wgPageTriageDraftNamespaceId + 1 ] | 'Draft_talk' | Localisation | ❌Must catch i18n name |
| $wgPageTriageEnableOresFilters | true | Set to false to disable ORES | ✅ |
Extension.json
| Name | Default | Description | Needs in CC | Comments |
| PageTriageEnableOresFilters | false | Enables filters powered by ORES's AI backend | ❌ | Needs discussion with WMF ORES folks + create/destroy DB tables |
| PageTriageEnableCopyvio | false | Enables copyvio detection | ❌ | Needs Community Tech approval (since they maintain that infra) |
| PageTriageRedirectAutoreviewAge | 180 | How old would a redirect need to be before it gets autoreviewed | ❓ | High values might cause DB issues |
| PageTriageMaxAge | 90 | How long to keep articles in queue | ❓ | High values might cause DB issues |
| PageTriageMaxNoIndexAge | 90 | How long should an article be hidden from search engines | ❓ | Google does not respect this value, and it can cause articles to fall off SEO radar (+WMF pushback for the same) |
| PageTriagePagesPerRequest | 20 | Not used anywhere | - | Should be deleted |
| PageTriageMarkPatrolledLinkExpiry | 86400 | Not used anywhere | - | Should be deleted |
| PageTriageNoIndexUnreviewedNewArticles | false | Do we no-index new article | ❓ | (See MaxNoIndexAge) |
| PageTriageLearnMoreUrl | //en.wikipedia.org/wiki/Wikipedia:Page_Curation/Help | Self-explanatory | ✅ | - |
| PageTriageProjectLink | Wikipedia:Page Curation | Self-explanatory | ✅ | - |
| PageTriageFeedbackUrl | //en.wikipedia.org/wiki/Wikipedia_talk:Page_Curation | Self-explanatory | ✅ | - |
| PageTriageEnableCurationToolbar | true | Whether or not the toolbar is available to users | ✅ | - |
| PageTriageCurationModules | massive with data | What modules are available to toolbar users | ✅ | Requires engineering effort to not be a giant JSON blob |
| PageTriageNamespaces | 0 | Which namespaces PageTriage works in | ❓ | DB folks might wanna have a word if it spans a lot of namespaces |
| TalkPageNoteTemplate | massive with data | What templates to use when sending people messages from the toolbar | ✅ | This should not be a JSON blob and should be configurable from inside the wiki. Also, why is this named weirdly? |
| PageTriageEnabledEchoEvents | massive with data | What notifications are sent using the Notifications (Echo) extension | ❌ | I'm gonna go no, since there might be unknown dependencies with Echo that we might be breaking if we allow wikis to configure this |
| PtTemplatePath | massive with data | - | ❌ | Huh? Wtf, this feels like it should be internal to the extension. Also, not even used anywhere? |
| PageTriageTagsOptionsMessages | massive with data | i18n messages for something | ❌ | Doesn't appear to be used |
| PageTriageDeletionTagsOptionsMessages | massive with data | i18n messages for something | ❌ | Doesn't appear to be used |
| PageTriageDeletionTagsOptionsContentLanguageMessages | massive with data | Messages that are used by deletion modules | ❓ | Gonna take a fair bit of engineering work to figure out where they are used and how to decouple them. |
| PageTriageEnableExtendedFeatures | true | Enables currently broken enwiki specific features | ✅ | - |
| PageTriageDraftNamespaceId | false | The ID of the Draft namespace, as defined in $wgExtraNamespaces. If false, all AfC features are disabled. | ✅ | - |
| PageTriageEnableKeywordSearch | true | Allow searching for keywords inside article descriptions | ✅ | - |