Help:PageNotice: Difference between revisions
m (Text replacement - "Saintapedia" to "USApedia") |
m (Text replacement - "Saintapedia" to "USApedia") |
||
| Line 12: | Line 12: | ||
# See the extension's documentation page on [[Mediawikiwiki:Extension:PageNotice|PageNotice]] for complete use scenarios. | # See the extension's documentation page on [[Mediawikiwiki:Extension:PageNotice|PageNotice]] for complete use scenarios. | ||
==Current uses on | ==Current uses on USApedia== | ||
# [[Mediawiki:top-notice-ns-1]] - adds the {{tl|Talk header}} to all pages on the Talk pages in the main article space. | # [[Mediawiki:top-notice-ns-1]] - adds the {{tl|Talk header}} to all pages on the Talk pages in the main article space. | ||
# [[MediaWiki:Top-notice-ns-3|Top-notice-ns-3]] - adds the {{tl|Talk header}} to all pages in the User talk namespace | # [[MediaWiki:Top-notice-ns-3|Top-notice-ns-3]] - adds the {{tl|Talk header}} to all pages in the User talk namespace | ||
# [[MediaWiki:Top-notice-ns-5|Top-notice-ns-5]] - adds the {{tl|Talk header}} to all pages in the | # [[MediaWiki:Top-notice-ns-5|Top-notice-ns-5]] - adds the {{tl|Talk header}} to all pages in the USApedia talk namespace | ||
# [[MediaWiki:Top-notice-ns-6|Top-notice-ns-6]] - adds the {{tl|Talk header}} to all pages in the File namespace | # [[MediaWiki:Top-notice-ns-6|Top-notice-ns-6]] - adds the {{tl|Talk header}} to all pages in the File namespace | ||
# [[MediaWiki:Top-notice-ns-7|Top-notice-ns-7]] - adds the {{tl|Talk header}} to all pages in the File talk namespace | # [[MediaWiki:Top-notice-ns-7|Top-notice-ns-7]] - adds the {{tl|Talk header}} to all pages in the File talk namespace | ||
| Line 23: | Line 23: | ||
# [[MediaWiki:Top-notice-ns-13|Top-notice-ns-13]] - adds the {{tl|Talk header}} to all pages in the Help talk namespace | # [[MediaWiki:Top-notice-ns-13|Top-notice-ns-13]] - adds the {{tl|Talk header}} to all pages in the Help talk namespace | ||
# [[MediaWiki:Top-notice-ns-15|Top-notice-ns-15]] - adds the {{tl|Talk header}} to all pages in the Category talk namespace | # [[MediaWiki:Top-notice-ns-15|Top-notice-ns-15]] - adds the {{tl|Talk header}} to all pages in the Category talk namespace | ||
Checking [https://powerpedia.energy.gov/w/index.php?title=Special%3APrefixIndex&prefix=&namespace=8 all pages in the MediaWiki namespace] is one way to check if any are added to | Checking [https://powerpedia.energy.gov/w/index.php?title=Special%3APrefixIndex&prefix=&namespace=8 all pages in the MediaWiki namespace] is one way to check if any are added to USApedia. | ||
== Related == | == Related == | ||
* {{Mw|Extension:PageNotice}} | * {{Mw|Extension:PageNotice}} | ||
{{ | {{USApedia}} | ||
[[Category:Extensions]] | [[Category:Extensions]] | ||
[[Category:Help]] | [[Category:Help]] | ||
Latest revision as of 00:06, 15 November 2024
| USApedia namespaces[1] | |||
|---|---|---|---|
| Basic namespaces | Talk namespaces | ||
| 0 | Main | Talk | 1 |
| 2 | User | User talk | 3 |
| 4 | USApedia | USApedia talk | 5 |
| 6 | File | File talk | 7 |
| 8 | MediaWiki | MediaWiki talk | 9 |
| 10 | Template | Template talk | 11 |
| 12 | Help | Help talk | 13 |
| 14 | Category | Category talk | 15 |
| 100 | Portal | Portal talk | 101 |
| 106 | Form | Form talk | 107 |
| 420 | GeoJson | GeoJson talk | 421 |
| 828 | Module | Module talk | 829 |
| 844 | CommentStreams | CommentStreams talk | 845 |
| 2300 | Gadget | Gadget talk | 2301 |
| 2302 | Gadget definition | Gadget definition talk | 2303 |
| Virtual namespaces | |||
| -1 | Special | ||
PageNotice (see: Mediawikiwiki:Extension:PageNotice) is an extension for MediaWiki that allows Administrators to automatically place certain text on all pages in a given namespace. It was installed on USApedia on April 15, 2011.
Use
The extension requires a file to be placed in the MediaWiki namespace for each namespace that you want to have a banner included. It uses the number assigned to the namespace. Wikipedia's page Wikipedia:Help:Namespaces has common namespaces.
Notes
- Only admins of the wiki can create/edit pages in the Mediawiki namespace. See this link for a list of people in various roles.
- Notices can be placed at the top or the bottom of the page. A file is created for each case and for each namespace as needed.
- See the extension's documentation page on PageNotice for complete use scenarios.
Current uses on USApedia
- Mediawiki:top-notice-ns-1 - adds the {{Talk header}} to all pages on the Talk pages in the main article space.
- Top-notice-ns-3 - adds the {{Talk header}} to all pages in the User talk namespace
- Top-notice-ns-5 - adds the {{Talk header}} to all pages in the USApedia talk namespace
- Top-notice-ns-6 - adds the {{Talk header}} to all pages in the File namespace
- Top-notice-ns-7 - adds the {{Talk header}} to all pages in the File talk namespace
- Top-notice-ns-9 - adds the {{Talk header}} to all pages in the File talk namespace
- Top-notice-ns-101 - adds the {{Talk header}} to all pages in the Portal talk namespace
- Top-notice-ns-11 - adds the {{Talk header}} to all pages in the Template talk namespace
- Top-notice-ns-13 - adds the {{Talk header}} to all pages in the Help talk namespace
- Top-notice-ns-15 - adds the {{Talk header}} to all pages in the Category talk namespace
Checking all pages in the MediaWiki namespace is one way to check if any are added to USApedia.