DanTMan | 1 Mar 08:19 2008
Picon

(finish-and-release? '(Extension:MovePageEx Extension:WikiVid))

Firstly, I've had an extension in existence for a good time now; 
MovePageEx. I have info up on it over on some pages on Wikia.
I was wondering if anyone wanted me to clean up the code to the newer 
standards and release it on MediaWiki.org?

I developed it some time ago for the Wikia ACG project (Though the 
technical stuff hasn't actually been done yet), to solve the issue of 
needing to mass move pages.

Quite simply, it's an extension to page Moving which allows for 
conditional mass page moves dealing with a page and all it's 
subpages/talkpages.

So basically, if you had the pages:
Foo
Foo/Bar
Talk:Foo
Talk:Foo/Bar
And you clicked on MovePageEx while on [[Foo]] and entered *Baz* into 
the input box then selected all the pages, they would then be moved to:
Baz
Baz/Bar
Talk:Baz
Talk:Baz/Bar

Of course, it's all conditional, so you could easily tell it to only 
move Foo, Foo/Bar, and Talk:Foo/Bar leaving Talk:Foo behind.

It's got sysop restriction because it allows for mass page moves.

(Continue reading)

DanTMan | 1 Mar 08:25 2008
Picon

Re: (finish-and-release? '(Extension:MovePageEx Extension:WikiVid))

Oh, sorry, probably should have included it, but this is the old page 
for the MovepageEx extension over at Wikia:
http://www.wikia.com/wiki/User:Dantman/GE_Extended/Custom_Extensions/MovepageEx

Also, I had a typo in the list of video services, 'veo' is actually 
supposed to be Veoh.

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)
Shlomi Fish | 1 Mar 09:24 2008
Picon

Cannot run cleanupSpam.php in MediaWiki-1.11.1

Hi all!

I'm trying to run cleanupSpam.php in MediaWiki-1.11.1. However, I'm
getting some errors:

<<<<<<<<<<<<<<
wiki_osdc <at> hush:~/htdocs/maintenance$ /usr/local/apache/bin/php
cleanupSpam.php "authenticsteroids.com"
Found 1 articles containing authenticsteroids.com
Index.php ...PHP Fatal error:  Call to private method
LinkFilter::makeregex() from context '' in
/usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php
on line 17

Fatal error: Call to private method LinkFilter::makeregex() from
context '' in /usr/local/apache-php/home/wiki.osdc.org.il/htdocs/maintenance/cleanupSpam.php
on line 17

>>>>>>>>>>>>>>

Here is the Special:Version:

http://wiki.osdc.org.il/index.php/Special:Version

Any help would be appreciated.

Regards,

             Shlomi Fish
------------------------------------------
(Continue reading)

DanTMan | 1 Mar 09:26 2008
Picon

Re: dpl in ifexist construct?

Sorry, I couldn't get time to look over and reply for awhile.

Yes, you should be able to do the same with Semantic MediaWiki.
The primary difference between what you're doing in DPL and what you 
would be doing with SMW is that firstly, DPL restricts you to only being 
able to manage things with the Categories, SMW still works with 
categories, but also uses semantic attributes which will work even 
better for you in a number of cases. And secondly, rather than that dpl 
command which  you're using to extract a single parameter from a 
template, you would instead have the included template add a semantic 
attribute to the page, and grab that using an #ask query. Actually you'd 
likely put the box inside of a template referenced inside of an ask 
query elsewhere which would allow you to use variables rather than doing 
multiple queries on the same page (bad for performance).

Actually, the moment you think of using something like [[Category:CU 
customer001]] you should probably stop and think again about instead 
making /CU customer/ a semantic attribute and using something like [[CU 
customer::001]] in a page. And use relations for other pages related to 
it, I haven't looked into them much but something like [[Has 
customer::001]] on a server page to relate it to the customer, and even 
then you could use an #ask query to list it in the box for that customer.

As for Semantic Forms, I know that it works by modifying templates, but 
I don't know if it can be uprooted from SMW. I have a feeling that it's 
integrated at a fair strong level to allow you to do things like 
creating a dropdown which would list useable values for a property as 
possible inputs. Perhaps something like a dropdown list of all current 
available customers you could attribute a server to.

(Continue reading)

David Gerard | 1 Mar 15:38 2008
Picon

Re: dpl in ifexist construct?

On 27/02/2008, Herta Van den Eynde <herta.vandeneynde@...> wrote:

>  No, I haven't looked at Semantic MediaWiki in great detail.  Setting
>  up this wiki was one of those proof of concepts projects which turned
>  into a "we needed this yesterday".

Mediawiki's great for those. Spend some time getting requests from the
users and looking for fun stuff on mediawiki.org - it's a quick and
easy way to look like a wizardly genius to your boss and coworkers.

- d.
Platonides | 1 Mar 16:29 2008
Picon

Re: (finish-and-release? '(Extension:MovePageEx Extension:WikiVid))

DanTMan wrote:
> Now secondly, there's another extension I've got, except it's in partial 
> development (85% of it is complete, and it's got a fair amount of 
> functional use already).
> It's called WikiVid, and it's basically used for embedding videos from 
> external video hosts into the page.

(lots of lines skipped)

It sounds great. So i encourage you to finish it if you can spend some 
time on it.
Grietinus Koops | 1 Mar 16:30 2008
Picon

Re: Ajax Search Suggest (my first extension)

Adam,
Excellent! I only don't get it working for some reason...
There's an error "ss_ajax_onload is not defined" if I look in the script
errors... Any idea? I use MW1.10
Grietinus

2008/3/1, Adam Meyer <meyer7@...>:
>
> I just finished my first extension. It needs work I know, but perhaps
> anyone looking for something like this can use it and let me know what
> it needs.
>
> It is a very lightweight search suggestion. (under 5k). When typing
> into the search box, articles containing those letters or word will be
> displayed under the search bar.
>
> http://www.mediawiki.org/wiki/Extension:Search_Suggest
>
> Thank you to everyone who helped make this work.
> If you would like to help make this better, I would really love any
> help.
> I would like to be able to select what you want to choose using the
> arrow keys.
>
> Also, I could easily make the suggestions links so anyone could just
> click on them.
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
(Continue reading)

Adam Meyer | 1 Mar 16:53 2008
Picon

Re: Ajax Search Suggest (my first extension)

Hmmm... Im not sure why that is.
In the javascript file, do you see the ss_ajax_onload function??

-Adam

On Mar 1, 2008, at 10:30 AM, Grietinus Koops wrote:

> Adam,
> Excellent! I only don't get it working for some reason...
> There's an error "ss_ajax_onload is not defined" if I look in the  
> script
> errors... Any idea? I use MW1.10
> Grietinus
>
> 2008/3/1, Adam Meyer <meyer7@...>:
>>
>> I just finished my first extension. It needs work I know, but perhaps
>> anyone looking for something like this can use it and let me know  
>> what
>> it needs.
>>
>> It is a very lightweight search suggestion. (under 5k). When typing
>> into the search box, articles containing those letters or word will  
>> be
>> displayed under the search bar.
>>
>> http://www.mediawiki.org/wiki/Extension:Search_Suggest
>>
>> Thank you to everyone who helped make this work.
>> If you would like to help make this better, I would really love any
(Continue reading)

Jim Hu | 1 Mar 17:10 2008
Picon

Re: Ajax Search Suggest (my first extension)

I'm having similar problems.  I think there's a path problem in  
setting the header, and the js file isn't loading. Playing with it now.

Jim

On Mar 1, 2008, at 9:53 AM, Adam Meyer wrote:

> Hmmm... Im not sure why that is.
> In the javascript file, do you see the ss_ajax_onload function??
>
> -Adam
>
> On Mar 1, 2008, at 10:30 AM, Grietinus Koops wrote:
>
>> Adam,
>> Excellent! I only don't get it working for some reason...
>> There's an error "ss_ajax_onload is not defined" if I look in the
>> script
>> errors... Any idea? I use MW1.10
>> Grietinus
>>
>> 2008/3/1, Adam Meyer <meyer7@...>:
>>>
>>> I just finished my first extension. It needs work I know, but  
>>> perhaps
>>> anyone looking for something like this can use it and let me know
>>> what
>>> it needs.
>>>
>>> It is a very lightweight search suggestion. (under 5k). When typing
(Continue reading)

Jim Hu | 1 Mar 17:22 2008
Picon

Re: Ajax Search Suggest (my first extension)

function wfAjaxSetSearchSuggestHeaders($outputPage) {
 >>        global $wgJsMimeType, $wgStylePath,$wgScriptPath;
         $outputPage->addLink(
                 array(
                         'rel' => 'stylesheet',
                         'type' => 'text/css',
 >>                        'href' => $wgScriptPath.'/extensions/ 
searchsuggest/style.css'
                 )
         );
 >>        $outputPage->addScript( "<script type=\"{$wgJsMimeType}\"  
src=\"$wgScriptPath/extensions/searchsuggest/searchsuggest.js\">"."</ 
script>\n");
         $outputPage->addScript( "<script type=\"{$wgJsMimeType} 
\">hookEvent(\"load\", ss_ajax_onload);</script>\n" );
}

On Mar 1, 2008, at 10:10 AM, Jim Hu wrote:

> I'm having similar problems.  I think there's a path problem in
> setting the header, and the js file isn't loading. Playing with it  
> now.
>
> Jim
>
> On Mar 1, 2008, at 9:53 AM, Adam Meyer wrote:
>
>> Hmmm... Im not sure why that is.
>> In the javascript file, do you see the ss_ajax_onload function??
>>
(Continue reading)


Gmane