FORwiki:Protected titles

From FORwiki

(Difference between revisions)
Jump to: navigation, search
(See also)
Line 20: Line 20:
Create a template called <nowiki>{{Unwantedpage}}</nowiki> or so, and place it in the problem pages. By having some content on the pages you are able to protect them from editing, which may be more user-friendly than method 3, particularly if the pages may conceivably hold content in the future.
Create a template called <nowiki>{{Unwantedpage}}</nowiki> or so, and place it in the problem pages. By having some content on the pages you are able to protect them from editing, which may be more user-friendly than method 3, particularly if the pages may conceivably hold content in the future.
-
 
-
''See [[:en:Wikipedia:Protected deleted pages|Wikipedia:Protected deleted pages]] for exemplary usage.''
 
=== Method 3: Cascading protection ===
=== Method 3: Cascading protection ===
Line 35: Line 33:
;Note
;Note
As for all cases of cascading protection, be careful with it. Delete the unwanted page before you add it to the central page where cascading protection is enabled. Otherwise, especially if there are other templates placed on an unwanted page, and if you have thus protected other pages by accident, it might take some time to manually revert that protection.
As for all cases of cascading protection, be careful with it. Delete the unwanted page before you add it to the central page where cascading protection is enabled. Otherwise, especially if there are other templates placed on an unwanted page, and if you have thus protected other pages by accident, it might take some time to manually revert that protection.
-
 
-
''See also [http://en.wikipedia.org/w/index.php?title=Wikipedia:Protected_deleted_pages&oldid=105706026 Wikipedia:Protected titles].''
 
== See also ==
== See also ==
* [[Project:Namespaces|Namespaces on MediaWiki.org]]
* [[Project:Namespaces|Namespaces on MediaWiki.org]]

Revision as of 19:38, 11 October 2009

There are some repeatedly created, but unwanted page titles, and some commonly spammed wiki pages (external links or just nonsense text messages) on MediaWiki.org.

Contents

Spam Protection for specific titles

If you are repeatedly receiving spam on a page that doesn't otherwise exist there are three ways of blocking the page from being edited once you have deleted it.

Additional suggestion for visitors: Watch W/w/index.php, Talk:Main Page/ and other such pages on your own wikis and add any URLs added by spammers to your Spam blacklist (see SpamBlacklist extension).

Method 1: Protecting a nonexisting page (preferred)

As Bug 2919 has been fixed in December 2007 for MediaWiki 1.12alpha, we use this method since then here; /list was recently deleted because of these changes.

MediaWiki offers native protection of nonexistent pages now, and this is applied in the same manner as ordinary protection (of existing pages).

See also Special:Protectedtitles.

Method 2: Dummy page

This is the easiest method for older MediaWiki installations (before MediaWiki 1.12):

Create a template called {{Unwantedpage}} or so, and place it in the problem pages. By having some content on the pages you are able to protect them from editing, which may be more user-friendly than method 3, particularly if the pages may conceivably hold content in the future.

Method 3: Cascading protection

If you are using a version of MediaWiki with cascading protection enabled (since MediaWiki 1.10), then another method is to create a central page to administer the protection, and within that page transclude each problem page using code like this:

* {{nameofpage}}

Enabling cascading protection for the central page will then protect all transcluded pages as well, even if they don't exist, so it saves you polluting your wiki with a lot of dummy pages that you don't need.

This is the method we have used here on MediaWiki.org in 2007.

Note

As for all cases of cascading protection, be careful with it. Delete the unwanted page before you add it to the central page where cascading protection is enabled. Otherwise, especially if there are other templates placed on an unwanted page, and if you have thus protected other pages by accident, it might take some time to manually revert that protection.

See also

Personal tools