The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MediaWiki Latest Additions & Changes Details »» | |||||||||||||||||||||||||
Last Updated Wiki pages block
Version 1.4 Purpose This extension will list the last updated or new wiki entries. It can be included as a vbAdvanced block or included wherever you desire. It was designed to be included in a vbAdvanced block for vBulletin. It also goes nicely with Nuhit's MediaWiki integration tool but is not required. Requirements This is only supported on MediaWiki 1.8.2 - 1.10. It might run on a lower version, but it hasn't been tested. It has been reported 1.12 not to function. If you are interested in updating this to support additional versions as they are released let me know and you can be a co-developer on this. Warning This is only designed for boards with less than 50 wiki page edits per minute. If you have more, it almost becomes a useless mod (and puts a senseless burden on the server). No warranty other than this file will take up a few kb on your hard drive. Instructions
Demos Here are some demos of the plugin. If you would like yours to be included, just post your url in the thread. www.golegend.com www.euro-chimaera.co.uk PinataIsland.info Support Support is limited to this forum and to those who click install (yes I can see who did). If you have any questions or find a bug, post it here. I spend time with my family on the weekends, so expect long waits then. Versions 1.4 - Important bug fix. This fixes two issues:
1.3 -Added namespace for User pages (thanks jimmcq) 1.2 - Removed some personal code references 1.1 - Update with table prefix setting (thanks jimmcq) 1.0 - Initial Release Keywords: MediaWiki, Wiki, vbAdvanced, vbWiki, Nuhit Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
|||
|
|||
Major, I was hoping you could take a look at this error with mediawiki 1.13.3:
Detected bug in an extension! Hook UpdateBlock failed to return a value; should return true to continue hook processing or false to abort. Backtrace: #0 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/Article.php(1564): wfRunHooks('ArticleSaveComp...', Array) #1 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/Article.php(1317): Article->doEdit('test5?gr?fe', '', 98) #2 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/EditPage.php(997): Article->updateArticle('test5?gr?fe', '', false, false, false, '') #3 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/EditPage.php(2274): EditPage->internalAttemptSave(false, false) #4 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/EditPage.php(464): EditPage->attemptSave() #5 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/EditPage.php(349): EditPage->edit() #6 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/Wiki.php(492): EditPage->submit() #7 /var/www/vhosts/mydomain.com/httpdocs/wiki/includes/Wiki.php(59): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #8 /var/www/vhosts/mydomain.com/httpdocs/wiki/index.php(93): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #9 {main} |
#33
|
|||
|
|||
Isent it possible to make a bug trace on a finer level to see what actually goes wrong inside the Updateblock ?
|
#34
|
|||
|
|||
The wikichanges.htm actully gets data on the following form:
<tr class="alt2"><td colspan="7"><span class="smallfont"><a href="/wiki/index.php?title=Test5" title="Test5">Test5</a> - by Euroman<BR></span></td></tr> <tr class="alt1"><td colspan="7"><span class="smallfont"><a href="/wiki/index.php?title=Test3" title="Test3">Test3</a> - by Euroman<BR></span></td></tr> <tr class="alt2"><td colspan="7"><span class="smallfont"><a href="/wiki/index.php?title=Teset1" title="Teset1">Teset1</a> - by Euroman<BR></span></td></tr><tr class="alt1"> etc. |
#35
|
|||
|
|||
Conclusion so far:
Mod is actully working as far as: 1. Output gets produced correctly in: wikichanges.htm 2. Also I can se page actully gets correctly updated with saved change Only problem: Error message after saving because updateblock is not "true". Possible solution: Can we somehow define/set updateblock to "true" so we wont get the error message? It that is possible then mod is working 100 pt. |
#36
|
|||
|
|||
Here is the patch to mediawiki 1.13.3:
In makevbmodule.php: After: PHP Code:
PHP Code:
|
#37
|
|||
|
|||
Could anybody help me rewrite links to piniata style: http://pinataisland.info/index.php?t...451&oldid=prev ?
PHP Code:
|
#38
|
|||
|
|||
KrisP -
Looks like you found your answer! I'm not really sure what exactly you are asking in post 36 though. |
#39
|
|||
|
|||
Well, if you look at the demo website http://pinataisland.info/central.php their recent wiki links are different. They point to a page where you can see the change of the article on the top of the page and the article itself on the bottom. I would like that too on my site.
|
#40
|
|||
|
|||
most interesting idea........
I like that. You can edit that by the code you found above... |
#41
|
|||
|
|||
Here is the code:
$query = "SELECT o.rc_this_oldid, ... $wik = $wik . '<a href="/wiki/index.php?title=' . $row['rc_title'] . '&diff=' . $row['rc_this_oldid'] . '&oldid=prev' . '">' . $row['rc_title']. '</a>' . $new . ' - by ' . $row['rc_user_text'] . '<BR>'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|