User comments:wrh2

[Edit]Geronimo

Hi Ryan I added a Geronimo 1.1 Configuration section to the Web Application Server Configuration section on the Installation page.
Feel free to move it away if it is cluttering the page. If you decide its apropriate do spellcheck it, it most certanly have spelling errors ;).
-- Peter Mon Aug 7 00:40:43 CEST 2006

Thanks! Contributions are always appreciated - looks good to me! -- Ryan 06-Aug-2006 22:40 PDT

[Edit]Ordered Hashes

Hi, I noticed in PersistencyHandler.lookupWikiLoginName, you have a FIXME for the type of hash being used. I think what you want is java.util.LinkedHashMap, using it's constructor which orders items in the order they were last accessed, so that you can drop the least access ones off the list. Be careful with synchronization if you use it. -- scroco 11-Aug-2006 10:29 PDT

Thanks - that should work extremely nicely for a couple of items that are being kept cached. I should probably re-acquaint myself with the latest info on concurrency and webapps, but I recall that at some point in the past, provided you didn't start any threads of your own, that webapps were single-threaded and synchronization on a single server shouldn't be an issue. The SearchRefreshThread was the last of the old Very Quick Wiki threads, and it will be gone for JAMWiki 0.2.0, so hopefully threading and synchronization issues shouldn't be a concern for non-shared resources. Hopefully. -- Ryan 11-Aug-2006 11:05 PDT
I've added an org.jamwiki.utils.WikiCacheMap class that extends LinkedHashMap and provides a way of caching MAX_NUM values in memory to improve performance. Thanks for the pointer! -- Ryan 11-Aug-2006 12:58 PDT

[Edit]Italicized titles

Take a look at these 2 pages:

http://en.wikipedia.org/wiki/Millennium_Falcon

http://starwars.wikia.com/wiki/Millennium_Falcon

Notice how the wookieepedia version has italicized the title at the top of the page. Do you know how that's working? It looks like maybe a css trick? -- scroco 19-Sep-2006 11:42 PDT

The CSS in that page is insanely complex! I would guess that the italics is probably coming from the "title-override" bit that comes later in the page source. That's just a guess though - between the Javascript, the multiple stylesheets, etc, I would be very, very afraid of saying with any certainty what is going on in that page. -- Ryan 19-Sep-2006 12:15 PDT

[Edit]Suggestion

G'day Ryan, nice work. However I don't really have a need for the whole project but what I would like is the wikitext parser you have. I suspect there may be many others who would love be able to use MediaWiki wikitext syntax in their Java projects and it seems that you may have a pretty mature parser here. Only problem is that it's embedded in your project. I haven't had a look yet at how difficult it might be to extract it but I thought you might be interested in the suggestion to offer it as a separate download. -- Rod

btw: Wikitext2HTML is what I'm after, I don't need some kind of interface to the structure or anything, just HTML output from wikitext input.
That might actually be a good exercise to undertake in terms of cleaning up the parser interface. I'm not sure what exactly would be involved, but I'll add it to the Roadmap as something to look into in the near future. Thanks for the suggestion! -- Ryan 23-Oct-2006 19:05 PDT

[Edit]Hungarian topics

The page works OK, the characters (á, é, í etc) appear correctly. There will be an another-language version of the current StartingPoints (so for example Hungarian visitors would get informations about the project in Hungarian)?--bDaneE 08-Nov-2006 22:05 PST

The LeftMenu, StartingPoints and BottomArea topics are used when JAMWiki is installed, so someone doing a new installation will have the translated topics installed. For example, since jamwiki.org is installed in English the English pages are used, but if you install your own Wiki it would be installed in Hungarian. Once the Wiki is installed there are no further translations done. However, the SpecialPages topic is used to generate Special:Specialpages, so that page DOES affect existing installations. I should probably write this information up, but was waiting for additional feedback before doing so. -- Ryan 08-Nov-2006 22:25 PST

You misunderstand me. I thought of the Hungarian version of jamwiki.org's StartingPoints. --bDaneE 12-Nov-2006 02:46 PST

No, the translated versions of jamwiki.org's StartingPoints topic won't appear on jamwiki.org since jamwiki.org was set up as English. Only new installations of JAMWiki will use the default pages, and they will only be used during setup. For example:
  1. Install a new instance of JAMWiki in Hungarian.
  2. ALL visitors to the StartingPoints page of that installation will see the Hungarian page.
Eventually different versions of jamwiki.org could probably be set up for different languages, but at the moment it's hard enough to keep just the English version up-to-date so it is probably best to wait a while before starting new language versions. Hopefully that's clearer - please let me know if you still have questions, or if you have any suggestions. -- Ryan 12-Nov-2006 08:18 PST

[Edit]Check in

Hi Ryan, I've been out of the loop for a while here. Have I missed anything good? I see there have been a couple releases so far this year.

Hey Scott - I'm working full time again, so the release schedule has slowed considerably. You had asked a long while ago about implementing a spam filter, and a simple spam blacklist went in with 0.5.1. A brief overview is on Comments:JAMWiki 0.5.1#Filtering and Tech:Spam Filter - any feedback you've got would be great. 0.5.2 will be out soon, and it will include the ability to use a whitelist/blacklist to restrict the types of files that can be uploaded to the wiki. I'm not sure exactly when you dropped out, so the Category:Release Notes are probably the easiest way to catch up. Good to see you back! -- Ryan 27-Feb-2007 18:34 PST

[Edit]Mavenize

I would like to merge the Maven branch into trunk. However it would be nice if you are online at the same time. Preferably via jabber/skype in case anything goes wrong and furthermore I could help if you need any help with your IDE or system afterwards. Mike 18-Jul-2007 11:02 PDT

I'm online at work all day, but I won't be able to help out with any issues during work hours. I usually get home around 7PM PST. That said, there aren't a lot of people building off of trunk right now, so feel free to merge whatever you need to and I'll review things as I get a chance. If there are any serious issues we can always just revert and try again. -- Ryan 18-Jul-2007 12:05 PDT

Hi, you have added this "mvn install:install-file"command in Building from Source. Did you experience problems? Because Maven should find bliki in any case in the /repository directory. You have updated from trunk and still got this problem? Mike 21-Jul-2007 18:00 PDT

Sorry, I have found the source. The line in /pom.xml <url>file:///${basedir}/repository is evaluated in /jamwiki/pom.xml to ../jamwiki/repository. But it's in /repository and I cannot define an absolute path in /pom.xml (obviously). I have moved /repository to /jamwiki/repository and the definition of this repository to /jamwiki/pom.xml. I thought it would be nice to have a global repository in general, but it looks like that it isn't that easy. Everytime I check if it is working an already installed jar does hide an error. :-( Mike 21-Jul-2007 18:18 PDT

I would like to avoid the manual installation of libraries and keep it simple and smart if possible. Mike 21-Jul-2007 18:25 PDT

Agreed, I didn't have time to investigate further why bliki was requiring manual installation, so I'm glad you were able to fix the problem. I'll update the Building from Source page to remove the install line. -- Ryan 21-Jul-2007 19:37 PDT

[Edit]comments of revision 1616

Use WikiLink & LinkUtil to determine namespace & page name - this avoids having multiple methods to do the same thing. -- User:wrh2

sure, I didn't know of these methods. Thanks for your code review. Régis Décamps

Add isUserPage method since Mediawiki shows contributions link on the user page and the user comments page.-- User:wrh2

I understand Special is a ... special name, hence the isSpecial method, and I didn't want to create the equivalent for users. But you've got a good functional point. Régis Décamps

Remove @author tags for now - we can discuss this if desired, but on a project with many contributors I don't think it's going to be easy to keep @author accurate, and especially not at the method level. -- User:wrh2

Oops, that's my Eclipse template... No problem removing it. Svn tracks everythin already.

Have a good day Régis Décamps

Thanks for making the change. There's a lot of code in the JAMWiki code base, and it's not always well organized (it's better than a lot of projects though!) so I definitely wouldn't expect everyone to know about every method. Longer term see Tech:Page Toolbox, which may be an easier way of handling this sort of functionality. -- Ryan 26-Jul-2007 08:53 PDT

[Edit]Release 0.6 and email support

After the release of 0.6 I would like to merge the email support into trunk. Please let me know if it is okay for you now. Mike 04-Sep-2007 02:02 PDT

Sounds good to me. I don't have a mail server set up to test with, so hopefully it's OK if I send any bug reports in your direction? -- Ryan 04-Sep-2007 08:53 PDT

[Edit]hi ryan

--edvjar 18-Oct-2007 16:30 PDT hi when i upload a .wmv the jamwiki open this file in a html, how resolve this problem Ryan

If I click on Image:fly 6ssomvlj.wmv then it opens in Windows Media player. If it's not doing that on your server look into updating your web server's MIME types - see http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx for some details. Hope that helps! -- Ryan 18-Oct-2007 20:37 PDT
eit Ryan i need some documentation , diagram classes , you have some documentation tx --EDVJAR 14-Dec-2007 11:40 PST
Hi edvjar - developer documentation can be found under Category:Developer Documentation, and the Javadoc is linked from the left nav. Hope that helps. -- Ryan 14-Dec-2007 18:48 PST
ok tx --EDVJAR 19-Dec-2007 10:54 PST

[Edit]Remote backup

With the untimely passing of my friend, I stand in a quite a predicament regarding our wiki. Specifically, because the Wiki is hosted on his server, and I don't have the password (no one does). Currently the server is still up and running (and locked), but when it inevitably goes down, we're going to be in a world of trouble. I have FTP access to the root JAMWiki folder, so I've been able to backup all uploaded images, scripts, logs, etc. However, unless I am mistaken, backing up that folder does not back up the actual content of the Wiki. Quite frankly, since I didn't set up the Wiki myself, I don't even know where the pages are physically stored on his server, but I'm assuming it's in some database that resides outside the folder I have FTP access to.

So here's my question: sitting in my position, with nothing more than FTP access to the root JAMWiki install, how can I backup the content of my Wiki and migrate it to my server? Is it possible? --Ean 16-Feb-2008 10:26 PST

It's doable. For security reasons I'd rather not publish the exact steps here, but send me an email and I can tell you what might work. -- Ryan 16-Feb-2008 12:02 PST

[Edit]Disable Acegi Security !!!

my problem is this: I want to remove the acegi security, and replace with my own class, but I do not see where remove it, only i need change the way to enter at the jamwiki, my class work fine with ldap so i only need put my code in the jamwiki but i need disable the acegi of jamwiki i use the acegi in my classes i need integrate this code with the jamwiki and view the results. my email is esteban.duenas@softtek.com if you wish add at messenger :) --EDVJAR 22-Apr-2008 15:40 PDT

I'm honestly not sure if the wiki will work with Acegi disabled since it is a core part of the wiki, but you can try removing all references to Acegi and the Acegi filters from your web.xml, which will then allow requests to be processed by the wiki without invoking Acegi. Good luck! -- Ryan 22-Apr-2008 16:00 PDT
the wiki work only have bugs of security, but this bug will fixed with my class, if this works fine i send you the code, for you looked, sorry my english no is very well :)--EDVJAR 22-Apr-2008 16:47 PDT

[Edit]how disable edit tab in the starting points

hi ryan i hava a problem , i have user but i would like the tabedit appear in the starting point how disabla this option. tx --EDVJAR 29-May-2008 11:34 PDT

There are two options - if you log in as an admin you will see a "Manage" tab on every page, and that page has an option to make any page admin-only (only admins can edit) or read-only (no one can edit). Hope that helps. -- Ryan 29-May-2008 11:49 PDT
tx

--EDVJAR 29-May-2008 11:59 PDT