Brianna Laugher | 1 Sep 05:41 2009
Picon

Re: RSS Feed on Category

2009/8/31 Verhoeven, Peter <peter.verhoeven <at> oce.com>:
> Hi,
>
> It is possible to subscribe to a RSS Feed Recent Changes and New Pages.
> Is there also a way to add RSS Feeds for Recent Changes and New Pages
> within a specific category?

Hi,

AFAIK there is no way to do either of these things with MediaWiki by
itself. However, there is a toolserver tool that does something a bit
similar.

"Catfood" by Magnus Manske http://toolserver.org/~magnus/catfood.php
creates a feed for pages added to a category. Note this is a bit
different to "new pages": the pages could have existed for a long
time, but only recently be added to a category.

e.g.
Feed of images added to the Featured Pictures category on Commons:
http://toolserver.org/~magnus/catfood.php?category=Featured_pictures_on_Wikimedia_Commons

Feed of articles added to the Linguistics category on simple.wikipedia:
http://toolserver.org/~magnus/catfood.php?language=simple&project=wikipedia&category=Linguistics&depth=0&namespace=0&user=&size=300&last=10&doit=Do+it
(it seemed to be choking a bit on en.wikipedia, but in theory that
should also work)

Catfood is open source, and I think it wouldn't be difficult to adapt
it for your wiki. You can then use JavaScript to insert an automatic
link into the toolbox for category pages. (Like
(Continue reading)

Waseem Sayegh | 1 Sep 06:05 2009
Picon

Re: Replacing Newline using Extension:StringFunctions

Regarding what this would be used for, from my personal experience with
running http://www.shawshara.com inexperienced users or non tech-users tend
to edit the wiki thinking that a new line will automatically translate into
a line break. Some more experienced users with HTML knowledge have modified
our pages and have appended <br /> to the end of the lyrics lines. Both ways
are not valid. Now, I'm sure that most of you are techies so you're familiar
with how the wiki works, but think about it from the point of view of a
person that has never seen code.

We've been trying to make the site as user friendly as possible. To do so,
we're now in the processes of converting the whole site to use Semantic
Forms to allow users to easily edit a page's contents using a form instead
(ex:http://www.shawshara.com/wiki/Ya_Rayah click edit with form). With the
introduction of these forms we've learned that the way to go for us is not
to ask users to enter two new lines, but instead to handle this conversion
ourselves. At any rate, the Poem extension (
http://www.mediawiki.org/wiki/Extension:Poem) really does the trick for us.
Katharina Wolkwitz | 1 Sep 07:56 2009
Picon

Re: Replacing Newline using Extension:StringFunctions

Hi Jack,

I'm not sure if I really understand the wherefor and why but the break in
mediawiki is <br\> not <br>.

Perhaps you could make an extra button to insert <br/>?

Greetings
Katharina

Jack D. Pond schrieb am 01.09.2009 00:44:
> Extra newline also means extra line in output.  More importantly, if a user
> fills in either in infoblock or a textbox, they have to put the second
> newline in - teaching the users to do this is as counterintuitive as
> teaching them to put an html break (<br>).
> 
> However, escaping the escape (e.g., "\\" instead of "\") can be difficult
> too - but usually not an issue for those who would actually put one in - and
> the <nowiki> mechanism is already widely used for this.
> 
> Jack
>> -----Original Message-----
>> From: mediawiki-l-bounces <at> lists.wikimedia.org 
>> [mailto:mediawiki-l-bounces <at> lists.wikimedia.org] On Behalf Of 
>> Jean-Marc van Leerdam
>> Sent: Monday, August 31, 2009 4:39 PM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Replacing Newline using 
>> Extension:StringFunctions
>>
(Continue reading)

Jon.G.Bartlett | 1 Sep 12:12 2009
Picon

Re: Replacing Newline using Extension:StringFunctions

<br> is inserted by FCKEditor (which I guess many are using in their 
Wikis).
Personally, I find these all over the place in oursi - and it irritaes me 
(even in level heading, and tables etc)

Jon.

"Platonides" <Platonides <at> gmail.com> 
Sent by: mediawiki-l-bounces <at> lists.wikimedia.org
01-Sep-2009 10:58
Please respond to "MediaWiki announcements and site admin list" 
<mediawiki-l <at> lists.wikimedia.org>

 
To
mediawiki-l <at> lists.wikimedia.org
cc

Subject
Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

Katharina Wolkwitz wrote:
> Hi Jack,
> 
> I'm not sure if I really understand the wherefor and why but the break 
in
> mediawiki is <br\> not <br>.
> 
> Perhaps you could make an extra button to insert <br/>?
> 
(Continue reading)

Paul Fels | 1 Sep 16:13 2009
Picon

Problem with reCaptcha extension: Additional tag in HTML source

Hi,

due to repeating spam attacks against my wiki I tried the reCaptcha extension.
Somehow, the extension screws up the HTML source of the pages.
Now,
the source of each page from my wiki begins with </pre>, 
followed by the DOCTYPE definition and the rest of the page.

Most
browsers ignore that tag, however, the RSS feed don't work anymore,
since the XML cannot be interpreted correctly if this tag is at the
begin of the feed.

I've tried to update the underlying ConfirmEdit extension, but with no success,the problem still persists.
MW is version 1.15.1, the reCaptcha Plugin is version 1.7

Any hints?
Paul

      New Email names for you! 
Get the Email name you&#39;ve always wanted on the new  <at> ymail and  <at> rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/
Jack D. Pond | 1 Sep 16:17 2009

Re: Replacing Newline using Extension:StringFunctions

I think part of the point of usability with a wiki is to reduce user
complexity, not to increase it.  Silly rules like adding a <br> or using two
line feeds (which sometimes shows up as two line feeds), run contrary to
that concept.

After seeing many responses (thank you all for the input), I've come to the
conclusion that this is best implemented by creating a new extension, which
I'm going to call ExtendedStringFunctions.

This will allow escaping characters (such as newline and others) and will be
invoked with an extra "e" at the end of the parser function:

Example:

{{#replacee:{{{Input String}}}|\n|<br>}}

This way, the existing users of StringFunctions will not find their stuff
unexpectedly escaped, and those who wish to do replacements and escaping can
do so with the extended functions.

Again, thanks for all the input!

Jack

> -----Original Message-----
> From: mediawiki-l-bounces <at> lists.wikimedia.org 
> [mailto:mediawiki-l-bounces <at> lists.wikimedia.org] On Behalf Of 
> Jon.G.Bartlett <at> gsk.com
> Sent: Tuesday, September 01, 2009 6:13 AM
> To: MediaWiki announcements and site admin list
(Continue reading)

Lane, Ryan | 1 Sep 17:10 2009
Picon

Re: RSS Feed on Category

> It is possible to subscribe to a RSS Feed Recent Changes and 
> New Pages.
> Is there also a way to add RSS Feeds for Recent Changes and New Pages
> within a specific category?
> 

I can think of a couple of ways you can do this for new pages. Both are a
little overkill:

1. Use DynamicPageList[1], and wrap the output using WikiArticleFeeds[2]
2. Use Semantic Mediawiki[3], and query on modification date with an output
format of rss

[1] http://www.mediawiki.org/wiki/Extension:DynamicPageList
[2] http://jimbojw.com/wiki/index.php?title=WikiArticleFeeds
[3] http://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki

V/r,

Ryan Lane
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Matthias Korn | 1 Sep 17:27 2009

Re: RSS Feed on Category

If I understand you correctly this is what the News extension can do,
though you have to provide the categories manually.

http://www.mediawiki.org/wiki/Extension:News

Best,
Matthias

Am Mon, 31 Aug 2009 14:09:53 +0200
schrieb "Verhoeven, Peter" <peter.verhoeven <at> oce.com>:

> Hi,
> 
> It is possible to subscribe to a RSS Feed Recent Changes and New
> Pages. Is there also a way to add RSS Feeds for Recent Changes and
> New Pages within a specific category?
> 
> Regards Peter Verhoeven
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l <at> lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 

--

-- 
Rock in China
http://wiki.rockinchina.com/
http://www.rockinchina.com/
(Continue reading)

Matthias Korn | 1 Sep 19:56 2009

Re: Problem with reCaptcha extension: Additional tag in HTML source

It might not be reCaptcha causing the problem. Have you checked your
LocalSettings.php if you have accidentally inserted something there?

Best,
matsch

Am Tue, 1 Sep 2009 07:13:21 -0700 (PDT)
schrieb Paul Fels <ichwillwerbung <at> yahoo.com.sg>:

> Hi,
> 
> due to repeating spam attacks against my wiki I tried the reCaptcha
> extension. Somehow, the extension screws up the HTML source of the
> pages. Now,
> the source of each page from my wiki begins with </pre>, 
> followed by the DOCTYPE definition and the rest of the page.
> 
> Most
> browsers ignore that tag, however, the RSS feed don't work anymore,
> since the XML cannot be interpreted correctly if this tag is at the
> begin of the feed.
> 
> I've tried to update the underlying ConfirmEdit extension, but with
> no success,the problem still persists. MW is version 1.15.1, the
> reCaptcha Plugin is version 1.7
> 
> Any hints?
> Paul
> 
> 
(Continue reading)

A Chan | 2 Sep 01:15 2009
Picon
Picon

Image Upload Error

Hello Everyone,

I have an older instance of MediaWiki (v1.4.5) running with PHP 5.0.3, MySQL 4.1.9, Redhat Linux.  We need to
upgrade to PHP 5.2.3 to enable another application to run on the same server.

I wanted to test compatibility of PHP 5.2.3 with MediaWiki 1.4.5, so installed MediaWiki 1.4.5 on a test
machine running PHP 5.2.3.  

Some images are uploaded successfully, while others generate the error: 
"Fatal error: Call to undefined function imagecreatefromjpeg() in
/data/app00063/htdocs/mediawiki-1.4.5/includes/Image.php on line 578"

Googling on this error points to PHP not being built with the GD library.  

However:
* Image uploads work fine on the live instance of our wiki running with PHP 5.0.3.
* phpinfo() on the PHP 5.0.3 does not list the GD library as enabled.

Is GD library the likely problem?  Are there any known incompatibilities between MediaWiki 1.4.5 and PHP 5.2.3?

Eventually we should upgrade to a newer version of MediaWiki, but so far have not had the resources to do so.

Thanks for your help!
-Amy

Gmane