Extension talk:ProtectSource

To protect all pages
If you want to protect all pages, not only protect protected pages, you can comment Line 62~64 in ProtectSource.php. But it will cause Anonymous reading error in MediaWiki:Common.css, so CSS of skins cannot shows correctly. Therefore, the Namespace of MediaWiki cannot be protected by this extension.

My modify is to protect all pages except Namespace of MediaWiki, as following.

Modify In ProtectSource.php
find code:

change to:

find code:

change to:

Customize in LocalSettings.php
If you want editor can see source and anonymous dosenot, for example:

Chienwen 04:15, 2 September 2009 (UTC)