Re: [Mediawiki-l] extracting the whole history of an article

2009-12-01 Thread Robert Carter
t 100 revisions every 10 seconds would that be ok? Rob On 30/11/2009, at 3:15 PM, Tim Starling wrote: > Robert Carter wrote: >> I've been experimenting with the parameters to Special:Export to >> retrieve the whole history of an article. I haven't been able to get >&g

[Mediawiki-l] extracting the whole history of an article

2009-11-29 Thread Robert Carter
I've been experimenting with the parameters to Special:Export to retrieve the whole history of an article. I haven't been able to get more than 1000 revisions (from en wikipedia). Does anyone know of a way to obtain the full history of an article? Those huge 7z exports seem too crazy to work

[Mediawiki-l] supporting multiple languages

2009-11-01 Thread Robert Carter
Hi everyone, I have a site that requires the ability to switch languages. I would like to accommodate both languages in the same mediawiki installation and provide links on the page that will set a cookie to switch display of content to one language or another. What is the best way to struc

Re: [Mediawiki-l] import mediawiki markup using a script

2009-09-21 Thread Robert Carter
Here is a perl script that will perform a number of common functions: https://organicdesign.co.nz/Wiki.pl I have used this in the past for wiki migrations and it has been very effective. Also the MediaWiki API can perform many tasks in an automated way. http://www.mediawiki.org/wiki/API Regard

Re: [Mediawiki-l] 'contains' search

2009-08-26 Thread Robert Carter
t; matsch > > > Am Wed, 26 Aug 2009 07:22:35 +1200 > schrieb Robert Carter : > >> Thanks for your response. To describe more clearly: The ajax suggest >> function of the wiki will do a dynamic search of page titles. But by >> default it will only match article ti

Re: [Mediawiki-l] 'contains' search

2009-08-25 Thread Robert Carter
s to only return titles at this stage. Rob On 25/08/2009, at 10:58 PM, Platonides wrote: > Robert Carter wrote: >> Hi everyone, >> >> I'd like to make a custom search box for our wiki that will do a >> 'contains' search. I have tested using the mediawiki

[Mediawiki-l] 'contains' search

2009-08-24 Thread Robert Carter
Hi everyone, I'd like to make a custom search box for our wiki that will do a 'contains' search. I have tested using the mediawiki API and that gives a 'begins with' search. The format is just what I need, but how to do a 'contains' search? - using API or some other method. Rob ___

Re: [Mediawiki-l] How do you remove edit buttons from the toolbar?

2009-08-13 Thread Robert Carter
You can use CSS. Eg put this line in MediaWiki:Common.css #ca-talk { display: none; } The talk button will be hidden. Rob On 13/08/2009, at 6:56 PM, Claus Juhl Knudsen wrote: > Hi all, > > I've added a couple of buttons to the toolbar by adding some > javascript to > Mediawiki:Common.js, but

Re: [Mediawiki-l] What killed MS Word? MediaWiki.

2009-08-03 Thread Robert Carter
They're half way there: http://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 Has some bugs though. Rob On 4/08/2009, at 7:09 AM, David Gerard wrote: > Heh. We win. Even without a good WYSIWYG editor! > > http://arstechnica.com/microsoft/news/2009/08/microsoft-word-1983---2009-rest-

Re: [Mediawiki-l] dynamic skin selection

2009-06-23 Thread Robert Carter
n $_GET is necessary the use of $_REQUEST does not have the same effect. Rob On 24/06/2009, at 9:28 AM, Robert Carter wrote: > Hi everyone. > > I am using $wgDefaultSkin to set skin preferences from > LocalSettings.php based on the domain the request is coming from. > > The prob

[Mediawiki-l] dynamic skin selection

2009-06-23 Thread Robert Carter
Hi everyone. I am using $wgDefaultSkin to set skin preferences from LocalSettings.php based on the domain the request is coming from. The problem is that user preferences override this choice. Is there is way to force the skin selection regardless of user preferences? Versions: MediaWiki 1.1

Re: [Mediawiki-l] scary transcusion cache [ SOLUTION ]

2009-06-17 Thread Robert Carter
g/wiki/Category:Interwiki_variables > > Search for 'cache' on that page. Please try out very short expiry > times > to find out whether/how it works for your case, and let us know if/how > it works :) > > // Rolf Lampa > > > Robert Carter skrev: >> By all a

Re: [Mediawiki-l] my strange problem continues

2009-06-17 Thread Robert Carter
Perhaps if you send a link to a screen capture of a couple of wiki pages it will help people to understand better what has happened. Rob On 18/06/2009, at 5:17 AM, Enrique wrote: > Yes when i go to any page i see not only the same title for all > aticles, > including login form, search, all,

[Mediawiki-l] scary transcusion cache

2009-06-17 Thread Robert Carter
By all accounts the use of $wgEnableScaryTranscluding is not recommended. I'm using it as a stop-gap measure to share information between two wikis. Can anyone think of a way to expire the cache so that updates to the original article are reflected on the page into which it is transcluded?

Re: [Mediawiki-l] wiki and helpdesks

2009-03-30 Thread Robert Carter
We use MediaWiki as an issue tracker with the help of RecordAdmin: http://www.mediawiki.org/wiki/Extension:RecordAdmin This lets you create forms to manage templated data in wiki articles. Rob On 31/03/2009, at 8:52 AM, Dorozynski Janusz wrote: > Hi Davis, Domas and P.Mazart! > > Thanks for yo

Re: [Mediawiki-l] Best way to add code to a specific page

2009-03-22 Thread Robert Carter
You can use CSS is make a chunk of html only appear on some pages. Check the class attribute of the body tag to see what I mean. Eg Here you have classes for namespace, language direction, page name etc. So if you add some HTML to your skin or the site notice for example with the ID foo. Som

Re: [Mediawiki-l] Count of Articles for Multiple Category

2009-03-22 Thread Robert Carter
Here is an example DPL query that works for me: {{#dpl: category = Servers {{!}} Meetings |resultsheader = %TOTALPAGES% |format = ,,, }} You must also create an article called Template:! Containing: | Because we want to count the total we use logical or (|) here. That way we get the superset a

[Mediawiki-l] username and realname display

2009-03-22 Thread Robert Carter
Can anyone think of a way to replace the wiki usernames that are displayed in the recent changes, history etc, with the user's real name as specified in the preferences? Many of my wiki's have ugly enterprise IDs (eg rcar004) for usernames and it would be nice to have the real name displaye

Re: [Mediawiki-l] last changes to release new wiki skin

2009-03-17 Thread Robert Carter
It is not a good idea to make changes to these core mediawiki files because it makes upgrading the wiki difficult. This script outputs some '.portlet' html code based on the content of a wiki article (Mediawiki:Nav). You can use this inside Monobook.php or a new skin file of your creation.

Re: [Mediawiki-l] featured articles date of promotion

2009-03-17 Thread Robert Carter
I would use dynamic page list extension to do this. This is not installed on all WM wikis but if this is your wiki it might help. http://www.mediawiki.org/wiki/Extension:DynamicPageList You can select lists of articles and order by created date, for example. Rob On 18/03/2009, at 2:00 AM, K.

[Mediawiki-l] ampersands and rawhtml

2009-03-10 Thread Robert Carter
I'm using rawhtml in my mediawiki and putting javascript into the pages. This is mostly working fine, except when the javascipt has an ampersand (&) in it. MW converts the ampersand into an entity and breaks the script. Is there any way to stop MW from doing this? Rob Web Design and Technic