Extension talk:CrudeProtection

Problem with Install/use
MW version 1.9.3 - type="deny"

I have cut/paste the code to extensions/crudeprotection.php. Then added include in local settings (guessed at the include as your document says "After installing in the standard way .. "

Created *user* 'Test Login', login TestLogin

The in user 1 (Bureaucrat) i create a page with simply TestLogin

Then save page but now in the 'creator' tab I get

Access denied From WikiSanMar Jump to: navigation, search

You do not have permission to view this page.

Return to Main Page. -

If user TestLogin tried to go to the page they get

Fatal error: Call to a member function isCurrent on a non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\wikiSanMar\includes\Skin.php on line 1240

Forgot to add code from skin php. line 1240 starts if( $this->mRevisionId && ! $wgArticle->isCurrent ) { return "action=edit&oldid=". intval( $this->mRevisionId ); } else { return "action=edit"; } --Dtsig 14:19, 24 April 2007 (UTC)

Further Testing Install/Use
I believe that the error was caused by the fact that using FireFox i had 2 tabs, 1 the good user and one the bad user. I closed firefox. I opened IE6 and logged in as TestLogin. It allowed me to go to the page.

The page is coded as

TestLogin

Testing ability to hide page
The Top of page information shows ..

TestLogin My talk My preferences My watchlist My contributions Log out

I then SAVE PAGE and got

Access denied From WikiSanMar Jump to: navigation, search You do not have permission to view this page.

Return to Main Page.

Retrieved from "http://davesigafoos.corp.sanmar.com/wikiSanMar/index.php/DSig-Sandbox3"

Then I closed IE and opened firefox.

It showed I was still 'logged in' as TestLogin. I entered DSig-Sandbox3 in search and went right to the page. It showed the page with edit tab available.

So thinking it might be some kind of 'cache' problem I logged out. It now showed my IP address. I then logged in as TestLogin and went to the page again with no difficulty. I can edit.

I again closed firefox and opened IE, logged in as TestLogin and it allowed me to see and edit the page.

My guess is that there is some type of 'cache' problem going on but now sure where.

In IE I deleted cookies, history, passwords, everything. I then closed IE. Reopened and logged in as the user and went right to the page.

It appears that I can access the page from either firefox OR ie6 after clearing all cache, cookies etc.

Ideas? --Dtsig 15:07, 24 April 2007 (UTC)

Problem using ALLOW
We have also tried using the type="allow" tag. Usage section #1 states that there isa an "allow" and "deny". But the example in the box does not 'specify' allow. We have tried both with type="allow" and without. In either case anyone can get to the page. --Dtsig 15:33, 24 April 2007 (UTC)