The document to use for reading operations
Whether this is the main page or not
The current revision ID of the listing page. Helps in avoiding edit conflicts.
The title of the listing page
Cached wikitext. Based off of the revision ID.
Static
Readonly
pageStatic
rootSee WikiConfiguration#ia.rootPage.
Adds an action link to a copyright problem listing.
Adds a panel containing the "new listing" buttons (single and multiple) and the panel container (when filing a multiple-page listing) to the proper location: either at the end of the copyright problems section or replacing the redlink to the blank copyright problems page.
all copyright problem listings on the page.
Posts a single page listing to this page, or (if on the root page), the page for the current date. Listings are posted in the following format:
* {{subst:article-cv|Example}} <comment> ~~~~
For posting multiple pages, use postListings
.
Optional
comments: stringOptional
presumptive: booleanPosts multiple pages under a collective listing. Used for cases where the same comment can be applied to a set of pages. Listings are posted in the following format:
;{{anchor|1=<title>}}<title>
* {{subst:article-cv|1=Page 1}}
* {{subst:article-cv|1=Page 2}}
<comment> ~~~~
Optional
comments: stringOptional
presumptive: booleanStatic
getGets a listing page from the cache, if available. If a cached page is not available, it will be created for you.
Optional
revid: numberThe page requested
Static
getGets the current CopyrightProblemsPage (on Copyright Problems listing pages)
A CopyrightProblemsPage for the current page.
Static
getStatic
is
A CopyrightProblemsPage that represents a page that currently exists on a document. This document must be a MediaWiki page, and does not accept Parsoid-based documents (due to the lack of
mw.config
), used to get canonical data about the current page.To ensure that only an active document (either a current tab or a document within an IFrame) can be used, the constructor only takes in a
Document
.This class runs on:
Wikipedia:Copyright problems
pageWikipedia:Copyright problems
subpages (which may/may not be date-specific entries)