Stan <stan(a)pokras.net> writes:
> The person who initially set up the software for Wikidelphia has
> examined the problem and recommends that we update.
...
> Reply here with any questions. It would be great if you would
> investigate what might be needed to be done and (with some patience)
> walk me through the steps. Here's a link to the
> "<http://www.wikidelphia.org/index.php?title=Special:Version>Special:Version"
> page.
Version is 1.16.5 for those playing at home. That's pretty old, but you
should be able to do an upgrade. The first step is to create a copy of the
wiki you can experiment with.
See my post here, although it is Postgres specific:
http://blog.endpoint.com/2015/06/mediawiki-complete-test-wiki-via-cloning.h…
As long as you haven't done too much customization, the update should
go fairly smooth: download the 1.26.2 tarball, unpack, copy LocalSettings.php,
copy extensions, run update.php. You may have to disable or update most
of your non-core extensions.
--
Greg Sabino Mullane greg(a)endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
Hi
I want to make changes to the following file on the server:
/wiki/includes/specials/SpecialWhatlinkshere.php
In order to force the display of content in:
http://example.com/wiki/index.php?title=Special:WhatLinksHere/Page
The following line appears to be the one that shows the list items:
Line 375: Xml::tags( 'li', null, "$link $propsText $dirmark $wlh" ) . "\n";
I want to display the full html text of the article in $link on a line
below e.g.:
Line 375: Xml::tags( 'li', null, "$link $propsText $dirmark $wlh<br
/>$pageText" ) . "\n";
I need to know about how to generate the contents of my variable $pageText
The page may include templates, so the content should be formatted to
display in the same way as it would on screen if someone was vititing the
article.
Some pages on the wiki transclude {{Special:WhatLinksHere/Page}} as a
template, and I need the modifications described above to work there too.
Any help with this is much appreciated. I am happy to put this on a
freelancer website and transfer money via PayPal for a working solution.
OK, So i'm trying again to get Lua to work on my server.,
Specs; ubuntu linux; Apache, mysql, mediawiki 1.25.1, lua 5.0 5.1 5.2 all
installed from ubuntu; Scribunto versions of binaries are sketchy and have
consistently failed to work properly. Lua is executable from the command
line so I am certain there are no issues there. In the snip from local
settings below, the 'lua' is a symbolic link to lua5.2 as set up by my
distro manager.
I have extension Scribunto installed and configured thusly in LocalSettings
require_once( "$IP/extensions/Scribunto/Scribunto.php" );
$wgScribuntoEngineConf['lua']['luaPath'] = ( '/usr/bin/lua' );
$wgShowExceptionDetails = true;
$wgScribuntoUseGeSHi = true;
$wgScribuntoUseCodeEditor = true;
Now this is the error message I'm getting. I have googled it and there seem
to be a crap load of sites with this issue.
Lua error: callParserFunction: function "PROTECTIONEXPIRY" was not found.
Backtrace:
1. *(tail call)*: ?
2. *[C]*: in function "error"
3. *MWServer.lua:69*: ?
4. *(tail call)*: ?
5. *(tail call)*: ?
6. *Module:Effective_protection_expiry:20
<http://www.physicswiki.net/index.php?title=Module:Effective_protection_expi…>*:
in function "effectiveProtectionExpiry"
7. *Module:Protection_banner:137
<http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=…>*:
in function "new"
8. *Module:Protection_banner:872
<http://www.physicswiki.net/index.php?title=Module:Protection_banner&action=…>*
: ?
9. *(tail call)*: ?
10. *mw.lua:511*: ?
11. *(tail call)*: ?
12. *[C]*: in function "xpcall"
13. *MWServer.lua:87*: in function "handleCall"
14. *MWServer.lua:301*: in function "dispatch"
15. *MWServer.lua:40*: in function "execute"
16. *mw_main.lua:7*: in main chunk
17. *[C]*: ?
I have virtually no idea how to fix this. I do have all the required
modules installed also.
Thanks in advance for any tips.
John