Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

Wiki upgrade and testing

log in

Advanced search

Message boards : Announcements : Wiki upgrade and testing

Author Message
Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7815 - Posted: 25 Aug 2008 | 14:03:26 UTC

Last week I upgraded the software for the Pirates@Home glossary to MediaWiki 1.13.0, which was released only a week or two earlier. I found that the extension I had written to allow automatic authentication to the wiki based on being logged in to the BOINC project was broken, and I fixed that as well.

It would be useful to test my changes. First, does it behave correctly when you are or are not logged in to the BOINC project first? Do logging in and logging out work as expected? Note that I have turned off the requirement for RAC to edit or create a new page, but I may turn that back on to test that it also still works.

If this all works as expected, we may also temporarily try MediaWiki 1.12, and perhaps even 1.11, to verify that the extension also works with those earlier versions. I'd like for it to be as robust as possible, even though there are internal changes to match the changes due to the evolution of the MediaWiki code.

Please let me know if you find any problems. Thank you.
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 7819 - Posted: 26 Aug 2008 | 2:30:43 UTC - in response to Message 7815.

Wormholio wrote:
Do logging in and logging out work as expected? Note that I have turned off the requirement for RAC to edit or create a new page, but I may turn that back on to test that it also still works.
Log in and out is as before, but I can't create or edit page.
RAC requirement is now in place?

____________

Click and enter your name for your BOINC Statistics

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 7820 - Posted: 26 Aug 2008 | 3:14:05 UTC - in response to Message 7819.
Last modified: 26 Aug 2008 | 3:25:38 UTC

Contact wrote:
I can't create or edit page.
RAC requirement is now in place?

Real strange. I can bust in here: Talk:Graphics gallery, and here: User talk:Contact.
I can only edit annotation pages that I was previously involved in?
____________

Click and enter your name for your BOINC Statistics

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7823 - Posted: 26 Aug 2008 | 13:13:08 UTC - in response to Message 7820.

I don't think the RAC requirement is in place. I have 0.0 RAC and can edit, but maybe that is just my account.

I found some extra wiki accounts, possibly created while I was working on the auth extension. It might have thought you were one of them not you. I deleted them. When you try again, if you would please, be sure to note the account name in the upper right corner.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 924.2
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 7825 - Posted: 26 Aug 2008 | 18:32:52 UTC

Apparently everything works as expected, I could modify or create pages.
____________
Peter .-)

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 7826 - Posted: 27 Aug 2008 | 1:32:18 UTC - in response to Message 7823.
Last modified: 27 Aug 2008 | 1:32:56 UTC

Wormholio wrote:
I don't think the RAC requirement is in place...
When you try again, if you would please, be sure to note the account name in the upper right corner.

I was logged in as Contact before. I glanced to make sure because I was surprised that I had to log into Pirates@Home on whatever computer I was on, but figured it was something to do with your recent work on the site or maybe something I did.
To double check, I just logged out of wiki and was directed to logged out page on Pirates@Home.
From there I logged back in as Contact but still get something like:
View source

for A Pirates' Glossary
You do not have permission to edit pages, for the following reasons:

This page has been locked to prevent editing.
The action you have requested is limited to users in one of the groups Bureaucrats, officer, chief, seaman, able_seaman, boinc_dev, boinc_doc.
You can view and copy the source of this page


Looks like I'm blocked by my lack of privileges. Other than the 2 links I posted previously.

BTW from my talk page on the wiki:
"As it stands, the brig has no walls here. I have normal access. Works on Pirates@Home. I am unable to post to forum while in the brig.
Brig Testing
Thanks for testing the brig. I’ve made some changes which I hope make it work as intended. Could you try it, by logging out and logging back in. —Wormholio 08:46, 29 January 2007 (EST)

Didn’t have to logout to be stopped from creating or editing, but I can comment here with 2min remaining in the brig. …Contact"


So this does remind me of the brig. No edit or create tabs. And the familiar "You do not have permission"

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7827 - Posted: 27 Aug 2008 | 2:53:38 UTC - in response to Message 7826.

Contact wrote:

View source

for A Pirates' Glossary
You do not have permission to edit pages, for the following reasons:

This page has been locked to prevent editing.
The action you have requested is limited to users in one of the groups Bureaucrats, officer, chief, seaman, able_seaman, boinc_dev, boinc_doc.
You can view and copy the source of this page


The front page was indeed locked. Only a SysOp could edit it. I just removed that protection.

But what about some other article pages?

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile code { dwarf }
Avatar
Send message
Joined: 20 Jan 07
Poland
Credit: 709.5
RAC: 0.00
Joined: Jan 20, 2007
Verified: NEVER
Dubloons: 3
Pieces of Eight: 2
Message 7828 - Posted: 27 Aug 2008 | 3:16:14 UTC
Last modified: 27 Aug 2008 | 3:27:53 UTC

Okay, I think I understand the problem. It's the captain not the code. :-)

The captain can edit, so can Rusty, so can Pepo. But not me or Contact.

Both Rusty and Pepo are chiefs. They have permission regardless of RAC.

The captain disabled the RAC test, by bypassing it, not by setting the threshold low (or to zero). Which means you are in whatever group you were last assigned to. He also didn't actually change the group permissions. Any old user is not allowed to edit, or create a talk page, or any of that. You have to be a seaman or able_seaman for that. Still. He didn't really turn off the permissions check, he just bypassed part of it. Only part of it.

So it works the way he set it (though not the way he intended.)

So now we should try the whole thing, only with the RAC threshold adjusted so that Contact can be promoted to seaman and edit pages, but not to able_seaman (which would allow him to add new pages).

Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 7829 - Posted: 27 Aug 2008 | 3:21:13 UTC - in response to Message 7827.

Wormholio wrote:
The front page was indeed locked. Only a SysOp could edit it. I just removed that protection.

But what about some other article pages?

Right. Now I get a difference for that page:
View source

for A Pirates' Glossary
You do not have permission to edit pages, for the following reason:

The action you have requested is limited to users in one of the groups Bureaucrats, boinc_dev, boinc_doc.
You can view and copy the source of this page


But other pages are the same as before:
View source

for Robert JACKSON (1690-1751)

You do not have permission to edit pages, for the following reason:

The action you have requested is limited to users in one of the groups Bureaucrats, officer, chief, seaman, able_seaman, boinc_dev, boinc_doc.
You can view and copy the source of this page




Profile Contact
Volunteer tester
Avatar
Send message
Joined: 29 Aug 04
Canada
BOINC Synergy
Credit: 26,644.6
RAC: 0.00
Joined: Aug 29, 2004
Verified: Nov 10, 2011
Dubloons: 3
Pieces of Eight: 3
Punishment: Misfit
Message 7830 - Posted: 27 Aug 2008 | 3:34:06 UTC - in response to Message 7828.

code { dwarf } wrote:
So now we should try the whole thing, only with the RAC threshold adjusted so that Contact can be promoted to seaman and edit pages, but not to able_seaman (which would allow him to add new pages).

Ok, but my threshold is about to fall out to 0.00

Profile Ian Burns
Avatar
Send message
Joined: 17 Jan 06
United States
Credit: 3,648.8
RAC: 0.00
Joined: Jan 17, 2006
Verified: Jan 26, 2011
Dubloons: 3
Pieces of Eight: 11
Punishment: Scour Bilge
Message 7831 - Posted: 27 Aug 2008 | 12:45:43 UTC

I was able to edit a page and create a user page in the Wiki. I pressed the log out button at the top of the wiki and was taken back to the main Pirates site. Going back to the Wiki, the Pirate's Glossary page shows that I am still logged in. Every other page showed that no body was logged in. I couldn't convince it to show me logged out on the Pirate's Glossary page; I even closed down the browser. I didn't flush my cache yet, but I could try that next. No proxy servers here at the office.


____________

Profile Pepo
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 13 Sep 04
Slovakia
TeamVision42
Credit: 924.2
RAC: 0.00
Joined: Sep 13, 2004
Verified: Aug 4, 2009
Dubloons: 3
Pieces of Eight: 5
Punishment: Cat o' Nine Tails
Message 7832 - Posted: 27 Aug 2008 | 13:09:37 UTC - in response to Message 7828.

code { dwarf } wrote:
The captain can edit, so can Rusty, so can Pepo. But not me or Contact.

Both Rusty and Pepo are chiefs. They have permission regardless of RAC.

This might be, although there were times that I was a disabled_seaman (because of low RAC) regardless of being chief and I really could not create/edit pages. But this might have changed since.
____________
Peter .-)

Profile Rusty
Chief Petty Officer
Boatswain
Avatar
Send message
Joined: 29 Jun 04
United States
Away
Credit: 1,911.4
RAC: 0.00
Joined: Jun 29, 2004
Verified: NEVER
Dubloons: 1
Pieces of Eight: 3
Punishment: Mess Duty
Message 7833 - Posted: 27 Aug 2008 | 13:44:13 UTC - in response to Message 7831.

Ian Burns wrote:
... Going back to the Wiki, the Pirate's Glossary page shows that I am still logged in. Every other page showed that no body was logged in. I couldn't convince it to show me logged out on the Pirate's Glossary page; I even closed down the browser. I didn't flush my cache yet, but I could try that next. No proxy servers here at the office.


I have had the same thing happen to me. You were really logged out, but MediaWiki has a rather aggressive caching policy, so that page was being cached on the server, not your browser or an office proxy server. One way to tell is to try to edit the page. You'll get a "view source" box which looks a lot like the editing box, but you can't edit. Very frustrating until you figure it out.

You can tell the wiki software to purge the cache by adding "&action=purge" to the URL, which should give you the same page but show that you are in fact logged out.



____________
-- Rusty McGee Johnson

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,009.8
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7834 - Posted: 27 Aug 2008 | 13:49:24 UTC
Last modified: 27 Aug 2008 | 13:55:08 UTC

Code dwarf is right that I had not completely eliminated the permissions check based on RAC, and that we should test that further. But we are a bit low in the water now, with only `hello` working and everybody low on RAC. So we'll put that off a bit.

For now, I have changed the permissions so that RAC should not matter. Any member of the crew should be able to edit or create a page when logged in, but not when logged out. Please try that and report problems.

It looks like Ian did test the RAC limits a bit, but we can go back to that when there is a wider range of RAC to test with.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Post to thread

Message boards : Announcements : Wiki upgrade and testing

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2013 Capt. Jack Sparrow