Page 1 of 3
princed.org (Wiki)
Posted: August 12th, 2012, 1:50 pm
by Norbert
Guess what... I found a backup of the old Princed Wiki.
I already have it running properly on my own computer (see small image below).
I'll put the Wiki back on-line at princed.org soon.

(
mirror)
Re: princed.org (Wiki)
Posted: August 12th, 2012, 11:18 pm
by Norbert
Norbert wrote:Guess what... I found a backup of the old Princed Wiki.
I already have it running properly on my own computer (see small image below).
I'll put the Wiki back on-line at princed.org soon.
For now, the URL is:
http://www.princed.org/w/
(poirot will make wiki.princed.org go there in a couple of days)
Feel free to help improve articles!
[Edit: I've worked on the wiki for hours and its main page looks a lot cleaner now. I've created lots of new pages.]
Re: princed.org (Wiki)
Posted: August 13th, 2012, 9:55 am
by David
The go/search functions of the wiki doesn't work. They give me a database error.
Also, non-ascii characters don't appear correctly,
see here:
http://www.princed.org/w/index.php?title=Pl:Main_Page (Polish letters),
and here:
http://www.princed.org/w/index.php?titl ... ile_format (quotes),
and here:
http://www.princed.org/w/index.php?title=Developers (Győr).
Re: princed.org (Wiki)
Posted: August 13th, 2012, 12:56 pm
by Norbert
David wrote:The go/search functions of the wiki doesn't work. They give me a database error.
I'll look into it.
That's from the old import/export, which was in latin1/2.
Anything new that'll be added will be okay, so we'll just have to fix these old pages and the problem is solved.

Re: princed.org (Wiki)
Posted: August 17th, 2012, 10:26 pm
by Norbert
I've enabled the ConfirmEdit extension (shows a math question) on the wiki's
account creation page to keep more bots out.
(Reason: I just noticed that two bots already registered themselves recently.)
Re: princed.org (Wiki)
Posted: August 18th, 2012, 1:57 pm
by Norbert
Norbert wrote:I've enabled the ConfirmEdit extension (shows a math question) on the wiki's
account creation page to keep more bots out.
(Reason: I just noticed that two bots already registered themselves recently.)
The bots don't care and still register themselves.
So, I have now enabled the Asirra extension that shows animals and the user has to pick all cats.
Pfff...
Re: princed.org (Wiki)
Posted: July 8th, 2014, 6:02 pm
by Norbert
I've added a link to the Princed Wiki at the top of the forum.
Also, the Princed Wiki now uses the latest MediaWiki software and I've enabled uploading to allow the uploading of (primarily) images to the Princed Wiki.
Everyone, feel free to improve the Princed Wiki; feel free to create pages about your mod(s) and other PoP things.
I have also split all wiki-related posts from the "princed.org (phpBB forum + WordPress webpages)" thread into this wiki-thread.
So, if you want to write about wiki-specific stuff, there's now a - this - thread for that.
(Of course it's also okay to link to the wiki from other threads.)
Re: princed.org (Wiki)
Posted: July 8th, 2014, 10:30 pm
by Norbert
I can also add Wikipedia templates if they are required; just let me know.
For example, I've already added
"Infobox software" (
example) and
"Cite web" (
example).
Re: princed.org (Wiki)
Posted: July 11th, 2014, 7:07 pm
by Norbert
Added a page that explains what a broken room link is:
http://www.princed.org/wiki/Broken_room_link
Might be useful to link to if we want someone (new) on the forum to know that it is.
Re: princed.org (Wiki)
Posted: December 31st, 2016, 2:02 am
by Falcury
I updated the wiki software to MediaWiki 1.28.0. Everything seems to have gone well as far as I can tell, but if anything doesn't work correctly, please let me know.
Because the Asirra module of the ConfirmEdit extension was not included in the newest version (deprecated maybe?), I had to pick a new captcha mechanism. I went with
ReCaptchaNoCaptcha.
Re: princed.org (Wiki)
Posted: December 31st, 2016, 11:19 am
by David
Falcury wrote:Because the Asirra module of the ConfirmEdit extension was not included in the newest version (deprecated maybe?), I had to pick a new captcha mechanism. I went with
ReCaptchaNoCaptcha.
It works, I could finally add an external link:
http://www.princed.org/w/index.php?titl ... oldid=1693
(Okay, it's not so external...

)
The CAPTCHA wrote:
Your edit includes new external links. To protect the wiki against automated spam, we kindly ask you to solve the following CAPTCHA:
Select all squares with fireworks.
Preparing for New Year, eh?

Re: princed.org (Wiki)
Posted: January 2nd, 2017, 3:47 pm
by Norbert
Three articles seem to be broken.
They print something along the lines of "[WGpZMEKT8J4AAHD8QRUAAADA] 2017-01-02 13:44:17: Fatal exception of type "MWException"".
The articles:
http://www.princed.org/wiki/Apoplexy
http://www.princed.org/wiki/Princed
http://www.princed.org/wiki/Chomper_v._chopper
From what I can find, you should be able to set "$wgShowExceptionDetails = true;" in LocalSettings.php to find the culprit.
And/or, try commenting out in that PHP file this line, if it exists: "require_once( "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php" );"
Re: princed.org (Wiki)
Posted: January 2nd, 2017, 4:16 pm
by Falcury
This is output after setting $wgShowExceptionDetails to true:
Code: Select all
[WGpfFUKT8J4AAEB8TjcAAABZ] /wiki/Princed MWException from line 210 of /home6/cloodiec/public_html/princed-org/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/home6/cloodiec/public_html/princed-org/w/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua) is not executable.
Backtrace:
[...]
So, I changed the permissions of the lua binary, so that it can execute. However, now these pages give HTTP 500 errors...
The error_log shows the following:
PHP Fatal error: Call to undefined function pcntl_wifsignaled() in /home6/cloodiec/public_html/princed-org/w/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 652
Edit:
Apparently, in May 2015 a dependency on the PHP function pcntl_wifsignaled() was introduced.
https://www.mediawiki.org/wiki/Topic:T33lj4njsf9311z0
https://gerrit.wikimedia.org/r/#/c/213586/
It seems the webserver does not supply this function, however.
Maybe if I copy the lua binary from the old MediaWiki installation to the new version, it might work again...
Edit: nope.
(incidentally, what do we use this extension for, exactly?)
Edit:
Since Scribunto for MediaWiki 1.25, your PHP server also needs to have pcntl enabled (only works with Unix/Linux platforms) if you want to use "LuaStandAlone" (i.e. running in a separate child process). Under Windows, Scribunto will run Lua only as "LuaSandbox" (within the same PHP thread as the thread used by MediaWiki to run this Scribunto extension, but within the sandboxing PHP environment configured by Scribunto).
Source:
https://www.mediawiki.org/wiki/Extensio ... #PHP_pcntl
Unfortunately, I only have FTP access so I can't do anything about this right now.
I disabled the Scribunto extension for now. At least, the wiki pages can be displayed again.
Re: princed.org (Wiki)
Posted: January 2nd, 2017, 5:28 pm
by Norbert
Falcury wrote:(incidentally, what do we use this extension for, exactly?)
It appears to be used for templates.
Such as {{
Official website}} and {{
Infobox software}}.
These templates are used - and currently don't work, as you can see - in the
apoplexy article.
The other two pages use the {{
Hatnote}} template.
Re: princed.org (Wiki)
Posted: September 13th, 2017, 9:40 pm
by Norbert
Hm, unfortunately, all the templates are still broken.