Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MediaWiki Latest Additions & Changes Details »
MediaWiki Latest Additions & Changes
Mod Version: 1.4, by majorxp (Member) majorxp is offline
Developer Last Online: Dec 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.5 Rating: (4 votes - 4.75 average) Installs: 28
Released: 19 Mar 2007 Last Update: 22 Mar 2007 Downloads: 119
Not Supported Additional Files  

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
  1. Edit the setting where you want the created file (wikichanges.htm) placed
  2. If you have a table prefix on your WIKI, then edit the sql to reflect your prefix
  3. Place this file in the extensions directory in your wiki
  4. add this line at the bottom of LocalSettings.php (before the "?>")

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  5. Edit a wiki article
  6. Browse to the file in your setting below to see if it worked
  7. Add vbAdvanced block to include the file
  8. Test links inside included page to ensure it works (you may have to edit depending upon your configuration)
Upgrade Instuctions
  1. Backup your old version
  2. Edit the current version's settings locally
  3. Replace the old version with the updated version with your settings
  4. Edit a wiki article (to generate a new wikichanges.htm file)
  5. Confirm new file generation

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:
  • Links to namespaces were not being included in links
  • Special or other undesirable pages being listed when updated
This version correctly generates links and will only show updated articles, user pages, images, and categories.

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

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 19 Mar 2007, 18:54
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
Thanks, this could prove usefull for me
Reply With Quote
  #3  
Old 19 Mar 2007, 22:49
jimmcq jimmcq is offline
 
Join Date: Mar 2007
Nice work!

It looks like you need a make a couple of small updates though... You didn't add anything to put the prefix in front of the database table name (if there is a prefix), and you appear to the your own filepath (/legend/wiki/) hardcoded into the output.

After I changed those then it seemed to work just fine.
Reply With Quote
  #4  
Old 19 Mar 2007, 23:57
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Thanks Jimmcq!

(don't forget to hit install)
__________________
:alien:
Reply With Quote
  #5  
Old 20 Mar 2007, 00:01
jimmcq jimmcq is offline
 
Join Date: Mar 2007
I'm new to vbAdvanced... How would I add wikichanges.htm to vbAdvanced?
Reply With Quote
  #6  
Old 20 Mar 2007, 00:11
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Add a new module and choose wikichanges.htm from the drop-down box in "File to Include". Also make sure you choose "Yes" in "Clean File Output". Once you have the module added, simply choose what pages you want it to show up.

If the file doesn't show up under the drop-down, change the directory that the file is created in makevbmodule.php settings.
__________________
:alien:
Reply With Quote
  #7  
Old 20 Mar 2007, 00:35
jimmcq jimmcq is offline
 
Join Date: Mar 2007
That worked! Thanks! One other small change is that you appear to be missing the namespace in the title. What I mean is that a user page titled "User:majorxp" is just being linked as "majorxp".

Also (and this may not apply to everyone) but you may want to utf8_decode the title names for that special characters like come out correctly.
Reply With Quote
  #8  
Old 20 Mar 2007, 01:11
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
added....I guess I have to manually add all the namespaces that would be used....
__________________
:alien:
Reply With Quote
  #9  
Old 20 Mar 2007, 01:11
jimmcq jimmcq is offline
 
Join Date: Mar 2007
I think you're going to need to do an actual db lookup of the namespaces... There are quite a few others that you haven't included such as Talk, User talk, Help, Image, {SITENAME}, MediaWiki, Template, etc.

I think the ordering could change and custom ones could be added, etc. so that's why they can't really be hardcoded.

Last edited by jimmcq; 20 Mar 2007 at 01:47.
Reply With Quote
  #10  
Old 20 Mar 2007, 21:00
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
updated instructions............
__________________
:alien:
Reply With Quote
  #11  
Old 20 Mar 2007, 23:56
jimmcq jimmcq is offline
 
Join Date: Mar 2007
for the namespace stuff, take a look at the 'makeTitle' function in the file includes/Title.php of MediaWiki
Reply With Quote
  #12  
Old 22 Mar 2007, 10:18
Pottsy Pottsy is offline
 
Join Date: Sep 2006
Hi,

This looks good, but it only seems to pick up some changes (and not others) and I can't see why it's not picking up all.

I tried editing a page, and the change isn't shown. The earliest changes in the list are from a few days ago. I am using mw 1.6.8 - will that make any difference?
Reply With Quote
  #13  
Old 22 Mar 2007, 12:27
hinch's Avatar
hinch hinch is offline
 
Join Date: May 2003
installed and working perfectly thanks alot

http://www.euro-chimaera.co.uk/index.php
__________________
http://www.furious-angels.com
Reply With Quote
  #14  
Old 22 Mar 2007, 16:27
majorxp's Avatar
majorxp majorxp is offline
 
Join Date: Sep 2005
Originally Posted by Pottsy View Post
I tried editing a page, and the change isn't shown. The earliest changes in the list are from a few days ago. I am using mw 1.6.8 - will that make any difference?
You bring up a good point about version compatibility. I haven't tested it on 1.6.8, so I don't know. I'm going to list 1.8.2 as the minimum version since that is the oldest version I have tested with.
__________________
:alien:
Reply With Quote
  #15  
Old 23 Mar 2007, 00:07
Pottsy Pottsy is offline
 
Join Date: Sep 2006
Originally Posted by majorxp View Post
You bring up a good point about version compatibility. I haven't tested it on 1.6.8, so I don't know. I'm going to list 1.8.2 as the minimum version since that is the oldest version I have tested with.
Maybe... but your new ver 1.4 works well with 1.6.8. Thank you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:51.

Layout Options | Width: Wide Color: